Analytics

Api Analytics Event

Analytics event batch -- CSRF exempt (sendBeacon compatible).

user is server-resolved from the session by get_current_user (None for anon). It is NOT a body field — #49 derives identity here, never from the client beacon (CISO C1).

post/api/analytics/event

Request

  • Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
  • URL: https://www.oxfordledge.com/api/analytics/event
  • Auth: none declared

Response

Successful Response

okboolean required

True if the request body parsed; even when 0 events recorded.

recordedinteger required

Count of events successfully written to the analytics store.

errorstring nullable

Set on the JSON-parse-failure branch (status 400). Absent on success.

Changes

No recorded changes to this operation across all 1 revision of this API.