buzz.bookhive.getAuthorBooks
Get books by a specific author.
Details · query
| Kind | query |
|---|---|
| Authority | bookhive.buzz |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.authorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.sortNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.authorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get books by a specific author.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"author": {
"type": "string"
},
"books": {
"items": {
"ref": "buzz.bookhive.hiveBook#main",
"type": "ref"
},
"type": "array"
},
"page": {
"type": "integer"
},
"totalBooks": {
"type": "integer"
},
"totalPages": {
"type": "integer"
}
},
"required": [
"author",
"books",
"totalBooks",
"totalPages"
],
"type": "object"
}
},
"parameters": {
"properties": {
"author": {
"description": "The author name to look up",
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"page": {
"default": 1,
"minimum": 1,
"type": "integer"
},
"sort": {
"description": "Sort order. Defaults to popularity.",
"knownValues": [
"popularity",
"reviews"
],
"type": "string"
}
},
"required": [
"author"
],
"type": "params"
},
"type": "query"
}
},
"id": "buzz.bookhive.getAuthorBooks",
"lexicon": 1
}