Skip to content

Health

Generated from the gateway schema. Do not edit.

Queries

domains

The domains this tenant registered.

query { domains: [Domain!]! }

Requires: tenant VIEWER

Returns: [Domain!]!

domainsAvailable

False where domains of your own are not switched on.

query { domainsAvailable: Boolean! }

Requires: tenant VIEWER

Returns: Boolean!

exposure

query { exposure(host: String!, namespace: String): Exposure! }

Requires: tenant VIEWER

Argument Type Description
host String!
namespace String

Returns: Exposure!

exposures

The hosts this tenant published. Platform administrators name a namespace, or get every namespace.

query { exposures(namespace: String, list: List): ExposureListResult! }

Requires: tenant VIEWER

Argument Type Description
namespace String
list List

Returns: ExposureListResult!

exposuresAvailable

False where publishing hostnames is not switched on; the list is then empty and the other fields fail with NOT_CONFIGURED.

query { exposuresAvailable: Boolean! }

Requires: tenant VIEWER

Returns: Boolean!

live

query { live: Boolean! }

Requires: an authenticated member of the tenant

Returns: Boolean!

ready

query { ready: Boolean! }

Requires: an authenticated member of the tenant

Returns: Boolean!

Mutations

exposeHost

Publishes a host or changes where it goes: the platform routes the host to the target, obtains its certificate and, in a domain it manages, keeps its DNS record. Asking again with the same input changes nothing. A host has one holder; a host held by someone else is refused with CONFLICT. A host the platform's ingress controller already published for the same namespace is taken over as it is, and withdrawn like any other. A sign-in or other middleware in front of such a host is kept when the input leaves basicAuth out; an input that would remove it is refused with CONFLICT unless it says replace: true. Platform administrators name the namespace the host is for.

mutation { exposeHost(input: ExposeHostInput!, namespace: String): Exposure! }

Requires: tenant EDITOR

Argument Type Description
input ExposeHostInput!
namespace String

Returns: Exposure!

registerDomain

Registers a domain of your own, or repeats the registration: the answer names the TXT record to publish. A domain somebody else has proved, a domain of the platform and a suffix shared by many are refused.

mutation { registerDomain(domain: String!): Domain! }

Requires: tenant ADMIN

Argument Type Description
domain String!

Returns: Domain!

removeDomain

Refused while hosts are published under the domain.

mutation { removeDomain(domain: String!): Boolean! }

Requires: tenant ADMIN

Argument Type Description
domain String!

Returns: Boolean!

unexposeHost

Withdraws a host: its route, its certificate use and the DNS record the platform made.

mutation { unexposeHost(host: String!, namespace: String): Boolean! }

Requires: tenant EDITOR

Argument Type Description
host String!
namespace String

Returns: Boolean!

verifyDomain

Looks for the TXT record in public DNS; fails with VERIFICATION_FAILED until it is there.

mutation { verifyDomain(domain: String!): Domain! }

Requires: tenant ADMIN

Argument Type Description
domain String!

Returns: Domain!