Fetch sortable fields for /search
Changed onThis endpoint returns a list of properties (or aliases) that can be used in the sortby parameter for the cross-collection item search (i.e. GET /search and POST /search). It returns a JSON Schema that defines the properties allowed in sortby. The precise definition of this can be found in the OGC API - Features - Part 5: Schemas.
Request
- Base URLhttps://data.geo.admin.ch/api/stac/v1
- Authnone declared
Response
A JSON Schema defining the properties allowed in sortby.
Example response
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://data.geo.admin.ch/api/stac/v1/sortables",
"title": "Sortables",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"collection": {
"type": "string"
},
"properties.datetime": {
"type": "string",
"format": "date-time"
},
"properties.title": {
"type": "string"
},
"properties.created": {
"type": "string",
"format": "date-time"
},
"properties.updated": {
"type": "string",
"format": "date-time"
}
}
}Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning