ReferenceHTTP API
clusterUpdate
The clusterUpdate router: 3 methods of the cluster-update capability, with tier, scope, input and output.
Capability cluster-update · scope system · mode singleton · source packages/types/src/capabilities/cluster-update.cap.ts:149.
Every method is called at /trpc/clusterUpdate.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
previewClusterUpdate | query | admin | admin only | no |
startClusterUpdate | mutation | admin | admin only | no |
getClusterUpdateJob | query | admin | admin only | no |
clusterUpdate.previewClusterUpdate
- Kind: query —
GET /trpc/clusterUpdate.previewClusterUpdate - 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=clusterUpdate.previewClusterUpdateon your hub
Input
ClusterUpdateOptionsSchemaOutput
ClusterUpdatePlanSchemaShapes: ClusterUpdateOptionsSchema · ClusterUpdatePlanSchema
clusterUpdate.startClusterUpdate
- Kind: mutation —
POST /trpc/clusterUpdate.startClusterUpdate - 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=clusterUpdate.startClusterUpdateon your hub
Input
ClusterUpdateOptionsSchemaOutput
StartClusterUpdateResultSchemaShapes: ClusterUpdateOptionsSchema · StartClusterUpdateResultSchema
clusterUpdate.getClusterUpdateJob
- Kind: query —
GET /trpc/clusterUpdate.getClusterUpdateJob - 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=clusterUpdate.getClusterUpdateJobon your hub
Input
{ jobId?: string }Output
ClusterUpdateJobSchema | nullShapes: ClusterUpdateJobSchema