code.pablomurad.com

patchwork

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

internal/render/testdata/golden/api/v1/pages.json raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  "pages": [
    {
      "uid": "p_test0001",
      "slug": "remote-work",
      "path": "2026-06-21-remote-work.md",
      "title": "Remote work",
      "url": "https://moonflowersociety.org/idea/remote-work",
      "history_url": "https://moonflowersociety.org/idea/remote-work/history",
      "maturity": "sprout",
      "original_date": "2026-06-21",
      "first_seen_at": "2026-10-01T15:00:00Z",
      "last_revised_at": "2026-10-04T15:00:00Z",
      "revision_count": 2,
      "latest_number": 3
    },
    {
      "uid": "p_test0003",
      "slug": "draft",
      "path": "draft.md",
      "title": "draft",
      "url": "https://moonflowersociety.org/idea/draft",
      "history_url": "https://moonflowersociety.org/idea/draft/history",
      "original_date": "2026-10-06",
      "first_seen_at": "2026-10-06T15:00:00Z",
      "revision_count": 0,
      "latest_number": 1
    },
    {
      "uid": "p_test0002",
      "slug": "notes",
      "path": "notes.md",
      "title": "Notes",
      "url": "https://moonflowersociety.org/idea/notes",
      "history_url": "https://moonflowersociety.org/idea/notes/history",
      "original_date": "2026-10-02",
      "first_seen_at": "2026-10-02T15:00:00Z",
      "revision_count": 0,
      "latest_number": 1
    }
  ]
}