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

4 - create GET /stats/failuresByStates #4

Open
glmaljkovich opened this issue Mar 20, 2019 · 0 comments
Open

4 - create GET /stats/failuresByStates #4

glmaljkovich opened this issue Mar 20, 2019 · 0 comments

Comments

@glmaljkovich
Copy link
Contributor

Create an endpoint that lists the failures by state. In order to make it simpler you don't have to count how many failures a student has. It means each student count once even if he/she fails more than one exam.

route: /stats/failuresByStates
method: GET
params: none
response: {data: {<state>: Number}}
responseExample: { data: { "California": 2, "Buenos Aires": 1 } }

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

1 participant