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:
@@ -0,0 +1,37 @@
|
||||
meta {
|
||||
name: Update Collection
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{base_url}}/api/collections/{{collection_id}}
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Sci-Fi Favorites",
|
||||
"description": "Updated description",
|
||||
"color": "#00ff00",
|
||||
"icon": "⭐",
|
||||
"auto_assign_rules": [
|
||||
{
|
||||
"id": "rule-2",
|
||||
"field": "series",
|
||||
"operator": "equals",
|
||||
"value": "Foundation",
|
||||
"priority": 9
|
||||
}
|
||||
],
|
||||
"view_settings": {
|
||||
"sort_by": "author",
|
||||
"view_mode": "list"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user