POST /diag.ashx #
Append client-side diagnostic entries. Used by the conference page’s WebRTC instrumentation to record ICE candidates, connection-state transitions and RTP byte counters. Entries are buffered server-side for the admin diagnostic UI.
Request
application/json body:
{
"entries": [
{ "t": "2026-06-02T19:33:37.388Z",
"s": "<session-id>",
"u": "<user-context>",
"m": "ice-conn state=connected" }
]
}Up to 100 entries per POST.
Response
{ "appended": N } where N is the count actually stored.
Errors
Malformed JSON is silently dropped (returns {appended:0}) so a buggy logger never breaks the page. 500 is the only error you might see, from disk I/O.
The GET tail of this endpoint is admin-gated via the
X-CodeB-Admin-Signature HMAC header and is therefore not part of the public API.