Fix: queries should be in body

This commit is contained in:
Nicholas Wallace 2024-05-12 18:09:00 +00:00
parent eaad5c82c8
commit d5ecf36e2d

View file

@ -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: