mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
First rest documentation update
This commit is contained in:
parent
643c75b50c
commit
20972d3a18
9 changed files with 624 additions and 995 deletions
|
|
@ -9,7 +9,12 @@ require "lua_utils"
|
|||
local rest_utils = require "rest_utils"
|
||||
|
||||
|
||||
local ifid = _GET["ifid"]
|
||||
|
||||
if isEmptyString(ifid) then
|
||||
rest_utils.answer(rest_utils.consts.err.invalid_interface)
|
||||
return
|
||||
end
|
||||
|
||||
local networks_stats = interface.getNetworksStats()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue