full diff

buzz.bookhive.getBook

bookhive.buzz +7 −4
From
bafyreihxgawtx4uhmr5jljyshu5gfnfa4hoaspt45di7wkphq4iuupsa4i indexed 2026-02-18 18:43 UTC View this version
To
bafyreienpyfnljrlekszqrwxuuwc7tgztiww4zewsitfrx3kj6cm6awgya indexed 2026-03-25 09:46 UTC View this version

Compatibility

breaking 1 breaking change, 2 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "buzz.bookhive.getBook:output.status", sort: "knownValues", old_value: "[\"buzz.bookhive.defs#finished\",\"buzz.bookhive.defs#reading\",\"buzz.bookhive.defs#wantToRead\",\"buzz.bookhive.defs#abandoned\",\"buzz.bookhive.defs#owned\"]", new_value: "[\"buzz.bookhive.defs#finished\",\"buzz.bookhive.defs#reading\",\"buzz.bookhive.defs#wantToRead\",\"buzz.bookhive.defs#abandoned\"]" }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "buzz.bookhive.getBook:output.owned" }
  • AddedEdge AddedEdge { src: "buzz.bookhive.getBook:output", tgt: "buzz.bookhive.getBook:output.owned", kind: "prop", name: Some("owned") }

Migration guidance

Added

  • AddedVertex { vertex_id: "buzz.bookhive.getBook:output.owned" }

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "buzz.bookhive.getBook:output.status", sort: "knownValues", old_value: "[\"buzz.bookhive.defs#finished\",\"buzz.bookhive.defs#reading\",\"buzz.bookhive.defs#wantToRead\",\"buzz.bookhive.defs#abandoned\",\"buzz.bookhive.defs#owned\"]", new_value: "[\"buzz.bookhive.defs#finished\",\"buzz.bookhive.defs#reading\",\"buzz.bookhive.defs#wantToRead\",\"buzz.bookhive.defs#abandoned\"]" }

Notes

  • Non-breaking: AddedEdge { src: "buzz.bookhive.getBook:output", tgt: "buzz.bookhive.getBook:output.owned", kind: "prop", name: Some("owned") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Get a book's info. Does not require authentication.",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "activity": {
1111 "description": "Other users' activity on the book",
1212 "items": {
1313 "ref": "buzz.bookhive.defs#activity",
1414 "type": "ref"
1515 },
1616 "type": "array"
1717 },
1818 "book": {
1919 "description": "The hive book's info",
2020 "ref": "buzz.bookhive.hiveBook#main",
2121 "type": "ref"
2222 },
2323 "bookProgress": {
2424 "description": "Reading progress for the user",
2525 "ref": "buzz.bookhive.defs#bookProgress",
2626 "type": "ref"
2727 },
2828 "comments": {
2929 "description": "Comments on the book",
3030 "items": {
3131 "ref": "buzz.bookhive.defs#comment",
3232 "type": "ref"
3333 },
3434 "type": "array"
3535 },
3636 "cover": {
3737 "accept": [
3838 "image/png",
3939 "image/jpeg"
4040 ],
4141 "description": "Cover image of the book",
4242 "maxSize": 1000000,
4343 "type": "blob"
4444 },
4545 "createdAt": {
4646 "format": "datetime",
4747 "type": "string"
4848 },
4949 "finishedAt": {
5050 "description": "The date the user finished reading the book",
5151 "format": "datetime",
5252 "type": "string"
5353 },
54 "owned": {
55 "description": "Whether the user owns this book",
56 "type": "boolean"
57 },
5458 "review": {
5559 "description": "The book's review",
5660 "maxGraphemes": 15000,
5761 "type": "string"
5862 },
5963 "reviews": {
6064 "description": "Reviews of the book",
6165 "items": {
6266 "ref": "buzz.bookhive.defs#review",
6367 "type": "ref"
6468 },
6569 "type": "array"
6670 },
6771 "stars": {
6872 "description": "Number of stars given to the book (1-10) which will be mapped to 1-5 stars",
6973 "maximum": 10,
7074 "minimum": 1,
7175 "type": "integer"
7276 },
7377 "startedAt": {
7478 "description": "The date the user started reading the book",
7579 "format": "datetime",
7680 "type": "string"
7781 },
7882 "status": {
7983 "knownValues": [
8084 "buzz.bookhive.defs#finished",
8185 "buzz.bookhive.defs#reading",
8286 "buzz.bookhive.defs#wantToRead",
83 "buzz.bookhive.defs#abandoned",
84 "buzz.bookhive.defs#owned"
87 "buzz.bookhive.defs#abandoned"
8588 ],
8689 "type": "string"
8790 }
8891 },
8992 "required": [
9093 "book",
9194 "reviews",
9295 "comments"
9396 ],
9497 "type": "object"
9598 }
9699 },
97100 "parameters": {
98101 "properties": {
99102 "goodreadsId": {
100103 "description": "The Goodreads identifier for the book",
101104 "type": "string"
102105 },
103106 "id": {
104107 "description": "The book's hive ID",
105108 "type": "string"
106109 },
107 "isbn": {
108 "description": "The book ISBN identifier",
110 "isbn10": {
111 "description": "The book ISBN-10 identifier",
109112 "type": "string"
110113 },
111114 "isbn13": {
112115 "description": "The book ISBN-13 identifier",
113116 "type": "string"
114117 }
115118 },
116119 "type": "params"
117120 },
118121 "type": "query"
119122 }
120123 },
121124 "id": "buzz.bookhive.getBook",
122125 "lexicon": 1
123126}

Compare other versions