Skip to main content

Find 'TestPlan' entities using the specified (body) parameters

POST 

/testplan/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

    pagination

    object

    Pagination settings control how much data from a result is fetched

    offset integer

    The offset the result starts at

    Default value: 0
    pageAtId integer

    Selects the page with the given id in the result, given a limit (= page size)

    inflate integer

    Adds a number of items before the start offset and after the limit (for pagination use)

    limit integer

    The maximum number of result rows

    order

    object[]

    Controls the ordering of the result

  • Array [

  • oneOf

    order stringrequired

    Ordering by a pre-defined value sequence - the partial ordering of the given values in the result is preserved

    column stringrequired

    The name of the column to order by

    seq number[]required
  • ]

  • includeTotalCount boolean

    Includes the total result count if pagination options were given

    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

    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 'TestPlan' 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
    is_deleted boolean

    If the entity has been soft-deleted this value is true

    project_id integer

    The project id this entity or mapping belongs to

    created_at date-time

    The creation time for this entity or mapping value

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

    The creator user id of this entity or mapping value - or zero if created by the system

    Example: 0
    modified_at date-time

    The last modification time for this entity or mapping value

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

    The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system

    Example: 0
    deleted_at date-time

    The soft-deletion time for this entity or mapping value

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

    The id of the user who deleted this entity or mapping value - or zero if deleted by the system

    Example: 0
    description string

    An optional description for this test plan (can be a rich text document)

    $testrun_count number

    The number of test runs linked to this test plan - read only

    $last_testrun_created object

    The time the last test run was created from this test plan - read only

    $open_testrun_count number

    The number of open test runs linked to this test plan - read only

    $query_count number

    The number of tset case queries linked to this test plan - read only

  • ]

  • meta

    object

    required

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