Skip to main content

Get a gateway by ID

get/v1/gateways/{id}

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Response

    created_atstring<date-time>

    Creation date

    domain object
    apexboolean

    Apex domain: connected with A records only, without fault tolerance

    created_atstring<date-time>

    Creation date

    dns_recordstring

    Which record points the domain to us, according to the last DNS check

    Possible values: [A, CNAME]

    Example: CNAME
    domainstring

    Domain

    Example: demo.ru.tuna.am
    domain_zone object
    domainstring

    Domain

    Example: corp.example.com
    has_tls_certificateboolean

    Has a TLS certificate

    idinteger<int64>

    Zone ID

    Example: 301
    locationstring

    Location

    Example: ru
    has_status_logboolean

    Has status history

    has_tls_certificateboolean

    Has an issued certificate

    idinteger<int64>

    Domain ID

    Example: 42
    locationstring

    Location: ru, nl, or global for a name in a cell zone, which doesn't need one

    Possible values: [ru, nl, global]

    Example: ru
    managed_bystring

    Who manages the check status: server means the server, empty means the node. Set only in the domain list for a node

    owner object
    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    provisioned_bystring

    What created or modified the object: terraform means the Terraform provider, empty means another client

    redirect_activeboolean

    A gateway with a redirect is running on the domain: visitors are already being redirected

    redirect_tostring

    Subdomain the gateway will redirect the apex domain to after the DNS check

    statusstring

    Domain status

    Possible values: [unknown, dns_check, tls_check, dns_failed, tls_failed, dns_verified, tls_verified, verified]

    Example: verified
    subdomainstring

    Subdomain

    Example: demo
    typestring

    Domain type

    Possible values: [dynamic, static, external, free]

    Example: static
    idinteger<int64>

    Gateway ID

    Example: 42
    locationstring

    Location

    Possible values: [ru, nl, global]

    Example: ru
    node_revisioninteger<int64>

    Revision on the node

    Example: 7
    owner object
    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    policystring

    Policy

    provisioned_bystring

    What created or modified the object: terraform means the Terraform provider, empty means another client

    requeststring

    Request

    revisioninteger<int64>

    Revision

    Example: 7
    rulesinteger<int64>

    Number of rules

    Example: 3
    updated_atstring<date-time>

    Update date