Skip to Content
Xeonr Developer Docs
API Specification

xmb.api.v1.PlatformService

PlatformService is the operator's view across every server.

postJoin a server as an operator

Adds the calling platform operator to a server as an administrator, leaving a membership record. This is the only way platform standing reaches a server's content. **Required scopes:** `xmb:super:admin`

postGet any server

Returns one server, its hubs and its members, whether or not the caller is a member of it. Platform operators only. **Required scopes:** `xmb:super:admin`

postList all accounts

Returns every account known to XMB and the servers each belongs to. Platform standing itself is granted at the identity provider and is not writable here. Platform operators only. **Required scopes:** `xmb:super:admin`

postList all hubs

Returns every registered hub across all servers. Platform operators only. **Required scopes:** `xmb:super:admin`

postList all servers

Returns every server on the platform with its member and hub counts. Platform operators only. **Required scopes:** `xmb:super:admin`

postRun a per-account task for everyone

Queues a Personal task (one whose targets are people, such as a Trakt sync) for every account it covers. A server administrator cannot do this from a server's task page; each person starts their own from their settings. Platform operators only. **Required scopes:** `xmb:super:admin`

postSet hub status

Disables or re-enables a single hub, removing it from or returning it to the gateway routing table. Platform operators only. **Required scopes:** `xmb:super:admin`

postSet server status

Disables or re-enables a server. A disabled server refuses its members and its hubs leave the gateway routing table, so streaming from it stops. Platform operators only. **Required scopes:** `xmb:super:admin`