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

Copy and relocation complete game #25

Open
Virako opened this issue Jan 10, 2019 · 0 comments
Open

Copy and relocation complete game #25

Virako opened this issue Jan 10, 2019 · 0 comments
Assignees
Milestone

Comments

@Virako
Copy link
Member

Virako commented Jan 10, 2019

We need a new api call for copy full game (the game should be a template) in another position. We need calculate the center point of multiple coordinates (contents of game) and translate all contents to new position.

POST /game/{pk}/clone/

{
  position: {
    longitude: 37.123321,
    latitude: -6.893827
  }
}

return: 201 if game is copied

@Virako Virako added this to the v1 milestone Jan 10, 2019
@rarellano rarellano self-assigned this Jan 10, 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