changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "result": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "backup-create",
+ "type": "string"
+ },
+ "backupPath": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "manifest": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "backupPath",
+ "manifest",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "backup-list",
+ "type": "string"
+ },
+ "backupCount": {
+ "type": "number"
+ },
+ "backups": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "backupId": {
+ "type": "string"
+ },
+ "coolifyVersion": {
+ "type": "string"
+ },
+ "files": {
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "backupId"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "backupCount",
+ "backups",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "backup-restore",
+ "type": "string"
+ },
+ "backupId": {
+ "type": "string"
+ },
+ "hint": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "backupId",
+ "steps",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "snapshot-create",
+ "type": "string"
+ },
+ "costEstimate": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "snapshot": {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "snapshot",
+ "costEstimate",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "snapshot-list",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "snapshotCount": {
+ "type": "number"
+ },
+ "snapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "server",
+ "ip",
+ "snapshotCount",
+ "snapshots",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "snapshot-delete",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "snapshotId": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "snapshotId",
+ "message",
+ "suggested_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "snapshot-restore",
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "server": {
+ "type": "string"
+ },
+ "snapshotId": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "suggested_actions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "command": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "command",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "action",
+ "success",
+ "server",
+ "ip",
+ "snapshotId",
+ "message",
+ "suggested_actions"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "result"
+ ],
+ "type": "object"
+}