TestInstallerDepotConnection
Test connectivity to the configured depot and return the result
/api/v1/installer/depot/test-connectionOperation ID
TestInstallerDepotConnectionSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
configObjectRequiredOptional: probe this config directly instead of the saved one. When provided, no state is mutated (ad-hoc test for "did I type the server address right?" flows). When omitted, the currently saved config is tested and DepotConnected / DepotConnAt are refreshed on success (back-compat with older clients that send an empty body). Token masking mirrors SetDepotConfig: a MaskedValue token is resolved from saved state so edits don't require re-entering the token.
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
localDirStringLocal directory path when mode is "dir"
Example: /opt/packages
channelStringOptional channel filter for package listing
Example: stable
httpProxyStringOptional HTTP proxy URL for depot access
Example: http://proxy.example.com:3128
