mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added the ability to call the api for a list of endpoints
This commit is contained in:
@@ -40,6 +40,7 @@ $app->group('/api', function() use ($app) {
|
||||
$app->post('/devices', 'authToken', 'add_device');//api/v0/devices (json data needs to be passed)
|
||||
$app->delete('/devices/:hostname', 'authToken', 'del_device');//api/v0/devices (json data needs to be passed)
|
||||
});
|
||||
$app->get('/v0', 'authToken', 'show_endpoints');//api/v0
|
||||
});
|
||||
|
||||
$app->run();
|
||||
|
Reference in New Issue
Block a user