Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
When it fires
After RollbackVersionService succeeds. The stats object summarises what changed during the rollback.
Payload
{
type: 'variable_version.rolled_back',
data: {
versionId: string // target version that was rolled back to
environmentId: string
versionLabel: string
stats: {
added: number // variables that didn't exist and were re-created
updated: number // variables that existed with different values
removed: number // variables that exist now but didn't in the target version
}
}
}
Example
{
"type": "variable_version.rolled_back",
"data": {
"versionId": "0192a1b2-c3d4-7000-8000-000000000050",
"environmentId": "0192a1b2-c3d4-7000-8000-000000000020",
"versionLabel": "v12",
"stats": {
"added": 0,
"updated": 3,
"removed": 1
}
}
}