Request a job

Requests a job. This operation blocks until a job is available.

post/jobs

Request body

typesstring[] required
archstring required
worker_idstring

Response

Created

idstring required
kindstring required
hrefstring required
locationstring required
artifact_locationstring required
typestring required
{"stackTrail":"components:schemas:RequestJobResponse:allOf:properties:args","oasType":"schema","type":"unknown","extensionFields":{"x-go-type":"json.RawMessage"}}

Changes

Changed in 13 of the 17 revisions of this API.15415

    • added the new optional request property worker_id

      new-optional-request-property

    • added the success response with the status 204

      response-success-status-added

  • 6298f0b2bcb9933See the full diff
    • removed the enum value osbuild of the request property types/items/

      request-property-enum-value-removed

    • the response's body type/format changed from object/ to / for status 201

      response-body-type-changed

    • the response's body type/format changed from object/ to / for status 4XX

      response-body-type-changed

    • the response's body type/format changed from object/ to / for status 5XX

      response-body-type-changed

    • removed the required property id from the response with the 201 status

      response-required-property-removed

    • removed the required property location from the response with the 201 status

      response-required-property-removed

    • removed the required property message from the response with the 4XX status

      response-required-property-removed

    • removed the required property message from the response with the 5XX status

      response-required-property-removed

    • removed the required property type from the response with the 201 status

      response-required-property-removed

    • removed the optional property args from the response with the 201 status

      response-optional-property-removed

    • removed the optional property artifact_location from the response with the 201 status

      response-optional-property-removed

    • removed the optional property dynamic_args from the response with the 201 status

      response-optional-property-removed

    • added ObjectReference subschema #2 to the response body allOf list for the response status 201

      response-body-all-of-added

    • added ObjectReference subschema #2 to the response body allOf list for the response status 4XX

      response-body-all-of-added

    • added ObjectReference subschema #2 to the response body allOf list for the response status 5XX

      response-body-all-of-added

    • added the optional property dynamic_args to the response with the 201 status

      response-optional-property-added

    • added the new required request property arch

      new-required-request-property

    • added the new required request property types

      new-required-request-property

  • a63540039a56112See the full diff
    • removed the required property manifest from the response with the 201 status

      response-required-property-removed

    • removed the optional property targets from the response with the 201 status

      response-optional-property-removed

    • added the optional property args to the response with the 201 status

      response-optional-property-added

    • added the required property type to the response with the 201 status

      response-required-property-added

    • added the required property id to the response with the 201 status

      response-required-property-added

    • removed the required property token from the response with the 201 status

      response-required-property-removed

    • added the optional property artifact_location to the response with the 201 status

      response-optional-property-added

    • added the required property location to the response with the 201 status

      response-required-property-added

    • removed the success response with the status 200

      response-success-status-removed

    • api operation id PostJob removed and replaced with RequestJob

      api-operation-id-removed

    • added the success response with the status 201

      response-success-status-added