Poll status
GET
/api/v1/tasks/{id}/statusChecks if a task is completed, if so, it redirects to the task's resource, otherwise returns 200.
Parameters
Path Parameters
id*
Task ID
Typeinteger
RequiredExample
1234567890
Responses
OK
GET
/api/v1/tasks/{id}/statusSamples
cURL
curl -X GET https://openfish.appspot.com/api/v1/tasks/{id}/status
JavaScript
fetch("https://openfish.appspot.com/api/v1/tasks/{id}/status")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://openfish.appspot.com/api/v1/tasks/{id}/status");
Python
import requests
response = requests.get("https://openfish.appspot.com/api/v1/tasks/{id}/status")
print(response.json())