Skip to content

Commit 09cd0f8

Browse files
committed
doc/rest-api: Refresh swagger YAML
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
1 parent 8fb9a25 commit 09cd0f8

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

doc/rest-api.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,11 @@ definitions:
21912191
format: int64
21922192
type: integer
21932193
x-go-name: Size
2194+
snapshot_description:
2195+
description: Instance description
2196+
example: My description
2197+
type: string
2198+
x-go-name: SnapshotDescription
21942199
stateful:
21952200
description: Whether the instance currently has saved state on disk
21962201
example: false
@@ -2229,11 +2234,20 @@ definitions:
22292234
format: date-time
22302235
type: string
22312236
x-go-name: ExpiresAt
2237+
snapshot_description:
2238+
description: Instance description
2239+
example: My description
2240+
type: string
2241+
x-go-name: SnapshotDescription
22322242
title: InstanceSnapshotPut represents the modifiable fields of an instance snapshot.
22332243
type: object
22342244
x-go-package: github.com/lxc/incus/v6/shared/api
22352245
InstanceSnapshotsPost:
22362246
properties:
2247+
description:
2248+
description: Snapshot description
2249+
type: string
2250+
x-go-name: Description
22372251
expires_at:
22382252
description: When the snapshot expires (gets auto-deleted)
22392253
example: "2021-03-23T17:38:37.753398689-04:00"

0 commit comments

Comments
 (0)