[pve-devel] [PATCH pve-manager v2 0/4] api: add return schemas
n.frey at proxmox.com
n.frey at proxmox.com
Wed Sep 24 13:59:00 CEST 2025
From: Nicolas Frey <n.frey at proxmox.com>
these four patches add the return schemas for endpoints in
ACMEPlugin, APT, ReplicationConfig and Services using the
createSchema() function where possible.
Also tested functionality using pvesh.
Changelog:
changes since v1, thanks to @ Thomas Lamprecht:
- use createSchema where possible (and sensible)
- redundant schema removed in APT.pm and Services.pm
- correct possible values and descriptions
Nicolas Frey (4):
api: add ACME plugin return schema
api: add APT versions return schema
api: add service state return schema
api: add replication config read return schema
PVE/API2/ACMEPlugin.pm | 15 ++---
PVE/API2/APT.pm | 113 ++++++++++++++++++++--------------
PVE/API2/ReplicationConfig.pm | 11 ++--
PVE/API2/Services.pm | 80 +++++++++++++++++++++++-
4 files changed, 156 insertions(+), 63 deletions(-)
--
2.47.3
More information about the pve-devel
mailing list