Skip to main content
post/v2/environments/{targetEnvironmentId}/diff
Request example
Response
post/v2/environments/{targetEnvironmentId}/diff

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

targetEnvironmentIdstringrequired#
Target environment ID (MongoDB ObjectId) to compare against

Example:"6615943e7ace93b0540ae377"

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
sourceEnvironmentIdstring#
Source environment ID. Only the Development environment is currently supported; defaults to Development if omitted.

Example:"507f1f77bcf86cd799439011"

Responses

application/json
OK
sourceEnvironmentIdstringrequired#
Source environment ID
targetEnvironmentIdstringrequired#
Target environment ID
resourcesobject[]required#
Diff resources by resource type
summaryobjectrequired#
Overall summary