Dominevo
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.

MethodKindTierToken scopeViewer
previewClusterUpdatequeryadminadmin onlyno
startClusterUpdatemutationadminadmin onlyno
getClusterUpdateJobqueryadminadmin onlyno

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.previewClusterUpdate on your hub

Input

ClusterUpdateOptionsSchema

Output

ClusterUpdatePlanSchema

Shapes: 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.startClusterUpdate on your hub

Input

ClusterUpdateOptionsSchema

Output

StartClusterUpdateResultSchema

Shapes: 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.getClusterUpdateJob on your hub

Input

{ jobId?: string }

Output

ClusterUpdateJobSchema | null

Shapes: ClusterUpdateJobSchema