Pagination

T-Gate provides 2 main query parameters to support pagination:

ParameterTypeDescription
itemsintegerallows you to specify the maximum number of objects to return in one request.
pageintegerdefines which page you want to access.
📘

Default Values

By default, List APIs will return 20 objects per page unless the items attribute is specified otherwise.

All List APIs return the following headers that helps you with pagination.

ParameterTypeDescription
current-pageintegerpage number of the current request.
page-itemsintegernumber of items per page
total-countintegertotal number of items
total-pagesintegertotal number of pages