View .md

Node Alerts endpoints (Admin API)

7 FeatherPanel Admin API endpoints from admin/node-alerts.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 3faf369 on .

On this page

Defined in backend/app/routes/admin/node-alerts.php. Authentication used here: Admin. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

GET/api/admin/node-alerts/overview

Auth: AdminPermission: admin.nodes.viewRoute name: admin-node-alerts-overviewController: NodeAlertsController::overviewroute source
curl -X GET "$PANEL_URL/api/admin/node-alerts/overview" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/node-alerts/history

Auth: AdminPermission: admin.nodes.viewRoute name: admin-node-alerts-historyController: NodeAlertsController::historyroute source
curl -X GET "$PANEL_URL/api/admin/node-alerts/history" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/node-alerts/settings

Auth: AdminPermission: admin.nodes.viewRoute name: admin-node-alerts-settingsController: NodeAlertsController::settingsroute source
curl -X GET "$PANEL_URL/api/admin/node-alerts/settings" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

PUT/api/admin/node-alerts/settings

Auth: AdminPermission: admin.settings.editRoute name: admin-node-alerts-settings-updateController: NodeAlertsController::updateSettingsroute source
curl -X PUT "$PANEL_URL/api/admin/node-alerts/settings" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/node-alerts/test

Auth: AdminPermission: admin.settings.editRoute name: admin-node-alerts-testController: NodeAlertsController::testroute source
curl -X POST "$PANEL_URL/api/admin/node-alerts/test" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/node-alerts/evaluate

Auth: AdminPermission: admin.nodes.editRoute name: admin-node-alerts-evaluateController: NodeAlertsController::evaluateroute source
curl -X POST "$PANEL_URL/api/admin/node-alerts/evaluate" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/node-alerts/{id}/resolve

Auth: AdminPermission: admin.nodes.editRoute name: admin-node-alerts-resolveController: NodeAlertsController::resolveroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X POST "$PANEL_URL/api/admin/node-alerts/$ID/resolve" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"