curl --request GET \
--url https://api.mottostreaming.com/streaming/clips/v1/{clip_id} \
--header 'Authorization: Bearer <token>'{
"clip": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"playlist_url": {
"playlist_url": "<string>",
"bearer_token": "<string>"
},
"asset_id": "<string>",
"reserved_asset_id": "<string>",
"trim_in": "<string>",
"trim_out": "<string>",
"state": "STATE_UNSPECIFIED",
"labels": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}GetClip
Returns information about the requested clip.
curl --request GET \
--url https://api.mottostreaming.com/streaming/clips/v1/{clip_id} \
--header 'Authorization: Bearer <token>'{
"clip": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"playlist_url": {
"playlist_url": "<string>",
"bearer_token": "<string>"
},
"asset_id": "<string>",
"reserved_asset_id": "<string>",
"trim_in": "<string>",
"trim_out": "<string>",
"state": "STATE_UNSPECIFIED",
"labels": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Show child attributes
id of the clip
project id of the clip
The name of the clip. It's set to the generated output's name.
playlist url of the media to be clipped. Currently only supports HLS(m3u8) playlist.
Show child attributes
playlist url of the media to be clipped. Currently only supports HLS(m3u8) playlist.
The Bearer token to include in the authorization header to access the playlist. Can be left empty if the playlist is publicly accessible.
For security reasons, this will not appear in the response.
asset id of the clip
reserved asset id of the clip. while the clip is being created, the asset id is reserved.
the moment in the source to start the clip based on the source's timeline.
The unit of the value issecond and also the value cannot be negative.
for example: 10s, 3s, and so on.
the moment in the source to end the clip based on the source's timeline.
The unit of the value issecond and also the value cannot be negative.
for example: 10s, 3s, and so on.
state of the clip
STATE_UNSPECIFIED, STATE_PROCESSING, STATE_FAILED, STATE_READY