cURL
curl --request GET \ --url http://api.dsm.whdiyo.com/api/v1/media/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "alternateId": "<string>", "title": "<string>", "duration": 123, "streams": [ { "format": "dash", "url": "<string>", "segmentDuration": 123, "timescale": 123, "drm": true, "kid": "<string>", "pssh": "<string>" } ] }
The access token received from the authorization server in the OAuth 2.0 flow.
success response
Media Response model Id model Media model Basic Media model
System identifier
The dash hls stream for the media
Show child attributes
A friendly identifier for your media
The media title
float