-
-
Notifications
You must be signed in to change notification settings - Fork 8
API Endpoints
Grant Bartlett edited this page May 14, 2017
·
1 revision
A list of the currently configured endpoints. This list is likely to change as development continues.
Prefix requests with api/v1/
- GET
/pingto ensure that the server is online
- POST
/ladder/:gameaccepts gameres packet (via POST body) for the supplied:game - GET
/ladder/:gamewill return the top 150 leaderboard players for the supplied:game - GET
/ladder/:game/game/:gameIdwill return all data for a given:gameId - GET
/ladder/:game/player/:playerwill return most data for given:player
- Not yet implemented *
- GET
/auth/tokenHTTP authentication using Account credentials Successful authentication of this endpoint will return an auth token for future requests.
- GET
/user/accountReturns a list of player usernames linked to this account.
- POST
/user/createusing HTTP authentication Request requires email, password. Returns token.
- POST
/player/:username