Changes between Version 10 and Version 11 of api_v1


Ignore:
Timestamp:
2012-09-28T21:30:03Z (12 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • api_v1

    v10 v11  
    9191|| ||output (failure)||Error: the course was not edited||
    9292
     93=== !Courses/Users ===
     94
     95||GET||/v1/courses/{course_id}/users||get a list of users associated within the course {course_id}||
     96||POST||/v1/courses{course_id}/users/{user_id}||associate a user to the course by {course_id}||
     97||POST||/v1/courses{course_id}/users||associate users to the course by {course_id}||
     98||DELETE||/v1/courses/{course_id}/users/{user_id}||remove a user  from the course||
     99||DELETE||/v1/courses/{course_id}/users||remove users  from the course||
     100|| ||parameter||COURSE_ID||
     101|| ||input||none for removing all users or [{"id":1},{"id":2},{"id":3}] for specific users (other fields are ignored)||
     102|| ||status (success)||HTTP/1.0 204 No Content||
     103|| ||output (success)||COURSE_ID||
     104|| ||status (failure)||HTTP/1.0 500 users were not deleted||
     105|| ||output (failure)|| none ||
     106
    93107=== Groups ===
    94108