Files
bookhoard/bruno/ebooks/Get Ebook Rating.bru
T

39 lines
734 B
Plaintext

meta {
name: Get Ebook Rating
type: http
seq: 6
}
get {
url: http://localhost:8765/api/ebooks/{{ebookid}}/rating
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Get Ebook Rating
Retrieves the authenticated user's rating for a specific ebook.
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `id` (string): Ebook UUID
**Response:**
- `id` (string): Rating UUID
- `ebook_id` (string): Ebook UUID
- `user_id` (string): User UUID
- `rating` (number): Rating value (1-5)
- `created_at` (string): Creation timestamp
- `updated_at` (string): Last update timestamp
**Error Responses:**
- 401: Invalid authentication
- 404: Rating not found
}