🔥 Firebase Cloud Functions Checking...
48
Functions
Node 20
Runtime
Gen 2
Version
v2
API
🏢 Workspace Management
GET /api/v2/status

Health check v2

POST /api/v2/workspace/create

Create new workspace

GET /api/v2/workspace/{wsId}/network-profile

Get network profile

POST /api/v2/workspace/devices

Sync workspace devices

📡 Base Station Endpoints
POST /api/v2/heartbeat

Unified heartbeat

POST /api/v2/uplink

LoRa uplink (unified)

POST /api/v2/base/register

Register base in workspace

GET /api/v2/base/seed

Download workspace seed

GET /api/v2/bases

List bases (workspace-aware)

GET /api/v2/bases/nearby

Find nearby bases

📱 Device Management
GET /api/v2/devices

List devices (workspace-aware)

POST /api/v2/device/checkin

Check-in device

POST /api/v2/device/checkout

Check-out device

GET /api/v2/device/status

Get device status

POST /api/v2/device/pair

Confirm device pairing

GET /api/v2/device/{deviceId}/history

Device history

🔑 Provisioning
POST /api/v2/provisioning/bundle

Get provisioning bundle

POST /api/v2/provision

Provision base station

POST /api/v2/apikey/revoke

Revoke API key

🔄 Firmware OTA
GET /api/v2/firmware/check

Check for updates

POST /api/v2/firmware/report

Report installation

GET /api/v2/firmware/list

List firmware versions

📋 Error Logging
POST /api/v2/log/error

Log error (supports errorCode, stackTrace, platform)

POST /api/v2/log/error/batch

Log batch errors (max 100)

📍 Places API (v2.6)
GET /api/v2/places/autocomplete

Google Places autocomplete

GET /api/v2/places/details

Get place details by ID

GET /api/v2/places/search

Search places by text

✉️ Email & Newsletter (v2.6)
POST /api/v2/email/pin-reset

Send PIN reset email

POST /api/v2/newsletter/subscribe

MailerLite subscription

💬 Feedback (v2.6)
POST /api/v2/feedback

Submit user feedback

⏰ Scheduled Tasks
CRON checkOfflineBases

Mark offline bases (every 5 min)

CRON cleanupOldUplinks

Delete old uplinks (daily 3:00)

CRON cleanupOldLogs

Delete old logs (daily 4:00)

API v2.6.0 • Deployed: January 29, 2026 • Region: europe-west8 (Milano)