MethodPathSummaryAuth
GET/v1/admin/cname-allocationsList CNAME allocation authority in a selected tenant scopeSession
GET/v1/admin/cname-allocations/diagnoseDiagnose CNAME authority for one site in a selected tenant scopeSession
GET/v1/admin/cname-allocations/{allocation_id}Get one CNAME allocation in a selected tenant scopeSession

Contract file:api/control-cname-allocations.openapi.yaml

Operation details

GET /v1/admin/cname-allocations

List CNAME allocation authority in a selected tenant scope

operationId
adminListCnameAllocations
Auth
  • Session: the Bearer session of a signed-in control plane user, used by the customer in their own control plane; a plugin must never ask for it.
Required permissions

All of:platform.admin

Parameters

adminListCnameAllocations Parameters
NameInTypeRequiredDescription
scope_idquerystring(uuid)Yes—
limitqueryintegerNo—
cursorquerystring(uuid)No—
X-Request-IDheaderstringNo—

Responses

adminListCnameAllocations Responses
StatusDescription
200Stable CNAME allocation page.

Fields:items: array<Allocation> next_cursor?: string(uuid)

400Invalid canonical query.
401Authentication is required.
403Permission is required.
404The scope-bound authority was not found.
405Only GET is supported.
408The bounded read timed out.
503The authority reader is unavailable.

What to do on failure

  • 400 Fix the parameters or body per the field list; do not retry unchanged.
  • 401 Check the credential format and whether it expired or was rotated.
  • 403 Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.
  • 404 The resource does not exist or belongs to another tenant.
  • 503 A dependency is unavailable: retry later with the original Idempotency-Key.

↑ Back to list

GET /v1/admin/cname-allocations/diagnose

Diagnose CNAME authority for one site in a selected tenant scope

operationId
adminDiagnoseCnameAllocation
Auth
  • Session: the Bearer session of a signed-in control plane user, used by the customer in their own control plane; a plugin must never ask for it.
Required permissions

All of:platform.admin

Parameters

adminDiagnoseCnameAllocation Parameters
NameInTypeRequiredDescription
scope_idquerystring(uuid)Yes—
site_idquerystring(uuid)Yes—
domainquerystringNo—
hostnamequerystringNo—
X-Request-IDheaderstringNo—

Responses

adminDiagnoseCnameAllocation Responses
StatusDescription
200Repeatable-read CNAME authority diagnosis.

Fields:site_id: string(uuid) mode?: string: site / package owner_id?: string(uuid) allocation_id?: string(uuid) binding_allocation_id?: string(uuid) lkg_allocation_id?: string(uuid) provider_id?: string(uuid) zone_id?: string(uuid) domain?: string hostname?: string state?: string: pending / failed / done ready: boolean reason_codes: array<string>

400Invalid canonical query.
401Authentication is required.
403Permission is required.
404The scope-bound authority was not found.
405Only GET is supported.
408The bounded read timed out.
503The authority reader is unavailable.

What to do on failure

  • 400 Fix the parameters or body per the field list; do not retry unchanged.
  • 401 Check the credential format and whether it expired or was rotated.
  • 403 Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.
  • 404 The resource does not exist or belongs to another tenant.
  • 503 A dependency is unavailable: retry later with the original Idempotency-Key.

↑ Back to list

GET /v1/admin/cname-allocations/{allocation_id}

Get one CNAME allocation in a selected tenant scope

operationId
adminGetCnameAllocation
Auth
  • Session: the Bearer session of a signed-in control plane user, used by the customer in their own control plane; a plugin must never ask for it.
Required permissions

All of:platform.admin

Parameters

adminGetCnameAllocation Parameters
NameInTypeRequiredDescription
scope_idquerystring(uuid)Yes—
allocation_idpathstring(uuid)Yes—
X-Request-IDheaderstringNo—

Responses

adminGetCnameAllocation Responses
StatusDescription
200One scope-bound CNAME allocation.

Fields:id: string(uuid) mode: string: site / package owner_id: string(uuid) provider_id: string(uuid) zone_id: string(uuid) domain: string hostname: string explicit_hostname: boolean state: string: pending / failed / done failure_code?: string job_id: string(uuid) generation: integer(int64) current_revision: integer(int64) lkg_revision?: integer(int64) created_at: string(date-time) updated_at: string(date-time)

400Invalid canonical query.
401Authentication is required.
403Permission is required.
404The scope-bound authority was not found.
405Only GET is supported.
408The bounded read timed out.
503The authority reader is unavailable.

What to do on failure

  • 400 Fix the parameters or body per the field list; do not retry unchanged.
  • 401 Check the credential format and whether it expired or was rotated.
  • 403 Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.
  • 404 The resource does not exist or belongs to another tenant.
  • 503 A dependency is unavailable: retry later with the original Idempotency-Key.

↑ Back to list