Infrastructure/Installer
POSTInstallerSince 1.0SynchronousAuth Required
SetInstallerDepotConfig
Save and apply a new depot configuration for the installer
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
configObjectRequiredConfiguration data as key-value pairs
modeStringDepot access mode: "online" for upstream, "dir" for local directory
Example: online
tokenStringBearer token for authenticating with the upstream depot (masked in responses)
Example: ****
baseUrlStringBase URL of the upstream depot service
Example: https://depot.example.com
channelStringOptional channel filter for package listing
Example: stable
localDirStringLocal directory path when mode is "dir"
Example: /opt/depot/packages
httpProxyStringOptional HTTP proxy URL for depot access
Example: http://proxy.example.com:3128
Responses
Endpoint
POST/api/v1/installer/depot/config
/api/v1/installer/depot/config
Request Example
curl -X POST '{host}/api/v1/installer/depot/config' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"config":{"mode":"online","token":"****","baseUrl":"https://depot.example.com","channel":"stable","localDir":"/opt/depot/packages","httpProxy":"http://proxy.example.com:3128"}}'
Response Example
200{
"status": "configured"
}Change History
This API has no change history records yet.
