用户
Get User by name
Changed on获取用户信息
get/v0/users/{username}
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
usernamestring required
设置了用户名之后无法使用 UID。
Response
Successful Response
Example response
{
"avatar": {
"large": "https://lain.bgm.tv/pic/user/l/000/00/00/1.jpg?r=1391790456",
"medium": "https://lain.bgm.tv/pic/user/m/000/00/00/1.jpg?r=1391790456",
"small": "https://lain.bgm.tv/pic/user/s/000/00/00/1.jpg?r=1391790456"
},
"sign": "Awesome!",
"username": "sai",
"nickname": "Sai🖖",
"id": 1,
"user_group": 1
}Changes
- ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status
- ●
- ▲
removed the required property
from the response with the status
- ▲