sonarr-api-rs 3.0.0

Rust API wrapper for Sonarr
Documentation
# \BlocklistApi

All URIs are relative to *http://localhost:8989*

Method | HTTP request | Description
------------- | ------------- | -------------
[**api_v3_blocklist_bulk_delete**]BlocklistApi.md#api_v3_blocklist_bulk_delete | **DELETE** /api/v3/blocklist/bulk | 
[**api_v3_blocklist_get**]BlocklistApi.md#api_v3_blocklist_get | **GET** /api/v3/blocklist | 
[**api_v3_blocklist_id_delete**]BlocklistApi.md#api_v3_blocklist_id_delete | **DELETE** /api/v3/blocklist/{id} | 



## api_v3_blocklist_bulk_delete

> api_v3_blocklist_bulk_delete(blocklist_bulk_resource)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**blocklist_bulk_resource** | Option<[**BlocklistBulkResource**]BlocklistBulkResource.md> |  |  |

### Return type

 (empty response body)

### Authorization

[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

- **Content-Type**: application/json, text/json, application/*+json
- **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)


## api_v3_blocklist_get

> models::BlocklistResourcePagingResource api_v3_blocklist_get(page, page_size, sort_key, sort_direction, series_ids, protocols)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**page** | Option<**i32**> |  |  |[default to 1]
**page_size** | Option<**i32**> |  |  |[default to 10]
**sort_key** | Option<**String**> |  |  |
**sort_direction** | Option<[**SortDirection**].md> |  |  |
**series_ids** | Option<[**Vec<i32>**]i32.md> |  |  |
**protocols** | Option<[**Vec<models::DownloadProtocol>**]models::DownloadProtocol.md> |  |  |

### Return type

[**models::BlocklistResourcePagingResource**](BlocklistResourcePagingResource.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)


## api_v3_blocklist_id_delete

> api_v3_blocklist_id_delete(id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**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)