-
Notifications
You must be signed in to change notification settings - Fork 0
API
Dennis Ceh edited this page Oct 20, 2021
·
28 revisions
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