net.olamaelcu.livtet.biblio.getGenresOfBook
Fetch the genres of one catalog edition by its AT-URI. This is an anonymous catalog read served by the bibliograph edge from the catalog tables; it is never handled by HappyView. Genres come from OpenLibrary subjects and Goodreads book pages, mapped to a curated vocabulary.
Details · query
| Kind | query |
|---|---|
| Authority | biblio.livtet.olamaelcu.net |
| Commit rev | 3n2ctwp4lzjrb |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe query has no description.unlimited-stringdefs.main.output.schema.properties.genres.items.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.genres.items.properties.sourceNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"description": "The uri is missing, malformed, or not an edition record URI.",
"name": "InvalidRequest"
},
{
"description": "No catalog edition has that URI.",
"name": "RecordNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"genres": {
"description": "Genres in provider order; empty when none are known yet.",
"items": {
"properties": {
"name": {
"description": "Canonical genre name.",
"type": "string"
},
"source": {
"description": "Provider that supplied the genre.",
"knownValues": [
"openlibrary",
"goodreads",
"isbndb"
],
"type": "string"
}
},
"required": [
"name",
"source"
],
"type": "object"
},
"type": "array"
},
"uri": {
"description": "AT-URI of the edition these genres belong to.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"genres"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"description": "AT-URI of the edition these genres belong to.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"description": "Fetch the genres of one catalog edition by its AT-URI. This is an anonymous catalog read served by the bibliograph edge from the catalog tables; it is never handled by HappyView. Genres come from OpenLibrary subjects and Goodreads book pages, mapped to a curated vocabulary.",
"id": "net.olamaelcu.livtet.biblio.getGenresOfBook",
"lexicon": 1
}