- 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
30 lines
547 B
Plaintext
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
|
|
}
|