Publish resources to target environment
Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes.
Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes.
Authorization
secretKey API key authentication. Allowed headers-- "Authorization: ApiKey <secret_key>".
In: header
Path Parameters
Target environment ID (MongoDB ObjectId) to publish resources to
Request Body
application/json
Publish request configuration
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/environments/6615943e7ace93b0540ae377/publish" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "results": [ { "resourceType": "REGULAR", "successful": [ { "resourceType": "REGULAR", "resourceId": "string", "resourceName": "string", "action": "created" } ], "failed": [ { "resourceType": "REGULAR", "resourceId": "string", "resourceName": "string", "error": "string", "stack": "string" } ], "skipped": [ { "resourceType": "REGULAR", "resourceId": "string", "resourceName": "string", "reason": "string" } ], "totalProcessed": 0 } ], "summary": { "resources": 0, "successful": 0, "failed": 0, "skipped": 0 } }}List environment tags GET
Retrieve all unique tags used in workflows within the specified environment. These tags can be used for filtering workflows.
Compare resources between environments POST
Compares workflows and other resources between the source and target environments, returning detailed diff information including additions, modifications, and deletions.