薬味 (0.0.1)

Download OpenAPI specification:Download

薬味用API

SASトークンを取得

AzureStorageAccoutにファイルをアップロードするためのトークンを取得

query Parameters
file
string
Example: file=icons%2Fflame.png

アップロードするファイル名。/は%2Fにエンコードすること。/はフォルダ名となる

permission
string
Value: "w"
Example: permission=w

w: 書き込み

timerange
string^\d+$
Example: timerange=5

単位は分(minute)

container
string
Value: "$web"
Example: container=$web

ストレージアカウントのコンテナ名

Responses

キャラクター更新

キャラクターを送付しDBとBlobに格納します。

path Parameters
characterId
string <uuid>
Example: 7d8bb386-0f86-4dff-be34-86bb2f55b366

UUID

Request Body schema: application/json
id
string <uuid>

キャラクターID

uid
string <uuid>

ユーザーID

data
string

キャラクターJSON

Responses

Request samples

Content type
application/json
{
  • "id": "7d8bb386-0f86-4dff-be34-86bb2f55b366",
  • "uid": "8d9cf132-0f86-4dff-be34-86bb2f55b399",
  • "data": "{\"name\":\"\"キャラクター名\",\"rank\":\"S\"}"
}

キャラクターのカード一覧取得

path Parameters
id
required
string

The ID of the character

Responses

Response samples

Content type
application/json
[
  • {
    }
]

キャラクター取得

path Parameters
uid
required
string

The User ID of the character

id
required
string

The ID of the character

Responses

Response samples

Content type
application/json
{
  • "uid": "string",
  • "characterId": "string",
  • "name": "string",
  • "src": "string",
  • "cards": [
    ],
  • "props": [
    ],
  • "extraTags": [
    ],
  • "faction": "string",
  • "memo": "string"
}