PlayerAchievementApi¶
All URIs are relative to http://localhost:8080/api
| Method | HTTP request | Description |
|---|---|---|
| getAllPlayerAchievement | GET /player/achievement/get_all | Get All Player Achievement (WIP) |
| setPlayerAchievement | POST /player/achievement/set | Set Player Achievement (WIP) |
| shownPlayerAchievement | POST /player/achievement/shown | Shown Player Achievement (WIP) |
getAllPlayerAchievement¶
GetAllPlayerAchievementResponse getAllPlayerAchievement()
Get All Player Achievement (WIP)
Get all achievements of the current player has (Probably this is the only place where \"newAchievementCount\" field is needed)
Parameters¶
This endpoint does not need any parameter.
Return type¶
GetAllPlayerAchievementResponse
Authorization¶
No authorization required
HTTP request headers¶
- Content-Type: Not defined
- Accept: application/json
setPlayerAchievement¶
SetPlayerAchievementResponse setPlayerAchievement(SetPlayerAchievementRequest)
Set Player Achievement (WIP)
Set specified achievement to the current player
Parameters¶
| Name | Type | Description | Notes |
|---|---|---|---|
| SetPlayerAchievementRequest | SetPlayerAchievementRequest | [optional] |
Return type¶
Authorization¶
No authorization required
HTTP request headers¶
- Content-Type: application/json
- Accept: application/json
shownPlayerAchievement¶
ShownPlayerAchievementResponse shownPlayerAchievement(ShownPlayerAchievementRequest)
Shown Player Achievement (WIP)
Set specified achievements as already shown state (this endpoint makes isNew field to be false)
Parameters¶
| Name | Type | Description | Notes |
|---|---|---|---|
| ShownPlayerAchievementRequest | ShownPlayerAchievementRequest | [optional] |
Return type¶
ShownPlayerAchievementResponse
Authorization¶
No authorization required
HTTP request headers¶
- Content-Type: application/json
- Accept: application/json