Pulls
获取合并请求。Get pull request.
根据编号获取指定合并请求的详细信息,包括标题、描述、状态、源分支、目标分支、作者及相关元数据。 Get detailed information of the specified merge request by number, including title, description, status, source branch, target branch, author, and related metadata. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:r
get/{repo}/-/pulls/{number}
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}/-/pulls/{number}
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
numberstring required
Pull唯一标识编号。
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.