- Backend: Add server-side validation with go-playground/validator/v10 - Frontend: Add toast notifications for API errors with @zerodevx/svelte-toast - UI: Complete Tokyo Night theme redesign with modern animations - Docs: Update COMPLETE_DOCUMENTATION.md and README.md with all enhancements - Validation: Email format, password strength, and input sanitization - UX: Real-time error feedback, loading states, and responsive design
27 lines
501 B
YAML
27 lines
501 B
YAML
meta:
|
|
name: Delete Ebook
|
|
seq: 5
|
|
http:
|
|
method: delete
|
|
url: "{{base_url}}/api/ebooks/{{ebook_id}}"
|
|
auth:
|
|
type: bearer
|
|
vars:
|
|
pre-request:
|
|
- name: ebook_id
|
|
value: "123e4567-e89b-12d3-a456-426614174000"
|
|
docs: |
|
|
## Delete Ebook
|
|
|
|
Removes an ebook from the library.
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Path Parameters:**
|
|
- `id` (string): Ebook UUID
|
|
|
|
**Response:** 204 No Content
|
|
|
|
**Error Responses:**
|
|
- 401: Invalid authentication
|
|
- 404: Ebook not found |