Members

获取仓库成员权限。Get repository member permission.

结果按组织层级来展示, 包含上层组织的权限继承信息。 Get specified member's permissions with organizational hierarchy, including inherited permissions from parent organizations. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:r

get/{repo}/-/members/{username}/access-level

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/{repo}/-/members/{username}/access-level
  • Auth: API key in header Authorization

Path parameters

repostring required

资源路径。Resource slug.

usernamestring required

用户名。Username.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.