Changes between Version 22 and Version 23 of api_v1
- Timestamp:
- 2012-10-10T17:08:21Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
api_v1
v22 v23 175 175 176 176 ||GET||/v1/courses/{course_id}/events||get a list of events in course {course_id}|| 177 || ||parameter| COURSE_ID||177 || ||parameter||COURSE_ID|| 178 178 || ||status (success)||HTTP/1.1 200 OK|| 179 179 || ||output (success)||[{"title":"TITLE0","course_id":"COURSE_ID","event_template_type_id":"TEMPLATE_ID","id":"EVENT_ID0"},{"title":"TITLE1","course_id":"COURSE_ID","event_template_type_id":"TEMPLATE_ID","id":"EVENT_ID1"}] … … 188 188 || ||output (failure)||none|| 189 189 ||GET||/v1/courses/{course_id}/users/{username}/events||get events for a user in a course|| 190 || ||parameter||COURSE_ID|| 191 || ||parameter||USERNAME|| 192 || ||status (success)||HTTP/1.1 200 OK|| 193 || ||output (success)||[{"title":"TITLE0","course_id":"COURSE_ID","event_template_type_id":"TEMPLATE_ID","id":"EVENT_ID0"},{"title":"TITLE1","course_id":"COURSE_ID","event_template_type_id":"TEMPLATE_ID","id":"EVENT_ID1"}]|| 194 || ||status (failure)||HTTP/1.1 404 Not Found|| 195 || ||output (failure)||none|| 190 196 ||GET||/v1/users/{username}/events||get events for a user|| 191 197 || ||parameter||USERNAME|| 198 || ||status (success)||HTTP/1.1 200 OK|| 199 || ||output (success)||[{"title":"TITLE0","course_id":"COURSE_ID","event_template_type_id":"TEMPLATE_ID","id":"EVENT_ID0"},{"title":"TITLE1","course_id":"COURSE_ID","event_template_type_id":"TEMPLATE_ID","id":"EVENT_ID1"}]|| 200 || ||status (failure)||HTTP/1.1 404 Not Found|| 201 || ||output (failure)||none|| 192 202 193 203 * Events are read-only