Develop and extend NetAlertX REST API endpoints. Use this when asked to create endpoint, add API route, implement API, or modify API responses.
63
73%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/skills/api-development/SKILL.mdFlask app: server/api_server/api_server_start.py
/device/<mac> - Single device operations/devices - Device list/devices/export/{csv,json} - Export devices/devices/import - Import devices/devices/totals - Device counts/devices/by-status - Devices grouped by status/nettools - Network utilities/events - Event log/sessions - Session management/dbquery - Database queries/metrics - Prometheus metrics/sync - SynchronizationAll routes require header:
Authorization: Bearer <API_TOKEN>Retrieve token via get_setting_value('API_TOKEN').
MANDATORY: All responses must include "success": true|false
return {"success": False, "error": "Description of what went wrong"}On success:
return {"success": True, "data": result}return {"success": False, "error": "Description of what went wrong"}On success:
return {"success": True, "data": result}Exception: The legacy /device/<mac> GET endpoint does not follow this contract to maintain backward compatibility with the UI.
server/api_server/ directory20ddf48
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.