AdminGate

get/admin/gate-settings

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/admin/gate-settings
  • Auth: HTTP bearer

Response

Current admin gate config

allowed_hostsstring[] required

Host header values allowed. Empty = any host.

allowed_ipsstring[] required

IPs / CIDRs allowed to reach the admin listener. Empty = any source.

editableboolean required

True when the config is writable through this API. False when env vars are dictating the active config.

source'default' | 'db' | 'env' required

Where the active gate configuration came from. Env-supplied configs are frozen at the process level — the UI shows them read-only and refuses to persist DB writes. DB-supplied configs are editable at runtime.

trust_forwarded_forboolean required

When true, the gate trusts X-Forwarded-For from loopback peers.

Changes

No recorded changes to this operation across all 50 revisions of this API.