buzz.bookhive.updatePersonalShelf

Update an existing personal shelf.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update an existing personal shelf.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "description": {
              "description": "New description for the shelf",
              "maxLength": 500,
              "type": "string"
            },
            "id": {
              "description": "ID of the shelf to update",
              "type": "integer"
            },
            "name": {
              "description": "New name for the shelf",
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "shelf": {
              "ref": "buzz.bookhive.createPersonalShelf#personalShelfView",
              "type": "ref"
            }
          },
          "required": [
            "shelf"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "buzz.bookhive.updatePersonalShelf",
  "lexicon": 1
}