Whether the specific request has been completed
This is a convenience endpoint to quickly check if a particular request has been completed or not. If you wish to check multiple requests at once, use the regular /reqeusts
endpoint that will list all outstanding data requests.
GET
/requests/{requestId}/complete
curl \
-X GET http://api.example.com/requests/{requestId}/complete \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
Request incomplete
"0"
"1"
Response examples (200)
0
Response examples (401)
{
"error": "Unauthorized",
"message": "You are not authorized. Generate authentication tokens via OAuth to access this resource."
}
Response examples (401)
{
"error": "Unauthorized",
"message": "You are not authorized. Generate authentication tokens via OAuth to access this resource."
}
Response examples (404)
{
"error": "Not Found",
"message": "Could not find a data request with this id."
}
Response examples (404)
{
"error": "Not Found",
"message": "Could not find a data request with this id."
}