Compare resources between environments
Changed onCompares workflows and other resources between the development and target environments, returning detailed diff information including additions, modifications, and deletions.
Request
- Base URLhttps://api.novu.co
- AuthAPI key in header Authorization
Path parameters
Target environment ID (MongoDB ObjectId) to compare against
Headers
A header for idempotency purposes
Request body
Example request
{
"sourceEnvironmentId": "507f1f77bcf86cd799439011"
}Response
OK
Example response
{
"resources": [
{
"sourceResource": {
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"targetResource": {
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"changes": [
{
"sourceResource": {
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"targetResource": {
"updatedAt": "2024-01-15T10:30:00.000Z"
}
}
]
}
]
}Changes
- breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
/////////response's property type changed from no type toobjectfor status - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
/////////response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
///////response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
///////response's property type changed from no type toobjectfor status
- breaking
- warning
added the new
AGENT_EXISTS_IN_TARGETenum value to the////response property for the response status - warning
added the new
AGENT_REQUIRED_FOR_WORKFLOWenum value to the////response property for the response status
- warning