From: Nicolas Frey <[email protected]>

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


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to