mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 10:49:00 +02:00
Change: requestBody
to parameter
, allow commas in queries
This commit is contained in:
parent
72c1407aa7
commit
f95d9bd0e9
4 changed files with 429 additions and 263 deletions
|
@ -74,17 +74,14 @@ paths:
|
|||
description: Get an author by ID. The author's books and series can be included in the response.
|
||||
tags:
|
||||
- Authors
|
||||
requestBody:
|
||||
required: false
|
||||
description: The author object to create.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
include:
|
||||
$ref: '#/components/schemas/authorInclude'
|
||||
library:
|
||||
$ref: '#/components/schemas/authorLibraryId'
|
||||
parameters:
|
||||
- in: query
|
||||
name: include
|
||||
description: A comma separated list of what to include with the author. The options are `items` and `series`. `series` will only have an effect if `items` is included. For example, the value `items,series` will include both library items and series.
|
||||
allowReserved: true
|
||||
schema:
|
||||
type: string
|
||||
example: 'items,series'
|
||||
responses:
|
||||
'200':
|
||||
description: getAuthorById OK
|
||||
|
@ -150,10 +147,21 @@ paths:
|
|||
required: true
|
||||
schema:
|
||||
$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:
|
||||
operationId: getAuthorImageById
|
||||
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.
|
||||
security: [] # No security for getting author image
|
||||
tags:
|
||||
- Authors
|
||||
requestBody:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue