Skip to Content
Xeonr Developer Docs

Name a playback device

POST
/xmb.api.v1.PlaybackService/SetDeviceLabel

Sets the label an owner sees for one client install. An empty label clears it.

Required scopes: xmb:admin

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
installId?string

The install this names. From ClientInfo.install_id on a session row.

Length1 <= length <= 64
label?string

Empty CLEARS the label rather than being rejected, so the control that sets a name is the same control that removes one.

Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

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