buzz.bookhive.createList
Create a new book list.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | bookhive.buzz |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.cidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.uriNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a new book list.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"description": {
"description": "Optional description of the list",
"maxLength": 500,
"type": "string"
},
"name": {
"description": "The name of the list",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"ordered": {
"description": "Whether the list is ordered",
"type": "boolean"
},
"tags": {
"description": "Optional tags",
"items": {
"maxLength": 50,
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "buzz.bookhive.createList",
"lexicon": 1
}