mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added API route to update devices columns in DB
This commit is contained in:
@@ -42,6 +42,7 @@ $app->group(
|
||||
// api/v0/devices/$hostname
|
||||
$app->get('/:hostname', 'authToken', 'get_device')->name('get_device');
|
||||
// api/v0/devices/$hostname
|
||||
$app->patch('/:hostname', 'authToken', 'update_device')->name('update_device_field');
|
||||
$app->get('/:hostname/vlans', 'authToken', 'get_vlans')->name('get_vlans');
|
||||
// api/v0/devices/$hostname/vlans
|
||||
$app->get('/:hostname/graphs', 'authToken', 'get_graphs')->name('get_graphs');
|
||||
|
Reference in New Issue
Block a user