Skip to content
Dennis Ceh edited this page Oct 20, 2021 · 28 revisions

Rest - APIs we provide

https://docs.google.com/document/d/1rEwJIWtLR-7aODvflNCqGHwFIZ-puRQZfQwfmt3duO8/edit?usp=sharing

get player/{player-id}/money

Body:

Player-Id:01

Money: 777


update player/{player-id}/money/{amount}

error handling if not enough money


create player/{name}

response-body:

Player-Id: 01

Name: xyz

Money: 200

Roboter-Id: UUID (Liste)


get player/{player-id}/robots/{robot-id}/command

response-body:

Player-Id: 01

Roboter-Id: UUID

Phase-Id: 5

command: xxxxx(blob)

target-id: UUID


create player/{player-id}/robots/{robot-id}/command

request-body:

Player-Id: 01

Roboter-Id: UUID

Phase-Id: 5

command: xxxxx(blob)

target-id: UUID


Needed API's:

Clone this wiki locally