Skip to content

Handlers

Viacheslav Poturaev edited this page Jun 25, 2016 · 2 revisions

User initial info

/init

Being called on app start, with cookie token. In case of missing cookie, or wrong token error returned. In case of valid token PlayerInfo is returned.

Google OAuth2 endpoint

/login?code=<code>

After code resolved to user info, Player and Organization are found or created. token returned as a cookie. PlayerInfo is returned as response body.

Clone this wiki locally