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

Standardize response schema? #8

Open
kmcelwee opened this issue Oct 2, 2020 · 2 comments
Open

Standardize response schema? #8

kmcelwee opened this issue Oct 2, 2020 · 2 comments

Comments

@kmcelwee
Copy link

kmcelwee commented Oct 2, 2020

When one record is returned, OSTI returns a single dictionary instead of a list. I can write up a workaround, but if not too many people are dependent on how things are currently structured could we keep it as a list? Or document the exception?

See further documentation here: pulibrary/pdc-osti#1

@nensor
Copy link
Member

nensor commented Oct 2, 2020

I'll check into that, should likely be consistent one way or the other certainly.

@astrochun
Copy link
Contributor

I recently encountered an error with this issue with a one record submission. Standardization would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants