fyi.opensocial.getPageDraft

lexicons.opensocial.fyi

Schema Diff

+9 -0

From

CID
bafyreibnmezpcbw...
Indexed At
2026-10-08 18:10 UTC
View this version

To

CID
bafyreic7etzvqze...
Indexed At
2026-10-09 20:04 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 4 non-breaking changes.

Non-Breaking Changes (4)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.network" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.network:items" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.network", kind: "prop", name: Some("network") }
  • AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft.network", tgt: "fyi.opensocial.getPageDraft#draft.network:items", kind: "items", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.network" }
  • AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.network:items" }

Additional Notes

  • Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.network", kind: "prop", name: Some("network") }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft.network", tgt: "fyi.opensocial.getPageDraft#draft.network:items", kind: "items", name: None }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "assistant": {
5 5
      "properties": {
6 6
        "id": {
7 7
          "type": "string"
8 8
        },
9 9
        "name": {
10 10
          "type": "string"
11 11
        },
12 12
        "usedAt": {
13 13
          "format": "datetime",
14 14
          "type": "string"
15 15
        }
16 16
      },
17 17
      "required": [
18 18
        "id",
19 19
        "name",
20 20
        "usedAt"
21 21
      ],
22 22
      "type": "object"
23 23
    },
24 24
    "draft": {
25 25
      "properties": {
26 26
        "by": {
27 27
          "description": "The assistant that made it.",
28 28
          "type": "string"
29 29
        },
30 30
        "html": {
31 31
          "type": "string"
32 32
        },
33 +
        "network": {
34 +
          "description": "For a tab's page: the collections it reads from everyone on the network, which publishing it puts on the tab.",
35 +
          "items": {
36 +
            "format": "nsid",
37 +
            "type": "string"
38 +
          },
39 +
          "maxLength": 20,
40 +
          "type": "array"
41 +
        },
33 42
        "savedAt": {
34 43
          "format": "datetime",
35 44
          "type": "string"
36 45
        },
37 46
        "size": {
38 47
          "type": "integer"
39 48
        },
40 49
        "title": {
41 50
          "description": "For a new page of their own: what the assistant called it.",
42 51
          "type": "string"
43 52
        }
44 53
      },
45 54
      "required": [
46 55
        "html",
47 56
        "savedAt",
48 57
        "by",
49 58
        "size"
50 59
      ],
51 60
      "type": "object"
52 61
    },
53 62
    "main": {
54 63
      "description": "The page the caller's assistant left for one of the site's tabs (which needs group.configure) or for one of the caller's own pages, if any, and the caller's assistants connected to the group. Only the caller's own: nobody sees another member's drafts.",
55 64
      "errors": [
56 65
        {
57 66
          "name": "Forbidden"
58 67
        },
59 68
        {
60 69
          "name": "NotFound"
61 70
        }
62 71
      ],
63 72
      "output": {
64 73
        "encoding": "application/json",
65 74
        "schema": {
66 75
          "properties": {
67 76
            "assistants": {
68 77
              "items": {
69 78
                "ref": "#assistant",
70 79
                "type": "ref"
71 80
              },
72 81
              "type": "array"
73 82
            },
74 83
            "draft": {
75 84
              "ref": "#draft",
76 85
              "type": "ref"
77 86
            }
78 87
          },
79 88
          "required": [
80 89
            "assistants"
81 90
          ],
82 91
          "type": "object"
83 92
        }
84 93
      },
85 94
      "parameters": {
86 95
        "properties": {
87 96
          "channel": {
88 97
            "description": "A tab's channel.",
89 98
            "type": "string"
90 99
          },
91 100
          "group": {
92 101
            "format": "did",
93 102
            "type": "string"
94 103
          },
95 104
          "tab": {
96 105
            "description": "The tab.",
97 106
            "type": "string"
98 107
          },
99 108
          "work": {
100 109
            "description": "Instead of a tab, one of the caller's own pages, by its key: profile, one of theirs, or new.",
101 110
            "type": "string"
102 111
          }
103 112
        },
104 113
        "required": [
105 114
          "group"
106 115
        ],
107 116
        "type": "params"
108 117
      },
109 118
      "type": "query"
110 119
    }
111 120
  },
112 121
  "id": "fyi.opensocial.getPageDraft",
113 122
  "lexicon": 1
114 123
}

Compare Other Versions

Lexicon Garden

@