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