Power

The application-wide default origin

The origin the edge proxies to for any of this application's connections that have no origin of their own. Resolution order is: the connection's own origin, then this default, then none (the edge answers 421).

This exists because a per-connection origin is the wrong grain for the common case: one application serving thousands of customer domains, all proxying to the same place and dispatching on X-Forwarded-Host.

get/applications/{id}/power:default

Request

  • Base URL: https://api.customdomain.ai/v1
  • URL: https://api.customdomain.ai/v1/applications/{id}/power:default
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

Response

The current default

application_idstring
default_originstring

Absent when no default is set.

configuredboolean

Whether a default is set. Distinguishes "no default" from an empty value.

Changes

No recorded changes to this operation across all 1 revision of this API.