opengeospatial / ogcapi-records

An open standard for the discovery of geospatial resources on the Web.
https://ogcapi.ogc.org/records
Other
59 stars 28 forks source link

Empty ids parameter. #347

Closed pvretano closed 6 months ago

pvretano commented 6 months ago

Say I an querying by ids ... /collections/{catalogId}/items?ids=.... If the ids parameter is specified BUT is empty how should the catalogue respond? Should it:

  1. Ignore the parameter?
  2. Should it returns an empty result set?
cportele commented 6 months ago

As the parameter is an array, an empty parameter value is an empty array and thus the response should be an empty result set.

pvretano commented 6 months ago

18-MAR-2024 SWG Meeting: Concensus seems to be that the server should respond with an empty response collection. @pvretano will make the necessary updates to the specification.