All URIs are relative to http://localhost:8787
| Method | HTTP request | Description |
|---|---|---|
| create_book | POST /api/v1/book | |
| delete_book | DELETE /api/v1/book/{id} | |
| get_book_by_id | GET /api/v1/book/{id} | |
| get_book_overview | GET /api/v1/book/{id}/overview | |
| list_book | GET /api/v1/book | |
| put_book_monitor | PUT /api/v1/book/monitor | |
| update_book | PUT /api/v1/book/{id} |
models::BookResource create_book(book_resource)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| book_resource | Option<BookResource> |
- Content-Type: application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_book(id, delete_files, add_import_list_exclusion)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | i32 | [required] | ||
| delete_files | Option<bool> | [default to false] | ||
| add_import_list_exclusion | Option<bool> | [default to false] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::BookResource get_book_by_id(id)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | i32 | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_book_overview(id)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | i32 | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::BookResource list_book(author_id, book_ids, title_slug, include_all_author_books)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| author_id | Option<i32> | |||
| book_ids | Option<Vec> | |||
| title_slug | Option<String> | |||
| include_all_author_books | Option<bool> | [default to false] |
Vecmodels::BookResource
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
put_book_monitor(books_monitored_resource)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| books_monitored_resource | Option<BooksMonitoredResource> |
(empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::BookResource update_book(id, book_resource)
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| id | String | [required] | ||
| book_resource | Option<BookResource> |
- Content-Type: application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]