Retrieve Job with unknown failure
GET /v2/jobs/:guid
Request
Route
GET /v2/jobs/c2fc3d1a-aa7b-46d9-a962-344f2eff264c
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the job.
|
|
|
|
status
|
The status of the job.
|
|
- failed
- finished
- queued
- running
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/jobs/c2fc3d1a-aa7b-46d9-a962-344f2eff264c" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC05MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODM1fQ.b0LOB985bkNjKn3O_k80aTUZziWtCWXSeEFDGN9Kveo" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "c2fc3d1a-aa7b-46d9-a962-344f2eff264c",
"created_at": "2015-11-03T00:53:55Z",
"url": "/v2/jobs/c2fc3d1a-aa7b-46d9-a962-344f2eff264c"
},
"entity": {
"guid": "c2fc3d1a-aa7b-46d9-a962-344f2eff264c",
"status": "failed",
"error": "Use of entity>error is deprecated in favor of entity>error_details.",
"error_details": {
"error_code": "UnknownError",
"description": "An unknown error occurred.",
"code": 10001
}
}
}
Headers