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

More Section API controller routes #206

Merged
merged 2 commits into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions RESTful-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -1206,3 +1206,17 @@ NOTE: the folder_path string can include a nested path if the folder to be remov

- description: Delete the section uniquely identified by the given course and section id's.
- NOTE: The section must be non-empty (must not have any students).

### PUT /api/courses/:course_id/sections/:id

- description: Update the section uniquely identified by the given course and section id's.
- required parameters:
- name (string)

### GET /api/courses/:course_id/sections

- description: Get all sections for this course

### GET /api/courses/:course_id/sections/:id

- description: Get the section uniquely identified by the given course and section id's.