Sorting
For endpoints with List
requests, the API supports sorting the response based on predefined system fields
Sorting is added as a parameter sort=field_name
in the request
The default sorting when using sortable field is from smaller to larger or older to newer. Sorting can be reversed by putting a minus -
sign before sortable field like sort=-field_name
Example :
- if you sorted by
sort=created_at
, API will return oldest created to newest created. - if you sorted by
sort=-created_at
, API will return newest created to oldest created.
Last modified: a year ago