full diff

fyi.opensocial.getSiteDraft

From
bafyreifo3vll34tnpeora5evoi2nr5cbcens5btbhzumaiqm6bptvvubfu indexed 2026-10-20 05:53 UTC View this version
To
bafyreibjxud5zuraib7emp4bhtyru3xrzquoysjyd73a66g5b3kxwffsbe indexed 2026-10-20 22:50 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getSiteDraft:output.making" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.getSiteDraft:output", tgt: "fyi.opensocial.getSiteDraft:output.making", kind: "prop", name: Some("making") }

Migration guidance

Added

  • AddedVertex { vertex_id: "fyi.opensocial.getSiteDraft:output.making" }

Notes

  • Non-breaking: AddedEdge { src: "fyi.opensocial.getSiteDraft:output", tgt: "fyi.opensocial.getSiteDraft:output.making", kind: "prop", name: Some("making") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "change": {
55 "description": "One thing a draft changes, as a member would name it, and where it is.",
66 "properties": {
77 "channel": {
88 "description": "The channel it's in, by its address.",
99 "type": "string"
1010 },
1111 "how": {
1212 "description": "Added or removed; otherwise changed.",
1313 "knownValues": [
1414 "added",
1515 "removed"
1616 ],
1717 "type": "string"
1818 },
1919 "name": {
2020 "description": "As a member would say it: the tab's name, \"the colours and fonts\".",
2121 "type": "string"
2222 },
2323 "path": {
2424 "description": "A public page's path.",
2525 "type": "string"
2626 },
2727 "tab": {
2828 "description": "The tab, by its address.",
2929 "type": "string"
3030 },
3131 "what": {
3232 "description": "A tab (its page or settings), a tab's public page, a channel, the site design around the public pages, the colours and fonts, the public menu, or the group's own: its name, about, rules, pictures.",
3333 "knownValues": [
3434 "tab",
3535 "public",
3636 "channel",
3737 "design",
3838 "look",
3939 "menu",
4040 "group"
4141 ],
4242 "type": "string"
4343 }
4444 },
4545 "required": [
4646 "what",
4747 "name"
4848 ],
4949 "type": "object"
5050 },
5151 "draft": {
5252 "properties": {
5353 "avatar": {
5454 "description": "The group's picture, as the draft changes it.",
5555 "format": "uri",
5656 "type": "string"
5757 },
5858 "banner": {
5959 "description": "Its banner, as the draft changes it.",
6060 "format": "uri",
6161 "type": "string"
6262 },
6363 "by": {
6464 "description": "Who made the last change to it: an AI app's name.",
6565 "type": "string"
6666 },
6767 "changed": {
6868 "description": "What it changes from the live site, each thing once.",
6969 "items": {
7070 "ref": "#change",
7171 "type": "ref"
7272 },
7373 "type": "array"
7474 },
7575 "createdAt": {
7676 "format": "datetime",
7777 "type": "string"
7878 },
7979 "description": {
8080 "description": "What the group says about itself, as the draft changes it.",
8181 "type": "string"
8282 },
8383 "joinPolicy": {
8484 "description": "How people join, as the draft changes it.",
8585 "type": "string"
8686 },
8787 "name": {
8888 "description": "The group's name, as the draft changes it.",
8989 "type": "string"
9090 },
9191 "note": {
9292 "description": "What the AI app that made it says it does, in its own words.",
9393 "maxGraphemes": 300,
9494 "maxLength": 3000,
9595 "type": "string"
9696 },
9797 "rules": {
9898 "description": "The group's rules, as the draft has them.",
9999 "items": {
100100 "ref": "#rule",
101101 "type": "ref"
102102 },
103103 "type": "array"
104104 },
105105 "updatedAt": {
106106 "format": "datetime",
107107 "type": "string"
108108 },
109109 "uri": {
110110 "description": "The draft's site record, in the members space.",
111111 "format": "at-uri",
112112 "type": "string"
113113 }
114114 },
115115 "required": [
116116 "by",
117117 "updatedAt",
118118 "uri"
119119 ],
120120 "type": "object"
121121 },
122122 "main": {
123123 "description": "The caller's draft of the group's site, if they have one, and whether the site's last publish can be undone. Only for whoever may change the site.",
124124 "errors": [
125125 {
126126 "name": "Forbidden"
127127 }
128128 ],
129129 "output": {
130130 "encoding": "application/json",
131131 "schema": {
132132 "properties": {
133133 "draft": {
134134 "ref": "#draft",
135135 "type": "ref"
136136 },
137 "making": {
138 "description": "Whether the host is making the caller a draft now: a new group's front page.",
139 "type": "boolean"
140 },
137141 "undo": {
138142 "ref": "#undo",
139143 "type": "ref"
140144 }
141145 },
142146 "type": "object"
143147 }
144148 },
145149 "parameters": {
146150 "properties": {
147151 "group": {
148152 "format": "did",
149153 "type": "string"
150154 }
151155 },
152156 "required": [
153157 "group"
154158 ],
155159 "type": "params"
156160 },
157161 "type": "query"
158162 },
159163 "rule": {
160164 "properties": {
161165 "text": {
162166 "type": "string"
163167 },
164168 "title": {
165169 "type": "string"
166170 }
167171 },
168172 "required": [
169173 "title"
170174 ],
171175 "type": "object"
172176 },
173177 "undo": {
174178 "properties": {
175179 "mine": {
176180 "type": "boolean"
177181 },
178182 "publishedAt": {
179183 "format": "datetime",
180184 "type": "string"
181185 }
182186 },
183187 "required": [
184188 "publishedAt",
185189 "mine"
186190 ],
187191 "type": "object"
188192 }
189193 },
190194 "id": "fyi.opensocial.getSiteDraft",
191195 "lexicon": 1
192196}

Compare other versions