buzz.bookhive.addToPersonalShelf

Add a book from the personal library to a personal shelf.

Repository @bookhive.buzz did:plc:enu2j5xjlqsjaylv3du4myh4 namespace authority
Details · procedure
Kindprocedure
Authoritybookhive.buzz
Commit rev3n2mntob3rk2e
Indexed
cid bafyreifvjv3zcatzvl2ikai7xrkwoh3zz5pl7nmtsfl73ev4vqi5nqco2i

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.contentHashNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}