Behavior: Accepts a batch of user behavior events (actions, navigation, interactions)
from the Nomad Angular UI. Events are validated, normalized, and stored in ClickHouse for
eventual aggregation into user profiles. Supports both regular HTTP requests with Bearer token
and sendBeacon requests with body-borne beacon token.
Authorization: Regular requests require Bearer token (class-level [Authorize]).
Beacon requests (navigator.sendBeacon) use beaconToken in request body since custom headers cannot be set.
Side Effects: Stores events in ClickHouse. Events are immutable once written (append-only).
Error Scenarios: Returns 400 if batch envelope is malformed. Returns 403 if event userId
doesn't match authenticated user. Returns 413 if batch exceeds size limits. Returns 207 if some events
are rejected. Returns 202 for full success.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
