Library

The starter library, or one use-case kit of it

The 43 starter templates every account is seeded with, described the way the website describes them: the human name from the schema's title, the committed preview at its real pixel size, the example payload, and the demo block — the three fields a person would want their own words in, labelled for them rather than for the schema.

No key. Nothing here is about an account: it is the same data the template gallery and every template page already publish. Cache it — the body only changes on a deploy, it carries an ETag, and a repeat request with If-None-Match is a 304.

?pack= narrows to one kit and returns it in picker order, lead document first. Without it you get all 43 in name order. Either way packs carries all six kits with their titles and membership, so one request is enough to draw the picker.

source is deliberately not included: it is public, but 43 templates of embedded woff2 is several megabytes and nothing renders in the browser. Use GET /v1/templates/{ref} for the copy on your own account.

get/v1/library

Request

  • Base URL: https://api.galleyrender.com
  • URL: https://api.galleyrender.com/v1/library
  • Auth: none required

Query parameters

pack'hoa' | 'trades' | 'freelancer' | 'events' | 'coach' | 'nonprofit'

One use-case kit. Omit for the whole library.

Headers

If-None-Matchstring

The ETag from a previous response. A match answers 304 with no body.

Response

The library, or the requested kit.

object'library' required

Example response

{
  "pack": {
    "id": "hoa",
    "title": "HOA and condo board",
    "lead": "meeting-minutes",
    "count": 8
  },
  "packs": [
    {
      "id": "hoa",
      "title": "HOA and condo board",
      "lead": "meeting-minutes",
      "count": 8
    }
  ],
  "data": [
    {
      "name": "meeting-minutes",
      "title": "HOA / board meeting minutes",
      "expected_pages": 3,
      "packs": [
        "hoa"
      ],
      "order": {
        "hoa": 1
      },
      "preview": {
        "url": "https://galleyrender.com/templates/meeting-minutes.png",
        "width": 1632,
        "height": 2112
      },
      "demo": {
        "noun": "these minutes",
        "make": "Make the minutes",
        "keep": "Save these minutes",
        "fields": [
          {
            "path": "meeting.date",
            "label": "Meeting date"
          }
        ]
      }
    }
  ]
}

Changes

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