Skip to content
SHC Docs

Node API

  • router → prefix /api/resource/Node (tags: Node)
  • method_router → prefix /api/method

Hand-maintained notes against modules/node/router.go. Route inventory (generated): routes.md. Response models (generated): response-models/node.md.

The shc.node.ls / shc.node.status list/status method routes are served by the cluster module, not here.

MethodPathPermission
GET/api/resource/Node
GET/api/resource/Node/{name}

The resource surface is read-only. Node membership is created by the enrollment path (shc node join, see cluster) and removed by shc.cluster.rm / shc.cluster.forget — there is no POST/PUT/DELETE /api/resource/Node.

MethodPathPermission
GET/api/method/shc.node.config.show
POST/api/method/shc.node.config.setplatform:manage
POST/api/method/shc.node.config.unsetplatform:manage
GET/api/method/shc.node.deployments
POST/api/method/shc.node.health
GET/api/method/shc.node.swarm_tokensplatform:manage