Compare resources between environments
Compares workflows and other resources between the source and target environments, returning detailed diff information including additions, modifications, and deletions.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Request Body
application/jsonRequiredDiff request configuration
sourceEnvironmentIdstringSource environment ID to compare from. Defaults to the Development environment if not provided.
Path Parameters
targetEnvironmentIdRequiredstringTarget environment ID (MongoDB ObjectId) to compare against
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
sourceEnvironmentIdRequiredstringSource environment ID
targetEnvironmentIdRequiredstringTarget environment ID
resourcesRequiredarray<object>Diff resources by resource type
summaryRequiredobjectOverall summary
List environment tags GET
Retrieve all unique tags used in workflows within the specified environment. These tags can be used for filtering workflows.
Publish resources to target environment POST
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.