audiobookshelf/docs/objects/Bookmarks.yaml
Nicholas W 3a91092fbf
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
2024-08-04 09:00:32 +02:00

18 lines
548 B
YAML

components:
schemas:
time:
type: integer
description: The time (in ms since POSIX epoch) when the bookmark was created.
example: 1616239000
bookmark:
properties:
libraryItemId:
$ref: './LibraryItem.yaml#/components/schemas/libraryItemId'
title:
type: string
description: The title of the bookmark.
example: Chapter 1
time:
$ref: '#/components/schemas/time'
createdAt:
$ref: '../schemas.yaml#/components/schemas/createdAt'