fyi.opensocial.getPageDraft
Schema Diff
+31 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 16 non-breaking changes.
Non-Breaking Changes (16)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.lexicons" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.lexicons:items" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.reads" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.reads:items" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.spaces" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.spaces:items" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.writes" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.writes:items" }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.lexicons", kind: "prop", name: Some("lexicons") }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.reads", kind: "prop", name: Some("reads") }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.spaces", kind: "prop", name: Some("spaces") }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.writes", kind: "prop", name: Some("writes") }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft.lexicons", tgt: "fyi.opensocial.getPageDraft#draft.lexicons:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft.reads", tgt: "fyi.opensocial.getPageDraft#draft.reads:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft.spaces", tgt: "fyi.opensocial.getPageDraft#draft.spaces:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "fyi.opensocial.getPageDraft#draft.writes", tgt: "fyi.opensocial.getPageDraft#draft.writes:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.lexicons" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.lexicons:items" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.reads" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.reads:items" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.spaces" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.spaces:items" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.writes" }AddedVertex { vertex_id: "fyi.opensocial.getPageDraft#draft.writes:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.lexicons", kind: "prop", name: Some("lexicons") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.reads", kind: "prop", name: Some("reads") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.spaces", kind: "prop", name: Some("spaces") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft", tgt: "fyi.opensocial.getPageDraft#draft.writes", kind: "prop", name: Some("writes") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft.lexicons", tgt: "fyi.opensocial.getPageDraft#draft.lexicons:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft.reads", tgt: "fyi.opensocial.getPageDraft#draft.reads:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft.spaces", tgt: "fyi.opensocial.getPageDraft#draft.spaces:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getPageDraft#draft.writes", tgt: "fyi.opensocial.getPageDraft#draft.writes: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
+
"lexicons": {
34
+
"description": "For a tab's page: lexicons of the group's own it brings, which publishing defines.",
35
+
"items": {
36
+
"type": "unknown"
37
+
},
38
+
"type": "array"
39
+
},
33
40
"network": {
34
41
"description": "For a tab's page: the collections it reads from everyone on the network, which publishing it puts on the tab.",
35
42
"items": {
36
43
"format": "nsid",
37
44
"type": "string"
38
45
},
39
46
"maxLength": 20,
40
47
"type": "array"
41
48
},
49
+
"reads": {
50
+
"description": "For a tab's page: the kinds of record it reads from the group's spaces, which publishing puts on the tab.",
51
+
"items": {
52
+
"format": "nsid",
53
+
"type": "string"
54
+
},
55
+
"type": "array"
56
+
},
42
57
"savedAt": {
43
58
"format": "datetime",
44
59
"type": "string"
45
60
},
46
61
"size": {
47
62
"type": "integer"
48
63
},
64
+
"spaces": {
65
+
"description": "For a tab's page: kinds of space it keeps its records in, one of each made for its tab when it's published.",
66
+
"items": {
67
+
"format": "nsid",
68
+
"type": "string"
69
+
},
70
+
"type": "array"
71
+
},
49
72
"title": {
50
73
"description": "For a new page of their own: what the assistant called it.",
51
74
"type": "string"
75
+
},
76
+
"writes": {
77
+
"description": "For a tab's page: the kinds of record it writes for the viewer, which publishing puts on the tab.",
78
+
"items": {
79
+
"format": "nsid",
80
+
"type": "string"
81
+
},
82
+
"type": "array"
52
83
}
53
84
},
54
85
"required": [
55
86
"html",
56
87
"savedAt",
57
88
"by",
58
89
"size"
59
90
],
60
91
"type": "object"
61
92
},
62
93
"main": {
63
94
"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.",
64
95
"errors": [
65
96
{
66
97
"name": "Forbidden"
67
98
},
68
99
{
69
100
"name": "NotFound"
70
101
}
71
102
],
72
103
"output": {
73
104
"encoding": "application/json",
74
105
"schema": {
75
106
"properties": {
76
107
"assistants": {
77
108
"items": {
78
109
"ref": "#assistant",
79
110
"type": "ref"
80
111
},
81
112
"type": "array"
82
113
},
83
114
"draft": {
84
115
"ref": "#draft",
85
116
"type": "ref"
86
117
}
87
118
},
88
119
"required": [
89
120
"assistants"
90
121
],
91
122
"type": "object"
92
123
}
93
124
},
94
125
"parameters": {
95
126
"properties": {
96
127
"channel": {
97
128
"description": "A tab's channel.",
98
129
"type": "string"
99
130
},
100
131
"group": {
101
132
"format": "did",
102
133
"type": "string"
103
134
},
104
135
"tab": {
105
136
"description": "The tab.",
106
137
"type": "string"
107
138
},
108
139
"work": {
109
140
"description": "Instead of a tab, one of the caller's own pages, by its key: profile, one of theirs, or new.",
110
141
"type": "string"
111
142
}
112
143
},
113
144
"required": [
114
145
"group"
115
146
],
116
147
"type": "params"
117
148
},
118
149
"type": "query"
119
150
}
120
151
},
121
152
"id": "fyi.opensocial.getPageDraft",
122
153
"lexicon": 1
123
154
}