Files
NetAlertX/front/plugins/unifi_api_import
Jokob @NetAlertX c7399215ec Refactor event and session column names to camelCase
- Updated test cases to reflect new column names (eve_MAC -> eveMac, eve_DateTime -> eveDateTime, etc.) across various test files.
- Modified SQL table definitions in the database cleanup and migration tests to use camelCase naming conventions.
- Implemented migration tests to ensure legacy column names are correctly renamed to camelCase equivalents.
- Ensured that existing data is preserved during the migration process and that views referencing old column names are dropped before renaming.
- Verified that the migration function is idempotent, allowing for safe re-execution without data loss.
2026-03-16 10:11:22 +00:00
..
2025-08-13 06:48:36 +10:00

Overview

Unifi import plugin using the Site Manager API.

Tip

The Site Manager API doesn't seems to have feature parity with the old API yet, so certain limitations apply.

Quick setup guide

Navigate to your UniFi Site Manager Settings -> Control Plane -> Integrations.

  • UNIFIAPI_api_key : You can generate your API key under the Your API Keys section.
  • UNIFIAPI_base_url : You can find your base url in the API Request Format section, e.g. https://192.168.100.1/proxy/network/integration/
  • UNIFIAPI_api_version : You can find your version as part of the url in the API Request Format section, e.g. v1
  • UNIFIAPI_verify_ssl : To skip SSL with you don't have an SSL certificate

Usage

  • Head to Settings > Plugin name to adjust the default values.

Notes

  • Version: 1.0.0
  • Author: jokob-sk
  • Release Date: Aug 2025