Complete project cleanup: remove unneeded files, organize static assets, update .gitignore
This commit is contained in:
@@ -5,32 +5,36 @@ meta {
|
||||
}
|
||||
|
||||
delete {
|
||||
url: http://localhost:8765/api/ebooks/123e4567-e89b-12d3-a456-426614174000
|
||||
url: http://localhost:8765/api/ebooks/{{ebookid}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
function onResponse(res) {
|
||||
let token = bru.setEnvVar("ebookid", "", { persist: true });
|
||||
}
|
||||
onResponse(res);
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user