mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Fix: queries should be in body
This commit is contained in:
parent
eaad5c82c8
commit
d5ecf36e2d
1 changed files with 8 additions and 8 deletions
|
|
@ -2,7 +2,7 @@ components:
|
|||
parameters:
|
||||
libraryName:
|
||||
name: name
|
||||
in: query
|
||||
in: body
|
||||
description: The name of the library.
|
||||
required: true
|
||||
schema:
|
||||
|
|
@ -10,7 +10,7 @@ components:
|
|||
example: My Audiobooks
|
||||
libraryFolders:
|
||||
name: folders
|
||||
in: query
|
||||
in: body
|
||||
description: The folders of the library. Only specify the fullPath.
|
||||
required: true
|
||||
schema:
|
||||
|
|
@ -19,7 +19,7 @@ components:
|
|||
$ref: '../objects/Folder.yaml#/components/schemas/folder'
|
||||
libraryDisplayOrder:
|
||||
name: displayOrder
|
||||
in: query
|
||||
in: body
|
||||
description: The display order of the library. Must be >= 1.
|
||||
required: false
|
||||
schema:
|
||||
|
|
@ -28,7 +28,7 @@ components:
|
|||
example: 1
|
||||
libraryIcon:
|
||||
name: icon
|
||||
in: query
|
||||
in: body
|
||||
description: The icon of the library. See Library Icons for a list of possible icons.
|
||||
required: false
|
||||
schema:
|
||||
|
|
@ -36,7 +36,7 @@ components:
|
|||
example: 'audiobookshelf'
|
||||
libraryMediaType:
|
||||
name: mediaType
|
||||
in: query
|
||||
in: body
|
||||
description: The type of media that the library contains. Must be `book` or `podcast`.
|
||||
required: false
|
||||
schema:
|
||||
|
|
@ -44,7 +44,7 @@ components:
|
|||
example: 'book'
|
||||
libraryProvider:
|
||||
name: provider
|
||||
in: query
|
||||
in: body
|
||||
description: Preferred metadata provider for the library. See Metadata Providers for a list of possible providers.
|
||||
required: false
|
||||
schema:
|
||||
|
|
@ -52,7 +52,7 @@ components:
|
|||
example: 'audible'
|
||||
librarySettings:
|
||||
name: settings
|
||||
in: query
|
||||
in: body
|
||||
description: The settings for the library.
|
||||
required: false
|
||||
schema:
|
||||
|
|
@ -68,7 +68,7 @@ components:
|
|||
example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
||||
librarySettings:
|
||||
name: settings
|
||||
in: query
|
||||
in: body
|
||||
description: The settings for the library.
|
||||
required: false
|
||||
schema:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue