bandwidth-sdk 17.0.1 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +18 -0
- data/bandwidth-sdk.gemspec +1 -2
- data/bandwidth.yml +7 -0
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +198 -387
- data/coverage/index.html +5842 -7703
- data/custom_templates/README.mustache +4 -1
- data/custom_templates/api_client.mustache +254 -0
- data/custom_templates/configuration.mustache +545 -0
- data/custom_templates/gem.mustache +2 -0
- data/docs/CallsApi.md +20 -5
- data/docs/ConferencesApi.md +36 -9
- data/docs/MFAApi.md +12 -3
- data/docs/MediaApi.md +16 -4
- data/docs/MessagesApi.md +8 -2
- data/docs/MultiChannelApi.md +4 -1
- data/docs/PhoneNumberLookupApi.md +12 -3
- data/docs/RecordingsApi.md +40 -10
- data/docs/StatisticsApi.md +4 -1
- data/docs/TollFreeVerificationApi.md +36 -9
- data/docs/TranscriptionsApi.md +12 -3
- data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
- data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
- data/lib/bandwidth-sdk/api/media_api.rb +5 -5
- data/lib/bandwidth-sdk/api/messages_api.rb +3 -3
- data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
- data/lib/bandwidth-sdk/api/multi_channel_api.rb +2 -2
- data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +4 -4
- data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
- data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
- data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +13 -13
- data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
- data/lib/bandwidth-sdk/api_client.rb +9 -5
- data/lib/bandwidth-sdk/api_error.rb +1 -1
- data/lib/bandwidth-sdk/api_model_base.rb +88 -0
- data/lib/bandwidth-sdk/configuration.rb +50 -1
- data/lib/bandwidth-sdk/models/account_statistics.rb +11 -78
- data/lib/bandwidth-sdk/models/additional_denial_reason.rb +41 -78
- data/lib/bandwidth-sdk/models/address.rb +23 -90
- data/lib/bandwidth-sdk/models/answer_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/async_lookup_request.rb +11 -78
- data/lib/bandwidth-sdk/models/blocked_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/business_entity_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/business_registration_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/call_state.rb +11 -78
- data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription.rb +11 -78
- data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/call_transcription_response.rb +11 -78
- data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/callback.rb +1 -1
- data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/card_width_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/code_request.rb +11 -78
- data/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/conference.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_member.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/contact.rb +19 -86
- data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb +11 -78
- data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb +11 -78
- data/lib/bandwidth-sdk/models/create_call.rb +41 -78
- data/lib/bandwidth-sdk/models/create_call_response.rb +81 -78
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +31 -78
- data/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb +11 -78
- data/lib/bandwidth-sdk/models/create_sync_lookup_response.rb +11 -78
- data/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb +11 -78
- data/lib/bandwidth-sdk/models/deactivation_event_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/diversion.rb +11 -78
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/error.rb +11 -78
- data/lib/bandwidth-sdk/models/error_object.rb +41 -78
- data/lib/bandwidth-sdk/models/error_source.rb +11 -78
- data/lib/bandwidth-sdk/models/failure_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/field_error.rb +11 -78
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb +11 -78
- data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb +11 -78
- data/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_callback.rb +61 -78
- data/lib/bandwidth-sdk/models/inbound_callback_message.rb +81 -78
- data/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/line_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/link.rb +11 -78
- data/lib/bandwidth-sdk/models/link_schema.rb +11 -78
- data/lib/bandwidth-sdk/models/links_object.rb +11 -78
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_error_response.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_error_schema.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_result.rb +11 -78
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +11 -78
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +11 -78
- data/lib/bandwidth-sdk/models/media.rb +11 -78
- data/lib/bandwidth-sdk/models/message.rb +11 -78
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +31 -78
- data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/messages_list.rb +11 -78
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +11 -78
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +31 -78
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +11 -78
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +11 -78
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +11 -78
- data/lib/bandwidth-sdk/models/mms_message_content.rb +11 -78
- data/lib/bandwidth-sdk/models/mms_message_content_file.rb +11 -78
- data/lib/bandwidth-sdk/models/multi_channel_action.rb +3 -4
- data/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +41 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb +51 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb +61 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb +41 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb +21 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb +51 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb +3 -4
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb +61 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +3 -4
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +3 -4
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb +51 -78
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb +61 -78
- data/lib/bandwidth-sdk/models/multi_channel_error.rb +11 -78
- data/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_message_content.rb +11 -78
- data/lib/bandwidth-sdk/models/multi_channel_message_request.rb +21 -78
- data/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb +41 -78
- data/lib/bandwidth-sdk/models/opt_in_workflow.rb +25 -82
- data/lib/bandwidth-sdk/models/page_info.rb +11 -78
- data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/product_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_base.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_action_dial.rb +31 -78
- data/lib/bandwidth-sdk/models/rbm_action_open_url.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_action_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_view_location.rb +41 -78
- data/lib/bandwidth-sdk/models/rbm_card_content.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_card_content_media.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_location_response.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_media_height_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_message_content_file.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb +3 -4
- data/lib/bandwidth-sdk/models/rbm_message_content_text.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_message_media.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_standalone_card.rb +41 -78
- data/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_transcriptions.rb +11 -78
- data/lib/bandwidth-sdk/models/redirect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/sms_message_content.rb +11 -78
- data/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/status_callback.rb +61 -78
- data/lib/bandwidth-sdk/models/status_callback_message.rb +81 -78
- data/lib/bandwidth-sdk/models/status_callback_type_enum.rb +6 -6
- data/lib/bandwidth-sdk/models/stir_shaken.rb +11 -78
- data/lib/bandwidth-sdk/models/sync_lookup_request.rb +11 -78
- data/lib/bandwidth-sdk/models/telephone_number.rb +11 -78
- data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +11 -78
- data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_error.rb +11 -78
- data/lib/bandwidth-sdk/models/tfv_status.rb +13 -80
- data/lib/bandwidth-sdk/models/tfv_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_submission_info.rb +21 -88
- data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +11 -78
- data/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +11 -78
- data/lib/bandwidth-sdk/models/transcription.rb +11 -78
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/update_call.rb +11 -78
- data/lib/bandwidth-sdk/models/update_call_recording.rb +21 -78
- data/lib/bandwidth-sdk/models/update_conference.rb +11 -78
- data/lib/bandwidth-sdk/models/update_conference_member.rb +11 -78
- data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/verification_request.rb +51 -88
- data/lib/bandwidth-sdk/models/verification_update_request.rb +51 -88
- data/lib/bandwidth-sdk/models/verification_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/verify_code_request.rb +13 -80
- data/lib/bandwidth-sdk/models/verify_code_response.rb +11 -78
- data/lib/bandwidth-sdk/models/voice_api_error.rb +11 -78
- data/lib/bandwidth-sdk/models/voice_code_response.rb +11 -78
- data/lib/bandwidth-sdk/models/webhook_subscription.rb +13 -80
- data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +11 -78
- data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +15 -82
- data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +21 -78
- data/lib/bandwidth-sdk/version.rb +2 -2
- data/lib/bandwidth-sdk.rb +2 -1
- data/openapitools.json +1 -1
- data/spec/smoke/calls_api_spec.rb +50 -76
- data/spec/smoke/conferences_api_spec.rb +7 -5
- data/spec/smoke/media_api_spec.rb +4 -2
- data/spec/smoke/messages_api_spec.rb +9 -4
- data/spec/smoke/mfa_api_spec.rb +9 -4
- data/spec/smoke/multi_channel_api_spec.rb +4 -2
- data/spec/smoke/phone_number_lookup_api_spec.rb +6 -4
- data/spec/smoke/recordings_api_spec.rb +7 -33
- data/spec/smoke/statistics_api_spec.rb +16 -8
- data/spec/smoke/toll_free_verification_api_spec.rb +6 -4
- data/spec/smoke/transcriptions_api_spec.rb +7 -5
- data/spec/spec_helper.rb +2 -0
- data/spec/unit/models/verify_code_request_spec.rb +1 -1
- metadata +5 -2
data/docs/ConferencesApi.md
CHANGED
|
@@ -33,6 +33,9 @@ Bandwidth.configure do |config|
|
|
|
33
33
|
# Configure HTTP basic authorization: Basic
|
|
34
34
|
config.username = 'YOUR USERNAME'
|
|
35
35
|
config.password = 'YOUR PASSWORD'
|
|
36
|
+
|
|
37
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
38
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
36
39
|
end
|
|
37
40
|
|
|
38
41
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -81,7 +84,7 @@ end
|
|
|
81
84
|
|
|
82
85
|
### Authorization
|
|
83
86
|
|
|
84
|
-
[Basic](../README.md#Basic)
|
|
87
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
85
88
|
|
|
86
89
|
### HTTP request headers
|
|
87
90
|
|
|
@@ -107,6 +110,9 @@ Bandwidth.configure do |config|
|
|
|
107
110
|
# Configure HTTP basic authorization: Basic
|
|
108
111
|
config.username = 'YOUR USERNAME'
|
|
109
112
|
config.password = 'YOUR PASSWORD'
|
|
113
|
+
|
|
114
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
115
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
110
116
|
end
|
|
111
117
|
|
|
112
118
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -153,7 +159,7 @@ end
|
|
|
153
159
|
|
|
154
160
|
### Authorization
|
|
155
161
|
|
|
156
|
-
[Basic](../README.md#Basic)
|
|
162
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
157
163
|
|
|
158
164
|
### HTTP request headers
|
|
159
165
|
|
|
@@ -179,6 +185,9 @@ Bandwidth.configure do |config|
|
|
|
179
185
|
# Configure HTTP basic authorization: Basic
|
|
180
186
|
config.username = 'YOUR USERNAME'
|
|
181
187
|
config.password = 'YOUR PASSWORD'
|
|
188
|
+
|
|
189
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
190
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
182
191
|
end
|
|
183
192
|
|
|
184
193
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -227,7 +236,7 @@ end
|
|
|
227
236
|
|
|
228
237
|
### Authorization
|
|
229
238
|
|
|
230
|
-
[Basic](../README.md#Basic)
|
|
239
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
231
240
|
|
|
232
241
|
### HTTP request headers
|
|
233
242
|
|
|
@@ -253,6 +262,9 @@ Bandwidth.configure do |config|
|
|
|
253
262
|
# Configure HTTP basic authorization: Basic
|
|
254
263
|
config.username = 'YOUR USERNAME'
|
|
255
264
|
config.password = 'YOUR PASSWORD'
|
|
265
|
+
|
|
266
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
267
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
256
268
|
end
|
|
257
269
|
|
|
258
270
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -301,7 +313,7 @@ end
|
|
|
301
313
|
|
|
302
314
|
### Authorization
|
|
303
315
|
|
|
304
|
-
[Basic](../README.md#Basic)
|
|
316
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
305
317
|
|
|
306
318
|
### HTTP request headers
|
|
307
319
|
|
|
@@ -327,6 +339,9 @@ Bandwidth.configure do |config|
|
|
|
327
339
|
# Configure HTTP basic authorization: Basic
|
|
328
340
|
config.username = 'YOUR USERNAME'
|
|
329
341
|
config.password = 'YOUR PASSWORD'
|
|
342
|
+
|
|
343
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
344
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
330
345
|
end
|
|
331
346
|
|
|
332
347
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -373,7 +388,7 @@ end
|
|
|
373
388
|
|
|
374
389
|
### Authorization
|
|
375
390
|
|
|
376
|
-
[Basic](../README.md#Basic)
|
|
391
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
377
392
|
|
|
378
393
|
### HTTP request headers
|
|
379
394
|
|
|
@@ -399,6 +414,9 @@ Bandwidth.configure do |config|
|
|
|
399
414
|
# Configure HTTP basic authorization: Basic
|
|
400
415
|
config.username = 'YOUR USERNAME'
|
|
401
416
|
config.password = 'YOUR PASSWORD'
|
|
417
|
+
|
|
418
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
419
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
402
420
|
end
|
|
403
421
|
|
|
404
422
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -455,7 +473,7 @@ end
|
|
|
455
473
|
|
|
456
474
|
### Authorization
|
|
457
475
|
|
|
458
|
-
[Basic](../README.md#Basic)
|
|
476
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
459
477
|
|
|
460
478
|
### HTTP request headers
|
|
461
479
|
|
|
@@ -481,6 +499,9 @@ Bandwidth.configure do |config|
|
|
|
481
499
|
# Configure HTTP basic authorization: Basic
|
|
482
500
|
config.username = 'YOUR USERNAME'
|
|
483
501
|
config.password = 'YOUR PASSWORD'
|
|
502
|
+
|
|
503
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
504
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
484
505
|
end
|
|
485
506
|
|
|
486
507
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -528,7 +549,7 @@ nil (empty response body)
|
|
|
528
549
|
|
|
529
550
|
### Authorization
|
|
530
551
|
|
|
531
|
-
[Basic](../README.md#Basic)
|
|
552
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
532
553
|
|
|
533
554
|
### HTTP request headers
|
|
534
555
|
|
|
@@ -554,6 +575,9 @@ Bandwidth.configure do |config|
|
|
|
554
575
|
# Configure HTTP basic authorization: Basic
|
|
555
576
|
config.username = 'YOUR USERNAME'
|
|
556
577
|
config.password = 'YOUR PASSWORD'
|
|
578
|
+
|
|
579
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
580
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
557
581
|
end
|
|
558
582
|
|
|
559
583
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -604,7 +628,7 @@ nil (empty response body)
|
|
|
604
628
|
|
|
605
629
|
### Authorization
|
|
606
630
|
|
|
607
|
-
[Basic](../README.md#Basic)
|
|
631
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
608
632
|
|
|
609
633
|
### HTTP request headers
|
|
610
634
|
|
|
@@ -630,6 +654,9 @@ Bandwidth.configure do |config|
|
|
|
630
654
|
# Configure HTTP basic authorization: Basic
|
|
631
655
|
config.username = 'YOUR USERNAME'
|
|
632
656
|
config.password = 'YOUR PASSWORD'
|
|
657
|
+
|
|
658
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
659
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
633
660
|
end
|
|
634
661
|
|
|
635
662
|
api_instance = Bandwidth::ConferencesApi.new
|
|
@@ -679,7 +706,7 @@ nil (empty response body)
|
|
|
679
706
|
|
|
680
707
|
### Authorization
|
|
681
708
|
|
|
682
|
-
[Basic](../README.md#Basic)
|
|
709
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
683
710
|
|
|
684
711
|
### HTTP request headers
|
|
685
712
|
|
data/docs/MFAApi.md
CHANGED
|
@@ -27,6 +27,9 @@ Bandwidth.configure do |config|
|
|
|
27
27
|
# Configure HTTP basic authorization: Basic
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
|
+
|
|
31
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
30
33
|
end
|
|
31
34
|
|
|
32
35
|
api_instance = Bandwidth::MFAApi.new
|
|
@@ -73,7 +76,7 @@ end
|
|
|
73
76
|
|
|
74
77
|
### Authorization
|
|
75
78
|
|
|
76
|
-
[Basic](../README.md#Basic)
|
|
79
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
77
80
|
|
|
78
81
|
### HTTP request headers
|
|
79
82
|
|
|
@@ -99,6 +102,9 @@ Bandwidth.configure do |config|
|
|
|
99
102
|
# Configure HTTP basic authorization: Basic
|
|
100
103
|
config.username = 'YOUR USERNAME'
|
|
101
104
|
config.password = 'YOUR PASSWORD'
|
|
105
|
+
|
|
106
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
107
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
102
108
|
end
|
|
103
109
|
|
|
104
110
|
api_instance = Bandwidth::MFAApi.new
|
|
@@ -145,7 +151,7 @@ end
|
|
|
145
151
|
|
|
146
152
|
### Authorization
|
|
147
153
|
|
|
148
|
-
[Basic](../README.md#Basic)
|
|
154
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
149
155
|
|
|
150
156
|
### HTTP request headers
|
|
151
157
|
|
|
@@ -171,6 +177,9 @@ Bandwidth.configure do |config|
|
|
|
171
177
|
# Configure HTTP basic authorization: Basic
|
|
172
178
|
config.username = 'YOUR USERNAME'
|
|
173
179
|
config.password = 'YOUR PASSWORD'
|
|
180
|
+
|
|
181
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
182
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
174
183
|
end
|
|
175
184
|
|
|
176
185
|
api_instance = Bandwidth::MFAApi.new
|
|
@@ -217,7 +226,7 @@ end
|
|
|
217
226
|
|
|
218
227
|
### Authorization
|
|
219
228
|
|
|
220
|
-
[Basic](../README.md#Basic)
|
|
229
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
221
230
|
|
|
222
231
|
### HTTP request headers
|
|
223
232
|
|
data/docs/MediaApi.md
CHANGED
|
@@ -28,6 +28,9 @@ Bandwidth.configure do |config|
|
|
|
28
28
|
# Configure HTTP basic authorization: Basic
|
|
29
29
|
config.username = 'YOUR USERNAME'
|
|
30
30
|
config.password = 'YOUR PASSWORD'
|
|
31
|
+
|
|
32
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
33
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
31
34
|
end
|
|
32
35
|
|
|
33
36
|
api_instance = Bandwidth::MediaApi.new
|
|
@@ -73,7 +76,7 @@ nil (empty response body)
|
|
|
73
76
|
|
|
74
77
|
### Authorization
|
|
75
78
|
|
|
76
|
-
[Basic](../README.md#Basic)
|
|
79
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
77
80
|
|
|
78
81
|
### HTTP request headers
|
|
79
82
|
|
|
@@ -99,6 +102,9 @@ Bandwidth.configure do |config|
|
|
|
99
102
|
# Configure HTTP basic authorization: Basic
|
|
100
103
|
config.username = 'YOUR USERNAME'
|
|
101
104
|
config.password = 'YOUR PASSWORD'
|
|
105
|
+
|
|
106
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
107
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
102
108
|
end
|
|
103
109
|
|
|
104
110
|
api_instance = Bandwidth::MediaApi.new
|
|
@@ -145,7 +151,7 @@ end
|
|
|
145
151
|
|
|
146
152
|
### Authorization
|
|
147
153
|
|
|
148
|
-
[Basic](../README.md#Basic)
|
|
154
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
149
155
|
|
|
150
156
|
### HTTP request headers
|
|
151
157
|
|
|
@@ -171,6 +177,9 @@ Bandwidth.configure do |config|
|
|
|
171
177
|
# Configure HTTP basic authorization: Basic
|
|
172
178
|
config.username = 'YOUR USERNAME'
|
|
173
179
|
config.password = 'YOUR PASSWORD'
|
|
180
|
+
|
|
181
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
182
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
174
183
|
end
|
|
175
184
|
|
|
176
185
|
api_instance = Bandwidth::MediaApi.new
|
|
@@ -219,7 +228,7 @@ end
|
|
|
219
228
|
|
|
220
229
|
### Authorization
|
|
221
230
|
|
|
222
|
-
[Basic](../README.md#Basic)
|
|
231
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
223
232
|
|
|
224
233
|
### HTTP request headers
|
|
225
234
|
|
|
@@ -245,6 +254,9 @@ Bandwidth.configure do |config|
|
|
|
245
254
|
# Configure HTTP basic authorization: Basic
|
|
246
255
|
config.username = 'YOUR USERNAME'
|
|
247
256
|
config.password = 'YOUR PASSWORD'
|
|
257
|
+
|
|
258
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
259
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
248
260
|
end
|
|
249
261
|
|
|
250
262
|
api_instance = Bandwidth::MediaApi.new
|
|
@@ -298,7 +310,7 @@ nil (empty response body)
|
|
|
298
310
|
|
|
299
311
|
### Authorization
|
|
300
312
|
|
|
301
|
-
[Basic](../README.md#Basic)
|
|
313
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
302
314
|
|
|
303
315
|
### HTTP request headers
|
|
304
316
|
|
data/docs/MessagesApi.md
CHANGED
|
@@ -26,6 +26,9 @@ Bandwidth.configure do |config|
|
|
|
26
26
|
# Configure HTTP basic authorization: Basic
|
|
27
27
|
config.username = 'YOUR USERNAME'
|
|
28
28
|
config.password = 'YOUR PASSWORD'
|
|
29
|
+
|
|
30
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
31
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
29
32
|
end
|
|
30
33
|
|
|
31
34
|
api_instance = Bandwidth::MessagesApi.new
|
|
@@ -72,7 +75,7 @@ end
|
|
|
72
75
|
|
|
73
76
|
### Authorization
|
|
74
77
|
|
|
75
|
-
[Basic](../README.md#Basic)
|
|
78
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
76
79
|
|
|
77
80
|
### HTTP request headers
|
|
78
81
|
|
|
@@ -98,6 +101,9 @@ Bandwidth.configure do |config|
|
|
|
98
101
|
# Configure HTTP basic authorization: Basic
|
|
99
102
|
config.username = 'YOUR USERNAME'
|
|
100
103
|
config.password = 'YOUR PASSWORD'
|
|
104
|
+
|
|
105
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
106
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
101
107
|
end
|
|
102
108
|
|
|
103
109
|
api_instance = Bandwidth::MessagesApi.new
|
|
@@ -198,7 +204,7 @@ end
|
|
|
198
204
|
|
|
199
205
|
### Authorization
|
|
200
206
|
|
|
201
|
-
[Basic](../README.md#Basic)
|
|
207
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
202
208
|
|
|
203
209
|
### HTTP request headers
|
|
204
210
|
|
data/docs/MultiChannelApi.md
CHANGED
|
@@ -25,6 +25,9 @@ Bandwidth.configure do |config|
|
|
|
25
25
|
# Configure HTTP basic authorization: Basic
|
|
26
26
|
config.username = 'YOUR USERNAME'
|
|
27
27
|
config.password = 'YOUR PASSWORD'
|
|
28
|
+
|
|
29
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
30
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
28
31
|
end
|
|
29
32
|
|
|
30
33
|
api_instance = Bandwidth::MultiChannelApi.new
|
|
@@ -71,7 +74,7 @@ end
|
|
|
71
74
|
|
|
72
75
|
### Authorization
|
|
73
76
|
|
|
74
|
-
[Basic](../README.md#Basic)
|
|
77
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
75
78
|
|
|
76
79
|
### HTTP request headers
|
|
77
80
|
|
|
@@ -27,6 +27,9 @@ Bandwidth.configure do |config|
|
|
|
27
27
|
# Configure HTTP basic authorization: Basic
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
|
+
|
|
31
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
30
33
|
end
|
|
31
34
|
|
|
32
35
|
api_instance = Bandwidth::PhoneNumberLookupApi.new
|
|
@@ -73,7 +76,7 @@ end
|
|
|
73
76
|
|
|
74
77
|
### Authorization
|
|
75
78
|
|
|
76
|
-
[Basic](../README.md#Basic)
|
|
79
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
77
80
|
|
|
78
81
|
### HTTP request headers
|
|
79
82
|
|
|
@@ -99,6 +102,9 @@ Bandwidth.configure do |config|
|
|
|
99
102
|
# Configure HTTP basic authorization: Basic
|
|
100
103
|
config.username = 'YOUR USERNAME'
|
|
101
104
|
config.password = 'YOUR PASSWORD'
|
|
105
|
+
|
|
106
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
107
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
102
108
|
end
|
|
103
109
|
|
|
104
110
|
api_instance = Bandwidth::PhoneNumberLookupApi.new
|
|
@@ -145,7 +151,7 @@ end
|
|
|
145
151
|
|
|
146
152
|
### Authorization
|
|
147
153
|
|
|
148
|
-
[Basic](../README.md#Basic)
|
|
154
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
149
155
|
|
|
150
156
|
### HTTP request headers
|
|
151
157
|
|
|
@@ -171,6 +177,9 @@ Bandwidth.configure do |config|
|
|
|
171
177
|
# Configure HTTP basic authorization: Basic
|
|
172
178
|
config.username = 'YOUR USERNAME'
|
|
173
179
|
config.password = 'YOUR PASSWORD'
|
|
180
|
+
|
|
181
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
182
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
174
183
|
end
|
|
175
184
|
|
|
176
185
|
api_instance = Bandwidth::PhoneNumberLookupApi.new
|
|
@@ -217,7 +226,7 @@ end
|
|
|
217
226
|
|
|
218
227
|
### Authorization
|
|
219
228
|
|
|
220
|
-
[Basic](../README.md#Basic)
|
|
229
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
221
230
|
|
|
222
231
|
### HTTP request headers
|
|
223
232
|
|
data/docs/RecordingsApi.md
CHANGED
|
@@ -34,6 +34,9 @@ Bandwidth.configure do |config|
|
|
|
34
34
|
# Configure HTTP basic authorization: Basic
|
|
35
35
|
config.username = 'YOUR USERNAME'
|
|
36
36
|
config.password = 'YOUR PASSWORD'
|
|
37
|
+
|
|
38
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
39
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
37
40
|
end
|
|
38
41
|
|
|
39
42
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -81,7 +84,7 @@ nil (empty response body)
|
|
|
81
84
|
|
|
82
85
|
### Authorization
|
|
83
86
|
|
|
84
|
-
[Basic](../README.md#Basic)
|
|
87
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
85
88
|
|
|
86
89
|
### HTTP request headers
|
|
87
90
|
|
|
@@ -107,6 +110,9 @@ Bandwidth.configure do |config|
|
|
|
107
110
|
# Configure HTTP basic authorization: Basic
|
|
108
111
|
config.username = 'YOUR USERNAME'
|
|
109
112
|
config.password = 'YOUR PASSWORD'
|
|
113
|
+
|
|
114
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
115
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
110
116
|
end
|
|
111
117
|
|
|
112
118
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -154,7 +160,7 @@ nil (empty response body)
|
|
|
154
160
|
|
|
155
161
|
### Authorization
|
|
156
162
|
|
|
157
|
-
[Basic](../README.md#Basic)
|
|
163
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
158
164
|
|
|
159
165
|
### HTTP request headers
|
|
160
166
|
|
|
@@ -180,6 +186,9 @@ Bandwidth.configure do |config|
|
|
|
180
186
|
# Configure HTTP basic authorization: Basic
|
|
181
187
|
config.username = 'YOUR USERNAME'
|
|
182
188
|
config.password = 'YOUR PASSWORD'
|
|
189
|
+
|
|
190
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
191
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
183
192
|
end
|
|
184
193
|
|
|
185
194
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -227,7 +236,7 @@ nil (empty response body)
|
|
|
227
236
|
|
|
228
237
|
### Authorization
|
|
229
238
|
|
|
230
|
-
[Basic](../README.md#Basic)
|
|
239
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
231
240
|
|
|
232
241
|
### HTTP request headers
|
|
233
242
|
|
|
@@ -253,6 +262,9 @@ Bandwidth.configure do |config|
|
|
|
253
262
|
# Configure HTTP basic authorization: Basic
|
|
254
263
|
config.username = 'YOUR USERNAME'
|
|
255
264
|
config.password = 'YOUR PASSWORD'
|
|
265
|
+
|
|
266
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
267
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
256
268
|
end
|
|
257
269
|
|
|
258
270
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -301,7 +313,7 @@ end
|
|
|
301
313
|
|
|
302
314
|
### Authorization
|
|
303
315
|
|
|
304
|
-
[Basic](../README.md#Basic)
|
|
316
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
305
317
|
|
|
306
318
|
### HTTP request headers
|
|
307
319
|
|
|
@@ -327,6 +339,9 @@ Bandwidth.configure do |config|
|
|
|
327
339
|
# Configure HTTP basic authorization: Basic
|
|
328
340
|
config.username = 'YOUR USERNAME'
|
|
329
341
|
config.password = 'YOUR PASSWORD'
|
|
342
|
+
|
|
343
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
344
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
330
345
|
end
|
|
331
346
|
|
|
332
347
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -375,7 +390,7 @@ end
|
|
|
375
390
|
|
|
376
391
|
### Authorization
|
|
377
392
|
|
|
378
|
-
[Basic](../README.md#Basic)
|
|
393
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
379
394
|
|
|
380
395
|
### HTTP request headers
|
|
381
396
|
|
|
@@ -401,6 +416,9 @@ Bandwidth.configure do |config|
|
|
|
401
416
|
# Configure HTTP basic authorization: Basic
|
|
402
417
|
config.username = 'YOUR USERNAME'
|
|
403
418
|
config.password = 'YOUR PASSWORD'
|
|
419
|
+
|
|
420
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
421
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
404
422
|
end
|
|
405
423
|
|
|
406
424
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -449,7 +467,7 @@ end
|
|
|
449
467
|
|
|
450
468
|
### Authorization
|
|
451
469
|
|
|
452
|
-
[Basic](../README.md#Basic)
|
|
470
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
453
471
|
|
|
454
472
|
### HTTP request headers
|
|
455
473
|
|
|
@@ -475,6 +493,9 @@ Bandwidth.configure do |config|
|
|
|
475
493
|
# Configure HTTP basic authorization: Basic
|
|
476
494
|
config.username = 'YOUR USERNAME'
|
|
477
495
|
config.password = 'YOUR PASSWORD'
|
|
496
|
+
|
|
497
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
498
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
478
499
|
end
|
|
479
500
|
|
|
480
501
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -529,7 +550,7 @@ end
|
|
|
529
550
|
|
|
530
551
|
### Authorization
|
|
531
552
|
|
|
532
|
-
[Basic](../README.md#Basic)
|
|
553
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
533
554
|
|
|
534
555
|
### HTTP request headers
|
|
535
556
|
|
|
@@ -555,6 +576,9 @@ Bandwidth.configure do |config|
|
|
|
555
576
|
# Configure HTTP basic authorization: Basic
|
|
556
577
|
config.username = 'YOUR USERNAME'
|
|
557
578
|
config.password = 'YOUR PASSWORD'
|
|
579
|
+
|
|
580
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
581
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
558
582
|
end
|
|
559
583
|
|
|
560
584
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -601,7 +625,7 @@ end
|
|
|
601
625
|
|
|
602
626
|
### Authorization
|
|
603
627
|
|
|
604
|
-
[Basic](../README.md#Basic)
|
|
628
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
605
629
|
|
|
606
630
|
### HTTP request headers
|
|
607
631
|
|
|
@@ -627,6 +651,9 @@ Bandwidth.configure do |config|
|
|
|
627
651
|
# Configure HTTP basic authorization: Basic
|
|
628
652
|
config.username = 'YOUR USERNAME'
|
|
629
653
|
config.password = 'YOUR PASSWORD'
|
|
654
|
+
|
|
655
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
656
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
630
657
|
end
|
|
631
658
|
|
|
632
659
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -676,7 +703,7 @@ nil (empty response body)
|
|
|
676
703
|
|
|
677
704
|
### Authorization
|
|
678
705
|
|
|
679
|
-
[Basic](../README.md#Basic)
|
|
706
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
680
707
|
|
|
681
708
|
### HTTP request headers
|
|
682
709
|
|
|
@@ -702,6 +729,9 @@ Bandwidth.configure do |config|
|
|
|
702
729
|
# Configure HTTP basic authorization: Basic
|
|
703
730
|
config.username = 'YOUR USERNAME'
|
|
704
731
|
config.password = 'YOUR PASSWORD'
|
|
732
|
+
|
|
733
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
734
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
705
735
|
end
|
|
706
736
|
|
|
707
737
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -749,7 +779,7 @@ nil (empty response body)
|
|
|
749
779
|
|
|
750
780
|
### Authorization
|
|
751
781
|
|
|
752
|
-
[Basic](../README.md#Basic)
|
|
782
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
753
783
|
|
|
754
784
|
### HTTP request headers
|
|
755
785
|
|
data/docs/StatisticsApi.md
CHANGED
|
@@ -25,6 +25,9 @@ Bandwidth.configure do |config|
|
|
|
25
25
|
# Configure HTTP basic authorization: Basic
|
|
26
26
|
config.username = 'YOUR USERNAME'
|
|
27
27
|
config.password = 'YOUR PASSWORD'
|
|
28
|
+
|
|
29
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
30
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
28
31
|
end
|
|
29
32
|
|
|
30
33
|
api_instance = Bandwidth::StatisticsApi.new
|
|
@@ -69,7 +72,7 @@ end
|
|
|
69
72
|
|
|
70
73
|
### Authorization
|
|
71
74
|
|
|
72
|
-
[Basic](../README.md#Basic)
|
|
75
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
73
76
|
|
|
74
77
|
### HTTP request headers
|
|
75
78
|
|