Pulls
Issues
删除上传图片。Delete uploaded image.
删除 UploadImgs 上传的图片。 Delete an image uploaded via UploadImgs. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw
delete/{repo}/-/imgs/{imgPath}
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}/-/imgs/{imgPath}
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
imgPathstring required
图片访问链接的imgs后半部分,比如链接是 https://cnb.cool/cnb/feedback/-/imgs/abc/1234abcd.png,imgPath 就是 abc/1234abcd.png。
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.