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

Allow developers to access the Department resource #7

Open
stevebrownlee opened this issue Jul 22, 2017 · 1 comment
Open

Allow developers to access the Department resource #7

stevebrownlee opened this issue Jul 22, 2017 · 1 comment

Comments

@stevebrownlee
Copy link
Member

stevebrownlee commented Jul 22, 2017

Feature Criteria

Verbs to be supported

  1. GET
  2. POST
  3. PUT
  • User should be able to GET a list, and GET a single item.
  • If the query string parameter of ?_include=employees is provided, then all employees in the department(s) should be included in the response.
  • If the query string parameters of ?_filter=budget&_gt=300000 is provided on a request for the list of departments, then any department whose budget is $300,000, or greater, should be in the response.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.

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

2 participants