- 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
27 lines
511 B
Plaintext
27 lines
511 B
Plaintext
meta {
|
|
name: "Link Unlinked Book - Manual Resolution"
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/api/sync/link-book
|
|
body: json({
|
|
"unlinked_book_id": "{{unlinked_book_id}}",
|
|
"media_item_id": "{{media_item_id}}",
|
|
"confidence_score": 1.0
|
|
})
|
|
auth: {
|
|
type: bearer
|
|
bearer: {{user_token}}
|
|
}
|
|
}
|
|
|
|
assert {
|
|
response.status == 200
|
|
response.body.status == "linked"
|
|
response.body.unlinked_book_id exists()
|
|
response.body.media_item_id exists()
|
|
response.body.message exists()
|
|
}
|