Skip to content

Ordering

Index endpoints, returning lists of resources, can be ordered by different attributes using the order_by parameter.

In the API documenation for each endpoints documentation it is indicated which attributes are available for ordering.
Default is ascending order. To request a descending order, use minus (-) as a prefix.

Assets ordered by serial number ascending:

v1/assets?order_by=serial_number

Assets ordered by serial number descending:

v1/assets?order_by=-serial_number

All endpoints can be ordered at least by id, created_at and updated_at. If the request does not contain an order_by parameter, the lists will be ordered by id in most cases. Exceptions are mentioned at the respective endpoints in the API documentation. .

Assets id, serial number, updated_at and created_at
Instrumentations: id, tag, updated_at and created_at
Nodes: id, name, updated_at and created_at