Skip to content

Copy and relocation complete game #25

@Virako

Description

@Virako

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions