mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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