mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-04 08:21:35 +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
|
type: boolean
|
||||||
mediaType:
|
mediaType:
|
||||||
$ref: './mediaTypes/media.yaml#/components/schemas/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:
|
libraryItemMinified:
|
||||||
type: object
|
type: object
|
||||||
description: A single item on the server, like a book or podcast. Minified media format.
|
description: A single item on the server, like a book or podcast. Minified media format.
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ components:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '../metadata/BookMetadata.yaml#/components/schemas/bookChapter'
|
$ref: '../metadata/BookMetadata.yaml#/components/schemas/bookChapter'
|
||||||
|
metadata:
|
||||||
|
$ref: '../metadata/BookMetadata.yaml#/components/schemas/bookMetadataBase'
|
||||||
missingParts:
|
missingParts:
|
||||||
description: Any parts missing from the book by track index.
|
description: Any parts missing from the book by track index.
|
||||||
type: array
|
type: array
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue