Works for me. I really need this now, because I want to access the the
format information from Rust...
Tested-by: Dietmar Maurer <[email protected]>
On 10/6/25 1:24 PM, Dominik Csapak wrote:
when calling the storage listing with `format=1`, we return additional
information
about the storage about which formats are supported.
The current return values/schema is bad and not describable by the JSONSchema,
so add a new property with a better schema.
With this, our rust api schema generator will be able to handle this properly.
This was noticed by dietmar when trying to use this api from rust.
pve-storage:
Dominik Csapak (2):
api: try to add more return schema information
api: list: return 'formats' info in a better structured way
src/PVE/API2/Storage/Status.pm | 40 ++++++++++++++++++++++++++++++++++
src/PVE/Storage.pm | 12 ++++++++++
2 files changed, 52 insertions(+)
pve-manager:
Dominik Csapak (1):
ui: disk storage selector: use new api return format
www/manager6/form/DiskStorageSelector.js | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
Summary over all repositories:
3 files changed, 68 insertions(+), 4 deletions(-)
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel