GET
mediaComposition
Returns detailed metatdata for a video. On the chapter section there are information to play the video. You need to get videoid from EpisodeComposition (/latest_episodes/shows/{showId} API.
https://api.srgssr.ch/videometadata/v2 /{videoId}/mediaComposition
Name | Values | Description |
---|---|---|
bu
(required) |
Business unit |
Name | Values | Description |
---|---|---|
accept |
|
|
Authorization |
Pass the accesskey as a Bearer token in Authorization header. In the developer portal, Authorization header is attached on OAuth authentication. you can use a pre-existing bearer token here or generate one using the button below before sending the request. |
videoId The ID of an video asset. You can get videoid from episodeComposition (/latest_episodes/shows/{showId} API. true
HTTP Code | Error Code | Description |
---|---|---|
203 |
The returned object is the same as in a 200 response, but some, non-mandatory, values may be missing. |
|
400 |
Object of type missingParam. |
|
401 |
Object of type tokenError |
|
403 |
Object of type quotaViolation. |
|
405 |
Object of type methodNotAllowed |
|
404 |
Object of type unknownResource. |
Resource Summary
Security |
Category |
---|---|
VideoShows |