List test cases in a version or the draft
List the cases of a published version (default: the latest), or of the draft with version=‘draft’.
GET
/v1/projects/{projectId}/test-suites/{testSuiteId}/casesAuthorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstring<uuid>requiredtestSuiteIdstring<uuid>requiredQuery parameters
versionstringA version number or draft; defaults to the latest published version, or the draft if nothing is published.
matches ^([1-9][0-9]*|draft)$
offsetintegermin 0
limitintegermin 1 · max 100
Responses
200
Response for status 200
versionintegerrequireddraftbooleanrequiredWhether version is the unpublished draft, numbered as it will publish.
casesTestCase[]requiredShow propertiesHide properties
Array of
TestCasecase_idstring<uuid>requirednamestring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullinputanyrequiredexpectedobjectrequiredtagsstring[]requiredmetadataobjectrequiredversion_addedintegerrequiredjudge_namesobjectrequiredNames of the judges in these cases' checks, by judge id. Deleted judges are left out.
next_offsetinteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
null404
Response for status 404
errorstringrequiredmessagestringcodestringdetailsstring[]409
Response for status 409
errorstringrequiredmessagestringcodestringdetailsstring[]422
Response for status 422
errorstringrequiredmessagestringcodestringdetailsstring[]