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

Standardise latest/all behaviour for members/member-of endpoints #399

Open alexdunnjpl opened 11 months ago

alexdunnjpl commented 11 months ago

💡 Description

Post #396, /all and /latest endpoints still exist, but have no effect. Either restore their functionality, or remove them.

@jordanpadams I suggest we remove the endpoints, and have the members/member-of endpoints behave in the following manner:

tloubrieu-jpl commented 11 months ago

@alexdunnjpl @jordanpadams I agree with that proposal, the most simple the better since I don't feel like supporting lid only there is important except for the fact that they are sub-path of product/{lid} which we support (as Alex just told me !)

jordanpadams commented 11 months ago

@alexdunnjpl to clarify, do this still works?

/products/{identifier}/all
/products/{identifier}/latest
jordanpadams commented 11 months ago

@alexdunnjpl per our discussion at the stand-up, as long as those endpoints work, those are the only ones we care about. I think the others can go away because I don't really see the use cases there.

alexdunnjpl commented 11 months ago

@tloubrieu-jpl I'd tentatively suggest this as a candidate for my next deliverable