Docs7 Sites

Check a custom domain again

Changed on

Check the custom domain now: the ownership TXT record when it waits for proof, else the DNS and certificate state. A verified path domain starts a rebuild. Owner or admin. Only for GitHub sites: a CLI site (source: "local") answers 404.

post/v2/teamspaces/{teamspaceId}/sites/{siteId}/domain/refresh

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/domain/refresh
  • Auth
    HTTP bearer

Path parameters

teamspaceIdstring uuid required

Teamspace id.

siteIdstring uuid required

Docs7 site id.

Response

The site with the new domain state

Example response

{
  "data": {
    "platformHostname": "acme-docs.docs7.io",
    "context7LibraryName": "/acme/docs"
  }
}

Changes