Ship hub logs
Takes a batch of the hub's own log lines for the owner surfaces. Authenticated by the hub token.
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
The hub token from the hub binary's configuration.
20 <= length <= 128Identifies one process lifetime, so the surfaces can group lines by boot and say "previous boot" about a crash. Random per boot, never reused.
length <= 64Oldest first. A batch may replay lines a crashed process spooled but never acknowledged, so the platform should tolerate the occasional duplicate rather than demand exactly-once from a node built to lose its state.
items <= 1000Lines the node dropped since the last successful ship — ring overflow during an outage. Zero almost always; the count is the honest record that a gap is a gap.
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubAgentService/ShipHubLogs" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}