T-Gate provides 2 main query parameters to support pagination:
Parameter | Type | Description |
---|---|---|
items | integer | allows you to specify the maximum number of objects to return in one request. |
page | integer | defines which page you want to access. |
Default ValuesBy 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.
Parameter | Type | Description |
---|---|---|
current-page | integer | page number of the current request. |
page-items | integer | number of items per page |
total-count | integer | total number of items |
total-pages | integer | total number of pages |