Skip to content

Commit

Permalink
doc: Update api definition
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <din.music@canonical.com>
  • Loading branch information
MusicDin committed Mar 5, 2024
1 parent 8e2734b commit ced2da7
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions doc/rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ definitions:
description: CertificatePut represents the modifiable fields of a LXD certificate
properties:
certificate:
description: The certificate itself, as PEM encoded X509 (or as base64 encoded X509 on POST)
description: The certificate itself, as PEM encoded X509
example: X509 PEM certificate
type: string
x-go-name: Certificate
Expand Down Expand Up @@ -198,8 +198,8 @@ definitions:
description: CertificatesPost represents the fields of a new LXD certificate
properties:
certificate:
description: The certificate itself, as PEM encoded X509 (or as base64 encoded X509 on POST)
example: X509 PEM certificate
description: The certificate itself, as base64 encoded X509 PEM certificate
example: base64 encoded X509 PEM certificate
type: string
x-go-name: Certificate
name:
Expand Down Expand Up @@ -1596,11 +1596,6 @@ definitions:
example: foo
type: string
x-go-name: Project
restore:
description: If set, instance will be restored to the provided snapshot name
example: snap0
type: string
x-go-name: Restore
stateful:
description: Whether the instance currently has saved state on disk
example: false
Expand Down Expand Up @@ -1890,11 +1885,6 @@ definitions:
example: foo
type: string
x-go-name: Project
restore:
description: If set, instance will be restored to the provided snapshot name
example: snap0
type: string
x-go-name: Restore
snapshots:
description: List of snapshots.
items:
Expand Down Expand Up @@ -6186,11 +6176,6 @@ definitions:
example: default
type: string
x-go-name: Project
restore:
description: Name of a snapshot to restore
example: snap0
type: string
x-go-name: Restore
type:
description: Volume type
example: custom
Expand Down

0 comments on commit ced2da7

Please sign in to comment.