Changes between Version 36 and Version 37 of api_v1


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

--

Legend:

Unmodified
Added
Removed
Modified
  • api_v1

    v36 v37  
    206206||input||none||
    207207||status (success)||HTTP/1.1 200 OK||
    208 ||output (success)||[{"id":"GROUP_IDO","group_num":"GROUP_NUM0","group_name":"GROUP_NAME0","course_id":"COURSE_ID"},{"id":"GROUP_ID1","group_num":"GROUP_NUM1","group_name":"GROUP_NAME1","course_id":"COURSE_ID"}], or [] if there is no group||
     208||output (success)||[{"id":"GROUP_IDO","group_num":"GROUP_NUM0","group_name":"GROUP_NAME0","course_id":"COURSE_ID","member_count":5},{"id":"GROUP_ID1","group_num":"GROUP_NUM1","group_name":"GROUP_NAME1","course_id":"COURSE_ID","member_count":5}], or [] if there is no group||
    209209||status (failure)||HTTP/1.1 500 Internal Error||
    210210||output (failure)||none||
     
    215215||parameter||GROUP_ID||
    216216||status (success)||HTTP/1.1 200 OK||
    217 ||output (success)||{"id":"GROUP_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID"}||
     217||output (success)||{"id":"GROUP_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID","member_count":5}||
    218218||status (failure)||HTTP/1.1 404 Not Found||
    219219||output (failure)||none||
     
    224224||input||{"group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID"}||
    225225||status (success)||HTTP/1.1 201 Created||
    226 ||output (success)||{"id":"GROUP_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID"}||
     226||output (success)||{"id":"GROUP_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID","member_count":0}||
    227227||status (failure)||HTTP/1.1 500 Internal Server Error||
    228228||output (failure)||none||
     
    243243||input||{"id":"GROUP_ID","course_id":"COURSE_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME"}||
    244244||status (success)||HTTP/1.1 200 OK||
    245 ||output (success)||{"id":"GROUP_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID"}||
     245||output (success)||{"id":"GROUP_ID","group_num":"GROUP_NUM","group_name":"GROUP_NAME","course_id":"COURSE_ID","member_count":5}||
    246246||status (failure)||HTTP/1.1 200 OK||
    247247||output (failure)||none||