API Specification
Contributors: Alicia Wang, Conner Swenberg
Expected Functionality
Get all courses
<HTTP STATUS CODE 200>
{
"courses": [
{
"id": 1,
"code": "CS 1998",
"name": "Intro to Backend Development",
"assignments": [ <SERIALIZED ASSIGNMENT WITHOUT COURSE FIELD>, ... ],
"instructors": [ <SERIALIZED USER WITHOUT COURSES FIELD>, ... ],
"students": [ <SERIALIZED USER WITHOUT COURSES FIELD>, ... ]
},
{
"id": 2,
"code": "CS 1110",
"name": "Intro to Computer Science: Python",
"assignments": [ <SERIALIZED ASSIGNMENT WITHOUT COURSE FIELD>, ... ],
"instructors": [ <SERIALIZED USER WITHOUT COURSES FIELD>, ... ],
"students": [ <SERIALIZED USER WITHOUT COURSES FIELD>, ... ]
}
...
]
}Create a course
Get a specific course
Delete a specific course
Create a user
Get a specific user
Add a user to a course
Create an assignment for a course
Last updated
Was this helpful?