Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

object GET should return {} and not [] #13

Open
enridaga opened this issue Nov 26, 2020 · 1 comment
Open

object GET should return {} and not [] #13

enridaga opened this issue Nov 26, 2020 · 1 comment

Comments

@enridaga
Copy link
Member

enridaga commented Nov 26, 2020

It seems more natural for the call to GET /object/<dataset>/<document> to return a JSON object instead of an array.

@enridaga
Copy link
Member Author

Similarly, it should raise a 404 response if the object does not exist.

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

No branches or pull requests

1 participant