- 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
40 lines
982 B
YAML
40 lines
982 B
YAML
info:
|
|
name: Get Unlinked Books - User View
|
|
type: http
|
|
seq: 4
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/sync/unlinked-books'
|
|
auth: inherit
|
|
body:
|
|
type: none
|
|
headers:
|
|
- key: Authorization
|
|
value: Bearer {{user_token
|
|
|
|
docs: |-
|
|
## Get Unlinked Books - User View
|
|
|
|
Retrieves all unlinked books for the authenticated user that need manual linking.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/sync/unlinked-books
|
|
|
|
**Authentication:** Bearer token
|
|
|
|
**Response:**
|
|
- `unlinked` (array): Array of unlinked book objects
|
|
- `id` (string): Unlinked book UUID
|
|
- `title` (string): Book title
|
|
- `author` (string): Book author
|
|
- `device_id` (string): Source device ID
|
|
- `device_name` (string): Source device name
|
|
- `detected_at` (string): Detection timestamp
|
|
- `total` (number): Total count of unlinked books
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 500: Internal server error
|