]> git.proxmox.com Git - pve-manager.git/commit
api: notification: add api routes for filters
authorLukas Wagner <l.wagner@proxmox.com>
Thu, 3 Aug 2023 12:17:00 +0000 (14:17 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 16 Aug 2023 09:10:51 +0000 (11:10 +0200)
commit56977d48a9f9fd9600b0a44c97d690cf7a57502e
tree11ed510914c5ab66ee957fe39c4c0d2799939b30
parentaed4eff9cffb515f4977e31a6ad1affe794c8824
api: notification: add api routes for filters

The Perl part of the API methods primarily defines the API schema,
checks for any needed priviledges and then calls the actual Rust
implementation exposed via perlmod. Any errors returned by the Rust
code are translated into PVE::Exception, so that the API call fails
with the correct HTTP error code.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
PVE/API2/Cluster/Notifications.pm