列出当前用户的关注列表
列出当前用户的关注列表
Query Parameters
- page
页码(默认为1)
- per_page
页面大小(默认 30,最大 100)
Header Parameters
- Authorization required
Oauth2 token或者私人token(需以Bearer加空格开头)
Responses
- 200
- 401
操作成功
- application/xml
- Schema
- Example (from schema)
Schema
- Array [
- login string
用户名
- id string
用户id
- avatar_url string
头像
- url string
根据获取用户名获取用户信息的接口路径
- html_url string
主页地址
- organizations_url string
组织url
- repos_url string
仓库url
- ]
<0>
<login>mrpuatomgit</login>
<id>63db126c0566d2f7d2c9498c</id>
<avatar_url>https://img-host/uploads/user/1656318880150_5104.png</avatar_url>
<url>https://api.atomgit.com/users/mrpuatomgit</url>
<html_url>https://atomgit.com/mrpuatomgit</html_url>
<organizations_url>https://atomgit.com/users/zhangzhe/starred</organizations_url>
<repos_url>https://atomgit.com/users/zhangzhe/projects</repos_url>
</0>
token无效
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
- error string
错误名称
- error_description string
错误描述
{
"error": "invalid_token",
"error_description": "Invalid token, please provide correct token"
}
- Schema
- Example (from schema)
Schema
- error string
错误名称
- error_description string
错误描述
<root>
<error>invalid_token</error>
<error_description>Invalid token, please provide correct token</error_description>
</root>
Loading...