Endpoints

execute gacha

ガチャを実行する

post/api/user/gacha

Request

  • Base URL: http://ec2-18-179-50-210.ap-northeast-1.compute.amazonaws.com
  • URL: http://ec2-18-179-50-210.ap-northeast-1.compute.amazonaws.com/api/user/gacha
  • Auth: none required

Headers

Content-Typestring
Acceptstring

Request body

gachaIdstring

Must not be greater than 36 characters.

gachaCountinteger

Must be at least 1. Must not be greater than 10.

typeinteger
useDollarinteger

Example request

{
  "gachaId": "tdynkgfugnehslfpk",
  "gachaCount": 2,
  "type": 20,
  "useDollar": 11
}

Response

object[] required

Example response

[
  {
    "celebrityPointsGet": "獲得セレブポイント",
    "celebrityPointsStart": "開始時セレブポイント",
    "celebrityPointsEnd": "完了時セレブポイント",
    "celebrityLevelStart": "開始時セレブレベル",
    "celebrityLevelEnd": "完了時セレブレベル",
    "error": "0:成功 1:期間外 2:不足",
    "gachaDirectionInfos": [
      {
        "baseRarity": "昇格前レアリティ",
        "resultRarity": "昇格後レアリティ",
        "itemId": "獲得アイテムID",
        "itemFilename": "獲得アイテムファイル名",
        "isNew": "false|true"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.