Remove is_backup flag for snapshots

This won't be needed for anything.
This commit is contained in:
2024-05-21 15:10:28 -04:00
parent 2b1082590e
commit fbd5b3cca3
5 changed files with 22 additions and 59 deletions

View File

@ -1600,6 +1600,22 @@ class API_VM_Root(Resource):
items:
type: object
id: VMTag
properties:
name:
type: string
description: The name of the tag
type:
type: string
description: The type of the tag (user, system)
protected:
type: boolean
description: Whether the tag is protected or not
snapshots:
type: array
description: The snapshot(s) of the VM
items:
type: object
id: VMSnapshot
properties:
name:
type: string
@ -1607,9 +1623,9 @@ class API_VM_Root(Resource):
timestamp:
type: string
descrpition: Unix timestamp of the snapshot
is_backup:
type: boolean
description: Whether the snapshot is from a backup or not (manual)
age:
type: string
description: Human-readable age of the snapshot in the largest viable unit: seconds, minutes, hours, days
rbd_snapshots:
type: array
items:
@ -1620,22 +1636,6 @@ class API_VM_Root(Resource):
items:
type: string
description: A list of strings representing the lines of an (n=1) unified diff between the current VM XML specification and the snapshot VM XML specification
snapshots:
type: array
description: The snapshot(s) of the VM
items:
type: object
id: VMSnapshot
properties:
name:
type: string
description: The name of the tag
type:
type: string
description: The type of the tag (user, system)
protected:
type: boolean
description: Whether the tag is protected or not
description:
type: string
description: The description of the VM