Skip to main content

GET Video Config

Overview


The following table contains important information about the GET method in regards to receiving the video config.

GET Video Config
MethodGET
URL or Endpoint/video/videoId/playerId
HeadersAuthorization
ParametersplayerId, videoId, api-version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeDescription
playerIdYesstringUnique Id of the player.
videoIdYesstringUnique Id of the video.
api-versionNostringCorrect api-version.

Request Body

The request does not contain a request body

Response

{
"videoId": "{videoId}",
"file": "{file}",
"title": "{title}",
"description": "{description}",
"publishDate": "{publishDate}",
"publishEndDate": "{publishEndDate}",
"thumbnail": "{thumbnail}",
"filmstrip": "{filmstrip}",
"filmstripVtt": "{filmstripVtt}",
"private": false,
"passwordProtected": false,
"passwordProtectedTitle": null,
"passwordProtectedDescription": null,
"chapterState": false,
"chapterPath": null,
"assetId": "{assetId}",
"hasGeoRestriction": false,
"geoRestrictionLink": null,
"hasDrm": false,
"drmLicenseUrl": null,
"fpsCertificateUrl": null,
"widevineLicenseUrl": null,
"castContentType": null,
"castVideoSource": null,
"live": false,
"liveType": null,
"maxLiveBackDuration": 0,
"autoRelated": null,
"relatedVideos": null,
"shareUrl": "{shareUrl}",
"source": null,
"author": null,
"advertising": false,
"showEngagementHeatmap": false,
"adId": null,
"startTime": 0,
"tracks": [
{
"file": "{trackFile}",
"lang": "{lang}",
"label": "{label}"
}
],
"flags": [],
"tags": [],
"ads": {
"type": null,
"isVmap": false,
"enableProgrammability": false,
"vmap": null,
"skipAllAds": false,
"vpAIDmode": null,
"adBreaks": [],
"bidding": false,
"bidders": [],
"adFunctions": [],
"enableDemandManager": false,
"demandManager": null,
"frequency": null,
"maxCap": 0,
"initialDelay": null,
"adCycleDelayMs": null,
"adRetryLimit": null,
"adCycleRestartMs": null,
"banner": null
},
"playlist": {
"state": false,
"playlistId": null,
"playlistVideoIndex": 0,
"algorithm": null,
"shareUrl": null,
"displayType": null,
"fromRecommended": false
},
"skipIntro": {
"state": false,
"skipFrom": null,
"skipTo": null
},
"customOverlay": {
"state": false,
"customOverlays": []
},
"videoLocking": {
"isEnabled": null,
"value": null
},
"videoProperties": []
}

If the action is successful, the service sends back an HTTP 200 or 201 response.

The description of the response fields is as follows:

Video Properties

Field NameTypeDescription
videoIdstringUnique identifier of the video.
filestringURL of the video file.
titlestringTitle of the video.
descriptionstringDescription of the video.
publishDatestringDate and time when the video was published.
publishEndDatestringDate and time when the video publish period ends.
thumbnailstringURL of the video thumbnail image.
filmstripstringURL of the filmstrip image used for seek preview.
filmstripVttstringURL of the VTT file for filmstrip seek preview timing.
privateboolWhether the video is private.
passwordProtectedboolWhether the video is password protected.
passwordProtectedTitlestringTitle displayed on the password protection prompt.
passwordProtectedDescriptionstringDescription displayed on the password protection prompt.
chapterStateboolWhether chapters are enabled for the video.
chapterPathstringURL of the chapter definitions file.
assetIdstringThe content/asset identifier used for DRM.
hasGeoRestrictionboolWhether the video has geographic restrictions.
geoRestrictionLinkstringRedirect URL shown to geo-blocked users.
hasDrmboolWhether DRM protection is enabled.
drmLicenseUrlstringURL of the DRM license server.
fpsCertificateUrlstringURL of the FairPlay Streaming certificate.
widevineLicenseUrlstringURL of the Widevine DRM license server.
castContentTypestringMIME type used when casting the video.
castVideoSourcestringVideo source URL used for casting.
liveboolWhether the video is a live stream.
liveTypestringType of live stream.
maxLiveBackDurationintegerMaximum duration in seconds for live DVR rewind.
autoRelatedstringIdentifier for auto-generated related videos.
relatedVideosstringIdentifier for manually configured related videos.
shareUrlstringURL used when sharing the video.
sourcestringSource attribution for the video.
authorstringAuthor of the video.
advertisingboolWhether advertising is enabled for the video.
showEngagementHeatmapboolWhether the engagement heatmap is displayed on the seek bar.
adIdstringIdentifier of the ad schedule associated with the video.
startTimeintegerStart time offset in seconds for video playback.
tracksarrayList of subtitle/caption tracks for the video.
flagsarrayList of flags associated with the video.
tagsarrayList of tags associated with the video.
adsobjectAd configuration object for the video.
playlistobjectPlaylist configuration if the video belongs to a playlist.
skipIntroobjectSkip intro configuration for the video.
customOverlayobjectCustom overlay configuration for the video.
videoLockingobjectVideo locking configuration.
videoPropertiesarrayList of additional video properties.

tracks Properties

Field NameTypeDescription
filestringURL of the subtitle/caption file.
langstringLanguage code of the track (e.g., "en", "de").
labelstringDisplay label of the track (e.g., "English").

ads Properties

Field NameTypeDescription
typestringType of ad configuration (e.g., DYNAMIC, STATIC).
isVmapboolWhether the ad schedule uses VMAP format.
enableProgrammabilityboolWhether ad programmability is enabled.
vmapstringURL of the VMAP ad schedule.
skipAllAdsboolWhether all ads can be skipped.
vpAIDmodestringVPAID rendering mode.
adBreaksarrayList of ad break configurations.
biddingboolWhether header bidding is enabled.
biddersarrayList of header bidding bidder configurations.
adFunctionsarrayList of ad macro function configurations.
enableDemandManagerboolWhether the demand manager (prebid) is enabled.
demandManagerobjectDemand manager (prebid) configuration.
frequencyobjectAd frequency capping configuration.
maxCapintegerMaximum number of ad impressions per frequency period.
initialDelayobjectInitial delay configuration before the first ad plays.
adCycleDelayMsintegerDelay in milliseconds between ad cycles.
adRetryLimitintegerMaximum number of ad request retries on failure.
adCycleRestartMsintegerTime in milliseconds before an ad cycle restarts.
bannerobjectBanner ad configuration.

playlist Properties

Field NameTypeDescription
stateboolWhether playlist mode is enabled.
playlistIdstringUnique identifier of the playlist.
playlistVideoIndexintegerIndex of the current video within the playlist.
algorithmstringAlgorithm used for playlist ordering.
shareUrlstringURL used when sharing the playlist.
displayTypestringDisplay type of the playlist in the player UI.
fromRecommendedboolWhether the playlist is generated from recommendations.

skipIntro Properties

Field NameTypeDescription
stateboolWhether skip intro is enabled.
skipFromintegerTime in seconds when the skip intro button appears.
skipTointegerTime in seconds to skip to when the button is clicked.

customOverlay Properties

Field NameTypeDescription
stateboolWhether custom overlays are enabled.
customOverlaysarrayList of custom overlay configurations.

videoLocking Properties

Field NameTypeDescription
isEnabledboolWhether video locking is enabled.
valueintegerTime in seconds after which the video is locked.

videoProperties Properties

Field NameTypeDescription
typestringType of the video property.
namestringName of the video property.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed