Retrieve a set of run policies by query
Changed onUsed to query run policies
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/schedule/runPolicy
- Auth: one of:
- HTTP basic
- API key in header Authorization
Query parameters
The organization id to query
The deployment id to query
The test id to filter by; returns only plans that include this test. When supplied, organization_id is required (returns 400 otherwise) - tests are workspace-scoped so the workspace context is needed to use the indexed lookup.
The limit to use for pagination
The cursor to use for pagination
Return only plans whose name equals this value, ignoring case and surrounding whitespace. Applied in memory after a full workspace scan, so the response contains every match up to limit and the returned cursor is empty; truncated is true when limit cut the match set short. Cannot be combined with cursor (returns 400) - the scan has to start at the beginning to see every match.
Return only plans carrying at least one of these labels, matched ignoring case and surrounding whitespace. All plans are considered when it is absent. Applied in memory after a full workspace scan on the same terms as name, so the returned cursor is empty, truncated is true when limit cut the match set short, and it cannot be combined with cursor (returns 400).
Response
Array of run policies matching the query
Changes
- warning
added the new
zephyrenum value to the////////response property for the response status
- warning
- info
added the new optional
queryrequest parameterinclude_labels
- info