Navigation Menu

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

fields query parameter does not work consistently across all response formats #172

Closed
jordanpadams opened this issue Aug 2, 2022 · 2 comments
Assignees
Labels
B13.0 bug Something isn't working s.high High severity

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Aug 2, 2022

🐛 Describe the bug

curl --get https://pds.nasa.gov/api/search-sbnumd/1.0/bundles/urn:nasa:pds:gbo-kpno::4.0/collections --data-urlencode 'fields=Time_Coordinates.start_date_time' | json_pp

returns all fields

curl --get 'https://pds.nasa.gov/api/search-sbnumd/1.0/bundles/urn:nasa:pds:gbo-kpno::4.0/collections' --data-urlencode 'fields=pds:Time_Coordinates.pds:start_date_time' --header "Accept: text/csv"

returns a bunch of whitespace

🕵️ Expected behavior

This must be consistent 100% of the time. Even if we just support via text/csv and kvp+json, that will suffice for now. But that doesn't currently work.

📚 Version of Software Used

1.0.2

🩺 Test Data / Additional context

🏞Screenshots

🖥 System Info

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

🦄 Related requirements

related to NASA-PDS/pds-api#209

⚙️ Engineering Details

@jordanpadams jordanpadams added bug Something isn't working needs:triage labels Aug 2, 2022
@jordanpadams jordanpadams self-assigned this Aug 2, 2022
@al-niessner
Copy link
Contributor

fixed on branch 1.0.3

@jordanpadams
Copy link
Member Author

fixed per #175 (I think?). let's test it out and see...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B13.0 bug Something isn't working s.high High severity
Projects
None yet
Development

No branches or pull requests

2 participants