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

Responses do not return correct metadata when fields parameter is specified #548

Open
jordanpadams opened this issue Sep 26, 2024 · 0 comments
Labels
B15.1 bug Something isn't working s.medium Medium level severity

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Sep 26, 2024

Checked for duplicates

Yes - I've already checked

πŸ› Describe the bug

When I did used the fields query parameter, I noticed the API returned many other fields I did not ask for

πŸ•΅οΈ Expected behavior

I expected only the fields I asked for to be returned

πŸ“œ To Reproduce

curl -L --get https://pds.nasa.gov/api/search/1/products/urn:nasa:pds:msl_gt_diagenesis_supplement?fields=lid --header 'Accept: text/csv'

Confirmed this also does not work for:

  • application/kvp+json
  • application/json
  • application/xml

πŸ–₯ Environment Info

Mac OSx

πŸ¦„ Related requirements

πŸ¦„ #459
πŸ¦„ #445

βš™οΈ Engineering Details

No response

πŸŽ‰ Integration & Test

No response

@jordanpadams jordanpadams added bug Something isn't working needs:triage labels Sep 26, 2024
@jordanpadams jordanpadams self-assigned this Sep 26, 2024
@jordanpadams jordanpadams added B15.1 s.medium Medium level severity and removed needs:triage labels Sep 26, 2024
@jordanpadams jordanpadams removed their assignment Sep 26, 2024
@github-project-automation github-project-automation bot moved this to Release Backlog in B15.1 Sep 26, 2024
@jordanpadams jordanpadams changed the title application/csv response does not return correctly when fields parameter is specified Responses do not return correct metadata when fields parameter is specified Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B15.1 bug Something isn't working s.medium Medium level severity
Projects
Status: ToDo
Status: ToDo
Development

No branches or pull requests

1 participant