Changes between Version 35 and Version 36 of api_v1


Ignore:
Timestamp:
2012-11-08T23:30:48Z (12 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • api_v1

    v35 v36  
    8888||input||none||
    8989||status (success)||HTTP/1.1 200 OK||
    90 ||output (success)||[{"id":"COURSE0_ID","course":"COURSE0_CODE","title":"COURSE0_TITLE","class_size":5},{"id":"COURSE1_ID","course":"COURSE1_CODE","title":"COURSE1_TITLE","class_size":6}]||
     90||output (success)||[{"id":"COURSE0_ID","course":"COURSE0_CODE","title":"COURSE0_TITLE","student_count":5},{"id":"COURSE1_ID","course":"COURSE1_CODE","title":"COURSE1_TITLE","student_count":6}]||
    9191||status (failure)||HTTP/1.1 404 Not Found||
    9292||output (failure)||No courses can be found||
     
    9797||input||none||
    9898||status (success)||HTTP/1.1 200 OK||
    99 ||output (success)||{"id":"COURSE_ID","course":"COURSE_CODE","title":"COURSE_TITLE","class_size":5}||
     99||output (success)||{"id":"COURSE_ID","course":"COURSE_CODE","title":"COURSE_TITLE","student_count":5}||
    100100||status (failure)||HTTP/1.1 404 Not Found||
    101101||status (failure)||No course with id COURSE_ID can be found||