Members
获取仓库有效成员列表。List repository active members.
获取仓库所有有效成员(含直接成员和通过组织继承的成员)。 Get all active members of the repository, including direct members and those inherited from the parent organization. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:r
get/{slug}/-/list-members
Request
- Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
- URL: https://api.cnb.cool/{slug}/-/list-members
- Auth: API key in header Authorization
Path parameters
slugstring required
资源路径。Resource slug.
Query parameters
pageinteger
分页页码。Pagination page number.
page_sizeinteger
分页页大小。Pagination page size.
role'Guest' | 'Reporter' | 'Developer' | 'Master' | 'Owner'
角色。Role.
searchstring
过滤成员。Filter by member
namesstring
精准匹配用户名,多个用户名用逗号间隔。Exact username matching, multiple usernames separated by commas.
order_by'created_at' | 'stars' | 'follower'
排序字段。Order field.
descboolean
排序顺序。Ordering.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.