GET  /events/upcoming_battles

Display upcoming fights for an event.

Authorization Not Required

Authorization is not required for this resource.

Note

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

Note

The response of this resource is cached for 1 minute for performance.


Headers

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

Body

id [Required]
integer
Yes
ID of the event you want the upcoming fights for.
limit
integer
No
Filters how many upcoming fights should appear. Defaults to 5.

Response

Success
{"currentBattle":"The Rovengers vs Crossblow II","currentBattleName":"Heat 1 Round 1 Eliminator 1","nextBattles":["Heat 1 Round 1 Eliminator 2 : Exhilarator vs Bourbon","Heat 2 Round 1 Eliminator 1 : Inertia B4 vs M.E.T.A","Heat 2 Round 1 Eliminator 2 : Rust in Pieces vs L\u00e9im","Heat 3 Round 1 Eliminator 1 : Ion vs Drizzle","Heat 3 Round 1 Eliminator 2 : F.7 vs Sprocket Raccoon"]}
Event Not Provided
{"error":"ID must be specified."}
Event Not Found
{"error":"Event could not be found."}
Limit Specified But Not Integer
{"error":"Limit must be numeric."}