メインコンテンツまでスキップ
バージョン: v1

GET

GET /v1/users/{id}​

警告

認証が必須です。

user情報を取得します。

リクエスト​

GET /v1/users/\{id\}

レスポンス ( Example )​

{
"developer" : boolean
"hid" : Snowflake
"discordAccount" ?: boolean
"username" : string
"isBot" ?: boolean
"description" ?: string
}
値名型説明かならず出現するか
developerBoolean開発者が有効かどうかです。全てのアカウントでtrueになります。true
hidSnowflake (BigInt or String)ユーザーのUniqueIDです。true
discordAccountBooleanDiscordアカウントでの登録が有効かどうかです。true
usernameStringユーザーの名前です。true
isBotBooleanユーザーがBotかどうかを判別します。Botの場合出現します。false
descriptionStringBotの説明です。false

リクエスト​

GET /v1/users/@me

レスポンス ( Example )​

{
"developer" : boolean
"hid" : Snowflake
"discordAccount" ?: boolean
"username" : string
"email" : string
}
値名型説明かならず出現するか
developerBoolean開発者が有効かどうかです。true
hidSnowflake (BigInt or String)ユーザーのUniqueIDです。true
discordAccountBooleanDiscordアカウントでの登録が有効かどうかです。true
usernameStringユーザーの名前です。true
emailStringユーザーのメールアドレスです。
※@meの場合のみ出現します。
true