List a site's pages
One row per page, with its URL, layout, title, what it places (sections, menus, listings) and whether it has staged changes. A route that stands for many pages (a collection) appears as one row with a pattern. The rows come from an index, so no page bodies are read. Filter with q (path or title), layout or noLayout, flag (single chip), and page with limit and cursor. Pass group=layout for layout-key group order and pv3. cursors (default order keeps pv2.).
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/sites/{slug}/pages
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.
Query parameters
Page size, 1 to 1000. Defaults to 1000; larger values are clamped. Follow nextCursor for the rest.
Opaque value from the previous page's nextCursor.
Only pages whose path or title contains this text (case-insensitive).
Only pages that use this layout, by file key (layouts/default.html) or name (default).
Only pages with no layout. Cannot be combined with layout.
Only pages matching this chip (combines with other filters).
When layout, rows are ordered by layout file key (code unit), no-layout last, then path within each group. Cursors use the pv3. prefix.
Old name for limit. Use limit.
Old name for cursor. Use cursor.
Old name for q. Use q.
Response
One page of rows.
Example response
{
"routes": [
{
"path": "/about",
"layout": "layouts/default.html"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.