First Commit. AI Generated App.

This commit is contained in:
2026-01-21 21:17:22 -05:00
parent ea70d85f9d
commit 4345b7bcdd
22 changed files with 449 additions and 208 deletions
+53
View File
@@ -0,0 +1,53 @@
meta {
name: Create Ebook
type: http
seq: 3
}
post {
url: http://localhost:8765/api/ebooks
body: json
auth: inherit
}
body:json {
{
"title": "Sample Book",
"author": "Sample Author",
"isbn": "1234567890",
"description": "A sample ebook",
"file_path": "/uploads/sample.epub",
"file_size": 1024000,
"mime_type": "application/epub+zip",
"cover_image_path": "/uploads/cover.jpg"
}
}
settings {
encodeUrl: true
timeout: 0
}
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
- `isbn` (string, optional): ISBN number
- `description` (string, optional): Book description
- `file_path` (string, required): Path to ebook file
- `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
}