Skip to content

PlayerChestApi

All URIs are relative to http://localhost:8080/api

Method HTTP request Description
drawPlayerChest POST /player/chest/draw Draw Player Chest (WIP)
getAllPlayerChest GET /player/chest/get_all Get All Player Chest (WIP)
getStepPlayerChest POST /player/chest/get_step Get Step Player Chest (WIP)
resetPlayerChest POST /player/chest/reset Reset Player Chest (WIP)

drawPlayerChest

DrawPlayerChestResponse drawPlayerChest(DrawPlayerChestRequest)

Draw Player Chest (WIP)

Draw a specified chest and get a item with it (used in box event)

Parameters

Name Type Description Notes
DrawPlayerChestRequest DrawPlayerChestRequest [optional]

Return type

DrawPlayerChestResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getAllPlayerChest

GetAllPlayerChestResponse getAllPlayerChest()

Get All Player Chest (WIP)

Get all available chests info (used in box event)

Parameters

This endpoint does not need any parameter.

Return type

GetAllPlayerChestResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getStepPlayerChest

GetStepPlayerChestResponse getStepPlayerChest(GetStepPlayerChestRequest)

Get Step Player Chest (WIP)

Get all prizes left in a specified chest (used in box event)

Parameters

Name Type Description Notes
GetStepPlayerChestRequest GetStepPlayerChestRequest [optional]

Return type

GetStepPlayerChestResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

resetPlayerChest

ResetPlayerChestResponse resetPlayerChest(ResetPlayerChestRequest)

Reset Player Chest (WIP)

Reset a specified chest (used in box event)

Parameters

Name Type Description Notes
ResetPlayerChestRequest ResetPlayerChestRequest [optional]

Return type

ResetPlayerChestResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json