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:
|
parameters:
|
||||||
libraryName:
|
libraryName:
|
||||||
name: name
|
name: name
|
||||||
in: query
|
in: body
|
||||||
description: The name of the library.
|
description: The name of the library.
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -10,7 +10,7 @@ components:
|
||||||
example: My Audiobooks
|
example: My Audiobooks
|
||||||
libraryFolders:
|
libraryFolders:
|
||||||
name: folders
|
name: folders
|
||||||
in: query
|
in: body
|
||||||
description: The folders of the library. Only specify the fullPath.
|
description: The folders of the library. Only specify the fullPath.
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -19,7 +19,7 @@ components:
|
||||||
$ref: '../objects/Folder.yaml#/components/schemas/folder'
|
$ref: '../objects/Folder.yaml#/components/schemas/folder'
|
||||||
libraryDisplayOrder:
|
libraryDisplayOrder:
|
||||||
name: displayOrder
|
name: displayOrder
|
||||||
in: query
|
in: body
|
||||||
description: The display order of the library. Must be >= 1.
|
description: The display order of the library. Must be >= 1.
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -28,7 +28,7 @@ components:
|
||||||
example: 1
|
example: 1
|
||||||
libraryIcon:
|
libraryIcon:
|
||||||
name: icon
|
name: icon
|
||||||
in: query
|
in: body
|
||||||
description: The icon of the library. See Library Icons for a list of possible icons.
|
description: The icon of the library. See Library Icons for a list of possible icons.
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -36,7 +36,7 @@ components:
|
||||||
example: 'audiobookshelf'
|
example: 'audiobookshelf'
|
||||||
libraryMediaType:
|
libraryMediaType:
|
||||||
name: mediaType
|
name: mediaType
|
||||||
in: query
|
in: body
|
||||||
description: The type of media that the library contains. Must be `book` or `podcast`.
|
description: The type of media that the library contains. Must be `book` or `podcast`.
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -44,7 +44,7 @@ components:
|
||||||
example: 'book'
|
example: 'book'
|
||||||
libraryProvider:
|
libraryProvider:
|
||||||
name: provider
|
name: provider
|
||||||
in: query
|
in: body
|
||||||
description: Preferred metadata provider for the library. See Metadata Providers for a list of possible providers.
|
description: Preferred metadata provider for the library. See Metadata Providers for a list of possible providers.
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -52,7 +52,7 @@ components:
|
||||||
example: 'audible'
|
example: 'audible'
|
||||||
librarySettings:
|
librarySettings:
|
||||||
name: settings
|
name: settings
|
||||||
in: query
|
in: body
|
||||||
description: The settings for the library.
|
description: The settings for the library.
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -68,7 +68,7 @@ components:
|
||||||
example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
||||||
librarySettings:
|
librarySettings:
|
||||||
name: settings
|
name: settings
|
||||||
in: query
|
in: body
|
||||||
description: The settings for the library.
|
description: The settings for the library.
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue