Docs / Jobs
Get a package
GET/v1/jobs/{id}/package
Returns a job's package. Only the job's customer may. It gives the newest version, or the one version names: when the lab reopens a job to
correct or add to its data and finishes it again, the job gets a new version, and the earlier ones stay readable.
While a reopened job is running again, its newest package is still the one from before.
Headers
Path parameters
A job's ID:
job_and then the job's UUID in 26 characters of base32, as a TypeID (github.com/jetify-com/typeid).
Query parameters
A package's
version. Leave it out for the newest.
Responses
| 200 | The job's files, rewards and review. |
| 401 | Send a valid API key as Authorization: Bearer <key>. |
| 404 | No such job of this customer's, it has no package yet, or no such version. |
| 422 | A parameter or the body does not parse. |
| 500 | Something went wrong on our side. |
200 returns Package. Every error is a Problem, whose detail says what went wrong.