Update configuration key naming convention to use snake_case consistently. Applies changes recursively across all subdirectories.
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
meta {
|
|
name: Get Unlinked Book Suggestions
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{base_url}}/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.
|
|
}
|