Git

下载比较变更文件。Download compared changed files.

打包下载两个引用之间变更的文件内容。base_head 参数格式为 base...head,下载包中包含 head 相对于 base 新增或修改的所有文件。 Download files changed between two references as an archive. The base_head parameter format is base...head. The archive contains all files added or modified in head relative to base. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-code:r

get/{repo}/-/git/archive-compare-changed-files/{base_head}

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/archive-compare-changed-files/{base_head}
  • Auth: API key in header Authorization

Path parameters

repostring required

不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.

base_headstring required

用于Git比较操作的基准和头部分支或提交的SHA值。格式:base...head

Changes

No recorded changes to this operation across all 1 revision of this API.