Models

ServerConfigCustom

object
instanceobject
Show child attributes
namestring
shortDescriptionstring
descriptionstring
termsstring
codeOfConductstring
creationReasonstring
moderationInformationstring
administratorstring
maintenanceLifetimestring
businessModelstring
hardwareInformationstring

Translations of the instance information. Empty fields fall back to the default instance information

Show child attributes
languagestring

Locale of the web interface

Example
fr-FR
shortDescriptionstring
descriptionstring
termsstring
codeOfConductstring
moderationInformationstring
administratorstring
creationReasonstring
maintenanceLifetimestring
businessModelstring
hardwareInformationstring
supportTextstring
languagesArray<string>
categoriesArray<number>
isNSFWboolean
defaultNSFWPolicystring
serverCountrystring
supportobject
Show child attributes
textstring
socialobject
Show child attributes
defaultClientRoutestring
customizationsobject
Show child attributes
javascriptstring
cssstring
themeobject
Show child attributes
defaultstring
servicesobject
Show child attributes
twitterobject
Show child attributes
usernamestring
cacheobject
Show child attributes
previewsobject
Show child attributes
sizeinteger
captionsobject
Show child attributes
sizeinteger
signupobject
Show child attributes
enabledboolean
limitinteger
requiresEmailVerificationboolean
adminobject
Show child attributes
emailstring<email>
contactFormobject
Show child attributes
enabledboolean
userobject

Settings that apply to new users, if registration is enabled

Show child attributes
videoQuotainteger
Example
16810141515
videoQuotaDailyinteger
Example
1681014151
transcodingobject

Settings pertaining to transcoding jobs

Show child attributes
enabledboolean
originalFileobject
Show child attributes
keepboolean
allowAdditionalExtensionsboolean

Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos

allowAudioFilesboolean

If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file

threadsinteger

Amount of threads used by ffmpeg for 1 transcoding job

concurrencynumber

Amount of transcoding jobs to execute in parallel

profilestringdefault

New profiles can be added by plugins ; available in core PeerTube: 'default'.

resolutionsobject

Resolutions to transcode new videos to

Show child attributes
0pboolean
144pboolean
240pboolean
360pboolean
480pboolean
720pboolean
1080pboolean
1440pboolean
2160pboolean
web_videosobject

Web Video specific settings

Show child attributes
enabledboolean
hlsobject

HLS specific settings

Show child attributes
enabledboolean
splitAudioAndVideoboolean
importobject
Show child attributes
videosobject
Show child attributes
httpobject
Show child attributes
enabledboolean
torrentobject
Show child attributes
enabledboolean
video_channel_synchronizationobject
Show child attributes
enabledboolean
autoBlacklistobject
Show child attributes
videosobject
Show child attributes
ofUsersobject
Show child attributes
enabledboolean
blocklistobject
Show child attributes
publicLogobject
Show child attributes
enabledboolean
followersobject
Show child attributes
instanceobject
Show child attributes
enabledboolean
manualApprovalboolean
storyboardobject
Show child attributes
enabledboolean
defaultsobject
Show child attributes
publishobject
Show child attributes
downloadEnabledboolean
commentsPolicyVideoCommentsPolicySet123

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

recommendationScopeVideoRecommendationScopeSet1234

Videos that can be recommended next to a video:

  • 1 All videos
  • 2 Only videos of the platform that owns the reference video (or of the current platform if no video is given)
  • 3 Only videos of the account that owns the reference video
  • 4 Only videos of the channel of the reference video

This is a preference of the video owner: applications displaying recommendations may not apply it

privacyVideoPrivacySet12345

privacy id of the video (see /videos/privacies)

licence id of the video (see /videos/licences)

Example
2
p2pobject
Show child attributes
webappobject
Show child attributes
enabledboolean
embedobject
Show child attributes
enabledboolean
playerobject
Show child attributes
autoPlayboolean