mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Add: ebook file spec
This commit is contained in:
parent
242afb3d1a
commit
f92f5c31bc
2 changed files with 18 additions and 1 deletions
17
docs/objects/files/EBookFile.yaml
Normal file
17
docs/objects/files/EBookFile.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
components:
|
||||
schemas:
|
||||
ebookFile:
|
||||
type: object
|
||||
properties:
|
||||
ino:
|
||||
$ref: '../../schemas.yaml#/components/schemas/inode'
|
||||
metadata:
|
||||
$ref: '../metadata/FileMetadata.yaml#/components/schemas/fileMetadata'
|
||||
ebookFormat:
|
||||
description: The ebook format of the ebook file.
|
||||
type: string
|
||||
example: epub
|
||||
addedAt:
|
||||
$ref: '../../schemas.yaml#/components/schemas/addedAt'
|
||||
updatedAt:
|
||||
$ref: '../../schemas.yaml#/components/schemas/updatedAt'
|
||||
|
|
@ -29,7 +29,7 @@ components:
|
|||
items:
|
||||
type: integer
|
||||
ebookFile:
|
||||
$ref: '#/components/schemas/ebookFile'
|
||||
$ref: '../files/EBookFile.yaml#/components/schemas/ebookFile'
|
||||
bookMinified:
|
||||
type: object
|
||||
description: Minified book schema. Does not depend on `bookBase` because there's pretty much no overlap.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue