API Specificationxmb.api.v1.RemotePlaybackService
Report receiver state
Publishes what a receiver is doing and returns any directives it has not yet applied.
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
Optional. Control is authorized by ACCOUNT — see Receiver.server_slug — so this narrows rather than permits: given, it restricts to receivers on that server; empty, it means all of the caller's.
Length
length <= 128receiverUuid?string
Length
1 <= length <= 64state*
What a receiver says it is doing.
Published on every discrete change and on a clock while playing, and stored as the receiver's last known state so a sender opening a remote screen has something to draw before the first push arrives.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.RemotePlaybackService/ReportReceiverState" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{ "state": "map[ackedDirectiveId:42 audioTrackId:s1 bufferedToMs:1580000 displayArtworkUrl:https://content.xmb.gg/v1/tmdb/t/p/w780/bones-s02e04.jpg displaySubtitle:S2 E4 · The Girl in Suite 2103 displayTitle:Bones durationMs:2580000 episodeUuid:8a0c2e4f-6b8d-4f0a-a2c4-e6f8a0b2c4d6 hasNext:true hasPrevious:true muted:false phase:RECEIVER_PHASE_PLAYING playbackSessionId:9d1f3b5a-7c9e-4d1f-b3a5-c7e9d1f3b5a7 positionMs:1520000 qualityId:source rate:1 stalled:false]" }'{
"pending": [
"map[id:43 pause:map[]]"
]
}