[Docs] API Documentation: Curated UniFi API reference resource #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Create
api_docs.pywith curated UniFi API documentation exposed as an MCP Resource.Tasks
unifi://api-referenceEndpoint Categories to Document
Authentication
POST /api/login- Session authenticationClients (sta = station)
GET /api/s/{site}/stat/sta- Active clientsGET /api/s/{site}/stat/alluser- All known clients (historical)GET /api/s/{site}/stat/user/{mac}- Specific clientPOST /api/s/{site}/cmd/stamgr- Client commands (block, unblock, reconnect)Devices
GET /api/s/{site}/stat/device- All devicesGET /api/s/{site}/stat/device/{mac}- Specific devicePOST /api/s/{site}/cmd/devmgr- Device commands (restart, adopt, upgrade)Networks & VLANs
GET /api/s/{site}/rest/networkconf- Network configurationsGET /api/s/{site}/rest/wlanconf- WLAN configurationsFirewall
GET /api/s/{site}/rest/firewallrule- Firewall rulesGET /api/s/{site}/rest/firewallgroup- Firewall groupsPort Forwarding
GET /api/s/{site}/rest/portforward- Port forward rulesRouting
GET /api/s/{site}/rest/routing- Static routesStatistics
GET /api/s/{site}/stat/health- Network healthGET /api/s/{site}/stat/sysinfo- System informationGET /api/s/{site}/stat/event- Recent eventsGET /api/s/{site}/stat/alarm- AlarmsVPN
GET /api/s/{site}/rest/vpnclient- VPN clientsGET /api/s/{site}/rest/vpnserver- VPN serversHotspot/Vouchers
GET /api/s/{site}/stat/voucher- VouchersPOST /api/s/{site}/cmd/hotspot- Hotspot commandsAcceptance Criteria
unifi://api-referenceunifi_api_callrequests