通过 XUID 获取玩家代号
GET/v2/xbox/gamertag/:xuid
通过 XUID 获取玩家代号
Request
路径参数
xuid stringrequired
The 基岩版玩家的 XUID
Responses
- 200
- 400
- 503
与该 XUID 关联的玩家代号;如果没有对应账号,则为空对象
- application/json
- Schema
- Example (from schema)
Schema
gamertagstringrequired
玩家代号
Example:
Tim203{
"gamertag": "Tim203"
}
XUID 值 is invalid (not an int)
- 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"
}