Mint a telemetry read token
Mints a short-lived read-only Lantern token scoped to one server, and optionally to one install, node, task run or playback session on it. The admin UI queries Lantern directly with it.
Required scopes: xmb:admin
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
1 <= lengthOne app install.
length <= 64One node — a hub or grabber this server owns or has been granted. A shared hub's log is read NARROWED, exactly as ListNodeLogs narrows it: the lines this tenant's own requests tagged, plus the untagged machine-level remainder.
One task run on this server.
length <= 36One playback session on this server — the app's, the hub's and the platform's lines about the same play, together.
length <= 64Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.TelemetryService/MintTelemetryReadToken" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"url": "https://in.lntrn.dev",
"projectId": "xmb",
"token": "eyJhbGciOiJFZERTQSIsImtpZCI6InhtYi0xIn0.eyJleHAiOjE3NjExMjQ2MDB9.c2lnbmF0dXJl",
"expiresIn": "900s"
}xmb.api.v1.TelemetryService
TelemetryService mints Lantern device and read tokens.
Mint a telemetry token POST
Mints a short-lived Lantern ingest token for an app. Anonymous callers are allowed; a signed-in caller's user id, and the server they name, are baked into the token and stamped on every record.