Skip to content

Filtered

A 200 response with a paginated list of filtered items.

Parameter Type Description
status integer The HTTP status code
message string The message to return
items Array Items from the current page
paginationInfo PaginatedResultsInfo Details about the pagination
sortInfo SortedResultsInfo The sort order of the items
filterInfo object The filters applied to the response items

A JSON example of this model.

{
"status": 200,
"message": "Success",
"items": [
{
"id": "123",
"name": "Test 1"
},
{
"id": "124",
"name": "Test 2"
}
],
"paginationInfo": {
"page": 1,
"pageSize": 10,
"totalItems": 25,
"totalPages": 3
},
"sortInfo": {
"field": "name",
"direction": "asc"
},
"filterInfo": {
"filters": {
"lastModifiedAt": {
"operator": "gte",
"value": "2024-01-01T00:00:00Z"
},
"status": {
"operator": "in",
"value": [
"active",
"inactive"
]
}
}
}
}