Some REST API queries (see the documentation for a specific query) can use sorting and pagination.

Pagination and sorting are provided by the following query parameters:

  • sortby=<sort_field> (see the description of specific queries for possible sorting fields);
  • direction=asc (or direction=asc);
  • offset=<integer_value>;
  • limit=<integer_value>.

It is possible to specify any subset of these four parameters (including an empty subset) in the query.

If any of these parameters is not specified in a query, its default value will be used (see the documentation for a specific query).


  • No labels