Retrieve Job with unknown failure
GET /v2/jobs/:guid
Request
Route
GET /v2/jobs/27880c61-236f-420d-b081-59568526f805
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/27880c61-236f-420d-b081-59568526f805" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgyIiwiZW1haWwiOiJlbWFpbC01MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkzfQ.x8n1aNpl2DLh4hzbiVjA_77u_zWeCUI_YC_-glllVRs" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "27880c61-236f-420d-b081-59568526f805",
"created_at": "2016-04-22T19:33:13Z",
"url": "/v2/jobs/27880c61-236f-420d-b081-59568526f805"
},
"entity": {
"guid": "27880c61-236f-420d-b081-59568526f805",
"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