| | 1 | == Overview == |
| | 2 | |
| | 3 | This is the first version of API. The main purpose of this version of API is to provide a way for external applications, e.g., learning management system, to interact with iPeer with tighter integration and better user experience. |
| | 4 | |
| | 5 | == Authentication == |
| | 6 | TBD |
| | 7 | |
| | 8 | == Resources == |
| | 9 | |
| | 10 | === Users === |
| | 11 | |
| | 12 | === Courses === |
| | 13 | ||GET||/v1/courses||get a list of courses for current logged in user|| |
| | 14 | ||GET||/v1/courses/{id}||get a courses with id|| |
| | 15 | ||POST||/v1/courses||create a course|| |
| | 16 | ||DELETE||/v1/courses/{id}||remove a course with id|| |
| | 17 | ||PUT||/v1/courses/{id}||update a course with id|| |
| | 18 | |
| | 19 | === Groups === |
| | 20 | |
| | 21 | ||GET||/v1/courses/{course_id}/groups||get a list of groups in course {course_id}|| |
| | 22 | ||GET||/v1/courses/{course_id}/groups/id||get a group in course {course_id}|| |
| | 23 | ||POST||/v1/courses{course_id}/groups||create a group in course {course_id}|| |
| | 24 | ||DELETE||/v1/courses/{course_id}/groups/{id}||remove a group in course {course_id}|| |
| | 25 | ||PUT||/v1/courses/{course_id}/groups/{id}||update a group in course {course_id}|| |
| | 26 | |
| | 27 | === Grades === |