Content

List content keys with their hashes

A cheap read of the site's content as key, hash and type, without any bodies. By default it is the published (live) set. With draft=1 it is the draft set, with a status per key. Add routes=1 to include the route table. The response carries an ETag; send it back as If-None-Match to get 304 when nothing changed.

get/api/v1/sites/{slug}/manifest

Request

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

draft'1'

1: the draft set instead of the published set.

routes'1'

1: include the route table (routes).

entries'0'

0 (published mode only): skip the entries and return just collections and forms. Much cheaper on a large site.

limitinteger

Page size, 1 to 1000. Defaults to 1000; larger values are clamped. Follow nextCursor for the rest.

cursorstring

Opaque value from the previous page's nextCursor.

Headers

If-None-Matchstring

The ETag of your cached copy. A match answers 304 with no body.

Response

The manifest.

versioninteger required

Published version counter (0 when never published).

nextCursorstring nullable required

Pass as cursor for the next page; null on the last page.

collectionsobject

Published mode only: the site's collection registry.

formsobject

Published mode only: the site's form settings.

Example response

{
  "entries": [
    {
      "key": "about.html",
      "hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
      "type": "text/html; charset=utf-8"
    }
  ],
  "routes": [
    {
      "path": "/about"
    }
  ]
}

Changes

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