sync/library

Add/update a book in your library

put/v1/sync/books/{bookId}

Request

  • Base URL: https://api.ditto.audio (the document declares no server; this is the origin it was published from)
  • URL: https://api.ditto.audio/v1/sync/books/{bookId}
  • Auth: HTTP bearer

Path parameters

bookIdstring required

Request body

bookIdstring

client book id (stable across devices)

titlestring
authorstring
formatstring
chapterCountnumber
contentHashstring

sha-256 of the book file

coverImageUrlstring
addedAtMsnumber

client add time, ms epoch

deletedboolean

tombstone — remove from cloud library

Example request

{
  "format": "epub"
}

Changes

No recorded changes to this operation across all 1 revision of this API.