Members
添加成员。Add members.
向指定仓库中添加新成员并分配权限角色。 Add a new member with a permission role to the specified repository. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw
post/{repo}/-/members/{username}
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}
- Auth: API key in header Authorization
Path parameters
repostring required
资源路径。Resource slug.
usernamestring required
用户名。Username.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.