Changes between Version 33 and Version 34 of api_v1


Ignore:
Timestamp:
2012-11-08T20:21:54Z (12 years ago)
Author:
john
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • api_v1

    v33 v34  
    270270||parameter||EVENT_ID||
    271271||status (success)||HTTP/1.1 200 OK||
    272 ||output (success)||[{"evaluatee":"EVALUATEE_ID","score":"SCORE"},{"evaluatee":"EVALUATEE_ID","score":"SCORE"}]||
    273 ||status (failure)||HTTP/1.1 404 Not Found||
    274 ||output (failure)||none||
    275 
    276 === Get a grades for a user with {user_id} in the event {event_id} ===
    277 GET /v1/events/{event_id}/grades/{user_id}
     272||output (success)||[{"evaluatee":"EVALUATEE_ID","score":"SCORE","username":"USERNAME"},{"evaluatee":"EVALUATEE_ID","score":"SCORE","username":"USERNAME"}]||
     273||status (failure, no results returned)||HTTP/1.1 404 Not Found||
     274||status (failure, not HTTP GET request)||HTTP/1.1 400 Bad Request||
     275||output (failure)||none||
     276
     277=== Get a grades for a user with {username} in the event {event_id} ===
     278GET /v1/events/{event_id}/grades/{username}
    278279||parameter||EVENT_ID||
    279 ||parameter||USER_ID||
    280 ||status (success)||HTTP/1.1 200 OK||
    281 ||output (success)||{"evaluatee":"USER_ID","score":"SCORE"}
    282 ||status (failure)||HTTP/1.1 404 Not Found||
     280||parameter||USERNAME||
     281||status (success)||HTTP/1.1 200 OK||
     282||output (success)||{"evaluatee":"USER_ID","score":"SCORE","username":"USERNAME"}
     283||status (failure, no results returned)||HTTP/1.1 404 Not Found||
     284||status (failure, not HTTP GET request)||HTTP/1.1 400 Bad Request||
    283285||output (failure)||none||
    284286