pve-manager/PVE/API2
Aaron Lauterer b2e005d76a api: ceph: deprecate pools in favor of pool
/nodes/{node}/ceph/pools/{pool} returns the pool details right away on a
GET.  This makes it bad practice to add additional sub API endpoints.

By deprecating it and replacing it with /nodes/{node}/ceph/pool/{pool}
(singular instead of plural) we can turn that into an index GET
response, making it possible to expand it more in the future.

The GET call returning the pool details is moved into
/nodes/{node}/ceph/pool/{pool}/status

The code in the new Pool.pm is basically a copy of Pools.pm to avoid
a close coupling with the old code as it is possible that it will divert
until we can entirely remove the old code.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by:  Dominik Csapak <d.csapak@proxmox.com>
2023-03-20 15:31:04 +01:00
..
Ceph api: ceph: deprecate pools in favor of pool 2023-03-20 15:31:04 +01:00
Cluster api: ceph metadata: rename instance placeholder to id in return schema 2023-01-16 16:32:16 +01:00
Hardware fix #4245: api: node HW: allow to get PCI info with Sys.Audit on / 2022-11-20 13:29:58 +01:00
ACME.pm api: ACME revoke: do not abort if CA is just expired 2020-08-19 18:52:48 +02:00
ACMEAccount.pm api: acme: fix API index entry for challenge-schema 2021-05-05 15:52:49 +02:00
ACMEPlugin.pm ACME: add comment for implicit standalone plugin fallback 2020-05-07 13:53:05 +02:00
APT.pm api apt: fix spelling in hash to avoid undef access warnings 2023-02-02 08:42:12 +01:00
Backup.pm api: vzdump: soften parameter permission checks 2022-11-21 14:13:05 +01:00
Capabilities.pm api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
Ceph.pm api: ceph: deprecate pools in favor of pool 2023-03-20 15:31:04 +01:00
Certificates.pm fix #2771: relax cert API endpoints permissions 2020-06-17 14:00:43 +02:00
Cluster.pm api: open up /cluster/options call over injecting info into /version 2022-11-17 18:16:43 +01:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api: add usb list in hardware endpoint 2020-12-02 11:27:02 +01:00
Makefile move BackupInfo module into Cluster 2021-07-02 12:50:49 +02:00
Network.pm api2: network: anybridge: re-add regular bridges 2022-04-27 13:55:57 +02:00
NodeConfig.pm api: fill in nodeconfig schema 2022-03-17 14:24:20 +01:00
Nodes.pm api: node: bulk actions: allow when user has permission for each guest 2023-03-15 18:21:56 +01:00
Pool.pm api: add 'type' parameter to pool GET endpoint 2022-01-31 13:30:50 +01:00
Replication.pm fix #4111: replication: don't send mail when fail count is zero 2022-06-17 17:20:06 +02:00
ReplicationConfig.pm fix iteration over hash without keys 2020-11-20 15:34:27 +01:00
Services.pm api/services: add pvescheduler to the service list 2021-11-12 16:17:36 +01:00
Subscription.pm subscription: handle missing subscription info 2022-09-07 14:50:32 +02:00
Tasks.pm fix #4521: api/tasks: replace upid as filename for task log downloads 2023-02-09 17:18:52 +01:00
VZDump.pm api: vzdump: soften parameter permission checks 2022-11-21 14:13:05 +01:00