mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 11:51:36 +00:00
Schema updates from August 3 (#1)
* Update: formatting * Fix: libraryItemController `play` endpoint + Endpoints cannot have optional path parameters + Moved schemas to `components` section * Fix: MeController optional path parameters * Fix: Books do not have `episodeId` in `mediaProgress` * Fix: `PlaybackSession` oneOf between book and podcast * Update: bundled spec * Fix: `allowReserved` in LibraryItem include query * Add: tags to AuthController endpoints * Fix: summary of play endpoints * Update: bundled spec
This commit is contained in:
parent
7274b87aca
commit
3a91092fbf
13 changed files with 561 additions and 441 deletions
|
|
@ -24,7 +24,7 @@ components:
|
|||
type: array
|
||||
items:
|
||||
type: string
|
||||
example: ["Fantasy", "Sci-Fi", "Nonfiction: History"]
|
||||
example: ['Fantasy', 'Sci-Fi', 'Nonfiction: History']
|
||||
publishedYear:
|
||||
description: The year the book was published. Will be null if unknown.
|
||||
type: string
|
||||
|
|
@ -44,23 +44,9 @@ components:
|
|||
type: string
|
||||
nullable: true
|
||||
example: >-
|
||||
The masterpiece that started Terry Goodkind's New York Times bestselling
|
||||
epic Sword of Truth In the aftermath of the brutal murder of his father,
|
||||
a mysterious woman, Kahlan Amnell, appears in Richard Cypher's forest
|
||||
sanctuary seeking help...and more. His world, his very beliefs, are
|
||||
shattered when ancient debts come due with thundering violence. In a
|
||||
dark age it takes courage to live, and more than mere courage to
|
||||
challenge those who hold dominion, Richard and Kahlan must take up that
|
||||
challenge or become the next victims. Beyond awaits a bewitching land
|
||||
where even the best of their hearts could betray them. Yet, Richard
|
||||
fears nothing so much as what secrets his sword might reveal about his
|
||||
own soul. Falling in love would destroy them - for reasons Richard can't
|
||||
imagine and Kahlan dare not say. In their darkest hour, hunted
|
||||
relentlessly, tormented by treachery and loss, Kahlan calls upon Richard
|
||||
to reach beyond his sword - to invoke within himself something more
|
||||
noble. Neither knows that the rules of battle have just changed...or
|
||||
that their time has run out. Wizard's First Rule is the beginning. One
|
||||
book. One Rule. Witness the birth of a legend.
|
||||
The masterpiece that started Terry Goodkind's New York Times bestselling epic Sword of Truth In the aftermath of the brutal murder of his father, a mysterious woman, Kahlan Amnell, appears in Richard Cypher's forest sanctuary seeking help...and more. His world, his very beliefs, are shattered when ancient debts come due with thundering violence. In a dark age it takes courage to live, and more than mere courage to challenge those who hold dominion, Richard and Kahlan must take up that challenge or become the next victims. Beyond awaits a bewitching land where even the best of their hearts could betray them. Yet, Richard fears nothing so much as what secrets his sword might reveal about his own soul. Falling in love would destroy them - for reasons Richard can't imagine and Kahlan dare not say. In their darkest hour, hunted relentlessly, tormented by treachery and loss, Kahlan calls upon Richard to reach beyond his sword - to invoke within himself something more noble. Neither knows that the rules of battle have just changed...or that their time has run out. Wizard's First Rule is the beginning. One book. One Rule. Witness the birth of a legend.
|
||||
|
||||
|
||||
isbn:
|
||||
description: The ISBN of the book. Will be null if unknown.
|
||||
type: string
|
||||
|
|
@ -79,14 +65,14 @@ components:
|
|||
type: boolean
|
||||
example: false
|
||||
abridged:
|
||||
description: Whether the book is abridged.
|
||||
type: boolean
|
||||
example: false
|
||||
description: Whether the book is abridged.
|
||||
type: boolean
|
||||
example: false
|
||||
bookMetadataMinified:
|
||||
type: object
|
||||
description: The minified metadata for a book in the database.
|
||||
allOf:
|
||||
- $ref : '#/components/schemas/bookMetadataBase'
|
||||
- $ref: '#/components/schemas/bookMetadataBase'
|
||||
- type: object
|
||||
properties:
|
||||
titleIgnorePrefix:
|
||||
|
|
@ -141,10 +127,9 @@ components:
|
|||
narrators:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
example: Sam Tsoutsouvas
|
||||
type: string
|
||||
example: Sam Tsoutsouvas
|
||||
series:
|
||||
type: array
|
||||
items:
|
||||
$ref: '../entities/Series.yaml#/components/schemas/seriesSequence'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue