DigitaleDeltaOrg / dd-grid-api

Ontwikkeling van een Digitale Delta API voor roosterdata
0 stars 1 forks source link

Add analysisStartTime and analysisEndTime as query parameters #17

Closed stefhummel closed 3 years ago

stefhummel commented 3 years ago

It should be possible to search for a range of analysisTimes. So we (Deltares) would suggest to add analysisStartTime and analysisEndTime as query parameters on /coverages. Otherwise there is no way to know which analysisTimes are available without requesting all meta data. To avoid confusion it can replace the existing analysisTime query parameter. If interested in only one specific time, start and end can be set to the same time stamp.

GeriWolters commented 3 years ago

What would be the default values or behaviour? (See #15)

stefhummel commented 3 years ago

The default value is this case is simple: return the list of available coverages without filtering on analysisTime (but probably with filtering on other attributes).

stefhummel commented 3 years ago

(After team discussion) We will not formalize these parameters but will leave it up to the implementing system to offer this functionality by means of the generic filtering mechanism as defined in the DD-API