{"_id":"@avantguardllc/n8n-nodes-unifi-network","name":"@avantguardllc/n8n-nodes-unifi-network","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@avantguardllc/n8n-nodes-unifi-network","version":"0.1.0","description":"Manage UniFi Network devices, clients, WLANs, firewall rules, and more via the local Network application API.","keywords":["n8n-community-node-package","unifinetwork","avantguardllc"],"license":"MIT","homepage":"","author":{"name":"AvantGuard LLC"},"repository":{"type":"git","url":""},"scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/UnifiNetworkApi.credentials.js"],"nodes":["dist/nodes/UnifiNetwork/UnifiNetwork.node.js"]},"devDependencies":{"@types/node":"^18.0.0","n8n-workflow":"*","typescript":"~5.7"},"peerDependencies":{"n8n-workflow":"*"},"_id":"@avantguardllc/n8n-nodes-unifi-network@0.1.0","gitHead":"f1ec20b139b78bbad4fc9d433c5566b1735b862c","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-2ohrLdX4LlIcjZtTjiSutLTde+dTMTAvyXkSTUxF+AR/xBSW3BFc3sreslBhEUFXY4mWck6uE0GYmwSSOLMyQA==","shasum":"19c68357dad4703ed2f2bdf1bf28b5b82bcbe907","tarball":"https://registry.npmjs.org/@avantguardllc/n8n-nodes-unifi-network/-/n8n-nodes-unifi-network-0.1.0.tgz","fileCount":9,"unpackedSize":125917,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCYLnqU7dMN4l5WWtd8OCOZD/0G84htr1kPcmxPJz2zEAIhAJBQJhuPb1XKt3lX6U97mlkhdLlcFN1927JIMCFarEOT"}]},"_npmUser":{"name":"avantguardllc","email":"appadmin@avantguard.it"},"directories":{},"maintainers":[{"name":"avantguardllc","email":"appadmin@avantguard.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-unifi-network_0.1.0_1777905351877_0.7353464985555664"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-04T14:35:51.671Z","0.1.0":"2026-05-04T14:35:52.018Z","modified":"2026-05-04T14:35:52.270Z"},"maintainers":[{"name":"avantguardllc","email":"appadmin@avantguard.it"}],"description":"Manage UniFi Network devices, clients, WLANs, firewall rules, and more via the local Network application API.","keywords":["n8n-community-node-package","unifinetwork","avantguardllc"],"repository":{"type":"git","url":""},"author":{"name":"AvantGuard LLC"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://n8n.io\"><img src=\"https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-logo.png\" alt=\"n8n\" height=\"40\" /></a>\n  &nbsp;&nbsp;&nbsp;&nbsp;\n  <a href=\"https://avantguard.it\"><img src=\"https://i0.wp.com/avantguard.it/wp-content/uploads/2024/02/NewLogoSmalNoPicl.png?fit=398%2C71\" alt=\"AvantGuard\" height=\"40\" /></a>\n</p>\n\n# UniFi Network n8n Node\n\n![n8n community node](https://img.shields.io/badge/n8n-community%20node-ff6d5a) ![npm](https://img.shields.io/npm/v/%40avantguardllc%2Fn8n-nodes-unifinetwork)\n\nManage UniFi Network devices, clients, WLANs, firewall rules, and more via the local Network application API.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Authentication](#authentication)\n- [Resources & Operations](#resources--operations)\n- [Compatibility](#compatibility)\n- [License](#license)\n\n## Installation\n\nFollow the [n8n community node installation guide](https://docs.n8n.io/integrations/community-nodes/installation/).\n\nOr install directly via npm:\n\n```bash\nnpm install @avantguardllc/n8n-nodes-unifinetwork\n```\n\n## Authentication\n\nThis node authenticates using an **API Key**.\n\n| Setting | Value |\n|---------|-------|\n| Type | API Key |\n| Base URL | `https://{{$credentials.host}}/proxy/network` (editable in credentials) |\n\n> **Tip:** The Base URL can be changed in the credential settings if your instance uses a different host.\n\n## Resources & Operations\n\n**Base URL:** `https://{{$credentials.host}}/proxy/network`\n\n### SiteStats\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/stat/health` | Get Site Health |\n\n### Devices\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/stat/device` | List Devices |\n| 🔵 **`GET`** | `/v1/sites/{siteId}/devices` | List Devices (Official API v1) |\n\n### Clients\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/stat/sta` | List Active Clients |\n| 🔵 **`GET`** | `/api/s/{site}/rest/user` | List All Known Clients |\n| 🟢 **`POST`** | `/api/s/{site}/cmd/stamgr` | Execute Client Command |\n| 🔵 **`GET`** | `/v1/sites/{siteId}/clients` | List Connected Clients (Official API v1) |\n\n### WLANs\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/rest/wlanconf` | List WLANs |\n| 🟢 **`POST`** | `/api/s/{site}/rest/wlanconf` | Create WLAN |\n| 🟡 **`PUT`** | `/api/s/{site}/rest/wlanconf/{id}` | Update WLAN |\n| 🔴 **`DELETE`** | `/api/s/{site}/rest/wlanconf/{id}` | Delete WLAN |\n\n### Networks\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/rest/networkconf` | List Networks |\n\n### Firewall\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/rest/firewallrule` | List Firewall Rules |\n\n### SwitchPorts\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/rest/portconf` | List Port Profiles |\n\n### DeviceManagement\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🟢 **`POST`** | `/api/s/{site}/cmd/devmgr` | Execute Device Command |\n\n### EventsAlarms\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/s/{site}/stat/event` | List Events |\n| 🔵 **`GET`** | `/api/s/{site}/stat/alarm` | List Alarms |\n\n### Sites\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/api/self/sites` | List Sites |\n\n## Compatibility\n\n- **n8n version:** 1.0+ (tested on 2.x)\n- **Node.js version:** 18+\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_rev":"1-04dbbccde03488611835bb97bf9d588f"}