- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
35 lines
727 B
YAML
35 lines
727 B
YAML
info:
|
|
name: KOReader Get Library
|
|
type: http
|
|
seq: 3
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/sync/koreader/library'
|
|
auth: inherit
|
|
body:
|
|
type: none
|
|
headers:
|
|
- key: Authorization
|
|
value: Bearer {{device_token
|
|
|
|
docs: |-
|
|
## KOReader Get Library
|
|
|
|
Retrieves the user's library for KOReader sync operations.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/sync/koreader/library
|
|
|
|
**Authentication:** Bearer token (device token)
|
|
|
|
**Response:**
|
|
- `library_sync` (object): Library sync data
|
|
- `total_books` (number): Total number of books
|
|
- `books` (array): Array of book objects
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 500: Internal server error
|