Git

删除提交元数据。Delete commit annotations.

删除指定提交上的单个元数据条目。需要同时指定提交哈希和元数据键名。 Delete a single metadata entry from the specified commit. Both the commit hash and metadata key name are required. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-code:rw

delete/{repo}/-/git/commit-annotations/{sha}/{key}

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-annotations/{sha}/{key}
  • Auth: API key in header Authorization

Path parameters

repostring required

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

shastring required

提交的哈希值。Commit hash.

keystring required

提交的元数据键名。Commit metadata key.

Response

OK

Changes

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