The Conferma API supports sorting and paging for endpoints that return a list of resources.

Query Parameters

Use the following query parameters to control the sorting and pagination of returned lists.

ParameterDescriptionValues
pageThe page number of the results, as a non-zero integer. Enables you to filter by page number. Use in combination with page_size.Default: 1
Minimum Value: 1
Maximum Value: 50
pageSizeLimits the number of items returned.Default: 15
Minimum Value: 1
Maximum Value: 100
sortByAllows the result set to be ordered.Values vary by resource model.
sortOrderAllows the result set order direction to be changed.Possible values:
desc (descending order)
asc (ascending order)

Response Properties

List results are returned in a paged data response model. The following properties will be included in the response.

NameTypeDescription
totalItemsintegerNumber of items returned in the response.
totalPagesintegerNumber of pages returned in the response.
pageNumberintegerCurrent selected page number.
pageSizeintegerNumber of items per page.
itemsarray of objectsAn array of resources.

Sample Paged Data Response

{
   "totalItems":1,
   "totalPages":1,
   "pageNumber":1,
   "pageSize":15,
   "items":[
      ...
   ]
}