Video API, REST: Stream methods
Stream management service.
JSON Representation
{
"id": "string",
"channelId": "string",
"lineId": "string",
"title": "string",
"description": "string",
"thumbnailId": "string",
"status": "string",
"startTime": "string",
"publishTime": "string",
"finishTime": "string",
"createdAt": "string",
"updatedAt": "string",
"labels": "object",
// includes only one of the fields `onDemand`, `schedule`
"onDemand": {},
"schedule": {
"startTime": "string",
"finishTime": "string"
},
// end of the list of possible fields
}
Field | Description |
---|---|
id | string ID of the stream. |
channelId | string ID of the channel where the stream was created. |
lineId | string ID of the line to which stream is linked. |
title | string Stream title. |
description | string Stream description. |
thumbnailId | string ID of the thumbnail. |
status | string Stream status.
|
startTime | string (date-time) Stream start time. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
publishTime | string (date-time) Stream publish time. Time when stream switched to ONAIR status. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
finishTime | string (date-time) Stream finish time. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
createdAt | string (date-time) Time when stream was created. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
updatedAt | string (date-time) Time of last stream update. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
labels | object Custom labels as |
onDemand | object On demand stream. It starts immediately when a signal appears. includes only one of the fields onDemand , schedule |
schedule | object Schedule stream. Determines when to start receiving the signal or finish time. includes only one of the fields onDemand , schedule |
schedule. startTime |
string (date-time) String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
schedule. finishTime |
string (date-time) String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
Methods
Method | Description |
---|---|
create | Create stream. |
delete | Delete stream. |
get | Returns the specific stream. |
list | List streams for channel. |
performAction | Perform an action on the episode. |
update | Update stream. |