forked from itsfourthidiot/ira
-
Notifications
You must be signed in to change notification settings - Fork 0
Update the course description by an instructor
Gauri Pandharinath Bodke edited this page Jun 15, 2022
·
1 revision
Returns json with course details
URL: /api/instructor/course/<courseId>/description
Method: PUT
Authorization required: Yes
Example:
{
"description":"welcome! This is my Software Engineering Course"
}
Code : 200 Ok
Example:
{
"ID": 3,
"CreatedAt": "2022-02-23T16:48:34.753837183-05:00",
"UpdatedAt": "2022-03-29T22:29:56.523498603-04:00",
"DeletedAt": null,
"title": "Neural",
"description": "welcome! This is my Software Engineering Course",
"isPublished": false,
"publishedAt": null,
"instructorId": 3,
"Enrollments": null,
"Modules": null
}
Code: 404 not found
Example:
{
"error": "course not found"
}
Code: 401 Unauthorized
Example:
{
"error": "Unauthorised access for this course"
}
Code: 401 Unauthorized
Example:
{
"error": "token not found"
}
Code: 401 Unauthorized
Example:
{
"error": "user unauthorized"
}
Code: 500 Internal Server Error
Example:
{
"error": "internal server error"
}
- Sprint Progress:
- Database design
- CI/CD using GitHub Actions
- How to run the project?
- Sprint 3 UI Screenshots
-
Back-end API documentation
- Create an instructor account
- Login to an instructor account
- Create a student account
- Login to a student account
- Get the list of all courses
- Get the list of courses created by an instructor
- Create a course
- Publish a course
- Get course description
- Update the course description by an instructor
- Add video module to the course
- Add quiz module to the course
- Calculate student quiz score
- Get course details
- Get module details
- Check if the student is enrolled in a course
- Enroll a student into a particular course
- Get the list of all courses enrolled by a student