判断用户是否为仓库成员
GET/api/v5/repos/:owner/:repo/collaborators/:username
Request
Path Parameters
owner stringrequired
仓库所属空间地址(企业、组织或个人的地址path)
repo stringrequired
仓库路径(path)
username stringrequired
用户名(username/login)
Query Parameters
access_token stringrequired
用户授权码
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- 1
Schema
messagestring
{
"message": "string"
}
成功示例
{
"message": "404 Not Found"
}