通过玩家代号获取 XUID
GET/v2/xbox/xuid/:gamertag
通过玩家代号获取 XUID
Request
路径参数
gamertag stringrequired
玩家代号 of the Bedrock player
Responses
- 200
- 400
- 503
与该玩家代号关联的 XUID;如果没有对应账号,则为空对象
- application/json
- Schema
- Example (from schema)
Schema
xuidint64required
XUID 值
Example:
2535432196048835{
"xuid": 2535432196048835
}
玩家代号 is invalid (empty or longer than 16 chars)
- application/json
- Schema
- Example (from schema)
Schema
messagestringrequired
错误消息
{
"message": "string"
}
The requested account was not cached and we were not able to call the Xbox Live API (rate limited / not setup)
- application/json
- Schema
- Example (from schema)
Schema
messagestringrequired
错误消息
{
"message": "string"
}