Files
unpoller/tools/endpoint-discovery/.env.example
brngates98 6be9312a1a Add tools/endpoint-discovery for controller API discovery
- Python script (Playwright) that logs in to UniFi controller and captures
  XHR/fetch requests to /api and /proxy/ endpoints
- Writes API_ENDPOINTS_HEADLESS_<date>.md in tool directory (easy for users)
- Helps debug 404s (e.g. device-tags #935): users can run and share output
- Optional, read-only; not required for building or running unpoller
2026-01-30 19:52:40 -05:00

11 lines
260 B
Plaintext

# UniFi controller URL (same URL you use for unpoller)
UNIFI_URL=https://192.168.1.1
UNIFI_USER=admin
UNIFI_PASS=your-password
# Optional: run with visible browser
# HEADLESS=false
# Optional: custom output directory (default: this directory)
# OUTPUT_DIR=.