Getting Started
Sorting
Change the order of items returned in a list
Introduction
Endpoints that return a paginated list can be sorted by specific fields related to the endpoint. Eg. Jobs can be sorted by the date they were created.
A list of what fields are sortable can be see in each paginated endpoint.
Ascending/Descending
By default fields are sorted in ascending order but you can change this to descending by appending desc
to the value in the query parameter.
Eg. To sort jobs by the created date in descending order use ?sort=created_date desc
A query param that allows you to change the order of the items in the list
Was this page helpful?