Under each title you'll find
- The type of method request
- e.g.
POST
,DELETE
,UPDATE
etc - More details
- See here for how to use different method requests using Fetch
- e.g.
- The request path
- e.g,
/course/
- When a path uses
{}
that means it should be replaced with a variable (e.g.course/{moduleId}
===/course/13431/
)
- e.g,
- The data that should be included
- e.g.
name
,id
,date
etc
- e.g.
POST
/course/
- name
- id
DELETE
/course/{courseid}
POST
/course/{courseid}
- id
- name
- courseName
DELETE
/course/{courseId}/{moduleid}
POST
/course/{courseId}/{moduleid}
- id
- name
- syllabusUrl
- repoUrl
- rubricUrl
DELETE
/course/{courseId}/{moduleid}/{courseworkid}
POST
/city/
- name
- id
DELETE
/city/{cityId}
POST
/city/{cityId}
- id
- name
DELETE
/city/{cityId}/{classId}
POST
/course/{cityId}/{classId}
- id
- name
- githubUsername
DELETE
/city/{cityId}/{classId}/{studentId}