Find 'Comment' entities using the specified (body) parameters
POST/comment/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
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
]
- 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 [
]
]
pagination
object
Pagination settings control how much data from a result is fetched
The offset the result starts at
0
Selects the page with the given id in the result, given a limit (= page size)
Adds a number of items before the start offset and after the limit (for pagination use)
The maximum number of result rows
order
object[]
Controls the ordering of the result
oneOf
Ordering by a pre-defined value sequence - the partial ordering of the given values in the result is preserved
The name of the column to order by
The name of the column to order by
Either 'asc'ending or 'desc'ending order for the given column
Possible values: [asc
, desc
]
Includes the total result count if pagination options were given
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, 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
, 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, 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
, has_any
, has_all
, has_none
, in_subtree
]
The target column/prop name (instead of fixed value)
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, 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
, 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, 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
, 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, 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
, 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, 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
, 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, 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
, 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, 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
, 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, 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
, 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, 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
, 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 'Comment' 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
If the entity has been soft-deleted this value is true
The creation time for this entity or mapping value
1970-01-01T00:00:00.000Z
The creator user id of this entity or mapping value - or zero if created by the system
0
The last modification time for this entity or mapping value
1970-01-01T00:00:00.000Z
The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system
0
The soft-deletion time for this entity or mapping value
1970-01-01T00:00:00.000Z
The id of the user who deleted this entity or mapping value - or zero if deleted by the system
0
The project id this entity or mapping belongs to
Reserved for future use
Reserved for future use
The type of comment. Either TEXT or ATTACHMENT.
The target of the comment. Either TC or TRTC.
The comment text
A blob reference
meta
object
required
{
"data": [
{
"id": 0,
"is_deleted": true,
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": 0,
"modified_at": "1970-01-01T00:00:00.000Z",
"modified_by": 0,
"deleted_at": "1970-01-01T00:00:00.000Z",
"deleted_by": 0,
"project_id": 0,
"parent_id": 0,
"status": "string",
"type": "string",
"target": "string",
"text": "",
"attachment": ""
}
],
"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"
}