]> git.proxmox.com Git - proxmox-backup.git/commit
api2: add admin/sync endpoint
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 29 May 2020 08:53:39 +0000 (10:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 29 May 2020 09:31:32 +0000 (11:31 +0200)
commitd43f86f3f31ff541ecbd6771349d9c6f51ed51e4
treed497498f92b8437210d2f3c4691b52d05e9dbb98
parent997d7e19fc275a4994208c93e4de9bf6bcc53e67
api2: add admin/sync endpoint

this returns the list of syncjobs with status, as opposed to
config/sync (which is just the config)

also adds an api call where users can run the job manually under
/admin/sync/$ID/run

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2/admin.rs
src/api2/admin/sync.rs [new file with mode: 0644]