podaac / hydrocron

API for retreiving time series of SWOT data
https://podaac.github.io/hydrocron/
Apache License 2.0
13 stars 2 forks source link

Change default behavior of compact parameter for v2 of the API #179

Open nikki-t opened 1 month ago

nikki-t commented 1 month ago

The current default behavior for application/json responses with an output request parameter set to geojson and without a compact parameter is to return the full GeoJSON response and not compact the data fields into a single GeoJSON Feature.

We should change the default behavior to return a compact response when the compact request parameter is not set when we prepare for version 2 of the API.