mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
adding human readable version of /api/v0/fdb/{mac}/detail (#15045)
* adding human readable version of /api/v0/fdb/{mac}/detail * adding last seen field in human readable format * fixing styling issue * fixing another styling issue * removing stale variable * adding a limit to number of results returned in order to limit memory issues * adding the documentation for fdb_detail api * Wording fix * wording fix again. smh --------- Co-authored-by: Justin Lentz <monkeybrains7@gmail.com>
This commit is contained in:
@@ -152,6 +152,7 @@ Route::prefix('v0')->namespace('\App\Api\Controllers')->group(function () {
|
||||
Route::prefix('resources')->group(function () {
|
||||
Route::get('fdb', 'LegacyApiController@list_fdb')->name('list_fdb');
|
||||
Route::get('fdb/{mac}', 'LegacyApiController@list_fdb')->name('list_fdb_mac');
|
||||
Route::get('fdb/{mac}/detail', 'LegacyApiController@list_fdb_detail')->name('list_fdb_detail');
|
||||
Route::get('links', 'LegacyApiController@list_links')->name('list_links');
|
||||
Route::get('sensors', 'LegacyApiController@list_sensors')->name('list_sensors');
|
||||
Route::get('vlans', 'LegacyApiController@list_vlans')->name('list_vlans');
|
||||
|
Reference in New Issue
Block a user