基础设施相关接口/生命周期
GETLifecycle起始版本 1.0同步需要认证
获取软件仓库配置
获取当前软件仓库配置包含模式端点。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
此接口无需请求参数。
响应状态
请求地址
GET/api/v1/lifecycle/depot/config
/api/v1/lifecycle/depot/config
请求示例
curl -X GET '{host}/api/v1/lifecycle/depot/config' -H 'Authorization: Bearer {token}'
响应示例
200{
"mode": "online",
"token": "****",
"baseUrl": "https://depot.example.com",
"channel": "stable",
"localDir": "/opt/depot/packages",
"httpProxy": "http://proxy.example.com:3128"
}变更历史
此 API 暂无变更历史记录。
