We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Prerequisite You should complete issue #8, before you could start working on this one.
A department resource should follow the following request/response schema.
POST /departments
Request schema
{ "name”: “Computer Science”, "faculty_id”: “{faculty_id} }
Response schemas Status 201:
{ "self": "http://localhost:8090/api/departments/{user_id}", "name": "Computer Science", "faculty": { "self": "http://localhost:8090/api/faculties/{faculty_id}”, "name": "{faculty_name}" } }
Status 409: If a department with that name already exists.
Status 400: Return if a faculty with the given faculty_id does not exist.
Note
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisite
You should complete issue #8, before you could start working on this one.
A department resource should follow the following request/response schema.
POST /departments
Request schema
Response schemas
Status 201:
Status 409: If a department with that name already exists.
Status 400: Return if a faculty with the given faculty_id does not exist.
Note
The text was updated successfully, but these errors were encountered: