Skip to content

Instantly share code, notes, and snippets.

@Toflar
Created June 10, 2018 15:14
Show Gist options
  • Save Toflar/c2d1aa9c25e1abb831baaf3f8c03af42 to your computer and use it in GitHub Desktop.
Save Toflar/c2d1aa9c25e1abb831baaf3f8c03af42 to your computer and use it in GitHub Desktop.
Medium
HTTP/1.1 201 Created
Location: /jobs/5241c3603853e648127910e71ea235b7
Content-Type: application/json; charset=UTF-8
{
"jobId": "5241c3603853e648127910e71ea235b7",
"status": "queued",
"retries": 0,
"worker": "worker-hostname",
"links": {
"composerJson": "jobs/5241c3603853e648127910e71ea235b7/composerJson",
"composerLock": "jobs/5241c3603853e648127910e71ea235b7/composerLock",
"composerOutput": "jobs/5241c3603853e648127910e71ea235b7/composerOutput",
},
"stats": {
"approxWaitingTime": 155
"numberOfJobsInQueue": 31,
"numberOfWorkers": 6
},
"sponsoredBy": {
"name": "foobar company",
"link": "https://example.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment