com.livtet.shelf.create

Create a shelf. Returns the new shelf's AT-URI.

Details · procedure
Kindprocedure
Authorityshelf.livtet.com
Commit rev3n3l6geeezhfo
Indexed
cid bafyreiea4r7o4nsgk7a7fb6ejoro5hli7g3e2bocf6s7rzz2ba2a3urmte

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a shelf. Returns the new shelf's AT-URI.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "description": {
              "description": "Optional description of what the shelf collects.",
              "maxGraphemes": 8192,
              "type": "string"
            },
            "name": {
              "description": "Human-readable shelf name.",
              "maxGraphemes": 128,
              "maxLength": 128,
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "AT-URI of the new shelf record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Create a shelf for the caller at a fresh TID rkey.",
  "id": "com.livtet.shelf.create",
  "lexicon": 1
}