Repositories
归档仓库。Archive repository.
将仓库归档,使其变为只读状态。 Archive the repository, making it read-only. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw,repo-code:rw
post/{slug}/-/settings/archive
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/{slug}/-/settings/archive
- Auth: API key in header Authorization
Path parameters
slugstring required
仓库路径。Repo path.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.