Skip to Content
Xeonr Developer Docs

Ship client events

POST
/xmb.api.v1.ClientEventService/ShipClientEvents

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
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bootId?string

One process lifetime. A change of boot_id between adjacent events IS the restart marker — there is no separate event for it.

Length1 <= length <= 64
installId?string

The 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.

Length1 <= length <= 64
clientKind?string

Who the install is, once per batch rather than once per event. The same vocabulary the playback session stores.

Lengthlength <= 128
clientModel?string
Lengthlength <= 128
clientOsName?string
Lengthlength <= 128
clientOsVersion?string
Lengthlength <= 128
clientAppVersion?string
Lengthlength <= 128
entries?array<>
Itemsitems <= 500
dropped?integer

Events 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.

serverSlug?string

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.

Length1 <= length
[key: string]?never

Response 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 '{}'
{}