{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "The ID of the Video Library to update"
},
"AllowDirectPlay": {
"type": "boolean",
"description": "(Optional) Determines if direct play URLs should be enabled for the library"
},
"AllowEarlyPlay": {
"type": "boolean",
"description": "(Optional) Determines if the Early-Play feature should be enabled. Enabling this will enable Expose Originals."
},
"AppleFairPlayDrm": {
"type": "object",
"description": "(Optional) Configure Apple FairPlay DRM. Works only if Enterprise DRM is set up.",
"properties": {
"Enabled": {
"type": "boolean",
"description": "(Optional) Enables or disables Apple FairPlay Enterprise DRM"
}
}
},
"Bitrate1080p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 1080p videos"
},
"Bitrate1440p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 1440p videos"
},
"Bitrate2160p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 2160p videos"
},
"Bitrate240p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 240p videos"
},
"Bitrate360p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 360p videos"
},
"Bitrate480p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 480p videos"
},
"Bitrate720p": {
"type": "integer",
"description": "(Optional) The bitrate used for encoding 720p videos"
},
"BlockNoneReferrer": {
"type": "boolean",
"description": "(Optional) Determines if requests without a referer should be blocked."
},
"CaptionsBackground": {
"type": "string",
"description": "(Optional) Sets the captions display background color"
},
"CaptionsFontColor": {
"type": "string",
"description": "(Optional) Sets the captions display font color"
},
"CaptionsFontSize": {
"type": "integer",
"description": "(Optional) Sets the captions display font size"
},
"Controls": {
"type": "string",
"description": "(Optional) The comma separated list of controls that will be displayed in the video player. Possible values: play-large, play, progress, current-time, mute, volume, captions, settings, pip, airplay, fullscreen."
},
"CustomHTML": {
"type": "string",
"description": "(Optional) Sets the player custom HTML code"
},
"DrmVersion": {
"type": "integer",
"description": "(Optional) Determines MediaCage DRM version to be used for this library",
"enum": [
0,
1,
2
]
},
"EnableCaptionsInPlaylist": {
"type": "boolean",
"description": "(Optional) Determines if any associated captions will be automatically signaled in the HLS master playlist via EXT-X-MEDIA tags, allowing client players to show captions."
},
"EnableContentTagging": {
"type": "boolean",
"description": "(Optional) Determines if content tagging should be enabled for this library."
},
"EnabledResolutions": {
"type": "string",
"description": "(Optional) Sets the enabled resolutions for the transcoding. At least one resolution should be enabled. Possible values: 240p, 360p, 480p, 720p, 1080p, 1440p, 2160p"
},
"EnableDRM": {
"type": "boolean",
"description": "(Optional) Determines if MediaCage DRM should be enabled for this library"
},
"EnableMP4Fallback": {
"type": "boolean",
"description": "(Optional) Determines if MP4 fallback should be enabled for this library."
},
"EnableMultiAudioTrackSupport": {
"type": "boolean",
"description": "(Optional) Determines if multiple output audio track support is enabled on video library."
},
"EnableTokenAuthentication": {
"type": "boolean",
"description": "(Optional) Determines if the token authentication should be enabled"
},
"EnableTokenIPVerification": {
"type": "boolean",
"description": "(Optional) Determines if the token IP verification should be enabled"
},
"EnableTranscribing": {
"type": "boolean",
"description": "(Optional) Determines if the automatic audio transcribing is currently enabled for this zone."
},
"EnableTranscribingChaptersGeneration": {
"type": "boolean",
"description": "(Optional) Determines if automatic transcribing chapters generation is currently enabled."
},
"EnableTranscribingDescriptionGeneration": {
"type": "boolean",
"description": "(Optional) Determines if automatic transcribing description generation is currently enabled."
},
"EnableTranscribingMomentsGeneration": {
"type": "boolean",
"description": "(Optional) Determines if automatic transcribing moments generation is currently enabled."
},
"EnableTranscribingTitleGeneration": {
"type": "boolean",
"description": "(Optional) Determines if automatic transcribing title generation is currently enabled."
},
"EncodingTier": {
"type": "integer",
"description": "(Optional) Defines encoding tier to be used with video library. premium is a paid tier that offers either JIT encoding or prioritized encoding and extra codec support.",
"enum": [
0,
1
]
},
"ExposeOriginals": {
"type": "boolean",
"description": "(Optional) Marks whether original video files should be exposed via CDN. Originals are not protected by DRM. Enabling Early-Play will enable this."
},
"ExposeVideoMetadata": {
"type": "boolean",
"description": "(Optional) Marks whether video metadata in form of schema meta tags and LD+JSON should be exposed."
},
"FontFamily": {
"type": "string",
"description": "(Optional) The captions font family."
},
"GoogleWidevineDrm": {
"type": "object",
"description": "(Optional) Configure Google Widevine DRM. Works only if Enterprise DRM is set up.",
"properties": {
"Enabled": {
"type": "boolean",
"description": "(Optional) Enables or disables Google Widevine Enterprise DRM"
},
"SdOnlyForL3": {
"type": "boolean",
"description": "(Optional) Only allow audio and SD access to Widevine L3 clients"
},
"MinClientSecurityLevel": {
"type": "integer",
"description": "(Optional) Minimum Client Security Level (1 being most secure, 3 least secure and is default)"
}
}
},
"JitEncodingEnabled": {
"type": "boolean",
"description": "(Optional) Determines whether JIT encoding should be used for the library. Supported in premium encoding only."
},
"KeepOriginalFiles": {
"type": "boolean",
"description": "(Optional) Determines if the original file should be kept after the video is processed."
},
"Name": {
"type": "string",
"description": "(Optional) Sets name of the video library"
},
"OutputCodecs": {
"type": "string",
"description": "(Optional) Specifies which video codecs are used for encoding, provided as a comma-separated (CSV) string. Free encoding tier supports only x264. A premium encoding tier adds support for vp9, hevc, and av1."
},
"PlaybackSpeeds": {
"type": "string",
"description": "(Optional) The comma separated list of playback speeds that will be available in the video player. Possible values: 0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0,2.5,3,3.5,4"
},
"PlayerKeyColor": {
"type": "string",
"description": "(Optional) Sets the player key control color"
},
"PlayerTokenAuthenticationEnabled": {
"type": "boolean",
"description": "(Optional) Determines if the token authentication should be enabled."
},
"PlayerVersion": {
"type": "integer",
"description": "(Optional) Sets player version used for this library"
},
"RememberPlayerPosition": {
"type": "boolean",
"description": "(Optional) Determines if the player will automatically remember the playback position."
},
"RemoveMetadataFromFallbackVideos": {
"type": "boolean",
"description": "(Optional) Marks whether all potential video metadata should be removed from the fallback files"
},
"ResetToken": {
"type": "boolean",
"description": "(Optional) Set to true to reset the CDN and embed view token key"
},
"ScaleVideoUsingBothDimensions": {
"type": "boolean",
"description": "(Optional) Marks whether videos should be scaled using both dimensions. Prevents videos being upscaled or unexpected aspect ratio changes."
},
"ShowHeatmap": {
"type": "boolean",
"description": "(Optional) Determines if the video watch heatmap should be displayed in the player."
},
"TranscribingCaptionLanguages": {
"type": "array",
"items": {
"type": "string"
},
"description": "(Optional) The list of languages that the captions will be automatically transcribed to."
},
"UILanguage": {
"type": "string",
"description": "(Optional) Sets the UI language of the video player."
},
"UseSeparateAudioStream": {
"type": "boolean",
"description": "(Optional) Determines whether output audio stream should be split from video stream segments."
},
"VastTagUrl": {
"type": "string",
"description": "(Optional) Sets the Vast tag URL"
},
"ViAiPublisherId": {
"type": "string",
"description": "(Optional) Sets the vi.ai publisher ID"
},
"WatermarkHeight": {
"type": "integer",
"description": "(Optional) Sets the height of the watermark (in %)"
},
"WatermarkPositionLeft": {
"type": "integer",
"description": "(Optional) Sets the left offset of the watermark position (in %)"
},
"WatermarkPositionTop": {
"type": "integer",
"description": "(Optional) Sets the top offset of the watermark position (in %)"
},
"WatermarkWidth": {
"type": "integer",
"description": "(Optional) Sets the width of the watermark (in %)"
},
"WebhookUrl": {
"type": "string",
"description": "(Optional) Sets the webhook API url"
}
},
"required": [
"PCID",
"id"
]
}