Complete project cleanup: remove unneeded files, organize static assets, update .gitignore
This commit is contained in:
@@ -23,6 +23,14 @@ body:json {
|
||||
}
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
function onResponse(res) {
|
||||
let data = res.getBody();
|
||||
let token = bru.setEnvVar("ebookid", data.id, { persist: true });
|
||||
}
|
||||
onResponse(res);
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
@@ -30,11 +38,11 @@ settings {
|
||||
|
||||
docs {
|
||||
## Create Ebook
|
||||
|
||||
|
||||
Creates a new ebook entry in the library.
|
||||
|
||||
|
||||
**Authentication:** Required (Bearer token)
|
||||
|
||||
|
||||
**Request Body:**
|
||||
- `title` (string, required): Book title
|
||||
- `author` (string, optional): Book author
|
||||
@@ -44,9 +52,9 @@ docs {
|
||||
- `file_size` (number, optional): File size in bytes
|
||||
- `mime_type` (string, optional): MIME type
|
||||
- `cover_image_path` (string, optional): Path to cover image
|
||||
|
||||
|
||||
**Response:** Created ebook object
|
||||
|
||||
|
||||
**Error Responses:**
|
||||
- 401: Invalid authentication
|
||||
- 400: Invalid request data
|
||||
|
||||
Reference in New Issue
Block a user