Hey @OskarSonc, thank you for your quick response. You've been very helpful.
We've read the Integration Architecture page which describes exactly our setup (we have a custom server VPS that we want to take the data and the server will serve the custom UI, sorry for not mentioning it in the beggining):
VPS backend calls Hub GraphQL for session bootstrap (requestDeviceAppConnection) ✅
VPS returns only the derived payload (authToken + clientId) to the browser ✅
Browser connects directly to the camera via WebRTC for live video ✅
This works perfectly. The gap is the data plane for metrics.
The integration architecture page describes the control plane (GraphQL) and the browser session transport (WebRTC), but doesn't cover how a backend receives live structured data from a running camera app 24/7 — even when no browser is connected.
We noticed the docs say "Webhooks are not yet a broad stable public integration surface" — which suggests this is a known gap.
Specific questions:
Is there a way for a VPS backend (with Hub API key) to access the camera's HTTP endpoint through the Hub tunnel? We get 401 with Bearer token on frontend.url.
Is camera-to-VPS outbound HTTP push (camera POSTs metrics directly to our server, outside Hub) the current recommended pattern for continuous backend data collection?
Are webhooks or a Hub data-plane API on the roadmap for this use case?
(We're already serving /metrics via NGINX, configured on backend-run.sh script) on OAKAPP_STATIC_FRONTEND_PORT (confirmed working from inside the container via wget). The 401 is specifically when our VPS backend tries to reach it through the Hub tunnel URL.)
Thank you.