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

As a user, by default, I want to resolve the latest version of a product when given a product logical_identifier (LID) (`/products/{logical_identifier}` endpoint) #435

Closed tloubrieu-jpl closed 3 months ago

tloubrieu-jpl commented 6 months ago

Checked for duplicates

Yes - I've already checked

🧑‍🔬 User Persona(s)

API user

💪 Motivation

...so that I can get the latest version of a product even if I have no idea what versions are available.

📖 Additional Details

No response

Acceptance Criteria

Given a lid When I perform a request /products/{lid} Then I expect to get the description of the latest version of a product having this lid

Given a lid When I perform a request /products/{lid}/latest Then I expect to get the description of the latest version of a product having this lid

⚙️ Engineering Details

Tightly coupled with https://github.com/NASA-PDS/registry-api/issues/426

tloubrieu-jpl commented 4 months ago

This is implemented in the develop branch.

tloubrieu-jpl commented 4 months ago

We can re-open that ticket to revisit (put aside) the latest suffix.