Get instance runtime configuration
Response
successful operation
Response fields application/json
instanceobjectShow child attributes
namestringshortDescriptionstringdescriptionstringtermsstringcodeOfConductstringcreationReasonstringmoderationInformationstringadministratorstringmaintenanceLifetimestringbusinessModelstringhardwareInformationstringtranslationsArray<InstanceTranslation>Translations of the instance information. Empty fields fall back to the default instance information
Show child attributes
languagestringLocale of the web interface
fr-FRshortDescriptionstringdescriptionstringtermsstringcodeOfConductstringmoderationInformationstringadministratorstringcreationReasonstringmaintenanceLifetimestringbusinessModelstringhardwareInformationstringsupportTextstringlanguagesArray<string>categoriesArray<number>isNSFWbooleandefaultNSFWPolicystringserverCountrystringsupportobjectShow child attributes
textstringsocialobjectShow child attributes
externalLinkstringmastodonLinkstringblueskyLinkstringxLinkstringdefaultClientRoutestringcustomizationsobjectShow child attributes
javascriptstringcssstringthemeobjectShow child attributes
defaultstringservicesobjectShow child attributes
twitterobjectShow child attributes
usernamestringcacheobjectShow child attributes
previewsobjectShow child attributes
sizeintegercaptionsobjectShow child attributes
sizeintegersignupobjectShow child attributes
enabledbooleanlimitintegerrequiresEmailVerificationbooleanadminobjectShow child attributes
emailstring<email>contactFormobjectShow child attributes
enabledbooleanuserobjectSettings that apply to new users, if registration is enabled
Show child attributes
videoQuotainteger16810141515videoQuotaDailyinteger1681014151transcodingobjectSettings pertaining to transcoding jobs
Show child attributes
enabledbooleanoriginalFileobjectShow child attributes
keepbooleanallowAdditionalExtensionsbooleanAllow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos
allowAudioFilesbooleanIf a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
threadsintegerAmount of threads used by ffmpeg for 1 transcoding job
concurrencynumberAmount of transcoding jobs to execute in parallel
profilestringdefaultNew profiles can be added by plugins ; available in core PeerTube: 'default'.
resolutionsobjectResolutions to transcode new videos to
Show child attributes
0pboolean144pboolean240pboolean360pboolean480pboolean720pboolean1080pboolean1440pboolean2160pbooleanweb_ videosobjectWeb Video specific settings
Show child attributes
enabledbooleanhlsobjectHLS specific settings
Show child attributes
enabledbooleansplitAudioAndVideobooleanimportobjectShow child attributes
videosobjectShow child attributes
httpobjectShow child attributes
enabledbooleantorrentobjectShow child attributes
enabledbooleanvideo_ channel_ synchronizationobjectShow child attributes
enabledbooleanautoBlacklistobjectShow child attributes
videosobjectShow child attributes
ofUsersobjectShow child attributes
enabledbooleanblocklistobjectShow child attributes
publicLogobjectShow child attributes
enabledbooleanfollowersobjectShow child attributes
instanceobjectShow child attributes
enabledbooleanmanualApprovalbooleanstoryboardobjectShow child attributes
enabledbooleandefaultsobjectShow child attributes
publishobjectShow child attributes
downloadEnabledbooleancommentsPolicyVideoCommentsPolicySet123Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)
recommendationScopeVideoRecommendationScopeSet1234Videos that can be recommended next to a video:
1All videos2Only videos of the platform that owns the reference video (or of the current platform if no video is given)3Only videos of the account that owns the reference video4Only videos of the channel of the reference video
This is a preference of the video owner: applications displaying recommendations may not apply it
privacyVideoPrivacySet12345privacy id of the video (see /videos/privacies)
p2pobjectShow child attributes
webappobjectShow child attributes
enabledbooleanembedobjectShow child attributes
enabledbooleanplayerobjectShow child attributes
autoPlaybooleanAuthorization
OAuth2oauth2Authenticating via OAuth requires the following steps:
- Have an activated account
- Generate an access token for that account at
/api/v1/users/token. - Make requests with the Authorization: Bearer <token> header
- Profit, depending on the role assigned to the account
Note that the access token is valid for 1 day and is given along with a refresh token valid for 2 weeks.
Scopes: admin