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 6, 2024
1 parent 8d54ceb commit b8cbda8
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions doc/rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ definitions:
description: Certificate represents 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 certificate
example: X509 PEM certificate
type: string
x-go-name: Certificate
Expand Down Expand Up @@ -165,7 +165,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 certificate
example: X509 PEM certificate
type: string
x-go-name: Certificate
Expand Down Expand Up @@ -200,8 +200,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 @@ -1627,11 +1627,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 @@ -1921,11 +1916,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 @@ -6217,11 +6207,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 b8cbda8

Please sign in to comment.