Games
Game management and retrieval operations
Create a new game at a specific parcel location (Admin only)
Body
namestringRequiredExample:
Game name
Puzzle Masterxinteger · min: -150 · max: 150RequiredExample:
X coordinate of the parcel
10yinteger · min: -150 · max: 150RequiredExample:
Y coordinate of the parcel
20Responses
201
Game created successfully
application/json
400
Invalid request payload
application/json
post
/api/gamesUpdate game name and parcel location (Admin only)
Path parameters
idstring · uuidRequired
Game ID (UUID)
Body
namestringRequiredExample:
Game name
Puzzle Masterxinteger · min: -150 · max: 150RequiredExample:
X coordinate of the parcel
10yinteger · min: -150 · max: 150RequiredExample:
Y coordinate of the parcel
20Responses
204
Game updated successfully
400
Invalid request or game not found
application/json
patch
/api/games/{id}No content
Last updated