Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

As an API user, I want to explicitly request the latest version of a product #448

Closed
jordanpadams opened this issue Aug 24, 2021 · 1 comment
Assignees
Labels
B12.0 p.could-have requirement the current issue is a requirement

Comments

@jordanpadams
Copy link
Member

馃挭 Motivation

...so that I can get the latest version of a product only, ignoring the superseded versions of the product.

馃摉 Additional Details

鈿栵笍 Acceptance Criteria

Given a registry populated with multiple versions of a product
When I perform a query to the products/{lid}/latest endpoint by LID
Then I expect to have the latest version of the product returned, only

Given a registry populated with multiple versions of a collection
When I perform a query to the collections/{lid}/latest endpoint by LID
Then I expect to have the latest version of the collection returned, only

Given a registry populated with multiple versions of a bundle
When I perform a query to the bundles/{lid}/latest endpoint by LID
Then I expect to have the latest version of the bundle returned, only

鈿欙笍 Engineering Details

API design discussed at 2021-07-28 API WG Meeting

@jordanpadams
Copy link
Member Author

closed per NASA-PDS/registry-api-service#67

@jordanpadams jordanpadams transferred this issue from NASA-PDS/pds-api May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B12.0 p.could-have requirement the current issue is a requirement
Projects
None yet
Development

No branches or pull requests

2 participants