Platform Operations/Platforms
POSTPlatformSince 1.0SynchronousAuth Required
CreatePlatform
Create a new federation platform with connection credentials and feature flags.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name for the new platform
Example: prod-zstack-01
productTypeStringRequiredProduct type identifier (e.g. zstack, vmware)
Example: zstack
hostIpStringRequiredIP address of the platform host
Example: 192.168.1.100
hostPortIntegerRequiredPort number of the platform API endpoint
Example: 8080
usernameStringRequiredUsername for initial credential negotiation
Example: admin
Responses
Endpoint
POST/api/v1/platforms
/api/v1/platforms
Request Example
curl -X POST '{host}/api/v1/platforms' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"key": "value"}'
Response Example
200{
"uuid": "plat-abc123-def456",
"name": "prod-zstack-01",
"productType": "zstack",
"hostIp": "192.168.1.100",
"hostPort": 8080,
"accessKeyName": "admin-key",
"status": "connected",
"lastError": "connection timeout"
}Change History
This API has no change history records yet.
