Content
Find where an element repeats before sharing it
Reads the element from the page's stored HTML and looks it up in the site's section index: the pages with an exact copy, the pages with a similar copy (same structure, different words), whether it can go on every page, and a free name. With selectors, the same for a run of elements next to each other (no similar copies). Writes nothing. One stored-page read; the counts come from the index.
post/api/v1/sites/{slug}/shared-sections/analyze
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/sites/{slug}/shared-sections/analyze
- 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
Response
Where it repeats.
Example response
{
"block": {
"tag": "section"
},
"proposedName": "booking-banner",
"placement": {
"layout": "layouts/default.html"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.