mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-03 14:39:41 +00:00
added to bookBase metadata and added media to LibraryItemBase
This commit is contained in:
parent
2803f49d48
commit
efc33fa369
2 changed files with 8 additions and 0 deletions
|
|
@ -55,6 +55,12 @@ components:
|
|||
type: boolean
|
||||
mediaType:
|
||||
$ref: './mediaTypes/media.yaml#/components/schemas/mediaType'
|
||||
media:
|
||||
type: object
|
||||
description: The media of the library item.
|
||||
oneOf:
|
||||
- $ref: './mediaTypes/Book.yaml#/components/schemas/bookBase'
|
||||
- $ref: './mediaTypes/Podcast.yaml#/components/schemas/Podcast'
|
||||
libraryItemMinified:
|
||||
type: object
|
||||
description: A single item on the server, like a book or podcast. Minified media format.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue