full diff

ink.resenha.book.getBook

resenha.ink +62 −3
From
bafyreia7c37tiyqcu7c2al3gljquijqlqehxncumc4nva3ulc7mjqa7ida indexed 2026-11-04 16:37 UTC View this version
To
bafyreici7my5szqdhlyc44qowlr7qzfunvmgwx74r43yi5ybv4z6xm6zdy indexed 2026-11-12 19:47 UTC View this version

Compatibility

breaking 3 breaking changes, 16 non-breaking changes.

Breaking changes (3)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ink.resenha.book.getBook#shop", src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.paused", kind: "prop", name: Some("paused") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ink.resenha.book.getBook#shop", src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.audiobook", kind: "prop", name: Some("audiobook") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ink.resenha.book.getBook#shop", src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.eBook", kind: "prop", name: Some("eBook") }
Non-breaking changes (16)
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.audiobook" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.eBook" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.match" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.paused" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.requested" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.requested:items" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.work" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.book.getBook:output.shop" }
  • AddedEdge AddedEdge { src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.match", kind: "prop", name: Some("match") }
  • AddedEdge AddedEdge { src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.requested", kind: "prop", name: Some("requested") }
  • AddedEdge AddedEdge { src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.work", kind: "prop", name: Some("work") }
  • AddedEdge AddedEdge { src: "ink.resenha.book.getBook#shop.requested", tgt: "ink.resenha.book.getBook#shop.requested:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "ink.resenha.book.getBook:output", tgt: "ink.resenha.book.getBook:output.shop", kind: "prop", name: Some("shop") }
  • AddedEdge AddedEdge { src: "ink.resenha.book.getBook:output.shop", tgt: "ink.resenha.book.getBook#shop", kind: "ref", name: None }
  • ConstraintRelaxed ConstraintRelaxed { vertex_id: "ink.resenha.book.getBook#edition.hiveId", sort: "maxLength", old_value: "64", new_value: "128" }

Migration guidance

Added

  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.audiobook" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.eBook" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.match" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.paused" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.requested" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.requested:items" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook#shop.work" }
  • AddedVertex { vertex_id: "ink.resenha.book.getBook:output.shop" }

Constraint changes

  • ConstraintRelaxed ConstraintRelaxed { vertex_id: "ink.resenha.book.getBook#edition.hiveId", sort: "maxLength", old_value: "64", new_value: "128" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "ink.resenha.book.getBook#shop", src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.paused", kind: "prop", name: Some("paused") }
  • Breaking: RequiredEdgeAdded { vertex_id: "ink.resenha.book.getBook#shop", src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.audiobook", kind: "prop", name: Some("audiobook") }
  • Breaking: RequiredEdgeAdded { vertex_id: "ink.resenha.book.getBook#shop", src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.eBook", kind: "prop", name: Some("eBook") }
  • Non-breaking: AddedEdge { src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.match", kind: "prop", name: Some("match") }
  • Non-breaking: AddedEdge { src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.requested", kind: "prop", name: Some("requested") }
  • Non-breaking: AddedEdge { src: "ink.resenha.book.getBook#shop", tgt: "ink.resenha.book.getBook#shop.work", kind: "prop", name: Some("work") }
  • Non-breaking: AddedEdge { src: "ink.resenha.book.getBook#shop.requested", tgt: "ink.resenha.book.getBook#shop.requested:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "ink.resenha.book.getBook:output", tgt: "ink.resenha.book.getBook:output.shop", kind: "prop", name: Some("shop") }
  • Non-breaking: AddedEdge { src: "ink.resenha.book.getBook:output.shop", tgt: "ink.resenha.book.getBook#shop", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "counts": {
55 "properties": {
66 "abandoned": {
77 "minimum": 0,
88 "type": "integer"
99 },
1010 "read": {
1111 "minimum": 0,
1212 "type": "integer"
1313 },
1414 "reading": {
1515 "minimum": 0,
1616 "type": "integer"
1717 },
1818 "wantToRead": {
1919 "minimum": 0,
2020 "type": "integer"
2121 }
2222 },
2323 "required": [
2424 "wantToRead",
2525 "reading",
2626 "read",
2727 "abandoned"
2828 ],
2929 "type": "object"
3030 },
3131 "edition": {
3232 "description": "One edition as the index knows it: BookHive's facts when it has the book, else what its readers' records say.",
3333 "properties": {
3434 "authors": {
3535 "description": "Tab-separated, as BookHive stores them.",
3636 "maxLength": 1024,
3737 "type": "string"
3838 },
3939 "cover": {
4040 "format": "uri",
4141 "type": "string"
4242 },
4343 "covers": {
4444 "items": {
4545 "format": "uri",
4646 "type": "string"
4747 },
4848 "maxLength": 8,
4949 "type": "array"
5050 },
5151 "genres": {
5252 "items": {
5353 "maxLength": 64,
5454 "type": "string"
5555 },
5656 "maxLength": 32,
5757 "type": "array"
5858 },
5959 "hiveId": {
60 "maxLength": 64,
60 "maxLength": 128,
6161 "type": "string"
6262 },
6363 "isbn13": {
6464 "maxLength": 13,
6565 "type": "string"
6666 },
6767 "isbns": {
6868 "description": "Every ISBN-13 known for the edition, when there is more than one.",
6969 "items": {
7070 "maxLength": 13,
7171 "type": "string"
7272 },
7373 "maxLength": 16,
7474 "type": "array"
7575 },
7676 "language": {
7777 "maxLength": 64,
7878 "type": "string"
7979 },
8080 "pages": {
8181 "minimum": 1,
8282 "type": "integer"
8383 },
8484 "publisher": {
8585 "maxLength": 256,
8686 "type": "string"
8787 },
8888 "title": {
8989 "maxLength": 512,
9090 "type": "string"
9191 },
9292 "year": {
9393 "type": "integer"
9494 }
9595 },
9696 "type": "object"
9797 },
9898 "main": {
9999 "description": "A book's page from Resenha's index: an edition's readers with their readings, everyone's reviews of it, and its other editions with theirs. By BookHive ID or ISBN-13, so a book BookHive's catalogue doesn't know has one page shared by its readers. Readers the caller blocks are left out. Requires the caller's service token.",
100100 "output": {
101101 "encoding": "application/json",
102102 "schema": {
103103 "properties": {
104104 "book": {
105105 "ref": "#edition",
106106 "type": "ref"
107107 },
108108 "counts": {
109109 "ref": "#counts",
110110 "type": "ref"
111111 },
112112 "editions": {
113113 "description": "Other editions of the book, surest first.",
114114 "items": {
115115 "ref": "#otherEdition",
116116 "type": "ref"
117117 },
118118 "type": "array"
119119 },
120120 "profiles": {
121121 "items": {
122122 "ref": "ink.resenha.defs#profileView",
123123 "type": "ref"
124124 },
125125 "type": "array"
126126 },
127127 "readings": {
128128 "description": "Up to a hundred: the caller's follows first, then by the latest change.",
129129 "items": {
130130 "ref": "#reading",
131131 "type": "ref"
132132 },
133133 "type": "array"
134134 },
135135 "reviews": {
136136 "description": "Every review of this edition the index holds, newest first, each with the whole text and where its likes and comments live (popfeedReview or post) and how many.",
137137 "items": {
138138 "ref": "ink.resenha.defs#reviewView",
139139 "type": "ref"
140140 },
141141 "type": "array"
142 },
143 "shop": {
144 "ref": "#shop",
145 "type": "ref"
142146 }
143147 },
144148 "required": [
145149 "book",
146150 "counts",
147151 "readings",
148152 "reviews",
149153 "editions"
150154 ],
151155 "type": "object"
152156 }
153157 },
154158 "parameters": {
155159 "properties": {
156160 "hiveId": {
157 "description": "The book's BookHive ID. Not a stand-in beginning popfeed-, which names one reader's copy.",
158 "maxLength": 64,
161 "description": "The book's BookHive ID, or a Shop book's shop-<edition> key, whose page gathers the readers of every edition of its Shop work. Not a stand-in beginning popfeed-, isbn- or resenha-, which names one reader's copy.",
162 "maxLength": 128,
159163 "type": "string"
160164 },
161165 "isbn13": {
162166 "description": "The edition's ISBN-13, for a book without a BookHive ID.",
163167 "maxLength": 13,
164168 "type": "string"
165169 }
166170 },
167171 "type": "params"
168172 },
169173 "type": "query"
170174 },
171175 "otherEdition": {
172176 "properties": {
173177 "book": {
174178 "ref": "#edition",
175179 "type": "ref"
176180 },
177181 "confidence": {
178182 "description": "sure: tied by BookHive's catalogue, a reader's link or Open Library's work. likely: the same title and first author after normalising, which a reader can confirm.",
179183 "knownValues": [
180184 "sure",
181185 "likely"
182186 ],
183187 "type": "string"
184188 },
185189 "readers": {
186190 "minimum": 0,
187191 "type": "integer"
188192 },
189193 "reviews": {
190194 "items": {
191195 "ref": "ink.resenha.defs#reviewView",
192196 "type": "ref"
193197 },
194198 "type": "array"
195199 },
196200 "sources": {
197201 "items": {
198202 "knownValues": [
199203 "catalogue",
200204 "bookhive",
201205 "reader",
202206 "match",
203207 "openlibrary",
204208 "title"
205209 ],
206210 "type": "string"
207211 },
208212 "type": "array"
209213 }
210214 },
211215 "required": [
212216 "book",
213217 "confidence",
214218 "readers",
215219 "reviews"
216220 ],
217221 "type": "object"
218222 },
219223 "reading": {
220224 "description": "One reader's record for the edition, with Resenha's likes and comments on it.",
221225 "properties": {
222226 "actor": {
223227 "format": "did",
224228 "type": "string"
225229 },
226230 "cid": {
227231 "format": "cid",
228232 "type": "string"
229233 },
230234 "commentCount": {
231235 "minimum": 0,
232236 "type": "integer"
233237 },
234238 "finishedAt": {
235239 "format": "datetime",
236240 "type": "string"
237241 },
238242 "hasReview": {
239243 "type": "boolean"
240244 },
241245 "likeCount": {
242246 "minimum": 0,
243247 "type": "integer"
244248 },
245249 "progress": {
246250 "ref": "ink.resenha.defs#progressView",
247251 "type": "ref"
248252 },
249253 "source": {
250254 "knownValues": [
251255 "bookhive",
252256 "popfeed"
253257 ],
254258 "type": "string"
255259 },
256260 "stars": {
257261 "maximum": 10,
258262 "minimum": 1,
259263 "type": "integer"
260264 },
261265 "startedAt": {
262266 "format": "datetime",
263267 "type": "string"
264268 },
265269 "status": {
266270 "knownValues": [
267271 "wantToRead",
268272 "reading",
269273 "read",
270274 "abandoned"
271275 ],
272276 "type": "string"
273277 },
274278 "uri": {
275279 "description": "The reader's BookHive book record or Popfeed list item.",
276280 "format": "at-uri",
277281 "type": "string"
278282 },
279283 "viewer": {
280284 "ref": "ink.resenha.defs#viewerState",
281285 "type": "ref"
282286 }
283287 },
284288 "required": [
285289 "uri",
286290 "actor",
287291 "source"
288292 ],
289293 "type": "object"
294 },
295 "shop": {
296 "description": "Whether Resenha's Shop has the book, per format: has, sureNot (Notify me is offered) or notSure (nothing is offered).",
297 "properties": {
298 "audiobook": {
299 "knownValues": [
300 "has",
301 "sureNot",
302 "notSure"
303 ],
304 "type": "string"
305 },
306 "eBook": {
307 "knownValues": [
308 "has",
309 "sureNot",
310 "notSure"
311 ],
312 "type": "string"
313 },
314 "match": {
315 "description": "title when the answer came from the title and author alone: the app asks \"Is this the same book?\" before Get.",
316 "knownValues": [
317 "id",
318 "title"
319 ],
320 "type": "string"
321 },
322 "paused": {
323 "description": "The Shop is paused: Get and new requests are refused.",
324 "type": "boolean"
325 },
326 "requested": {
327 "description": "The formats the caller asked to be told about.",
328 "items": {
329 "knownValues": [
330 "ebook",
331 "audiobook"
332 ],
333 "type": "string"
334 },
335 "type": "array"
336 },
337 "work": {
338 "description": "The Shop work, when a format is has.",
339 "maxLength": 128,
340 "type": "string"
341 }
342 },
343 "required": [
344 "eBook",
345 "audiobook",
346 "paused"
347 ],
348 "type": "object"
290349 }
291350 },
292351 "id": "ink.resenha.book.getBook",
293352 "lexicon": 1
294353}

Compare other versions