]> git.proxmox.com Git - pve-manager-legacy.git/commit
fix #2609 api: backupinfo: add non job specific endpoint
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 7 Jul 2020 09:49:01 +0000 (11:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 12:12:59 +0000 (14:12 +0200)
commit51e9270184c5f9c3fa0fd346b1244ae6a02b2da7
tree88e24ce3c1ca11d2bf33aac6ec5393403848c66e
parentbf3bcd103f9d12770da0f3fcdae4dc2843fa3917
fix #2609 api: backupinfo: add non job specific endpoint

Adds a new api endpoint at cluster/backupinfo for cluster wide backup
stuff. This is necessary because cluster/backup expects a backup job ID
at the next level and thus other endpoints are hard to impossible to
implement under that hierarchy.

The only api endpoint available for now is the `not_backed_up` which
returns a list of all guests which are not covered by any backup job.

The top level index endpoint is left unsused for now to be available for
a more generic summary endpoint in the future.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/API2/BackupInfo.pm [new file with mode: 0644]
PVE/API2/Cluster.pm
PVE/API2/Makefile