Find 'AutomationTestRun' entities using the specified (body) parameters
POST/atm-testrun/find
Search for entities with the filters and arguments specified in 'DataReadParams' (see request schema), with optional mapping expansions via 'map'. Note that 'filter' should include a 'project_id' parameter if API key permissions are restricted to a single project.
Request
- application/json
Body
required
- MapJoin
- MOD2
- MOD1
- MOD2
Array [
]
- FkIdsNullable
- MOD2
- MOD1
- MOD2
Array [
- MOD1
- MOD2
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- MOD1
- MOD2
- MOD3
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- MOD1
- MOD2
- MOD3
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- MOD2
Array [
]
Array [
- MOD1
- MOD2
Array [
]
- FkIdsNullable
- MOD2
- MOD1
- MOD2
Array [
- MOD1
- MOD2
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- MOD1
- MOD2
- MOD3
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- ByKeys
- MOD2
- MOD2
Array [
]
- MOD2
Array [
]
Array [
- MOD2
Array [
]
- MOD2
Array [
]
]
- MOD1
- MOD2
- MOD3
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- ByKeysValue
- MOD2
- MOD1
- MOD2
- MOD3
Array [
- MOD1
- MOD2
- MOD3
]
- MOD2
Array [
]
]
List of computed columns to include (by default includes all)
Only return the entity with the given id, returns one or none
Only return the entities with the given ids
map
object
Map expression to expand properties or relationships with other entities
oneOf
entities
object
The list of entity names which are part of the mapping (for mapping relationship tables)
oneOf
string
string
The entity name (for direct mapping via a foreign key)
ids
object
A list of id tuples to filter by
oneOf
Entity ids for mapped entities, e.g. testcase_id (also allows null as value)
property name*
object
oneOf
integer
string
property name*
object
oneOf
integer
string
Inverts the result to retrieve non-mapped entities
false
filter
object
Filter/search terms
and
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
or
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
property name*
object
oneOf
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
value
object
required
The target value(s) or pattern
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
The target column/prop name (instead of fixed value)
resultFilter
object
Filter/search terms
and
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
or
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
property name*
object
oneOf
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
value
object
required
The target value(s) or pattern
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
The target column/prop name (instead of fixed value)
Only returns a count instead of a list of entities
false
Only retrieves entity ids, omitting all other columns
false
Indicates that the mapping is optional and may be 'null' in the result
false
Includes deleted member entities in the mapping search result
false
Omits 'large' column/prop values (if available)
false
Omit the mapping result from result entities - For intermediate nested mappings
The entity to use as the result instead of the mapping relationship entity data
Also includes mapping even if result entity is specified
false
map
object
Nested mapping starting from one of the member entities of this mapping
oneOf
entities
object
The list of entity names which are part of the mapping (for mapping relationship tables)
oneOf
string
string
The entity name (for direct mapping via a foreign key)
ids
object
A list of id tuples to filter by
oneOf
Entity ids for mapped entities, e.g. testcase_id (also allows null as value)
property name*
object
oneOf
integer
string
property name*
object
oneOf
integer
string
Inverts the result to retrieve non-mapped entities
false
filter
object
Filter/search terms
and
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
or
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
property name*
object
oneOf
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
value
object
required
The target value(s) or pattern
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
The target column/prop name (instead of fixed value)
resultFilter
object
Filter/search terms
and
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
or
object
oneOf
Filter/search terms
and
object
oneOf
or
object
oneOf
and
object
oneOf
or
object
oneOf
property name*
object
oneOf
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
value
object
required
The target value(s) or pattern
oneOf
Any basic JSON value (string, number, boolean, null)
oneOf
string
number
boolean
oneOf
string
number
boolean
The comparison/matching operation to perform on the value: eq, not_eq, like, not_like, in, not_in, like_in, not_like_in, gt, lt, lte, gte, range, dtinterval, dinterval, dtintervalMillis, has_any, has_all, has_none, in_subtree
Possible values: [eq
, not_eq
, like
, not_like
, in
, not_in
, like_in
, not_like_in
, gt
, lt
, lte
, gte
, range
, dtinterval
, dinterval
, dtintervalMillis
, has_any
, has_all
, has_none
, in_subtree
]
The target column/prop name (instead of fixed value)
Only returns a count instead of a list of entities
false
Only retrieves entity ids, omitting all other columns
false
Indicates that the mapping is optional and may be 'null' in the result
false
Includes deleted member entities in the mapping search result
false
Omits 'large' column/prop values (if available)
false
Omit the mapping result from result entities - For intermediate nested mappings
The entity to use as the result instead of the mapping relationship entity data
Also includes mapping even if result entity is specified
false
map
object
Nested mapping starting from one of the member entities of this mapping
oneOf
Includes soft-deleted entities in the result (if applicable)
Omits 'large' column/prop values (if available)
true
Omits entities which are not allowed to be read rather than return an error
false
Perform a history query given the asOf timestamp (if available)
Only returns ids in the result, omitting all other properties
Returns only the length of the result list instead of the result list itself
Responses
- 200
- 4XX
- 5XX
Returns FindResult of type 'AutomationTestRun' expanded with specified mapped values
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
The unique entity id - must be a positive integer
A descriptive title for this entity or mapping (1 to 200 characters)
A Descriptive Title
The project id this entity or mapping belongs to
A list of tags for this entity
important,release,smoketest
The atm_source_id property
The min_timestamp property
The max_timestamp property
The duration property
The highest result status in this run, see the ordering of the result status values
The is_completed property
The is_closed property
The time this automation run was closed - all referenced automation test cases uses this as a historic timestamp
1970-01-01T00:00:00.000Z
The id of the user who closed this automation test run
0
The is_pinned property
The key_fields property
The key_fields_raw property
An optional description for the test run (can be a rich text document)
Number of passed results in this run
Number of passed with warning results in this run
Number of skipped results in this run
Number of blocked results in this run
Number of failed results in this run
meta
object
required
{
"data": [
{
"id": 0,
"title": "A Descriptive Title",
"project_id": 0,
"tags": "important,release,smoketest",
"atm_source_id": 0,
"min_timestamp": 0,
"max_timestamp": 0,
"duration": 0,
"status_highest": 0,
"is_completed": true,
"is_closed": true,
"closed_at": "1970-01-01T00:00:00.000Z",
"closed_by": 0,
"is_pinned": true,
"key_fields": {},
"key_fields_raw": {},
"description": "",
"stat_passed_count": 0,
"stat_passed_warn_count": 0,
"stat_skipped_count": 0,
"stat_blocked_count": 0,
"stat_failed_count": 0
}
],
"meta": {
"count": 0,
"limit": 0,
"offset": 0,
"totalCount": 0
}
}
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}