Custom Domains

Find the project assignment for a certificate hostname.

Changed on

A hostname that is not assigned to a project (or is assigned to a project the caller cannot see) is a normal state, so it answers 200 with custom_domain: null rather than a 404.

get/projects/custom-domains/by-host/{hostname}

Request

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

Path parameters

hostnamestring required

Domain hostname

Response

Lookup result; custom_domain is null when the hostname is not assigned to a visible project

Changes

    • breaking

      the custom_domain/oneOf[#/components/schemas/CustomDomainResponse]/created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the custom_domain/oneOf[#/components/schemas/CustomDomainResponse]/expiration_time response's property type changed from integer null to string null, and format from int64 to date-time for status

    • breaking

      the custom_domain/oneOf[#/components/schemas/CustomDomainResponse]/last_renewed response's property type changed from integer null to string null, and format from int64 to date-time for status

    1 more change in this revision