Skip to content

PlayerPresentApi

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

Method HTTP request Description
getAllPlayerPresent GET /player/present/get_all Get All Player Present (WIP)
getPlayerPresent GET /player/present/get Get Player Present (WIP)
getReceivedPlayerPresent GET /player/present/get_received Get Received Player Present (WIP)

getAllPlayerPresent

GetAllPlayerPresentResponse getAllPlayerPresent()

Get All Player Present (WIP)

Get all receivable gift infos of the current player

Parameters

This endpoint does not need any parameter.

Return type

GetAllPlayerPresentResponse

Authorization

No authorization required

HTTP request headers

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

getPlayerPresent

GetPlayerPresentResponse getPlayerPresent(managedPresentId, stepCode)

Get Player Present (WIP)

- Receive present that the current player specified in present screen - WARN: This endpoint doesn't mean single type of get_all. - \"Receive all presents\" at client side also calls this endpoint

Parameters

Name Type Description Notes
managedPresentId Integer [optional] [default to null]
stepCode Integer [optional] [default to null]

Return type

GetPlayerPresentResponse

Authorization

No authorization required

HTTP request headers

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

getReceivedPlayerPresent

GetReceivedPlayerPresentResponse getReceivedPlayerPresent()

Get Received Player Present (WIP)

Get recent received gift infos of the current player

Parameters

This endpoint does not need any parameter.

Return type

GetReceivedPlayerPresentResponse

Authorization

No authorization required

HTTP request headers

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