meta { name: "KOReader Sync Bookmarks - Enhanced with SHA-256" type: http seq: 3 } post { url: {{base_url}}/api/v1/koreader/sync/bookmarks body: json({ "book_sha256": "{{book_sha256}}", "bookmarks": [ { "text": "Important passage about chapter 3", "pos0": "/6/4[chap3ref]!/4/2/1:0", "page": 45, "type": "bookmark" } ], "notes": [ { "notes": "My note about this section", "pos0": "/6/4[chap3ref]!/4/2/1:100", "page": 47, "text": "Quoted text from the book" } ], "highlights": [ { "text": "This is highlighted text", "pos0": "/6/4[chap3ref]!/4/2/1:50", "pos1": "/6/4[chap3ref]!/4/2/1:100", "color": "#ffff00", "page": 50 } ] }) auth: { type: bearer bearer: {{koreader_device_token}} } } assert { response.status == 200 response.body.sync_status == "completed" response.body.total_synced >= 0 }