mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
REST endpoints update
get_alerts_data.lua -> rest/get/alert/data.lua, host_get_json.lua -> rest/get/host/data.lua, get_interface_data.lua -> rest/get/interface/data.lua, live_traffic_extraction.lua -> rest/get/pcap/live_extraction.lua
This commit is contained in:
parent
183dfa41f9
commit
3381ddbcf5
16 changed files with 24 additions and 24 deletions
|
|
@ -201,7 +201,7 @@ if(showjson ~= nil) then
|
|||
else
|
||||
host_info = hosts_json[key]["mac"]
|
||||
end
|
||||
print('<li><a href="/lua/host_get_json.lua?host=' .. host_info..'&vlan='..hosts_json[key]["vlan"]..'" target="_blank"> All information</a>')
|
||||
print('<li><a href="/lua/rest/get/host/data.lua?host=' .. host_info..'&vlan='..hosts_json[key]["vlan"]..'" target="_blank"> All information</a>')
|
||||
print('<li><a href="/lua/get_host_activitymap.lua?host=' .. key..'" target="_blank"> Only Activity Map </a>')
|
||||
print('</ul>')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue