added ratings and updated ebook struct
This commit is contained in:
@@ -14,7 +14,14 @@ body:json {
|
||||
{
|
||||
"title": "Updated Book Title",
|
||||
"author": "Updated Author",
|
||||
"description": "Updated description"
|
||||
"description": "Updated description",
|
||||
"series": "Updated Series",
|
||||
"series_number": 2,
|
||||
"tags": "fiction,drama",
|
||||
"asin": "B0987654321",
|
||||
"date_published": "2023-06-15",
|
||||
"publisher": "Updated Publisher",
|
||||
"contributors": "Updated Editor"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,12 +40,19 @@ docs {
|
||||
**Path Parameters:**
|
||||
- `id` (string): Ebook UUID
|
||||
|
||||
**Request Body:** (all fields optional)
|
||||
- `title` (string): Book title
|
||||
- `author` (string): Book author
|
||||
- `isbn` (string): ISBN number
|
||||
- `description` (string): Book description
|
||||
- `cover_image_path` (string): Path to cover image
|
||||
**Request Body:** (all fields optional)
|
||||
- `title` (string): Book title
|
||||
- `author` (string): Book author
|
||||
- `isbn` (string): ISBN number
|
||||
- `description` (string): Book description
|
||||
- `cover_image_path` (string): Path to cover image
|
||||
- `series` (string): Book series name
|
||||
- `series_number` (number): Position in series
|
||||
- `tags` (string): Comma-separated tags
|
||||
- `asin` (string): Amazon ASIN
|
||||
- `date_published` (string): Publication date (YYYY-MM-DD)
|
||||
- `publisher` (string): Publisher name
|
||||
- `contributors` (string): Additional contributors
|
||||
|
||||
**Response:** Updated ebook object
|
||||
|
||||
|
||||
Reference in New Issue
Block a user