Pagination

All top-level API resources have support for bulk fetches through “list” API methods. For example, you can list styles. These list API methods share a common structure and accept, at a minimum, the following two parameters: page and limit.

  • page : The page number to retrieve (default is 1).
  • limit : The number of items to return per page (default is 50, maximum is 50).

The response will be a paginated result containing the items and metadata about the total count and pages.

{
  "items": [ ... ],
  "page": 1,
  "pageSize": 50,
  "totalCount": 105,
  "totalPages": 3
}