Ship client events
Stores a batch of diagnostic events from a viewer app. At-least-once: duplicates are tolerated, and a dropped counter becomes its own warning row.
Required scopes: xmb:user:write
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
One process lifetime. A change of boot_id between adjacent events IS the restart marker — there is no separate event for it.
1 <= length <= 64The device's stable identity across boots and sign-ins — the same install id playback sessions already carry, which is what lets an event trace and a session row name each other.
1 <= length <= 64Who the install is, once per batch rather than once per event. The same vocabulary the playback session stores.
length <= 128length <= 128length <= 128length <= 128length <= 128items <= 500Events the app's ring buffer evicted before this batch could ship. Becomes a warn row of its own, so a gap reads as a gap.
Slug of the server the app is signed in to — who these events belong to, and whose admins may read them. Membership is checked, exactly as it is for playback.
1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.ClientEventService/ShipClientEvents" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}