d0fc0114da66
Retrieve a set of latest test versions by query and branch
Used to query tests. The secondary filters (include_labels, exclude_labels, include_test_case_ids, author_id, application_id) are applied in memory after the workspace's tests are fetched and combine as a logical AND, so when any of them is supplied the endpoint returns up to limit matching tests from a full scan and the returned cursor reflects that underlying scan rather than the filtered set. test_type is different: it is applied at the datastore layer via the test-type index (so a type-only query is a seek, not a full scan) and combines as a logical AND with the in-memory filters. credentials_id takes a separate path: it takes precedence over and is mutually exclusive with all other filters.
Query parameters
The organization id to query
at least one label must be matched, if supplied, otherwise all tests considered
any matching labels will exclude entity from matching, if supplied, otherwise all tests considered
at least one id must be matched, if supplied
mabl branch to retrieve tests for
Run ONLY tests MODIFIED on above mabl branch
filter results by mabl user ID of author
filter results to tests whose latest version references this credentials id
filter results to tests whose training application is this application id
filter results to tests of this type (browser, api, performance, or mobile); applied at the datastore layer via the test-type index
The limit to use for pagination
The cursor to use for pagination
Response
Array of tests matching the query