Skip to content

Get video stream media

GET
/api/v1/videostreams/{id}/media

Roles required: Admin

Gets the image or video snippet from this video stream at the given time.

Parameters

Header Parameters

Accepts*

Accepts

Typestring
Required
Exampleimage/jpeg

Path Parameters

id*

Video Stream ID

Typeinteger
Required
Example1234567890

Query Parameters

time*

Time

Typestring
Required
Example00:00:01.000-00:00:05.500

Responses

Found

Samples

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