PlayerTownApi¶
All URIs are relative to http://localhost:8080/api
| Method | HTTP request | Description |
|---|---|---|
| getAllPlayerTown | GET /player/town/get_all | Get All Player Town (WIP) |
| setPlayerTown | POST /player/town/set | Set Player Town (WIP) |
getAllPlayerTown¶
GetAllPlayerTownResponse getAllPlayerTown(playerId)
Get All Player Town (WIP)
- Get the specified player's kirara town facility placements - NOTE: this endpoint returnes content building and their nearby facilities
Parameters¶
| Name | Type | Description | Notes |
|---|---|---|---|
| playerId | Integer | Internal player id | [optional] [default to null] |
Return type¶
Authorization¶
No authorization required
HTTP request headers¶
- Content-Type: Not defined
- Accept: application/json
setPlayerTown¶
SetPlayerTownResponse setPlayerTown(SetPlayerTownRequest)
Set Player Town (WIP)
- Set the specified player's kirara town facility placements - NOTE: this endpoint set content building and their nearby facilities
Parameters¶
| Name | Type | Description | Notes |
|---|---|---|---|
| SetPlayerTownRequest | SetPlayerTownRequest | [optional] |
Return type¶
Authorization¶
No authorization required
HTTP request headers¶
- Content-Type: application/json
- Accept: application/json