API Specificationxmb.api.v1.RemotePlaybackService
Send a directive
Instructs a receiver to load, transport or stop, and returns the id assigned to the instruction.
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 <= 64directive*
id is ignored; the platform assigns it.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.RemotePlaybackService/SendDirective" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{ "directive": "map[seekTo:map[positionMs:1520000]]" }'{
"directiveId": "42"
}