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 a user, I want to get the product identifiers in a application/kvp+json format #132

Open
tloubrieu-jpl opened this issue May 10, 2022 · 2 comments
Assignees
Labels
needs:more-info needs:triage requirement the current issue is a requirement

Comments

@tloubrieu-jpl
Copy link
Member

💪 Motivation

...so that I can use it

📖 Additional Details

⚖️ Acceptance Criteria

Given a registry API server on localhost:8080
When I perform curl --location --request GET 'http://localhost:8080/products/urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00014_20181211_073042::1.0/collections'
--header 'Accept: application/kvp+json'
Then I expect to have the full lidvid identifier in a single property, named TO_BE_DEFINED

⚙️ Engineering Details

@tloubrieu-jpl tloubrieu-jpl added needs:triage requirement the current issue is a requirement labels May 10, 2022
@jordanpadams
Copy link
Member

@tloubrieu-jpl do we not have a KVP already supported?

@al-niessner
Copy link
Contributor

@tloubrieu-jpl @jordanpadams

kvp+json is WYRIWYG (What You Request Is What You Get); meaning if you did not say fields=lidvid then you will not get the lidvid. Given this, change your request to:

'http://localhost:8080/products/urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00014_20181211_073042::1.0/collections?fields=lidvid'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:more-info needs:triage requirement the current issue is a requirement
Projects
Status: ToDo
Development

No branches or pull requests

3 participants