Skip to content

Local API write inventory ​

Generated by node scripts/local-api-write-inventory.js. Router paths below are relative to their mount in server.js.

Common admission policy ​

Every local /api write passes through localHostGuard and localRequestGuard before body parsing, provider routing or side effects. This includes settings, credentials, account operations, provider actions, queries that use POST, console tickets and plugin routes. The request's Host must be localhost, a canonical loopback IP, or the configured KUA_HOSTNAME alias. Forwarding headers have no authority.

Browser origins must be serialized HTTP(S) origins on those allowed hosts. The application accepts local development ports. Opaque, malformed, duplicate and foreign origins fail with 403. Cross-site Fetch Metadata also fails. An originless same-site browser request fails, while originless native clients and same-origin browser requests remain supported. The tests exercise form, text and JSON requests before a handler or parser can run.

All console WebSocket paths apply the same admission policy before consuming a one-use, path-bound session ticket. Console preparation additionally requires a loopback peer. Provider permissions, read-only mode, confirmations and audit checks continue inside the admitted request.

GET and HEAD routes retain their existing controls. OAuth navigation and GET callbacks use their provider-specific state checks. OPTIONS does not grant cross-origin access. This inventory records write methods and does not redefine their authorization or classify POST queries as provider mutations.

Declared write handlers ​

There are 262 declared handlers in this source snapshot. Routes mounted under /api inherit the common admission policy, including handlers added after this inventory is regenerated. Additional guards such as X-Profile-Id, context confirmations, session authentication and read-only policies remain in their handlers.

MethodDeclared pathSource
POST/api/kubeconfig/importserver.js
POST/api/kubeconfig/pathserver.js
PUT/api/system/read-onlyserver.js
PUT/api/system/cache-settingsserver.js
POST/api/contexts/switchserver.js
DELETE/api/contexts/:nameserver.js
DELETE/api/:namespace/pods/:nameserver.js
POST/api/:namespace/${kind}/:name/restartserver.js
POST/api/:namespace/deployments/:name/set-imageserver.js
POST/api/:namespace/deployments/:name/scaleserver.js
PUT/api/:namespace/deployments/:name/envserver.js
DELETE/api/:namespace/deployments/:nameserver.js
POST/api/:namespace/statefulsets/:name/scaleserver.js
DELETE/api/:namespace/statefulsets/:nameserver.js
DELETE/api/:namespace/daemonsets/:nameserver.js
DELETE/api/:namespace/services/:nameserver.js
POST/api/:namespace/services/:name/portforwardserver.js
POST/api/:namespace/pods/:name/portforwardserver.js
DELETE/api/portforward/:localPortserver.js
DELETE/api/:namespace/ingresses/:nameserver.js
DELETE/api/:namespace/configmaps/:nameserver.js
PUT/api/:namespace/configmaps/:name/dataserver.js
DELETE/api/:namespace/secrets/:nameserver.js
PUT/api/:namespace/secrets/:name/dataserver.js
DELETE/api/:namespace/pvcs/:nameserver.js
POST/api/nodes/:name/cordonserver.js
POST/api/nodes/:name/drainserver.js
PUT/api/applyserver.js
POST/api/console/sessionslib/consoleSessions.js
POST/log-cachelib/kubeLogs/routes.js
POST/log-cache/synclib/kubeLogs/routes.js
DELETE/log-cachelib/kubeLogs/routes.js
PATCH/log-cachelib/kubeLogs/routes.js
POST/log-scanslib/kubeLogs/routes.js
POST/log-scans/:id/:actionlib/kubeLogs/routes.js
DELETE/log-scans/:idlib/kubeLogs/routes.js
POST/log-groups/querylib/kubeLogs/routes.js
POST/loginroutes/account.js
POST/refreshroutes/account.js
POST/logoutroutes/account.js
POST/checkoutroutes/account.js
POST/portalroutes/account.js
DELETE/backups/:idroutes/account.js
POST/acceptancesroutes/advisor.js
DELETE/acceptances/:idroutes/advisor.js
POST/alerts/readroutes/advisor.js
PUT/schedulesroutes/advisor.js
DELETE/schedulesroutes/advisor.js
POST/webhooksroutes/advisor.js
PATCH/webhooks/:idroutes/advisor.js
DELETE/webhooks/:idroutes/advisor.js
POST/webhooks/:id/testroutes/advisor.js
POST/applicationsroutes/apm.js
POST/candidatesroutes/apm.js
POST/deployment-resourcesroutes/apm.js
POST/applications/:applicationId/link-stackroutes/apm.js
POST/applications/:applicationId/discovery/kubernetes/previewroutes/apm.js
PATCH/applications/:applicationIdroutes/apm.js
DELETE/applications/:applicationIdroutes/apm.js
PATCH/applications/:applicationId/architecture-linkroutes/apm.js
POST/applications/:applicationId/architecture-link/projectroutes/apm.js
DELETE/applications/:applicationId/architecture-linkroutes/apm.js
POST/applications/:applicationId/registry/relationships/:relationshipId/reviewroutes/apm.js
POST/applications/:applicationId/registry/reconcileroutes/apm.js
PATCH/applications/:applicationId/thresholdsroutes/apm.js
POST/applications/:applicationId/resourcesroutes/apm.js
PATCH/applications/:applicationId/resources/:resourceIdroutes/apm.js
DELETE/applications/:applicationId/resources/:resourceIdroutes/apm.js
POST/applications/:applicationId/topology/analyze-cloudroutes/apm.js
POST/applications/:applicationId/process-tracesroutes/apm.js
POST/applications/:applicationId/edgesroutes/apm.js
POST/applications/:applicationId/edges/batchroutes/apm.js
DELETE/applications/:applicationId/edges/:edgeIdroutes/apm.js
POST/applications/:applicationId/log-cacheroutes/apm.js
PATCH/applications/:applicationId/log-cacheroutes/apm.js
DELETE/applications/:applicationId/log-cacheroutes/apm.js
POST/applications/:applicationId/collect-nowroutes/apm.js
POST/projectsroutes/architecture.js
POST/projects/:projectId/applicationsroutes/architecture.js
DELETE/projects/:projectId/applications/:applicationIdroutes/architecture.js
DELETE/projects/:projectIdroutes/architecture.js
PUT/projects/:projectId/graphroutes/architecture.js
POST/projects/:projectId/operationsroutes/architecture.js
POST/projects/:projectId/discovery/aws/previewroutes/architecture.js
POST/projects/:projectId/discovery/aws/sync-previewroutes/architecture.js
POST/projects/:projectId/discovery/aws/sync-applyroutes/architecture.js
POST/projects/:projectId/discovery/aws/importroutes/architecture.js
POST/kubernetes/checkroutes/architecture.js
POST/kubernetes/architecture/previewroutes/architecture.js
POST/clouds/:provider/architecture/previewroutes/architecture.js
POST/projects/:projectId/discovery/kubernetes/previewroutes/architecture.js
POST/projects/:projectId/discovery/driftroutes/architecture.js
POST/projects/:projectId/discovery/drift-applyroutes/architecture.js
POST/projects/:projectId/discovery/kubernetes/driftroutes/architecture.js
POST/projects/:projectId/discovery/kubernetes/drift-applyroutes/architecture.js
POST/projects/:projectId/discovery/kubernetes/rolloutsroutes/architecture.js
POST/projects/:projectId/discovery/kubernetes/securityroutes/architecture.js
POST/projects/:projectId/discovery/${provider}/previewroutes/architecture.js
POST/projects/:projectId/discovery/${provider}/importroutes/architecture.js
POST/projects/:projectId/snapshotsroutes/architecture.js
POST/projects/:projectId/snapshots/:snapshotId/revertroutes/architecture.js
PUT/settingsroutes/auditLog.js
POST/forward/testroutes/auditLog.js
DELETE/logsroutes/auditLog.js
POST/sso/startroutes/aws.js
POST/sso/pollroutes/aws.js
POST/sso/credentialsroutes/aws.js
POST/overview/advisor/s3routes/aws.js
POST/cloudwatch/dashboards/:name/widgets/:index/logs/queryroutes/aws.js
POST/ecs/:cluster/:service/startroutes/aws.js
POST/ecs/:cluster/:service/stoproutes/aws.js
POST/ec2/:id/startroutes/aws.js
POST/ec2/:id/stoproutes/aws.js
POST/lambda/:name/invokeroutes/aws.js
POST/lambda/activityroutes/aws.js
POST/stepfunctions/activityroutes/aws.js
POST/s3routes/aws.js
POST/k8s/applyroutes/aws.js
POST/sqs/activityroutes/aws.js
POST/sns/activityroutes/aws.js
PUT/tagsroutes/aws.js
POST/lambda/:name/loggingroutes/aws.js
POST/ecs/:cluster/:service/loggingroutes/aws.js
POST/eks/:name/add-kubeconfigroutes/aws.js
POST/glue/jobs/:name/runroutes/aws.js
POST/rds/:id/reset-passwordroutes/aws.js
POST/docdb/:id/reset-passwordroutes/aws.js
POST/docdbroutes/aws.js
POST/dynamodb/:table/scanroutes/aws.js
POST/dynamodb/:table/queryroutes/aws.js
PUT/dynamodb/:table/itemroutes/aws.js
DELETE/dynamodb/:table/itemroutes/aws.js
POST/dynamodbroutes/aws.js
POST/athena/queryroutes/aws.js
POST/cloudfront/:id/invalidateroutes/aws.js
POST/cloudfrontroutes/aws.js
POST/route53/validateroutes/aws.js
PATCH/cognito/userpools/:id/users/:usernameroutes/aws.js
POST/cognito/userpools/:id/users/:username/groups/:groupnameroutes/aws.js
DELETE/cognito/userpools/:id/users/:username/groups/:groupnameroutes/aws.js
POST/cognito/userpools/:id/usersroutes/aws.js
POST/cognito/userpools/:id/users/:username/reset-passwordroutes/aws.js
POST/cognito/userpools/:id/users/:username/set-passwordroutes/aws.js
POST/cognito/userpools/:id/users/:username/mfaroutes/aws.js
POST/cognito/userpools/:id/users/:username/enableroutes/aws.js
POST/cognito/userpools/:id/users/:username/disableroutes/aws.js
DELETE/cognito/userpools/:id/users/:usernameroutes/aws.js
POST/cognito/userpools/:id/groupsroutes/aws.js
POST/secrets/:name/import-selectedroutes/aws.js
POST/secrets/:name/import-to-profileroutes/aws.js
POST/datapipeline/:id/activateroutes/aws.js
POST/datapipeline/:id/deactivateroutes/aws.js
POST/lex/:botId/aliasesroutes/aws.js
POST/lex/:botId/chatroutes/aws.js
POST/lex/:botId/buildroutes/aws.js
POST/cloudwatch/log-cacheroutes/aws.js
POST/cloudwatch/log-cache/syncroutes/aws.js
DELETE/cloudwatch/log-cacheroutes/aws.js
PATCH/cloudwatch/log-cacheroutes/aws.js
POST/cloudwatch/log-scansroutes/aws.js
POST/cloudwatch/log-scans/:id/:actionroutes/aws.js
DELETE/cloudwatch/log-scans/:idroutes/aws.js
POST/cloudwatch/log-groups/queryroutes/aws.js
POST/cloudwatch/log-groups/insightsroutes/aws.js
POST/cloudformation/stack/driftroutes/aws.js
POST/cloudformation/stack/parameter-change-setroutes/aws.js
POST/cloudformation/change-set/executeroutes/aws.js
DELETE/cloudformation/change-setroutes/aws.js
POST/cloudformation/stack/termination-protectionroutes/aws.js
POST/cloudformation/stack/deleteroutes/aws.js
POST/:id/:actionroutes/backgroundTasks.js
POST/profilesroutes/envManager.js
PUT/profiles/:idroutes/envManager.js
DELETE/profiles/:idroutes/envManager.js
POST/profiles/:id/exportroutes/envManager.js
POST/importroutes/envManager.js
POST/gcloud-loginroutes/gcp.js
POST/gcloud-configsroutes/gcp.js
POST/gke/:location/:cluster/connectroutes/gcp.js
POST/cloudrun/:region/:service/startroutes/gcp.js
POST/cloudrun/:region/:service/stoproutes/gcp.js
POST/compute/vms/:zone/:name/startroutes/gcp.js
POST/compute/vms/:zone/:name/stoproutes/gcp.js
POST/sql/:instance/startroutes/gcp.js
POST/sql/:instance/stoproutes/gcp.js
POST/secrets/:name/import-selectedroutes/gcp.js
POST/functions/:location/:name/invokeroutes/gcp.js
DELETE/storage/:bucket/objectroutes/gcp.js
POST/storage/:bucket/uploadroutes/gcp.js
POST/bigquery/queryroutes/gcp.js
POST/spanner/instances/:instance/databases/:database/queryroutes/gcp.js
POST/scheduler/jobs/:location/:name/runroutes/gcp.js
POST/scheduler/jobs/:location/:name/pauseroutes/gcp.js
POST/scheduler/jobs/:location/:name/resumeroutes/gcp.js
POST/cloudrun-jobs/:location/:job/runroutes/gcp.js
POST/logging/queryroutes/gcp.js
PUT/compute/vms/:zone/:name/labelsroutes/gcp.js
PUT/cloudrun/:region/:service/labelsroutes/gcp.js
PUT/sql/:instance/labelsroutes/gcp.js
PUT/history/pollingroutes/gcp.js
POST/history/polling/runroutes/gcp.js
POST/estimate/:kindroutes/gcp.js
POST/cloudrunroutes/gcp.js
DELETE/cloudrun/:region/:serviceroutes/gcp.js
POST/compute/vmsroutes/gcp.js
DELETE/compute/vms/:zone/:nameroutes/gcp.js
POST/sqlroutes/gcp.js
DELETE/sql/:instanceroutes/gcp.js
DELETE/releases/:ns/:nameroutes/helm.js
POST/reposroutes/helm.js
DELETE/repos/:nameroutes/helm.js
POST/repos/updateroutes/helm.js
POST/installroutes/helm.js
POST/applicationsroutes/kuaApps.js
PUT/applications/:applicationId/githubroutes/kuaApps.js
POST/applications/:applicationId/observer/replaceroutes/kuaApps.js
POST/applications/:applicationId/observer/ignoreroutes/kuaApps.js
POST/applications/:applicationId/recommendations/dismissroutes/kuaApps.js
POST/applications/:applicationId/resources/attachroutes/kuaApps.js
PUT/agent-accessroutes/kuaApps.js
POST/changes/previewroutes/kuaApps.js
POST/changes/:planId/applyroutes/kuaApps.js
DELETE/applications/:applicationId/registry/resources/:resourceIdroutes/kuaApps.js
PATCH/applications/:applicationIdroutes/kuaApps.js
DELETE/applications/:applicationIdroutes/kuaApps.js
POST/applications/:applicationId/scopesroutes/kuaApps.js
DELETE/applications/:applicationId/scopes/:scopeKeyroutes/kuaApps.js
PUT/applications/:applicationId/scopes/:scopeKey/bindingroutes/kuaApps.js
POST/applications/:applicationId/scopes/:scopeKey/binding/verifyroutes/kuaApps.js
DELETE/applications/:applicationId/scopes/:scopeKey/bindingroutes/kuaApps.js
POST/applications/:applicationId/relationships/explainroutes/kuaApps.js
POST/import/previewroutes/kuaApps.js
POST/importroutes/kuaApps.js
POST/:applicationId/cloud-backuproutes/kuaApps.js
POST/cloud-backups/:backupId/restoreroutes/kuaApps.js
POST/sync/nowroutes/kuaApps.js
POST/:applicationId/syncroutes/kuaApps.js
DELETE/:applicationId/syncroutes/kuaApps.js
POST/:applicationId/sync/resolveroutes/kuaApps.js
POST/sync/:syncId/addroutes/kuaApps.js
POST/team/refreshroutes/kuaApps.js
POST/team/items/:itemId/importroutes/kuaApps.js
PATCH/team/items/:itemIdroutes/kuaApps.js
POST/team/items/:itemId/backupsroutes/kuaApps.js
POST/team/items/:itemId/backups/:backupId/restoreroutes/kuaApps.js
PATCH/team/members/:userIdroutes/kuaApps.js
POST/eventsroutes/kuappsCoordinator.js
POST/writeroutes/localShell.js
PUT/:idroutes/plugins.js
POST/recipes/validateroutes/proxmox.js
POST/recipes/planroutes/proxmox.js
POST/mcp/verifyroutes/systemTools.js
POST/mcp/installroutes/systemTools.js
POST/mcp/uninstallroutes/systemTools.js
POST/usage/:actionroutes/systemTools.js
POST/ml/enableroutes/systemTools.js
POST/ml/disableroutes/systemTools.js
PUT/log-cache-budgetroutes/systemTools.js
POST/deployments/:deploymentId/redeployroutes/vercel.js
PATCH/deployments/:deploymentId/promoteroutes/vercel.js
PATCH/deployments/:deploymentId/cancelroutes/vercel.js
POST/oauth/callbackroutes/vercel.js