mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Adding route
This commit is contained in:
@@ -84,6 +84,8 @@ $app->group(
|
||||
// api/v0/alerts
|
||||
$app->put('/:id', 'authToken', 'ack_alert')->name('ack_alert');
|
||||
// api/v0/alerts/$id (PUT)
|
||||
$app->put('/unmute/:id', 'authToken', 'unmute_alert')->name('unmute_alert');
|
||||
// api/v0/alerts/unmute/$id (PUT)
|
||||
}
|
||||
);
|
||||
$app->get('/alerts', 'authToken', 'list_alerts')->name('list_alerts');
|
||||
|
||||
Reference in New Issue
Block a user