Updated some REST documentation (#9013)

This commit is contained in:
GabrieleDeri 2025-03-03 10:31:37 +01:00 committed by GitHub
parent d884c9bc14
commit 4c1026f54d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 28 additions and 19 deletions

View file

@ -10,7 +10,7 @@ local rest_utils = require("rest_utils")
local interface_alert_store = require"interface_alert_store".new()
--
-- Read alerts data
-- Get list of interfaces alerts
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v2/get/interface/alert/list.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login