Get Started
Studio API
- Introduction
- Streaming
- Live Streams
- Simulcasts
- Clips
- Videos
- Video Protection
- Configurations
- Assets
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Videos
Get video
GetVideo
Returns information about the video.
GET
/
streaming
/
videos
/
v1
/
{video_id}
curl --request GET \
--url https://api.mottostreaming.com/streaming/videos/v1/{video_id} \
--header 'Authorization: Bearer <token>'
{
"video": {
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"playlists": [
{
"id": "<string>",
"name": "<string>",
"format": "PLAYLIST_FORMAT_UNSPECIFIED",
"private_url": "<string>",
"public_url": "<string>",
"dvr_settings": {
"window_size_seconds": 123
},
"visibility": "VISIBILITY_UNSPECIFIED"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
OK
The ID of the playlist. For example: "p2YzNCA-0PTigkfN8xN3L"
The name of the playlist. For example: "Raw" or "playlist 1"
Available options:
PLAYLIST_FORMAT_UNSPECIFIED
, PLAYLIST_FORMAT_HLS
Available options:
VISIBILITY_UNSPECIFIED
, VISIBILITY_PUBLISHED
, VISIBILITY_UNLISTED
, VISIBILITY_HIDDEN
curl --request GET \
--url https://api.mottostreaming.com/streaming/videos/v1/{video_id} \
--header 'Authorization: Bearer <token>'
{
"video": {
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"playlists": [
{
"id": "<string>",
"name": "<string>",
"format": "PLAYLIST_FORMAT_UNSPECIFIED",
"private_url": "<string>",
"public_url": "<string>",
"dvr_settings": {
"window_size_seconds": 123
},
"visibility": "VISIBILITY_UNSPECIFIED"
}
]
}
}