Docs7 Sites
Check a custom domain again
Changed onCheck 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 URLhttps://context7.com/api
- URLhttps://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/domain/refresh
- AuthHTTP 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
- info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info