Files
bookhoard/bruno/sync-kobo/Get Unlinked Book Suggestions.bru
T
john-okeefe 3117ce54ec refactor(bruno): migrate API tests to Bruno DSL format
- Convert all existing .bru files from JSON to Bruno DSL format
- Remove obsolete files (conflicts/api.bru, kobo/Kobo Initialization.bru)
- Update auth configuration to use 'inherit' instead of explicit bearer tokens
- Add comprehensive documentation to all test files
- Improve test scripts with proper assertions and error handling
2026-02-08 20:49:06 -05:00

51 lines
1.1 KiB
Plaintext

meta {
name: Get Unlinked Book Suggestions
type: http
seq: 1
}
get {
url: {{baseUrl}}/sync/unlinked-books/{{unlinkedBookId}}/suggestions
body: none
auth: inherit
}
headers {
Authorization: Bearer {{authToken}}
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Get Unlinked Book Suggestions
Retrieves suggested media items from the library that match an unlinked book, enabling manual linking.
**Method:** GET
**Endpoint:** /sync/unlinked-books/{unlinkedBookId}/suggestions
**Authentication:** Bearer token
**Path Parameters:**
- `unlinkedBookId` (string): Unlinked book UUID
**Response:**
- Array of suggested media items with:
- `id` (string): Media item UUID
- `title` (string): Media item title
- `author` (string): Media item author
- `confidence_score` (number): Match confidence (0-1)
- `match_reasons` (array): Reasons for the suggestion
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 404: Unlinked book not found
**Note:** Suggestions are generated based on title similarity, author matching, and other metadata comparisons.
}