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

REST API: DB check, 204 when empty answer #3056

Closed
matleppa opened this issue Oct 17, 2017 · 1 comment
Closed

REST API: DB check, 204 when empty answer #3056

matleppa opened this issue Oct 17, 2017 · 1 comment

Comments

@matleppa
Copy link
Member

Description

When GET method is used and response contains only an empty list, HTTP code 204 must be used instead of 200.

Concerns at least following methods:
* GET /users , when list is empty
* GET /users/{id}, when not found
* GET users/updates, when list is empty
* GET /apis, when not found
* GET /organizations, when list is empty

@preriasusi
Copy link
Contributor

It's done.

@ghost ghost removed the backlog label Dec 20, 2017
@marla-singer marla-singer added this to the Sprint 61 milestone Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants