Skip to main content

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

Body

required

    computedColumns string[]

    List of computed columns to include (by default includes all)

    id integer

    Only return the entity with the given id, returns one or none

    ids integer[]

    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

    entity 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

    inverse boolean

    Inverts the result to retrieve non-mapped entities

    Default value: false

    filter

    object

    Filter/search terms

    and

    object

    oneOf

    Filter/search terms

    and

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • or

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • or

    object

    oneOf

    Filter/search terms

    and

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • or

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • property name*

    object

    oneOf

    oneOf

    Any basic JSON value (string, number, boolean, null)

    oneOf

    string

    resultFilter

    object

    Filter/search terms

    and

    object

    oneOf

    Filter/search terms

    and

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • or

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • or

    object

    oneOf

    Filter/search terms

    and

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • or

    object

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
  • ]

  • property name*

    object

    oneOf

    oneOf

    Any basic JSON value (string, number, boolean, null)

    oneOf

    string

    countOnly boolean

    Only returns a count instead of a list of entities

    Default value: false
    idOnly boolean

    Only retrieves entity ids, omitting all other columns

    Default value: false
    optional boolean

    Indicates that the mapping is optional and may be 'null' in the result

    Default value: false
    includeDeleted boolean

    Includes deleted member entities in the mapping search result

    Default value: false
    omitLargeValues boolean

    Omits 'large' column/prop values (if available)

    Default value: false
    omit boolean

    Omit the mapping result from result entities - For intermediate nested mappings

    result string

    The entity to use as the result instead of the mapping relationship entity data

    resultIncludeMapping boolean

    Also includes mapping even if result entity is specified

    Default value: false

    map

    object

    Nested mapping starting from one of the member entities of this mapping

    oneOf

  • Array [

  • 0
    1
    2
    3
    4
    5
    6
    7
    8
    9
  • ]

  • includeDeleted boolean

    Includes soft-deleted entities in the result (if applicable)

    omitLargeValues boolean

    Omits 'large' column/prop values (if available)

    Default value: true
    omitForbidden boolean

    Omits entities which are not allowed to be read rather than return an error

    Default value: false
    asOf string

    Perform a history query given the asOf timestamp (if available)

    idOnly boolean

    Only returns ids in the result, omitting all other properties

    countOnly boolean

    Returns only the length of the result list instead of the result list itself

    label string

Responses

Returns FindResult of type 'AutomationTestRun' expanded with specified mapped values

Schema

    data

    object[]

    required

  • Array [

  • id integer

    The unique entity id - must be a positive integer

    title string

    A descriptive title for this entity or mapping (1 to 200 characters)

    Example: A Descriptive Title
    project_id integer

    The project id this entity or mapping belongs to

    tags string

    A list of tags for this entity

    Example: important,release,smoketest
    atm_source_id integer

    The atm_source_id property

    min_timestamp number

    The min_timestamp property

    max_timestamp number

    The max_timestamp property

    duration number

    The duration property

    status_highest number

    The highest result status in this run, see the ordering of the result status values

    is_completed boolean

    The is_completed property

    is_closed boolean

    The is_closed property

    closed_at date-time

    The time this automation run was closed - all referenced automation test cases uses this as a historic timestamp

    Example: 1970-01-01T00:00:00.000Z
    closed_by number

    The id of the user who closed this automation test run

    Example: 0
    is_pinned boolean

    The is_pinned property

    key_fields object

    The key_fields property

    key_fields_raw object

    The key_fields_raw property

    description stringnullable

    An optional description for the test run (can be a rich text document)

    Example:
    stat_passed_count number

    Number of passed results in this run

    stat_passed_warn_count number

    Number of passed with warning results in this run

    stat_skipped_count number

    Number of skipped results in this run

    stat_blocked_count number

    Number of blocked results in this run

    stat_failed_count number

    Number of failed results in this run

  • ]

  • meta

    object

    required

    count integerrequired
    limit integer
    offset integerrequired
    totalCount integer
Loading...