Content

List blocks that repeat on 3 or more pages

Blocks with an exact copy on at least 3 pages that are not shared yet, best first, minus the ones dismissed on this site. Also runs of 2–6 blocks that sit next to each other and repeat together (blocks > 1): the longest wins, and a block that is part of a suggested run is not suggested on its own. Read from the site's index — no page is read.

get/api/v1/sites/{slug}/shared-sections/suggestions

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/sites/{slug}/shared-sections/suggestions
  • 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.

Query parameters

limitinteger

How many, 1–20. Default 5.

keystring

A page's content key: each suggestion on that page gets here (its selectors there).

Response

The suggestions.

indexWarmingboolean required

Example response

{
  "suggestions": [
    {
      "why": "Same banner on 6 pages"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.