Skip to main content

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

POST 

/testcase-folder/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

    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
    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
    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
  • ]
  • oneOf
    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
  • Array [
  • oneOf
  • ]
  • inverse boolean

    Default value: false

    Inverts the result to retrieve non-mapped entities

    filter object

    Filter/search terms

    and object
    oneOf
    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
    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
  • ]
  • oneOf
    resultFilter object

    Filter/search terms

    and object
    oneOf
    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
    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
  • ]
  • oneOf
    countOnly boolean

    Default value: false

    Only returns a count instead of a list of entities

    idOnly boolean

    Default value: false

    Only retrieves entity ids, omitting all other columns

    optional boolean

    Default value: false

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

    includeDeleted boolean

    Default value: false

    Includes deleted member entities in the mapping search result

    omitLargeValues boolean

    Default value: false

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

    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

    Default value: false

    Also includes mapping even if result entity is specified

    map object

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

    oneOf
  • Array [
  • openapi
    info Testiny API

    The Testiny platform API.

    servers
    paths
    components
    tags
    security
    title
  • ]
  • includeDeleted boolean

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

    omitLargeValues boolean

    Default value: true

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

    omitForbidden boolean

    Default value: false

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

    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 'TestCaseFolder' 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)

    sort_index number

    An integer sort index for natural ordering of this entity or mapping value - value must be in range (-999999999999999,999999999999999)

    is_deleted boolean

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

    created_at date-time

    The creation time for this entity or mapping value

    created_by number

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

    modified_at date-time

    The last modification time for this entity or mapping value

    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

    deleted_at date-time

    The soft-deletion time for this entity or mapping value

    deleted_by number

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

    _etag stringrequired

    A tag for detecting conflicting modifications - current value (may be empty) must be passed along in an update (or update must be forced)

    project_id integer

    The project id this entity or mapping belongs to

    testcase_folder_parent_id integer

    The id of the folder's parent in the tree structure (no cycles allowed)

    description string

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

  • ]
  • meta objectrequired
    count integerrequired
    limit integer
    offset integerrequired
    totalCount integer
Loading...