Proxy analytics event ingest with site auth validation
Changed onValidates the site_auth field in the JSON body via SiteAuthValidator, resolves the active site, injects site_id into context, and asynchronously forwards the body to {DOT_ANALYTICS_BASE_URL}/v1/event/ingest. The dotCMS-side path is a fixed match; the upstream sub-path is not caller-controllable.
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful upstream response
dotCMS response envelope containing the upstream analytics data
Changes
- breaking
request body became required
- breaking
the request's body type changed from
objecttostring - info
api operation id
fireUserCustomEventremoved and replaced withproxyAnalyticsEventRequest - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking