NASA-PDS / registry-api

Web API service for the PDS Registry, providing the implementation of the PDS Search API (https://github.com/nasa-pds/pds-api) for the PDS Registry.
https://nasa-pds.github.io/pds-api
Apache License 2.0
3 stars 5 forks source link

Implement the all/latest version requirement with a query parameter #502

Closed tloubrieu-jpl closed 4 months ago

tloubrieu-jpl commented 4 months ago

💡 Description

The new query parameter is "all-versions". the values can be 'true' or 'false'. The parameter is optional, default behavior is all-versions=false. Or actually we could see that the other way around latest-only=true by default.

This behavior will replace the suffix /latest or /all to implement the requirement https://github.com/NASA-PDS/registry-api/issues/436 and should be extended to apply to all end-points.

⚔️ Parent Epic / Related Tickets

No response

jordanpadams commented 4 months ago

Duplicate of https://github.com/NASA-PDS/registry-api/issues/428