[pdm-devel] [PATCH proxmox-api-types 1/3] regenerate pve-api.json

Dominik Csapak d.csapak at proxmox.com
Mon Sep 8 16:04:09 CEST 2025


with new pve-storage status api

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 pve-api-types/pve-api.json | 45 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

diff --git a/pve-api-types/pve-api.json b/pve-api-types/pve-api.json
index 84c9b4f..0880b35 100644
--- a/pve-api-types/pve-api.json
+++ b/pve-api-types/pve-api.json
@@ -46287,7 +46287,50 @@
                                        "protected": 1,
                                        "proxyto": "node",
                                        "returns": {
-                                          "properties": {},
+                                          "properties": {
+                                             "active": {
+                                                "description": "Set when storage is accessible.",
+                                                "optional": 1,
+                                                "type": "boolean"
+                                             },
+                                             "avail": {
+                                                "description": "Available storage space in bytes.",
+                                                "optional": 1,
+                                                "renderer": "bytes",
+                                                "type": "integer"
+                                             },
+                                             "content": {
+                                                "description": "Allowed storage content types.",
+                                                "format": "pve-storage-content-list",
+                                                "type": "string"
+                                             },
+                                             "enabled": {
+                                                "description": "Set when storage is enabled (not disabled).",
+                                                "optional": 1,
+                                                "type": "boolean"
+                                             },
+                                             "shared": {
+                                                "description": "Shared flag from storage configuration.",
+                                                "optional": 1,
+                                                "type": "boolean"
+                                             },
+                                             "total": {
+                                                "description": "Total storage space in bytes.",
+                                                "optional": 1,
+                                                "renderer": "bytes",
+                                                "type": "integer"
+                                             },
+                                             "type": {
+                                                "description": "Storage type.",
+                                                "type": "string"
+                                             },
+                                             "used": {
+                                                "description": "Used storage space in bytes.",
+                                                "optional": 1,
+                                                "renderer": "bytes",
+                                                "type": "integer"
+                                             }
+                                          },
                                           "type": "object"
                                        }
                                     }
-- 
2.47.2





More information about the pdm-devel mailing list