v1

latestOpenAPI 3.1.0AGPL 3.02026-07-14339.4 KB
job

Track status and info of a job.

Track status and all information about a job with a given UUID.

get/job/{uuid}

Path parameters

uuidstring required

UUID to identify job.

Response

JSON detailing all information about a job

artifacts_urlstring uri

URL to artifact to be tested. Can be a deb, snap, or nothing if you just want to run tests against the testbed.

tests_repostring

Url to git repository containing tests and test plans.

test_plansTestPlanPath[]

List of paths to plan.yaml files detailing test plans.

image_urlstring uri

Url to image to be used as testbed. Has to be either .iso or .img format.

uuidstring

UUID to identify job.

test_observer_test_idinteger

ID for test observer suite of tests, that corresponds with this jobs' UUID.

status'pending' | 'running' | 'pass' | 'fail'
submitted_atstring date-time
requesterstring
debugboolean
priorityinteger

Example response

{
  "artifacts_url": "https://launchpad.net/ubuntu/+archive/primary/+files/hello_2.10-5_amd64.deb",
  "tests_repo": "https://github.com/canonical/ubuntu-gui-testing",
  "test_plans": [
    "tests/firefox-example/plans/extended.yaml"
  ]
}