all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: [pve-devel] applied-series: [PATCH manager/storage 0/3] Improve return schema for storage listing
Date: Wed, 05 Nov 2025 09:22:13 +0100	[thread overview]
Message-ID: <1762330923.48cwkorf6s.astroid@yuna.none> (raw)
In-Reply-To: <20251006112409.2141871-1-d.csapak@proxmox.com>

thanks!

On October 6, 2025 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(-)
> 
> -- 
> Generated by git-murpp 0.8.1
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


      parent reply	other threads:[~2025-11-05  8:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-06 11:24 [pve-devel] " Dominik Csapak
2025-10-06 11:24 ` [pve-devel] [PATCH storage 1/2] api: try to add more return schema information Dominik Csapak
2025-10-06 11:24 ` [pve-devel] [PATCH storage 2/2] api: list: return 'formats' info in a better structured way Dominik Csapak
2025-10-06 11:24 ` [pve-devel] [PATCH manager 1/1] ui: disk storage selector: use new api return format Dominik Csapak
2025-11-05  7:26 ` [pve-devel] [PATCH manager/storage 0/3] Improve return schema for storage listing Dietmar Maurer
2025-11-05  8:22 ` Fabian Grünbichler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1762330923.48cwkorf6s.astroid@yuna.none \
    --to=f.gruenbichler@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal