Draft & publish
Check the draft for problems before publishing
A read-only plan check over the draft: route and page counts, collection and template mistakes, redirect loops and chains, pages whose bytes are missing, pending third-party integrations and SEO notes. Run it before a large build and again before publishSite. It reads the whole site, so call it on demand rather than in a loop. It records a draft SEO snapshot, which the dashboard shows.
post/api/v1/sites/{slug}/preflight
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/sites/{slug}/preflight
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
slugstring required
Example:acme-studio
Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.
Request body
Example request
{
"requiredRoutes": 12
}Response
The findings. Read ok and suggestions.
Example response
{
"integrations": {
"pending": [
{
"vendor": "gtm"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.