- 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
31 lines
575 B
Plaintext
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
|
|
}
|