@@ -6,9 +6,11 @@ Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
7
[ ** create_custom_format** ] ( CustomFormatApi.md#create_custom_format ) | ** POST** /api/v3/customformat |
8
8
[ ** delete_custom_format** ] ( CustomFormatApi.md#delete_custom_format ) | ** DELETE** /api/v3/customformat/{id} |
9
+ [ ** delete_custom_format_bulk** ] ( CustomFormatApi.md#delete_custom_format_bulk ) | ** DELETE** /api/v3/customformat/bulk |
9
10
[ ** get_custom_format_by_id** ] ( CustomFormatApi.md#get_custom_format_by_id ) | ** GET** /api/v3/customformat/{id} |
10
11
[ ** list_custom_format** ] ( CustomFormatApi.md#list_custom_format ) | ** GET** /api/v3/customformat |
11
12
[ ** list_custom_format_schema** ] ( CustomFormatApi.md#list_custom_format_schema ) | ** GET** /api/v3/customformat/schema |
13
+ [ ** put_custom_format_bulk** ] ( CustomFormatApi.md#put_custom_format_bulk ) | ** PUT** /api/v3/customformat/bulk |
12
14
[ ** update_custom_format** ] ( CustomFormatApi.md#update_custom_format ) | ** PUT** /api/v3/customformat/{id} |
13
15
14
16
@@ -175,6 +177,87 @@ void (empty response body)
175
177
176
178
[[ 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 )
177
179
180
+ # ** delete_custom_format_bulk**
181
+ > delete_custom_format_bulk(custom_format_bulk_resource=custom_format_bulk_resource)
182
+
183
+
184
+
185
+ ### Example
186
+
187
+ * Api Key Authentication (apikey):
188
+ * Api Key Authentication (X-Api-Key):
189
+
190
+ ``` python
191
+ import sonarr
192
+ from sonarr.models.custom_format_bulk_resource import CustomFormatBulkResource
193
+ from sonarr.rest import ApiException
194
+ from pprint import pprint
195
+
196
+ # Defining the host is optional and defaults to http://localhost:8989
197
+ # See configuration.py for a list of all supported configuration parameters.
198
+ configuration = sonarr.Configuration(
199
+ host = " http://localhost:8989"
200
+ )
201
+
202
+ # The client must configure the authentication and authorization parameters
203
+ # in accordance with the API server security policy.
204
+ # Examples for each auth method are provided below, use the example that
205
+ # satisfies your auth use case.
206
+
207
+ # Configure API key authorization: apikey
208
+ configuration.api_key[' apikey' ] = os.environ[" API_KEY" ]
209
+
210
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
211
+ # configuration.api_key_prefix['apikey'] = 'Bearer'
212
+
213
+ # Configure API key authorization: X-Api-Key
214
+ configuration.api_key[' X-Api-Key' ] = os.environ[" API_KEY" ]
215
+
216
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
217
+ # configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
218
+
219
+ # Enter a context with an instance of the API client
220
+ with sonarr.ApiClient(configuration) as api_client:
221
+ # Create an instance of the API class
222
+ api_instance = sonarr.CustomFormatApi(api_client)
223
+ custom_format_bulk_resource = sonarr.CustomFormatBulkResource() # CustomFormatBulkResource | (optional)
224
+
225
+ try :
226
+ api_instance.delete_custom_format_bulk(custom_format_bulk_resource = custom_format_bulk_resource)
227
+ except Exception as e:
228
+ print (" Exception when calling CustomFormatApi->delete_custom_format_bulk: %s \n " % e)
229
+ ```
230
+
231
+
232
+
233
+ ### Parameters
234
+
235
+
236
+ Name | Type | Description | Notes
237
+ ------------- | ------------- | ------------- | -------------
238
+ ** custom_format_bulk_resource** | [ ** CustomFormatBulkResource** ] ( CustomFormatBulkResource.md ) | | [ optional]
239
+
240
+ ### Return type
241
+
242
+ void (empty response body)
243
+
244
+ ### Authorization
245
+
246
+ [ apikey] ( ../README.md#apikey ) , [ X-Api-Key] ( ../README.md#X-Api-Key )
247
+
248
+ ### HTTP request headers
249
+
250
+ - ** Content-Type** : application/json
251
+ - ** Accept** : Not defined
252
+
253
+ ### HTTP response details
254
+
255
+ | Status code | Description | Response headers |
256
+ | -------------| -------------| ------------------|
257
+ ** 2XX** | OK | - |
258
+
259
+ [[ 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 )
260
+
178
261
# ** get_custom_format_by_id**
179
262
> CustomFormatResource get_custom_format_by_id(id)
180
263
@@ -416,6 +499,90 @@ This endpoint does not need any parameter.
416
499
417
500
[[ 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 )
418
501
502
+ # ** put_custom_format_bulk**
503
+ > CustomFormatResource put_custom_format_bulk(custom_format_bulk_resource=custom_format_bulk_resource)
504
+
505
+
506
+
507
+ ### Example
508
+
509
+ * Api Key Authentication (apikey):
510
+ * Api Key Authentication (X-Api-Key):
511
+
512
+ ``` python
513
+ import sonarr
514
+ from sonarr.models.custom_format_bulk_resource import CustomFormatBulkResource
515
+ from sonarr.models.custom_format_resource import CustomFormatResource
516
+ from sonarr.rest import ApiException
517
+ from pprint import pprint
518
+
519
+ # Defining the host is optional and defaults to http://localhost:8989
520
+ # See configuration.py for a list of all supported configuration parameters.
521
+ configuration = sonarr.Configuration(
522
+ host = " http://localhost:8989"
523
+ )
524
+
525
+ # The client must configure the authentication and authorization parameters
526
+ # in accordance with the API server security policy.
527
+ # Examples for each auth method are provided below, use the example that
528
+ # satisfies your auth use case.
529
+
530
+ # Configure API key authorization: apikey
531
+ configuration.api_key[' apikey' ] = os.environ[" API_KEY" ]
532
+
533
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
534
+ # configuration.api_key_prefix['apikey'] = 'Bearer'
535
+
536
+ # Configure API key authorization: X-Api-Key
537
+ configuration.api_key[' X-Api-Key' ] = os.environ[" API_KEY" ]
538
+
539
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
540
+ # configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
541
+
542
+ # Enter a context with an instance of the API client
543
+ with sonarr.ApiClient(configuration) as api_client:
544
+ # Create an instance of the API class
545
+ api_instance = sonarr.CustomFormatApi(api_client)
546
+ custom_format_bulk_resource = sonarr.CustomFormatBulkResource() # CustomFormatBulkResource | (optional)
547
+
548
+ try :
549
+ api_response = api_instance.put_custom_format_bulk(custom_format_bulk_resource = custom_format_bulk_resource)
550
+ print (" The response of CustomFormatApi->put_custom_format_bulk:\n " )
551
+ pprint(api_response)
552
+ except Exception as e:
553
+ print (" Exception when calling CustomFormatApi->put_custom_format_bulk: %s \n " % e)
554
+ ```
555
+
556
+
557
+
558
+ ### Parameters
559
+
560
+
561
+ Name | Type | Description | Notes
562
+ ------------- | ------------- | ------------- | -------------
563
+ ** custom_format_bulk_resource** | [ ** CustomFormatBulkResource** ] ( CustomFormatBulkResource.md ) | | [ optional]
564
+
565
+ ### Return type
566
+
567
+ [ ** CustomFormatResource** ] ( CustomFormatResource.md )
568
+
569
+ ### Authorization
570
+
571
+ [ apikey] ( ../README.md#apikey ) , [ X-Api-Key] ( ../README.md#X-Api-Key )
572
+
573
+ ### HTTP request headers
574
+
575
+ - ** Content-Type** : application/json
576
+ - ** Accept** : application/json
577
+
578
+ ### HTTP response details
579
+
580
+ | Status code | Description | Response headers |
581
+ | -------------| -------------| ------------------|
582
+ ** 2XX** | OK | - |
583
+
584
+ [[ 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 )
585
+
419
586
# ** update_custom_format**
420
587
> CustomFormatResource update_custom_format(id, custom_format_resource=custom_format_resource)
421
588
0 commit comments