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
This commit is contained in:
2026-01-31 22:32:56 -05:00
parent 0a97b679a6
commit d6d208c3d1
33 changed files with 936 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
meta {
name: Download Book (EPUB)
type: http
seq: 3
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/download/{{book_id}}
}
vars:device_id, book_id, opds_base_url
+11
View File
@@ -0,0 +1,11 @@
meta {
name: Download Book (KEPUB)
type: http
seq: 4
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/download/{{book_id}}?format=kepub
}
vars:device_id, book_id, opds_base_url
+11
View File
@@ -0,0 +1,11 @@
meta {
name: Get Cover Image
type: http
seq: 5
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/cover/{{book_id}}
}
vars:device_id, book_id, opds_base_url
+11
View File
@@ -0,0 +1,11 @@
meta {
name: Get Device Catalog
type: http
seq: 1
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/catalog?page=1&per_page=50
}
vars:device_id, opds_base_url
+11
View File
@@ -0,0 +1,11 @@
meta {
name: Get Device Navigation
type: http
seq: 6
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/nav
}
vars:device_id, opds_base_url
+11
View File
@@ -0,0 +1,11 @@
meta {
name: List Formats
type: http
seq: 7
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/formats/{{book_id}}
}
vars:device_id, book_id, opds_base_url
+11
View File
@@ -0,0 +1,11 @@
meta {
name: Search Device Catalog
type: http
seq: 2
}
get {
url: {{opds_base_url}}/devices/{{device_id}}/search?q=hobbit
}
vars:device_id, opds_base_url