GET
/
media
Query media list
curl --request GET \
  --url http://api.dsm.whdiyo.com/api/v1/media \
  --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>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

success response

id
string

System identifier

streams
object[]

The dash hls stream for the media

alternateId
string

A friendly identifier for your media

title
string

The media title

duration
number

float