Skip to content

Get video stream by ID

GET
/api/v1/videostreams/{id}

Gets a video stream when provided with an ID.

Parameters

Path Parameters

id*

Video Stream ID

Typeinteger
Required
Example1234567890

Responses

OK
JSON
{
"annotator_list": [
"user@example.com"
],
"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"
}

Samples

cURL
curl -X GET https://openfish.appspot.com/api/v1/videostreams/{id}
JavaScript
fetch("https://openfish.appspot.com/api/v1/videostreams/{id}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://openfish.appspot.com/api/v1/videostreams/{id}");
Python
import requests
response = requests.get("https://openfish.appspot.com/api/v1/videostreams/{id}")
print(response.json())