Websites

Get website hosting configuration

Changed on

Returns website hosting configuration including the gateway domain.

Clients use this endpoint to discover the gateway domain they should point their custom domain's DNS records to when hosting a website. This is required when dns_hosting_enabled is false and the user manages their own DNS.

See also:.*

get/api/websites/config

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/websites/config
  • Auth: none declared

Response

Website configuration

gateway_domainstring
nameserversstring[]

Changes

    • info

      added the non-success response with the status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status