-
Notifications
You must be signed in to change notification settings - Fork 3
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
vnd.nasa.pds.pds4+xml format does not return information #215
Comments
@jimmie can you verify if this is still a problem with the latest version of the registry (probably using @al-niessner's current branch on registry-api) |
@jimmie actually, let's move this down in priority a notch for the moment. can we try to get those open cloud-task tickets for multi-tenancy, web analytics, and deploying registries in NGAP wrapped up with our remaining time in this sprint / build? |
@viviant100 same goes for this issue associated with this requirement: |
Noted. I&T ticket #29 is created to track this requirement. |
Works on main branch using local test data:
|
Hi @jordanpadams et al - could you confirm if this should work in the production version of the API, or is this fix not deployed? I'm having no luck getting the PDS4+XML format for any products. If I use the default header, the json returns fine. To use the example on the docs:
This fails for me. Using requests I get a 500 error code for various test cases. |
@tloubrieu-jpl can correct me if I am wrong, but I believe this is fixed but not yet deployed. That should be included in our deployment coming in a few weeks. |
Hi @jordanpadams should this now work? Or am I suffering user error again? ;-) |
Hi @msbentley , although the fix has been developed it is not available in production yet since we did not tag a new release with the fix. Sorry about that. |
Thanks @tloubrieu-jpl |
🐛 Describe the bug
Using the format information on https://nasa-pds.github.io/pds-api/guides/search/response_formats.html
curl --get 'https://pds.nasa.gov/api/search-sbnumd/1.0/bundles/urn:nasa:pds:gbo-kpno::4.0/collections' --header 'Accept: application/vnd.nasa.pds.pds4+xml'
returns nothing.
📜 To Reproduce
Steps to reproduce the behavior:
type
curl --get 'https://pds.nasa.gov/api/search-sbnumd/1.0/bundles/urn:nasa:pds:gbo-kpno::4.0/collections' --header 'Accept: application/vnd.nasa.pds.pds4+xml'
🕵️ Expected behavior
Return of the information that the command line
curl --get 'https://pds.nasa.gov/api/search-sbnumd/1.0/bundles/urn:nasa:pds:gbo-kpno::4.0/collections' --header 'Accept: application/xml'
returns with the expected differences.
📚 Version of Software Used
1.0
🩺 Test Data / Additional context
see above
🏞Screenshots
🖥 System Info
MacOS 11.4
terminal window
🦄 Related requirements
⚙️ Engineering Details
The text was updated successfully, but these errors were encountered: