Open Virako opened 5 years ago
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
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/
return: 201 if game is copied