34 lines
565 B
Plaintext
34 lines
565 B
Plaintext
meta {
|
|
name: List Ebooks
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: http://localhost:8765/api/ebooks
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
|
|
|
|
docs {
|
|
## List Ebooks
|
|
|
|
Retrieves a paginated list of ebooks.
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Query Parameters:**
|
|
- `limit` (number, optional): Number of results (default: 20, max: 100)
|
|
- `offset` (number, optional): Pagination offset (default: 0)
|
|
|
|
**Response:** Array of ebook objects with id, title, author, etc.
|
|
|
|
**Error Responses:**
|
|
- 401: Invalid authentication
|
|
} |