sort and direction query parameters to sort the collection either in
ascending or descending order.
Sorting criteria
The field to sort on is defined by thesort query parameter. Check the API
endpoint’s documentation for the possible options for this value.
In some APIs the
sort field is the second criteria by which the items are
sorted. For example for the GET /folders/:id/items
endpoint the results are always sorted by their type first before any other
criteria.Sorting direction
The sorting direction supports two values, eitherASC for ascending order, or
DESC for the reverse.
