API Specificationxmb.api.v1.ServerService
List adoptable teams
Teams the caller owns that do not yet have a server here, for the create-server picker.
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
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.ServerService/ListAdoptableTeams" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"teams": [
"map[entitled:false memberCount:4 name:Thompson Family slug:thompson-family urn:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60]"
]
}Leave server POST
Removes the authenticated caller from a server. Fails with FAILED_PRECONDITION if the caller is its only administrator — promote someone else or delete the server. **Required scopes:** `xmb:user:write`
List servers POST
Lists the servers the authenticated caller is a member of, each carrying the caller's role on it. **Required scopes:** `xmb:user:read`