Pulls
批量查询合并请求。Batch get pull requests.
根据多个编号批量查询指定仓库中的合并请求信息。通过 n 参数传入一个或多个合并请求编号(最多 50 个),一次性返回所有匹配的合并请求摘要信息。适合需要同时获取多个合并请求状态的场景。 Batch query merge request information in the specified repository by multiple numbers. Pass one or more merge request numbers (up to 50) via the n parameter. Returns summary information for all matching merge requests at once. Ideal for scenarios where you need to get the status of multiple merge requests simultaneously. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:r
get/{repo}/-/pull-in-batch
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}/-/pull-in-batch
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
Query parameters
ninteger[] required
Pull唯一标识编号
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.