Platform Operations/Platforms
POSTPlatformSince 1.0SynchronousAuth Required
TestConnectionDetailed
Run a step-by-step connection test and return per-step diagnostics.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
productTypeStringRequiredProduct type of the platform to test
Example: zstack
endpointStringRequiredEndpoint URL or host:port of the platform
Example: 192.168.1.100:8080
accessKeyStringRequiredAccess key ID for authentication
Example: AKID1234567890
secretKeyStringRequiredSecret key for authentication
Example: secret-value-xyz
Responses
Endpoint
POST/api/v1/platforms/test-connection
/api/v1/platforms/test-connection
Request Example
curl -X POST '{host}/api/v1/platforms/test-connection' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"key": "value"}'
Response Example
200{
"success": true,
"items": [
{}
],
"recommendation": "Check firewall rules for port 8080"
}Change History
This API has no change history records yet.
