Sort features in a response.
Sorting implements the conformance class "Sorting" of the draft OGC API - Records - Part 1: Core.
The Sortables resource identifies the properties that can be referenced in the "sortby" parameter to order the features of the collection in the response to a query. The response is returned as a JSON Schema document that describes a single JSON object where each property is a sortable. Note that the Sortables schema does not specify a schema of any object that can be retrieved from the API. JSON Schema is used for the Sortables to have a consistent approach for describing schema information. JSON Schema is used in other parts of the API to describe schemas for JSON responses including in OpenAPI documents.
If the parameter is specified, the features are returned sorted according to the attributes specified in a comma-separated list. The attribute name can be preceded by
Select the output format of the response. If no value is provided, the standard HTTP rules apply, i.e., the "Accept" header will be used to determine the format.
Enable the building block?
Deprecated Superseded by
Controls which of the attributes in queries can be used for sorting data. Only direct attributes of the data types
The list of properties that would be sortables based on
The character that is used as the path separator in case of object-valued properties. Either
- buildingBlock: SORTING enabled: true included: - name - function - height