buzz.bookhive.addToPersonalShelf
Add a book from the personal library to a personal shelf.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | bookhive.buzz |
| Commit rev | 3n2mntob3rk2e |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.contentHashNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Add a book from the personal library to a personal shelf.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"contentHash": {
"description": "SHA-256 hash of the book file content",
"type": "string"
},
"shelfId": {
"description": "ID of the shelf to add the book to",
"type": "integer"
}
},
"required": [
"shelfId",
"contentHash"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "buzz.bookhive.addToPersonalShelf",
"lexicon": 1
}