mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 21:01:39 +00:00
Cleaned up mediaType schema
This commit is contained in:
parent
4fff661834
commit
fe33b4c6a8
1 changed files with 10 additions and 22 deletions
|
|
@ -15,6 +15,10 @@
|
||||||
* format: uuid
|
* format: uuid
|
||||||
* example:
|
* example:
|
||||||
* - e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
* - e4bb1afb-4a4f-4dd6-8be0-e615d233185b
|
||||||
|
* mediaType:
|
||||||
|
* type: string
|
||||||
|
* description: What kind of media the library item contains. Will be book or podcast.
|
||||||
|
* enum: [book, podcast]
|
||||||
* library:
|
* library:
|
||||||
* type: object
|
* type: object
|
||||||
* properties:
|
* properties:
|
||||||
|
|
@ -43,10 +47,7 @@
|
||||||
* example:
|
* example:
|
||||||
* - audiobookshelf
|
* - audiobookshelf
|
||||||
* mediaType:
|
* mediaType:
|
||||||
* type: string
|
* - $ref: '#/components/schemas/mediaType'
|
||||||
* description: The type of media that the library contains. Will be book or podcast. (Read Only)
|
|
||||||
* example:
|
|
||||||
* - book
|
|
||||||
* provider:
|
* provider:
|
||||||
* type: string
|
* type: string
|
||||||
* description: Preferred metadata provider for the library. See [Metadata Providers](https://api.audiobookshelf.org/#metadata-providers) for a list of possible providers.
|
* description: Preferred metadata provider for the library. See [Metadata Providers](https://api.audiobookshelf.org/#metadata-providers) for a list of possible providers.
|
||||||
|
|
@ -211,8 +212,7 @@
|
||||||
* description: Whether the library item was scanned and no longer has media files.
|
* description: Whether the library item was scanned and no longer has media files.
|
||||||
* type: boolean
|
* type: boolean
|
||||||
* mediaType:
|
* mediaType:
|
||||||
* description: What kind of media the library item contains. Will be book or podcast.
|
* - $ref: '#/components/schemas/mediaType'
|
||||||
* type: string
|
|
||||||
* media:
|
* media:
|
||||||
* description: The media of the library item.
|
* description: The media of the library item.
|
||||||
* oneOf:
|
* oneOf:
|
||||||
|
|
@ -296,10 +296,7 @@
|
||||||
* example:
|
* example:
|
||||||
* - false
|
* - false
|
||||||
* mediaType:
|
* mediaType:
|
||||||
* description: What kind of media the library item contains. Will be book or podcast.
|
* - $ref: '#/components/schemas/mediaType'
|
||||||
* type: string
|
|
||||||
* example:
|
|
||||||
* - book
|
|
||||||
* media:
|
* media:
|
||||||
* description: The media of the library item.
|
* description: The media of the library item.
|
||||||
* type: object
|
* type: object
|
||||||
|
|
@ -400,10 +397,7 @@
|
||||||
* example:
|
* example:
|
||||||
* - false
|
* - false
|
||||||
* mediaType:
|
* mediaType:
|
||||||
* description: What kind of media the library item contains. Will be book or podcast.
|
* - $ref: '#/components/schemas/mediaType'
|
||||||
* type: string
|
|
||||||
* example:
|
|
||||||
* - book
|
|
||||||
* media:
|
* media:
|
||||||
* description: The media of the library item.
|
* description: The media of the library item.
|
||||||
* type: object
|
* type: object
|
||||||
|
|
@ -2551,10 +2545,7 @@
|
||||||
* example:
|
* example:
|
||||||
* - ep_lh6ko39pumnrma3dhv
|
* - ep_lh6ko39pumnrma3dhv
|
||||||
* mediaType:
|
* mediaType:
|
||||||
* description: The media type of the library item. Will be book or podcast.
|
* - $ref: '#/components/schemas/mediaType'
|
||||||
* type: string
|
|
||||||
* example:
|
|
||||||
* - podcast
|
|
||||||
* mediaMetadata:
|
* mediaMetadata:
|
||||||
* description: The metadata of the library item's media.
|
* description: The metadata of the library item's media.
|
||||||
* type: object
|
* type: object
|
||||||
|
|
@ -2668,10 +2659,7 @@
|
||||||
* example:
|
* example:
|
||||||
* - ep_lh6ko39pumnrma3dhv
|
* - ep_lh6ko39pumnrma3dhv
|
||||||
* mediaType:
|
* mediaType:
|
||||||
* description: The media type of the library item. Will be book or podcast.
|
* - $ref: '#/components/schemas/mediaType'
|
||||||
* type: string
|
|
||||||
* example:
|
|
||||||
* - podcast
|
|
||||||
* mediaMetadata:
|
* mediaMetadata:
|
||||||
* description: The metadata of the library item's media.
|
* description: The metadata of the library item's media.
|
||||||
* type: object
|
* type: object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue