Register live stream
POST
/api/v1/videostreams/live
Roles required:
Registers a new live video stream with OpenFish. The API takes the current time as the start time of the video stream.
Request Body
JSON
{
"capturesource": 1234567890,
"stream_url": "https://www.youtube.com/watch?v=abcdefghijk",
"timezone": "Australia/Adelaide"
}
Responses
Created
application/json
JSON
{
"annotator_list": [
[
1234567890
]
],
"capturesource": 1234567890,
"endTime": "2023-05-25T16:30:00Z",
"id": 1234567890,
"startTime": "2023-05-25T08:00:00Z",
"stream_url": "https://www.youtube.com/watch?v=abcdefghijk",
"timezone": "Australia/Adelaide"
}
POST
/api/v1/videostreams/live