Git
查询提交状态检查。Get commit statuses.
查询指定提交(或分支、标签)关联的所有 CI/CD 状态检查结果。返回每个状态检查的上下文名称、运行状态、描述及详情链接等信息。 List all CI/CD status check results associated with the specified commit (or branch, tag). Returns the context name, status, description, and details link for each status check. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-code:r
get/{repo}/-/git/commit-statuses/{commitish}
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}/-/git/commit-statuses/{commitish}
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
commitishstring required
Git引用标识符。格式:分支名称,提交哈希值,标签名称
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.