ReferenceHTTP API
serverManagement
The serverManagement router: 8 methods of the server-management capability, with tier, scope, input and output.
Capability server-management · scope system · mode singleton · source packages/types/src/capabilities/server-management.cap.ts:480.
Every method is called at /trpc/serverManagement.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getServerPackageStatus | query | admin | admin only | no |
checkServerUpdate | mutation | admin | admin only | no |
applyServerUpdate | mutation | admin | admin only | no |
installDesktopUpdate | mutation | admin | admin only | no |
rollbackServerUpdate | mutation | admin | admin only | no |
restartServer | mutation | admin | admin only | no |
getLaunchOverrides | query | admin | admin only | no |
setLaunchOverrides | mutation | admin | admin only | no |
serverManagement.getServerPackageStatus
- Kind: query —
GET /trpc/serverManagement.getServerPackageStatus - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.getServerPackageStatuson your hub
Input
voidOutput
ServerPackageStatusSchemaShapes: ServerPackageStatusSchema
serverManagement.checkServerUpdate
- Kind: mutation —
POST /trpc/serverManagement.checkServerUpdate - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.checkServerUpdateon your hub
Input
voidOutput
ServerUpdateCheckResultSchemaShapes: ServerUpdateCheckResultSchema
serverManagement.applyServerUpdate
- Kind: mutation —
POST /trpc/serverManagement.applyServerUpdate - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.applyServerUpdateon your hub
Input
{ version?: string; acknowledgeRefusals?: boolean }Output
ServerUpdateActionResultSchemaShapes: ServerUpdateActionResultSchema
serverManagement.installDesktopUpdate
- Kind: mutation —
POST /trpc/serverManagement.installDesktopUpdate - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.installDesktopUpdateon your hub
Input
voidOutput
InstallDesktopUpdateResultSchemaShapes: InstallDesktopUpdateResultSchema
serverManagement.rollbackServerUpdate
- Kind: mutation —
POST /trpc/serverManagement.rollbackServerUpdate - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.rollbackServerUpdateon your hub
Input
voidOutput
ServerUpdateActionResultSchemaShapes: ServerUpdateActionResultSchema
serverManagement.restartServer
- Kind: mutation —
POST /trpc/serverManagement.restartServer - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.restartServeron your hub
Input
voidOutput
ServerUpdateActionResultSchemaShapes: ServerUpdateActionResultSchema
serverManagement.getLaunchOverrides
- Kind: query —
GET /trpc/serverManagement.getLaunchOverrides - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.getLaunchOverrideson your hub
Input
voidOutput
{ heapMb: number | null; rssBudgetMb: number | null }serverManagement.setLaunchOverrides
- Kind: mutation —
POST /trpc/serverManagement.setLaunchOverrides - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=serverManagement.setLaunchOverrideson your hub
Input
{ heapMb: number | null; rssBudgetMb?: number | null }Output
{ heapMb: number | null; rssBudgetMb: number | null; restartRequired: boolean }