create_migration_preview
Builds a preview deployment of your migrated app on Staticbot's infrastructure so you can verify it works before switching the backend. Choose light or full mode.
Instructions
Trigger (or retrieve) a preview deployment for a migration. The preview builds the migrated app on Staticbot's infrastructure so the customer can verify it works before finalising backend switchover. Optional mode: 'light' (fast, single SOFTWARE job) or 'full'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Preview mode (default: light) | |
| migrationId | Yes | Migration ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Parsed JSON response from the Staticbot public API |