mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 22:01:37 +00:00
Add: author search region for matching
This commit is contained in:
parent
f32ef3d01c
commit
37d029e01a
3 changed files with 30 additions and 8 deletions
|
|
@ -357,14 +357,18 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"q": {
|
||||
"$ref": "#/components/schemas/authorSearchName"
|
||||
},
|
||||
"asin": {
|
||||
"$ref": "#/components/schemas/authorAsin"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/authorSearchName"
|
||||
"region": {
|
||||
"$ref": "#/components/schemas/region"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -591,9 +595,14 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/authorExpanded"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/authorExpanded"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1348,6 +1357,12 @@
|
|||
"type": "string",
|
||||
"example": "Terry Goodkind"
|
||||
},
|
||||
"region": {
|
||||
"description": "The region used to search.",
|
||||
"type": "string",
|
||||
"example": "us",
|
||||
"default": "us"
|
||||
},
|
||||
"libraryName": {
|
||||
"description": "The name of the library.",
|
||||
"type": "string",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue