仓库归档
PUT/api/v5/org/:org/repo/:repo/status
Request
Path Parameters
org stringrequired
仓库所属组织
repo stringrequired
仓库路径(path)
Query Parameters
access_token stringrequired
用户授权码
- application/json
Body
statusintegerrequired
仓库状态,0:开始(表示仓库未归档),2:关闭(表示仓库已归档)
passwordstring
用户密码
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
codeinteger
msgstring
{
"code": 0,
"msg": "string"
}
{
"code": 1,
"msg": "success"
}