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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As an API user, I want to get the latest version of a product, by default #449

Closed
jordanpadams opened this issue Jul 8, 2021 · 3 comments
Labels
B12.0 p.must-have requirement the current issue is a requirement

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Jul 8, 2021

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} 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} endpoint by LID or collections/ endpoint
Then I expect to have the latest version of the collection(s) returned, only

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

Engineering Details

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

@jordanpadams jordanpadams added requirement the current issue is a requirement needs:triage labels Jul 8, 2021
@jordanpadams jordanpadams self-assigned this Jul 8, 2021
@jordanpadams
Copy link
Member Author

This has already been developed as the default functionality of the API.

@jordanpadams jordanpadams changed the title As an API user, I want to get the latest version of a product returned by default As an API user, I want to get the latest version of a product Jul 8, 2021
@jordanpadams jordanpadams reopened this Jul 9, 2021
@jordanpadams
Copy link
Member Author

Re-opening because the current default functionality may not be what we actually want.

@jordanpadams jordanpadams removed their assignment Aug 24, 2021
@jordanpadams jordanpadams changed the title As an API user, I want to get the latest version of a product As an API user, I want to get the latest version of a product, by default Aug 24, 2021
@jordanpadams
Copy link
Member Author

this is done by default in the current API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B12.0 p.must-have requirement the current issue is a requirement
Projects
None yet
Development

No branches or pull requests

1 participant