Skip to Content
Xeonr Developer Docs

Stop playback

POST
/xmb.api.v1.PlaybackService/StopPlayback

Closes a playback session.

Required scopes: xmb:user:read

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

serverSlug?string
Length1 <= length <= 128
sessionId?string
Length1 <= length <= 64
failureCode?string

Why playback ended, when it ended badly. Set only by a player whose pipeline actually errored — a clean stop, a pause somebody walked away from, and a killed tab all leave both empty (the reaper closes the last of those, and absence of a failure is the truth about it).

A short machine code and the player's own words, because "playback failed" with neither is a support thread rather than a diagnosis. The platform stores them on the session row and alerts when one server's sessions start failing together — the pattern is the server's problem; one device's codec quirk is not.

Lengthlength <= 64
failureDetail?string
Lengthlength <= 512
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.PlaybackService/StopPlayback" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}