mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Workaround for ifNames with slashes Basically, /api/v0/devices/3/ports/0%2f4 -> /api/v0/devices/3/ports/ifName?ifName=0/4 /api/v0/devices/3/ports/0%2f4/port_bits -> /api/v0/devices/3/ports/ifName/port_bits?ifName=0/4 Or you can just use port_id. * Fix API ports using ifName with slashes hand parse the path for the ports graph endpoints this way we can respect the original way of handling slashes (%2F)
6.7 KiB
6.7 KiB