List publications to continue
const url = 'http://localhost:8080/api/v1/me/continue-reading?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/api/v1/me/continue-reading?limit=50' \ --header 'Authorization: Bearer <token>'Publications the user has a position in and hasn’t finished, most recently read first. A position whose totalProgression is 1 counts as finished; one without it counts as started. Unavailable publications and libraries the user can no longer read are left out. Empty for a demo account, whose positions aren’t kept.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Opaque cursor from the previous page’s nextCursor.
Items per page. Values outside the range are clamped.
Responses
Section titled “Responses”One page of publications with the user’s position in each.
object
object
object
object
From the file’s metadata, or its file name when it has none.
The number in its series as the file’s metadata writes it, such as “3”, “1.5” or “Vol. 3”.
Comic archives get their format from their bytes, so a ZIP named
.cbr is cbz. A FictionBook zipped as .fb2.zip or .fbz is
fb2 too; its file downloads as application/x-zip-compressed-fb2.
remote is a chapter from an extension: it has pages but no file.
A chapter from an extension whose source reads only EPUBs or only
PDFs is epub or pdf, and its file is downloaded through the
source.
Number of pages for comic formats.
False when the file is missing from disk. Missing files are kept so progress survives.
Whether /cover has an image for this publication.
object
Counts saves; 0 when nothing has been saved.
A Readium Locator. The server checks the fields below and stores the rest as sent, up to 16 KiB in all.
object
The resource’s media type.
object
Position within the resource.
Position within the publication.
object
The device name of the session that saved it.
Pass as cursor to get the next page. Absent on the last page.
Example
{ "items": [ { "publication": { "format": "epub" }, "progress": { "locator": { "type": "application/xhtml+xml" } } } ]}The request was malformed.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The request has no valid session token.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}The server failed; details are in its log.
object
Explains the problem to a developer.
Example
{ "code": "bad_request"}