设置安装器软件仓库配置
保存应用新软件仓库配置安装器。
POST
/api/v1/installer/depot/config操作 ID
SetInstallerDepotConfig起始版本
1.0.0执行模式
同步认证信息
需要认证认证信息
调用该 API 时需要在请求头中携带以下认证信息。
Authorizationstring必填Bearer 令牌
X-Tenant-IDstringX-Tenant-ID
请求参数
application/json请求体字段
configObject必填配置信息。
modeString软件仓库访问模式在线上游目录本地目录。
示例: online
tokenString令牌。
示例: ****
baseUrlString上游软件仓库服务。
示例: https://depot.example.com
channelString可选渠道过滤软件包列表。
示例: stable
localDirString本地目录路径模式目录。
示例: /opt/depot/packages
httpProxyString可选HTTP代理URL软件仓库访问。
示例: http://proxy.example.com:3128
