From a987842674d496185fec146045dd2ffeb6059114 Mon Sep 17 00:00:00 2001 From: Gabriel Mougard Date: Mon, 26 Feb 2024 16:49:55 +0100 Subject: [PATCH] doc: update rest API Signed-off-by: Gabriel Mougard --- doc/rest-api.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/rest-api.yaml b/doc/rest-api.yaml index 73b5396c7b44..ff072e5e1729 100644 --- a/doc/rest-api.yaml +++ b/doc/rest-api.yaml @@ -1,4 +1,29 @@ definitions: + AgentDeviceRemove: + properties: + config: + additionalProperties: + type: string + description: Device configuration map + type: object + x-go-name: Config + name: + description: Device name + type: string + x-go-name: Name + type: + description: Type of device ('disk', 'nic', etc.) + type: string + x-go-name: Type + volatile: + additionalProperties: + type: string + description: Optional device volatile configuration keys + type: object + x-go-name: Volatile + title: AgentDeviceRemove represents the fields of an device removal request that needs to occur inside the VM agent. + type: object + x-go-package: github.com/canonical/lxd/shared/api Certificate: description: Certificate represents a LXD certificate properties: