curl --request GET \
--url https://demo.komga.org/api/v1/books/{bookId}/positions \
--header 'Authorization: Basic <encoded-value>'{
"positions": [
{
"href": "<string>",
"type": "<string>",
"koboSpan": "<string>",
"text": {
"after": "<string>",
"before": "<string>",
"highlight": "<string>"
},
"title": "<string>"
}
],
"total": 123
}The Positions API is a proposed standard for OPDS 2 and Readium. It is used by the Epub Reader.
curl --request GET \
--url https://demo.komga.org/api/v1/books/{bookId}/positions \
--header 'Authorization: Basic <encoded-value>'{
"positions": [
{
"href": "<string>",
"type": "<string>",
"koboSpan": "<string>",
"text": {
"after": "<string>",
"before": "<string>",
"highlight": "<string>"
},
"title": "<string>"
}
],
"total": 123
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.