Pulls
查询合并请求提交列表。List pull request commits.
分页查询指定合并请求中包含的所有提交记录。返回每条提交的 SHA、提交信息、作者及时间等信息,按提交时间排列。 Paginate all commits contained in the specified merge request. Returns the SHA, message, author, and time for each commit, ordered by commit time. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:r
get/{repo}/-/pulls/{number}/commits
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}/commits
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
numberstring required
Pull唯一标识编号。
Query parameters
pageinteger
分页页码。Page number.
page_sizeinteger
分页页大小。Page size.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.