列出当前用户加入的组织
列出当前用户所有组织,此接口必须有user 或者 read:org 的scope权限,否则返回403
Query Parameters
- since integer
起始页
- per_page integer
每页大小,最大限制50
Header Parameters
- Authorization required
Oauth2 token或者私人token(需以Bearer加空格开头)
Responses
- 200
- 401
- 403
操作成功
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- login string
组织名称
- id string
组织id
- url string
组织的OepnApi地址
- repos_url string
组织的repos地址
- events_url string
组织的event地址
- hooks_url string
组织的hooks地址
- issues_url string
组织的issue地址
- members_url string
组织的members地址
- public_members_url string
组织的public members地址
- avatar_url string
组织头像地址
- description string
组织的描述
- ]
[
{
"login": "csdn",
"id": "62b59720cbcaeffdff0148ce",
"url": "https://api.atomgit.com/orgs/csdn",
"repos_url": "https://api.atomgit.com/orgs/csdn/repos",
"events_url": "https://api.atomgit.com/orgs/csdn/events",
"hooks_url": "https://api.atomgit.com/orgs/csdn/hooks",
"issues_url": "https://api.atomgit.com/orgs/csdn_test2/issues",
"members_url": "https://api.atomgit.com/orgs/csdn/members/{/member}",
"public_members_url": "https://api.atomgit.com/orgs/csdn/public_members/{/member}",
"avatar_url": "https://img-host/uploads/org/1656042927816_7741.png",
"description": "csdn is a goog website"
}
]
操作失败,暂未登录
操作失败,暂无权限
Loading...