Files
bookhoard/bruno/kobo/bookmark-sync.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

31 lines
575 B
Plaintext

meta {
name: "Kobo Bookmark Sync - Enhanced with ContentId Mapping"
type: http
seq: 3
}
post {
url: {{base_url}}/api/v1/kobo/bookmark
body: json({
"BookmarkSync": [
{
"BookmarkId": "bookmark_2",
"ContentId": "kobo_xyz789",
"BookmarkText": "Important note",
"BookmarkType": "bookmark",
"DateCreated": "2026-01-31T12:00:00Z"
}
]
})
auth: {
type: bearer
bearer: {{device_token}}
}
}
assert {
response.status == 200
response.body.Status == "Success"
response.body.BookmarksSynced >= 0
}