Note: Repositories inherited through a parent team will also be checked.Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Check team permissions for a repository endpoint.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom media type via the Accept header:
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数
返回响应
🟢200Alternative response with extra repository information
application/json
Bodyapplication/json
🟢204Response if repository is managed by this team
🟠404Not Found if repository is not managed by this team