Get media by ID
GET
/api/v1/media/{id}Roles required:
Gets an image or video file when provided with an ID.
Parameters
Path Parameters
id*
Media ID
Typeinteger
RequiredExample
1234567890
Responses
OK
string
Format
binary
GET
/api/v1/media/{id}Samples
cURL
curl -X GET https://openfish.appspot.com/api/v1/media/{id}
JavaScript
fetch("https://openfish.appspot.com/api/v1/media/{id}")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://openfish.appspot.com/api/v1/media/{id}");
Python
import requests
response = requests.get("https://openfish.appspot.com/api/v1/media/{id}")
print(response.json())