Deploys container stack
POST/platform/solutions/api/v1/orgs/{orgId}/docker-settings/stacks-configs/{stackConfigId}/revisions/{revision}:deploy
Overview: Deploys a container stack to multiple devices simultaneously with intelligent conflict resolution.
• Intelligent conflict resolution: Automatically determines action for each device:
-- Skip: Device already has the exact same stack version deployed
-- Update: Device has a different version of the same stack (old version is removed)
-- Add: Device doesn't have this stack deployed
• Batch processing: All devices are processed in parallel for optimal performance
• Maximum count: Limited to 128 devices per batch deployment
• Detailed reporting: Returns comprehensive statistics including total, skipped, and newly deployed device counts
• Device action tracking: DeviceActions dictionary maps each device ID to its action (skip/update/add)
• Order preservation: Results maintain the same order as input DeviceIds
• Error handling: If any device deployment fails, the entire operation fails with detailed error message
Request
Responses
- 200
- 400
- 404
- 500
OK
Bad Request
Not Found
Internal Server Error