code.pablomurad.com

patchwork

Publishes the revisions of your pages as a feed, with notes and readable diffs, written in Go

schema/v1/page.json raw
1
2
3
4
5
6
7
8
9
10
11
12
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://git.pablomurad.com/pablo/patchwork/raw/branch/main/schema/v1/page.json",
  "title": "GET /api/v1/pages/{slug}",
  "description": "A page and its public history, newest version first.",
  "$ref": "defs.json#/$defs/pageSummaryFields",
  "unevaluatedProperties": false,
  "required": ["versions"],
  "properties": {
    "versions": { "type": "array", "minItems": 1, "items": { "$ref": "defs.json#/$defs/versionSummary" } }
  }
}