Skip to main content
PUT
Ensure the desired routing overlay for one exact StackKit deployment and Node

प्राधिकरण

Authorization
string
header
आवश्यक

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

हेडर

Idempotency-Key
string
आवश्यक

Stable key for safely replaying this exact routing mutation.

Required string length: 1 - 256
If-Match
string

Optional optimistic-concurrency routing revision, for example "3".

पथ पैरामीटर

id
string
आवश्यक

Stack ID

बॉडी

application/json
server_id
string
आवश्यक

Exact canonical ServerRuntime target belonging to the stack and owner. For a managed lease this is the server_id exposed by the operations/ worker projection. If that read-model row is not present yet, TechStack may create only this deterministic ID from the validated exact lease.

Minimum string length: 1
mode
enum<string>
आवश्यक
उपलब्ध विकल्प:
custom-domain
domain
string
आवश्यक

Normalized custom domain; schemes, paths, ports, and wildcards are rejected.

Minimum string length: 1
उदाहरण:

"example.com"

provenance
object
आवश्यक
lease_id
string

Exact RuntimeLease for a managed target. Omit for a local/Basement ServerRuntime that genuinely has no lease; invented leases are rejected.

Minimum string length: 1
ensure_rollout
boolean
डिफ़ॉल्ट:false

Request reconciliation without implying that it has already been dispatched or applied.

प्रतिक्रिया

Desired routing state persisted; no rollout was requested.

data
object
आवश्यक
meta
object
आवश्यक