wiki:api_v1

Version 2 (modified by Pan Luo, 12 years ago) ( diff )

--

Overview

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.

Authentication

OAuth 2.0

Resources

Users

Courses

GET/v1/coursesget a list of courses for current logged in user
GET/v1/courses/{id}get a courses with id
POST/v1/coursescreate a course
DELETE/v1/courses/{id}remove a course with id
PUT/v1/courses/{id}update a course with id

Groups

GET/v1/courses/{course_id}/groupsget a list of groups in course {course_id}
GET/v1/courses/{course_id}/groups/idget a group in course {course_id}
POST/v1/courses{course_id}/groupscreate a group in course {course_id}
DELETE/v1/courses/{course_id}/groups/{id}remove a group in course {course_id}
PUT/v1/courses/{course_id}/groups/{id}update a group in course {course_id}

Grades

Note: See TracWiki for help on using the wiki.