Test Runs API

Test Run

GET /api/v1/run

Return a list of test runs

Note

Requires an API key in the header. You must request this API key from your MozTrap admin. It is generated in the User edit page. username=foo&api_key=bar

Note

The underscores in query params (like case__suites) are DOUBLE underscores.

Format :(required) The API always requires a value of json for this field.
Productversion :
 (optional) The ProductVersion ID to filter on.
Productversion__version :
 (optional) The ProductVersion name to filter on. For example, if the Product and Version are Firefox 10 then the productversion__version would be 10.
Productversion__product__name :
 (optional) The Product name to filter on.
Status :(optional) The status of the run. One of active or draft.
Limit :(optional) Defaults to 20 items, but can be set higher or lower. 0 will return all records.

Example request:

GET /api/v1/run/?format=json&productversion__version=10&case__suites__name=Sweet%20Suite

Project Versions

Table Of Contents

Previous topic

Test Cases and Suites API

Next topic

Environment API

This Page