action cpy_get_custom_config { label: "Get instance runtime configuration" provider: cpy method: GET path: "/api/v1/config/custom" encoding: json output: { properties: { admin: { type: "object" properties: { email: { type: "string" format: "email" } } } autoBlacklist: { type: "object" properties: { videos: { type: "object" properties: { ofUsers: { type: "object" properties: { enabled: { type: "boolean" } } } } } } } cache: { type: "object" properties: { captions: { type: "object" properties: { size: { type: "integer" } } } previews: { type: "object" properties: { size: { type: "integer" } } } } } contactForm: { type: "object" properties: { enabled: { type: "boolean" } } } followers: { type: "object" properties: { instance: { type: "object" properties: { enabled: { type: "boolean" } manualApproval: { type: "boolean" } } } } } import: { type: "object" properties: { video_channel_synchronization: { type: "object" properties: { enabled: { type: "boolean" } } } videos: { type: "object" properties: { http: { type: "object" properties: { enabled: { type: "boolean" } } } torrent: { type: "object" properties: { enabled: { type: "boolean" } } } } } } } instance: { type: "object" properties: { customizations: { type: "object" properties: { css: { type: "string" } javascript: { type: "string" } } } defaultClientRoute: { type: "string" } defaultNSFWPolicy: { type: "string" } description: { type: "string" } isNSFW: { type: "boolean" } name: { type: "string" } shortDescription: { type: "string" } terms: { type: "string" } } } services: { type: "object" properties: { twitter: { type: "object" properties: { username: { type: "string" } whitelisted: { type: "boolean" } } } } } signup: { type: "object" properties: { enabled: { type: "boolean" } limit: { type: "integer" } requiresEmailVerification: { type: "boolean" } } } theme: { type: "object" properties: { default: { type: "string" } } } transcoding: { type: "object" description: "Settings pertaining to transcoding jobs" properties: { allowAdditionalExtensions: { type: "boolean" description: "Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos" } allowAudioFiles: { type: "boolean" description: "If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file" } concurrency: { type: "number" description: "Amount of transcoding jobs to execute in parallel" } enabled: { type: "boolean" } hls: { type: "object" description: "HLS-specific settings" properties: { enabled: { type: "boolean" } } } profile: { type: "string" description: "New profiles can be added by plugins ; available in core PeerTube: 'default'.\n" enum: ["default"] } resolutions: { type: "object" description: "Resolutions to transcode _new videos_ to" properties: { "0p": { type: "boolean" } "1080p": { type: "boolean" } "1440p": { type: "boolean" } "144p": { type: "boolean" } "2160p": { type: "boolean" } "240p": { type: "boolean" } "360p": { type: "boolean" } "480p": { type: "boolean" } "720p": { type: "boolean" } } } threads: { type: "integer" description: "Amount of threads used by ffmpeg for 1 transcoding job" } webtorrent: { type: "object" description: "WebTorrent-specific settings" properties: { enabled: { type: "boolean" } } } } } user: { type: "object" description: "Settings that apply to new users, if registration is enabled" properties: { videoQuota: { type: "integer" } videoQuotaDaily: { type: "integer" } } } } } }