]> git.proxmox.com Git - pve-manager.git/commit
api: notification: add api routes for groups
authorLukas Wagner <l.wagner@proxmox.com>
Thu, 3 Aug 2023 12:16:57 +0000 (14:16 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 16 Aug 2023 09:10:47 +0000 (11:10 +0200)
commit95c2dc1bc9fd78cf9c508e7eb1ec1b097b54d7b2
tree974b470ce095def3f1c40029dddc19da1cf36a01
parentb6fa29f3f57039dc077fad5b91d6818f5ab70991
api: notification: add api routes for groups

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