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 have a complete default fields (for now at least) #155

Closed
tloubrieu-jpl opened this issue Jun 24, 2021 · 0 comments · Fixed by NASA-PDS/registry-api-service#48
Assignees
Labels
B12.0 c.api needs:triage requirement the current issue is a requirement

Comments

@tloubrieu-jpl
Copy link
Member

tloubrieu-jpl commented Jun 24, 2021

Motivation

...so that the fields parameter only impacts the property content and is readable to the user (the match between pds4 syntax and attribute in the json api object are not explicit to the user).

This also aims at enabling the returned object to validate the swagger definition (checked by the python api client)

Additional Details

Acceptance Criteria

Given
When I perform request curl --location --request GET 'http://localhost:8080/products?limit=10&fields=title,ops:Label_File_Info.ops:md5_checksum'
Then I expect a complete result in the default fields and properties fields containing only title and md5_sum

Engineering Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B12.0 c.api needs:triage requirement the current issue is a requirement
Projects
None yet
2 participants