--- method: GET path: /api/collections/:id/books auth: jwt area: collections --- # Get Book Collections Returns the collections a given book belongs to. ## Example response ```json example-response { "book_id": "550e8400-e29b-41d4-a716-446655440000", "collections": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "To Read", "description": "Books I want to read soon", "color": "#00FF00", "icon": "📖" } ], "total": 1 } ``` ## Errors | Status | Body | When | | ------ | ---- | ---- | | 400 | `{"error": "invalid book id"}` | malformed id | | 500 | `{"error": "..."}` | unexpected server error |