Skip to content

PlayerGachaApi

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

Method HTTP request Description
drawPlayerGacha POST /player/gacha/draw Draw Player Gacha (WIP)
fixPlayerGacha POST /player/gacha/fix Fix Player Gacha (WIP)
getAllPlayerGacha GET /player/gacha/get_all Get All Player Gacha (WIP)
getPlayerGachaBox GET /player/gacha/box/get Get Player Gacha Box (WIP)
pointToCharacterPlayerGacha POST /player/gacha/point_to_character Point To Character Player Gacha (WIP)

drawPlayerGacha

DrawPlayerGachaResponse drawPlayerGacha(DrawPlayerGachaRequest)

Draw Player Gacha (WIP)

Draw a gacha with uses ticket or gems (at the server side implicitly)

Parameters

Name Type Description Notes
DrawPlayerGachaRequest DrawPlayerGachaRequest [optional]

Return type

DrawPlayerGachaResponse

Authorization

No authorization required

HTTP request headers

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

fixPlayerGacha

FixPlayerGachaResponse fixPlayerGacha(body)

Fix Player Gacha (WIP)

Set last gacha as finalized result and get latest characters that the current player have

Parameters

Name Type Description Notes
body Object [optional]

Return type

FixPlayerGachaResponse

Authorization

No authorization required

HTTP request headers

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

getAllPlayerGacha

GetAllPlayerGachaResponse getAllPlayerGacha()

Get All Player Gacha (WIP)

Get all gacha infos that the current player can draw

Parameters

This endpoint does not need any parameter.

Return type

GetAllPlayerGachaResponse

Authorization

No authorization required

HTTP request headers

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

getPlayerGachaBox

GetPlayerGachaBoxResponse getPlayerGachaBox(gachaId)

Get Player Gacha Box (WIP)

Get specified gacha's pickup and target character infos

Parameters

Name Type Description Notes
gachaId Integer [optional] [default to null]

Return type

GetPlayerGachaBoxResponse

Authorization

No authorization required

HTTP request headers

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

pointToCharacterPlayerGacha

PointToCharacterPlayerGachaResponse pointToCharacterPlayerGacha(PointToCharacterPlayerGachaRequest)

Point To Character Player Gacha (WIP)

Uses gacha point and draw a specified character

Parameters

Name Type Description Notes
PointToCharacterPlayerGachaRequest PointToCharacterPlayerGachaRequest [optional]

Return type

PointToCharacterPlayerGachaResponse

Authorization

No authorization required

HTTP request headers

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