Sorting is available from version 3.3 of the Dataloy API |
Within API 3.3 release is possible sort the result of any search. The following type of sorting are supported:
ASCENDING
http://localhost:8080/ws/rest/Vessel?sort=vesselName(AS)
ASCENDING INSENSITIVE
http://localhost:8080/ws/rest/Vessel?sort=vesselName(ASI)
DESCENDING
http://localhost:8080/ws/rest/Vessel?sort=vesselName(DS)
DESCENDING INSENSITIVE
http://localhost:8080/ws/rest/Vessel?sort=vesselName(DSI)
It is possible use sorting in combination with any filter and pagination: