# \HistoryApi
All URIs are relative to *http://localhost:8787*
[**create_history_failed_by_id**](HistoryApi.md#create_history_failed_by_id) | **POST** /api/v1/history/failed/{id} |
[**get_history**](HistoryApi.md#get_history) | **GET** /api/v1/history |
[**list_history_author**](HistoryApi.md#list_history_author) | **GET** /api/v1/history/author |
[**list_history_since**](HistoryApi.md#list_history_since) | **GET** /api/v1/history/since |
## create_history_failed_by_id
> create_history_failed_by_id(id)
### Parameters
**id** | **i32** | | [required] |
### Return type
(empty response body)
### Authorization
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_history
> models::HistoryResourcePagingResource get_history(page, page_size, sort_key, sort_direction, include_author, include_book, event_type, book_id, download_id)
### Parameters
**page** | Option<**i32**> | | |[default to 1]
**page_size** | Option<**i32**> | | |[default to 10]
**sort_key** | Option<**String**> | | |
**sort_direction** | Option<[**SortDirection**](.md)> | | |
**include_author** | Option<**bool**> | | |
**include_book** | Option<**bool**> | | |
**event_type** | Option<[**Vec<i32>**](i32.md)> | | |
**book_id** | Option<**i32**> | | |
**download_id** | Option<**String**> | | |
### Return type
[**models::HistoryResourcePagingResource**](HistoryResourcePagingResource.md)
### Authorization
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_history_author
> Vec<models::HistoryResource> list_history_author(author_id, book_id, event_type, include_author, include_book)
### Parameters
**author_id** | Option<**i32**> | | |
**book_id** | Option<**i32**> | | |
**event_type** | Option<[**EntityHistoryEventType**](.md)> | | |
**include_author** | Option<**bool**> | | |[default to false]
**include_book** | Option<**bool**> | | |[default to false]
### Return type
[**Vec<models::HistoryResource>**](HistoryResource.md)
### Authorization
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain, application/json, text/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_history_since
> Vec<models::HistoryResource> list_history_since(date, event_type, include_author, include_book)
### Parameters
**date** | Option<**String**> | | |
**event_type** | Option<[**EntityHistoryEventType**](.md)> | | |
**include_author** | Option<**bool**> | | |[default to false]
**include_book** | Option<**bool**> | | |[default to false]
### Return type
[**Vec<models::HistoryResource>**](HistoryResource.md)
### Authorization
[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain, application/json, text/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)