Sort results (order_by)

Sorts the entities returned from the server during a GET operation on collections.

The order_by parameter has the following syntax:

order_by=[<direction>]<field name>[[,[<direction>]<field name>]]

Example: /defects?order_by=severity,-creation_time

Example: Get the defects collection, ordered by name ascending and story points descending:

GET .../api/shared_spaces/<shared_space_id>/workspaces/1003/defects?order_by=name,-story_points

See also: