mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-03-10 00:17:21 +01:00
added to bookBase metadata and added media to LibraryItemBase
This commit is contained in:
parent
2803f49d48
commit
efc33fa369
@ -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.
|
||||
|
@ -23,6 +23,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '../metadata/BookMetadata.yaml#/components/schemas/bookChapter'
|
||||
metadata:
|
||||
$ref: '../metadata/BookMetadata.yaml#/components/schemas/bookMetadataBase'
|
||||
missingParts:
|
||||
description: Any parts missing from the book by track index.
|
||||
type: array
|
||||
|
Loading…
Reference in New Issue
Block a user