Docs OpenAPI

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.

View as Markdown

Headers

Path parameters

  • idJobId (string, pattern)required#

    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

  • versioninteger, at least 0#

    A package's version. Leave it out for the newest.

Responses

200The job's files, rewards and review.
401Send a valid API key as Authorization: Bearer <key>.
404No such job of this customer's, it has no package yet, or no such version.
422A parameter or the body does not parse.
500Something went wrong on our side.

200 returns Package. Every error is a Problem, whose detail says what went wrong.