GET  /events/robot_history

Display fight history (not including whiteboard fights) for a robot at an event.

Authorization Not Required

Authorization is not required for this resource.

Note

This resource will not show results for fights for events marked as private.


Headers

Content-Type [Required]
application/json
Yes
All API requests must have Content-Type declared.

Body

event_id [Required]
integer
Yes
ID of the event.
robot_id [Required]
integer
Yes
ID of the robot.

Response

Success
[{"battle":"First Round Battle 16","won":"Yes","against":"Do Ya? vs Enigma vs Drizzle"},{"battle":"Round of 32 16","won":"Yes","against":"Pain Per View vs Drizzle"},{"battle":"Round of 16 1","won":"Yes","against":"Procrastination vs Drizzle"},{"battle":"Round of 8 1","won":"Yes","against":"Oubley vs Drizzle"},{"battle":"Grand Final Semi-Final 1","won":"No","against":"Drizzle vs Resistance"},{"battle":"3rd Place Playoff","won":"Yes","against":"Rust in Pieces vs Drizzle"}]
Robot Id Not Provided
{"error":"History not found."}
Event Id Not Provided
{"error":"History not found."}