ExPilot.Web.ApiController (ExPilot v0.1.1)

Copy Markdown View Source

ExPilot's own API beside Cauldron2D.Net.Api (which serves the token, the arenas, the stats and the leaders under /api): the duels (GET /api/duels; POST /api/duel with a token, to, arena and first_to to challenge someone; POST /api/duel/cancel with a token and the duel's id to decline or withdraw it).

Summary

Functions

cancel(conn, arg2)

duel(conn, params)

duels(conn, params)