full diff

fyi.opensocial.getTemplateListing

From
bafyreidqbyftjrlkawliykzess5iwc24bhgthh5dsscfvaoh6ypbnbbj3a indexed 2026-10-20 03:09 UTC View this version
To
bafyreihukxhljk754phtsmely4u4jw2gtmrf6hok3blj5wk7xxmsm74tdu indexed 2026-11-02 18:09 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getTemplateListing#makerView.address" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.getTemplateListing#makerView", tgt: "fyi.opensocial.getTemplateListing#makerView.address", kind: "prop", name: Some("address") }

Migration guidance

Added

  • AddedVertex { vertex_id: "fyi.opensocial.getTemplateListing#makerView.address" }

Notes

  • Non-breaking: AddedEdge { src: "fyi.opensocial.getTemplateListing#makerView", tgt: "fyi.opensocial.getTemplateListing#makerView.address", kind: "prop", name: Some("address") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A template shared with everyone, for its own page: what it's called, who made it, what a tab of it does at its latest version, and every version. For anyone; never one shared within a group.",
66 "errors": [
77 {
88 "name": "NotFound"
99 }
1010 ],
1111 "output": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "description": {
1616 "type": "string"
1717 },
1818 "entry": {
1919 "description": "What a tab of its latest version does, its own kinds of record not yet named for any tab.",
2020 "ref": "fyi.opensocial.template#entry",
2121 "type": "ref"
2222 },
2323 "hidden": {
2424 "description": "Labelled hidden, it or its latest version, by this host's moderators or a labeler it follows: left out of where people look for things to add. Tabs of it keep working.",
2525 "type": "boolean"
2626 },
2727 "keptBy": {
2828 "description": "How many groups on this host have a tab of it now, of any version. Groups elsewhere aren't counted.",
2929 "minimum": 0,
3030 "type": "integer"
3131 },
3232 "kinds": {
3333 "description": "The kinds of record it makes up, under the placeholder namespace each tab names for itself.",
3434 "items": {
3535 "format": "nsid",
3636 "type": "string"
3737 },
3838 "type": "array"
3939 },
4040 "likes": {
4141 "description": "How many people like it, as this host has seen.",
4242 "minimum": 0,
4343 "type": "integer"
4444 },
4545 "listed": {
4646 "description": "Whoever made it asks for it to be listed: its listing says so.",
4747 "type": "boolean"
4848 },
4949 "maker": {
5050 "ref": "#makerView",
5151 "type": "ref"
5252 },
5353 "name": {
5454 "description": "Its record key: lowercase letters, digits and dashes.",
5555 "type": "string"
5656 },
5757 "number": {
5858 "minimum": 1,
5959 "type": "integer"
6060 },
6161 "previews": {
6262 "description": "Pictures of a tab made from its latest version, filled in.",
6363 "items": {
6464 "ref": "#previewView",
6565 "type": "ref"
6666 },
6767 "type": "array"
6868 },
6969 "scan": {
7070 "description": "What this host's scan of its latest version found. What a scan of an earlier one found is on that version.",
7171 "ref": "#scanView",
7272 "type": "ref"
7373 },
7474 "shown": {
7575 "description": "Whether this host lists it where people look for things to add: listed, kept by enough of its groups for long enough, its latest version scanned with nothing found, and nothing labelling it hidden.",
7676 "type": "boolean"
7777 },
7878 "uri": {
7979 "format": "at-uri",
8080 "type": "string"
8181 },
8282 "version": {
8383 "description": "Its latest version, which a tab added from it names.",
8484 "ref": "com.atproto.repo.strongRef",
8585 "type": "ref"
8686 },
8787 "versions": {
8888 "description": "Every version, newest first.",
8989 "items": {
9090 "ref": "fyi.opensocial.listTemplates#versionView",
9191 "type": "ref"
9292 },
9393 "type": "array"
9494 }
9595 },
9696 "required": [
9797 "uri",
9898 "name",
9999 "description",
100100 "maker",
101101 "version",
102102 "number",
103103 "entry",
104104 "versions"
105105 ],
106106 "type": "object"
107107 }
108108 },
109109 "parameters": {
110110 "properties": {
111111 "uri": {
112112 "description": "The template, its fyi.opensocial.template in whoever made it's repo.",
113113 "format": "at-uri",
114114 "type": "string"
115115 }
116116 },
117117 "required": [
118118 "uri"
119119 ],
120120 "type": "params"
121121 },
122122 "type": "query"
123123 },
124124 "makerView": {
125125 "properties": {
126 "address": {
127 "description": "A group's: the hostname its site is at, which is its handle until it takes one of its own.",
128 "type": "string"
129 },
126130 "avatar": {
127131 "format": "uri",
128132 "type": "string"
129133 },
130134 "did": {
131135 "format": "did",
132136 "type": "string"
133137 },
134138 "displayName": {
135139 "type": "string"
136140 },
137141 "group": {
138142 "description": "Whether a group made it: one this host runs.",
139143 "type": "boolean"
140144 },
141145 "handle": {
142146 "format": "handle",
143147 "type": "string"
144148 }
145149 },
146150 "required": [
147151 "did"
148152 ],
149153 "type": "object"
150154 },
151155 "previewView": {
152156 "description": "One picture of a tab made from it, served by this host.",
153157 "properties": {
154158 "alt": {
155159 "description": "What it shows.",
156160 "type": "string"
157161 },
158162 "size": {
159163 "knownValues": [
160164 "wide",
161165 "phone"
162166 ],
163167 "type": "string"
164168 },
165169 "src": {
166170 "description": "Its address on this host: /template-preview/…",
167171 "type": "string"
168172 }
169173 },
170174 "required": [
171175 "src",
172176 "alt"
173177 ],
174178 "type": "object"
175179 },
176180 "scanView": {
177181 "description": "What this host's scan of one version found: its own kinds of record against atproto's rules, what its pages try to load or run that its frame wouldn't let them, and its sizes against this host's limits. A scan, not a person's review.",
178182 "properties": {
179183 "found": {
180184 "description": "Each thing found, in a sentence.",
181185 "items": {
182186 "type": "string"
183187 },
184188 "type": "array"
185189 },
186190 "ok": {
187191 "description": "Nothing was found.",
188192 "type": "boolean"
189193 }
190194 },
191195 "required": [
192196 "ok",
193197 "found"
194198 ],
195199 "type": "object"
196200 }
197201 },
198202 "id": "fyi.opensocial.getTemplateListing",
199203 "lexicon": 1
200204}

Compare other versions