mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 21:01:39 +00:00
Update: Author image query token
This commit is contained in:
parent
c53f849cbf
commit
be74330512
2 changed files with 28 additions and 0 deletions
|
|
@ -147,10 +147,21 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
$ref: '../objects/entities/Author.yaml#/components/schemas/authorId'
|
$ref: '../objects/entities/Author.yaml#/components/schemas/authorId'
|
||||||
|
- name: token
|
||||||
|
in: query
|
||||||
|
description: API token
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
- name: ts
|
||||||
|
in: query
|
||||||
|
description: Updated at value
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
get:
|
get:
|
||||||
operationId: getAuthorImageById
|
operationId: getAuthorImageById
|
||||||
summary: Get an author image by author ID
|
summary: Get an author image by author ID
|
||||||
description: Get an author image by author ID. The image will be returned in the requested format and size.
|
description: Get an author image by author ID. The image will be returned in the requested format and size.
|
||||||
|
security: [] # No security for getting author image
|
||||||
tags:
|
tags:
|
||||||
- Authors
|
- Authors
|
||||||
requestBody:
|
requestBody:
|
||||||
|
|
|
||||||
|
|
@ -169,12 +169,29 @@
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/authorId"
|
"$ref": "#/components/schemas/authorId"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "token",
|
||||||
|
"in": "query",
|
||||||
|
"description": "API token",
|
||||||
|
"schema": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ts",
|
||||||
|
"in": "query",
|
||||||
|
"description": "Updated at value",
|
||||||
|
"schema": {
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "getAuthorImageById",
|
"operationId": "getAuthorImageById",
|
||||||
"summary": "Get an author image by author ID",
|
"summary": "Get an author image by author ID",
|
||||||
"description": "Get an author image by author ID. The image will be returned in the requested format and size.",
|
"description": "Get an author image by author ID. The image will be returned in the requested format and size.",
|
||||||
|
"security": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"Authors"
|
"Authors"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue