Home
Version 3
Jobs API

Jobs API

Retrieve Job that is queued

GET /v2/jobs/:guid

Request

Route

GET /v2/jobs/62d9f05f-d4fd-4fe6-99b2-a564d2ed879f

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

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMiIsImVtYWlsIjoiZW1haWwtMjk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjN9.f9CTj_GHIreeBdwqGYIwcTNgqsbe_MzMNICcfATkdJo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/jobs/62d9f05f-d4fd-4fe6-99b2-a564d2ed879f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMiIsImVtYWlsIjoiZW1haWwtMjk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjN9.f9CTj_GHIreeBdwqGYIwcTNgqsbe_MzMNICcfATkdJo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "62d9f05f-d4fd-4fe6-99b2-a564d2ed879f",
    "created_at": "2015-06-04T00:05:23Z",
    "url": "/v2/jobs/62d9f05f-d4fd-4fe6-99b2-a564d2ed879f"
  },
  "entity": {
    "guid": "62d9f05f-d4fd-4fe6-99b2-a564d2ed879f",
    "status": "queued"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4281b50f-5c22-4ace-a857-9fc2bc79ef54
Content-Length: 270
X-Content-Type-Options: nosniff