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} === |
| 278 | GET /v1/events/{event_id}/grades/{username} |
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|| |