Adds new REST API v2/

Addresses #5269
This commit is contained in:
Simone Mainardi 2021-07-08 09:57:46 +02:00
parent 1f24dec3e3
commit b117e8a23a
178 changed files with 6639 additions and 124 deletions

View file

@ -1395,7 +1395,7 @@ local known_parameters = {
["category"] = validateCategory, -- An nDPI protocol category name
["breed"] = validateBool, -- True if nDPI breed should be shown
["ndpi_category"] = validateBool, -- True if nDPI category should be shown
["ndpistats_mode"] = validateNdpiStatsMode, -- A mode for rest/v1/get/interface/l7/stats.lua
["ndpistats_mode"] = validateNdpiStatsMode, -- A mode for rest/v2/get/interface/l7/stats.lua
["l4_proto_id"] = validateProtocolIdOrName, -- get_historical_data.lua
["l7_proto_id"] = validateProtocolIdOrName, -- get_historical_data.lua
["l4proto"] = validateListOfTypeInline(validateFilters(validateProtocolIdOrName)), -- An nDPI application protocol ID, layer 4