Files
bookhoard/bruno/koreader/Sync Progress (SHA-256 Only).bru
T
john-okeefe d6d208c3d1 test(bruno): Add API tests for Kobo, Koreader, OPDS, collections
- Add Kobo bookmark/markup sync tests
- Add Koreader progress/bookmark sync tests
- Add OPDS feed tests
- Add collection tests
- Add sync tests for book linking
2026-01-31 22:32:56 -05:00

30 lines
547 B
Plaintext

meta {
name: "KOReader Sync Progress - Priority Matching (SHA-256 only)"
type: http
seq: 2
}
post {
url: {{base_url}}/api/v1/koreader/sync/progress
body: json({
"sync_mode": "immediate",
"books": [
{
"sha256": "{{book_sha256}}",
"file_path": "/mnt/onboard/Unknown%20Book.epub",
"percentage": 0.45,
"page": 89,
"total_pages": 200
}
]
})
auth: {
type: bearer
bearer: {{koreader_device_token}}
}
}
assert {
response.status == 200 || response.status == 202
}