mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Added list devices api call
This commit is contained in:
@@ -48,6 +48,9 @@ $app->group('/api', function() use ($app) {
|
||||
});
|
||||
});
|
||||
});
|
||||
$app->group('/list', function() use ($app) {
|
||||
$app->get('/devices(/:order)(/:type)(/)', 'authToken', 'list_devices');//api/v1/list/devices (order can be any device column) (types = all, ignored, up, down, disabled)
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user