]> git.proxmox.com Git - pve-manager.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)
commitf26c7b54e0747d6585ee56e556bbff7aaa6f62ee
treea3da436f8abd19e0ea05cca04ec0833120041be4
parent01ad47af9e3ff06f90bae6ca441e1f920fda59c3
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