full diff

social.coves.embed.external

coves.social +2 −2
From
bafyreigdicoirbom4g4uhimpbpmhfhrpnvvsfnvjy3ldorlr66zgcdi3da indexed 2026-07-24 05:18 UTC View this version
To
bafyreidihvgbgvncg7qrt5546g6aqog2ao2pzfyfvdqu7yrug2fdur5m6q indexed 2026-09-07 20:28 UTC View this version

Compatibility

breaking 2 breaking changes, 2 non-breaking changes.

Breaking changes (2)
  • RemovedEdge RemovedEdge { src: "social.coves.embed.external#viewExternal.images:items", tgt: "social.coves.embed.images#image", kind: "ref", name: None }
  • ConstraintTightened ConstraintTightened { vertex_id: "social.coves.embed.external#viewExternal.images:items", sort: "ref", old_value: "social.coves.embed.images#image", new_value: "social.coves.embed.images#viewImage" }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "social.coves.embed.images#viewImage" }
  • AddedEdge AddedEdge { src: "social.coves.embed.external#viewExternal.images:items", tgt: "social.coves.embed.images#viewImage", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.coves.embed.images#viewImage" }

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "social.coves.embed.external#viewExternal.images:items", sort: "ref", old_value: "social.coves.embed.images#image", new_value: "social.coves.embed.images#viewImage" }

Notes

  • Breaking: RemovedEdge { src: "social.coves.embed.external#viewExternal.images:items", tgt: "social.coves.embed.images#image", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "social.coves.embed.external#viewExternal.images:items", tgt: "social.coves.embed.images#viewImage", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "external": {
55 "description": "Primary external link metadata",
66 "properties": {
77 "description": {
88 "description": "Description or excerpt of the linked content",
99 "maxGraphemes": 1000,
1010 "maxLength": 10000,
1111 "type": "string"
1212 },
1313 "domain": {
1414 "description": "Domain of the linked content (e.g., nytimes.com)",
1515 "maxLength": 253,
1616 "type": "string"
1717 },
1818 "embedType": {
1919 "description": "Type hint for content rendering and filtering",
2020 "knownValues": [
2121 "article",
2222 "image",
2323 "video",
2424 "website"
2525 ],
2626 "maxLength": 64,
2727 "type": "string"
2828 },
2929 "images": {
3030 "description": "Preview images for image gallery providers",
3131 "items": {
3232 "ref": "social.coves.embed.images#image",
3333 "type": "ref"
3434 },
3535 "maxLength": 8,
3636 "type": "array"
3737 },
3838 "provider": {
3939 "description": "Service provider name (e.g., imgur, streamable)",
4040 "maxLength": 100,
4141 "type": "string"
4242 },
4343 "sources": {
4444 "description": "Aggregated source links for megathreads. Each source references an original article and optionally the Coves post that shared it",
4545 "items": {
4646 "ref": "#source",
4747 "type": "ref"
4848 },
4949 "maxLength": 50,
5050 "type": "array"
5151 },
5252 "thumb": {
5353 "accept": [
5454 "image/png",
5555 "image/jpeg",
5656 "image/webp"
5757 ],
5858 "description": "Thumbnail image for the post (applies to primary link)",
5959 "maxSize": 6000000,
6060 "type": "blob"
6161 },
6262 "title": {
6363 "description": "Title of the linked content",
6464 "maxGraphemes": 500,
6565 "maxLength": 5000,
6666 "type": "string"
6767 },
6868 "totalCount": {
6969 "description": "Total number of items if more than displayed (for galleries)",
7070 "minimum": 0,
7171 "type": "integer"
7272 },
7373 "uri": {
7474 "description": "URI of the primary external content",
7575 "format": "uri",
7676 "type": "string"
7777 }
7878 },
7979 "required": [
8080 "uri"
8181 ],
8282 "type": "object"
8383 },
8484 "main": {
8585 "description": "External link embed with optional aggregated sources for megathreads",
8686 "properties": {
8787 "external": {
8888 "ref": "#external",
8989 "type": "ref"
9090 }
9191 },
9292 "required": [
9393 "external"
9494 ],
9595 "type": "object"
9696 },
9797 "source": {
9898 "description": "A source link aggregated into a megathread",
9999 "properties": {
100100 "domain": {
101101 "description": "Domain of the source (e.g., nytimes.com)",
102102 "maxLength": 253,
103103 "type": "string"
104104 },
105105 "sourcePost": {
106106 "description": "Reference to the Coves post that originally shared this link. Used for feed deprioritization of rolled-up posts",
107107 "ref": "com.atproto.repo.strongRef",
108108 "type": "ref"
109109 },
110110 "title": {
111111 "description": "Title of the source article",
112112 "maxGraphemes": 500,
113113 "maxLength": 5000,
114114 "type": "string"
115115 },
116116 "uri": {
117117 "description": "URI of the source article",
118118 "format": "uri",
119119 "type": "string"
120120 }
121121 },
122122 "required": [
123123 "uri"
124124 ],
125125 "type": "object"
126126 },
127127 "view": {
128128 "description": "View of an external link embed as served by the AppView",
129129 "properties": {
130130 "external": {
131131 "ref": "#viewExternal",
132132 "type": "ref"
133133 }
134134 },
135135 "required": [
136136 "external"
137137 ],
138138 "type": "object"
139139 },
140140 "viewExternal": {
141141 "description": "External link metadata as served by the AppView; thumb is a fetchable URL instead of a blob reference",
142142 "properties": {
143143 "description": {
144144 "description": "Description or excerpt of the linked content",
145145 "maxGraphemes": 1000,
146146 "maxLength": 10000,
147147 "type": "string"
148148 },
149149 "domain": {
150150 "description": "Domain of the linked content (e.g., nytimes.com)",
151151 "maxLength": 253,
152152 "type": "string"
153153 },
154154 "embedType": {
155155 "description": "Type hint for content rendering and filtering",
156156 "knownValues": [
157157 "article",
158158 "image",
159159 "video",
160160 "website"
161161 ],
162162 "maxLength": 64,
163163 "type": "string"
164164 },
165165 "images": {
166166 "description": "Preview images for image gallery providers",
167167 "items": {
168 "ref": "social.coves.embed.images#image",
168 "ref": "social.coves.embed.images#viewImage",
169169 "type": "ref"
170170 },
171171 "maxLength": 8,
172172 "type": "array"
173173 },
174174 "provider": {
175175 "description": "Service provider name (e.g., imgur, streamable)",
176176 "maxLength": 100,
177177 "type": "string"
178178 },
179179 "sources": {
180180 "description": "Aggregated source links for megathreads. Each source references an original article and optionally the Coves post that shared it",
181181 "items": {
182182 "ref": "#source",
183183 "type": "ref"
184184 },
185185 "maxLength": 50,
186186 "type": "array"
187187 },
188188 "thumb": {
189 "description": "URL of the thumbnail image, served via the hosting PDS blob endpoint",
189 "description": "URL of the thumbnail image, served via the AppView's image proxy",
190190 "format": "uri",
191191 "type": "string"
192192 },
193193 "title": {
194194 "description": "Title of the linked content",
195195 "maxGraphemes": 500,
196196 "maxLength": 5000,
197197 "type": "string"
198198 },
199199 "totalCount": {
200200 "description": "Total number of items if more than displayed (for galleries)",
201201 "minimum": 0,
202202 "type": "integer"
203203 },
204204 "uri": {
205205 "description": "URI of the primary external content",
206206 "format": "uri",
207207 "type": "string"
208208 }
209209 },
210210 "required": [
211211 "uri"
212212 ],
213213 "type": "object"
214214 }
215215 },
216216 "id": "social.coves.embed.external",
217217 "lexicon": 1
218218}

Compare other versions