diff --git a/doc/rest-api.yaml b/doc/rest-api.yaml index 510283eb0a95..40879a74ab91 100644 --- a/doc/rest-api.yaml +++ b/doc/rest-api.yaml @@ -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 example: X509 PEM certificate type: string x-go-name: Certificate @@ -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: @@ -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 @@ -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: @@ -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