Closed jordanpadams closed 3 months ago
@jordanpadams @tloubrieu-jpl this endpoint does not appear to be reimplemented yet - shall I go ahead with that?
@alexdunnjpl yes. I will create a requirement
@alexdunnjpl new requirements created: #511
@jordanpadams the scope of these "latest unless specifically-requested" reqs does not include implementation of the feature "user can specifically request all versions", yeah?
@alexdunnjpl correct. Those will be separate requirements when the time comes
Checked for duplicates
No - I haven't checked
🧑🔬 User Persona(s)
No response
💪 Motivation
...so that I can get all applicable products of a specific product class, but avoid getting any superseded data.
📖 Additional Details
dependent upon https://github.com/NASA-PDS/registry-api/issues/511
Acceptance Criteria
NOTE: These acceptance criteria are just for example. See #511 for all the possible product classes you could use as test cases
Given multiple versions of a
Product_Collection
product When I performGET /classes/collections
Then I expect when paginating through the results, I get only the latest version of that collection productGiven multiple versions of a
Product_Browse
product loaded into the registry When I performGET /classes/browses
Then I expect when paginating through the results, I get only the latest version of that browse productGiven multiple versions of a
Product_Observational
product loaded into the registry When I performGET /classes/observationals
Then I expect when paginating through the results, I get only the latest version of that observational product⚙️ Engineering Details
No response
🎉 I&T
No response