Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player join to game: new API call: POST /game/{game_pk}/join/ #16

Open
Virako opened this issue Dec 27, 2018 · 0 comments
Open

Player join to game: new API call: POST /game/{game_pk}/join/ #16

Virako opened this issue Dec 27, 2018 · 0 comments
Assignees
Milestone

Comments

@Virako
Copy link
Member

Virako commented Dec 27, 2018

POST /game/{game_pk}/join/

Player join to Game: this call should add Player to Content in a give position.
Player will be the player that realize call.

data = {
            'position': {
                'longitude': 37.201421,
                'latitude': -6.9447224
            }
}

return:

201 if Player is added to contents
401 if unauthorizhed
400 if data is incorrect
404 if game not exist

@Virako Virako added this to the v1 milestone Dec 27, 2018
@rarellano rarellano self-assigned this Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants