daily-ruby 0.0.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +13 -12
- data/README.md +203 -40
- data/daily-ruby.gemspec +4 -4
- data/docs/BatchRoomCreateRequest.md +18 -0
- data/docs/BatchRoomCreateRequestRoomsInner.md +22 -0
- data/docs/BatchRoomDelete200Response.md +18 -0
- data/docs/BatchRoomsApi.md +150 -0
- data/docs/CreateMeetingToken200Response.md +1 -1
- data/docs/CreateMeetingTokenRequest.md +18 -0
- data/docs/CreateRoom200Response.md +30 -0
- data/docs/{RoomRequest.md → CreateRoomRequest.md} +3 -3
- data/docs/DailyLiveStreamingOptions.md +40 -0
- data/docs/DailyLiveStreamingOptionsRtmpUrl.md +49 -0
- data/docs/DailyStreamingActiveParticipantLayoutConfig.md +18 -0
- data/docs/DailyStreamingCustomLayoutConfig.md +24 -0
- data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +15 -0
- data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
- data/docs/{ServerErrorResponse.md → DailyStreamingEndpoint.md} +4 -4
- data/docs/DailyStreamingLayoutConfig.md +69 -0
- data/docs/DailyStreamingOptions.md +36 -0
- data/docs/DailyStreamingPortraitLayoutConfig.md +22 -0
- data/docs/DailyStreamingPortraitLayoutVariant.md +15 -0
- data/docs/DailyStreamingSingleParticipantLayoutConfig.md +20 -0
- data/docs/DeleteTranscript200Response.md +30 -0
- data/docs/Domain.md +18 -0
- data/docs/DomainApi.md +149 -0
- data/docs/DomainProperties.md +74 -0
- data/docs/Eject200Response.md +18 -0
- data/docs/EjectRequest.md +18 -0
- data/docs/GetDomainConfig200Response.md +22 -0
- data/docs/GetDomainConfig200ResponseConfig.md +54 -0
- data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +20 -0
- data/docs/GetMeetingInfo200Response.md +20 -0
- data/docs/GetMeetingInfo200ResponseDataInner.md +28 -0
- data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +26 -0
- data/docs/GetPresence200Response.md +18 -0
- data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +28 -0
- data/docs/GetRecordingInfo200Response.md +36 -0
- data/docs/GetRecordingInfo200ResponseTracksInner.md +22 -0
- data/docs/GetRecordingLink200Response.md +20 -0
- data/docs/GetTranscriptInfo200Response.md +32 -0
- data/docs/GetTranscriptInfo200ResponseOutParams.md +22 -0
- data/docs/GetTranscriptLink200Response.md +22 -0
- data/docs/ListAPILogs200Response.md +38 -0
- data/docs/ListRecordings200Response.md +20 -0
- data/docs/ListRecordings200ResponseDataInner.md +30 -0
- data/docs/ListRooms200Response.md +20 -0
- data/docs/ListRooms200ResponseDataInner.md +30 -0
- data/docs/ListRooms200ResponseDataInnerConfig.md +18 -0
- data/docs/ListTranscript200Response.md +20 -0
- data/docs/ListTranscript200ResponseDataInner.md +28 -0
- data/docs/LogsApi.md +177 -0
- data/docs/MeetingParticipantsGetRes.md +20 -0
- data/docs/MeetingParticipantsGetResDataInner.md +28 -0
- data/docs/MeetingTokensApi.md +88 -10
- data/docs/MeetingsApi.md +247 -0
- data/docs/MeetingsMeetingGetRes.md +28 -0
- data/docs/Permissions.md +22 -0
- data/docs/{MeetingTokenRequestPropertiesPermissionsCanSend.md → PermissionsCanAdmin.md} +4 -4
- data/docs/{MeetingTokenRequestPropertiesPermissionsCanAdmin.md → PermissionsCanSend.md} +4 -4
- data/docs/PostWebhook.md +22 -0
- data/docs/PresenceApi.md +74 -0
- data/docs/Properties.md +60 -0
- data/docs/RecordingError.md +24 -0
- data/docs/RecordingErrorPayload.md +26 -0
- data/docs/RecordingReadyToDownload.md +24 -0
- data/docs/RecordingReadyToDownloadPayload.md +34 -0
- data/docs/RecordingStarted.md +24 -0
- data/docs/RecordingStartedPayload.md +28 -0
- data/docs/RecordingStreamingOptions.md +38 -0
- data/docs/RecordingsApi.md +303 -0
- data/docs/RecordingsBucket.md +26 -0
- data/docs/RoomProperties.md +94 -0
- data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
- data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
- data/docs/RoomsApi.md +1418 -0
- data/docs/RoomsRoomNameGetRes.md +30 -0
- data/docs/RoomsRoomNamePresenceGetRes.md +20 -0
- data/docs/RoomsRoomNamePresenceGetResDataInner.md +28 -0
- data/docs/SendAppMessageRequest.md +20 -0
- data/docs/SetRoomConfigRequest.md +20 -0
- data/docs/SetSessionDataRequest.md +22 -0
- data/docs/StreamingEnded.md +24 -0
- data/docs/StreamingEndedPayload.md +22 -0
- data/docs/StreamingError.md +24 -0
- data/docs/StreamingErrorPayload.md +26 -0
- data/docs/StreamingStarted.md +24 -0
- data/docs/StreamingStartedPayload.md +24 -0
- data/docs/StreamingUpdated.md +24 -0
- data/docs/StreamingUpdatedPayload.md +24 -0
- data/docs/TranscriptApi.md +305 -0
- data/docs/TranscriptionBucket.md +24 -0
- data/docs/TranscriptionProperties.md +32 -0
- data/docs/TranscriptionPropertiesEndpointing.md +49 -0
- data/docs/TranscriptionPropertiesRedact.md +51 -0
- data/docs/UpdatePermissionsRequest.md +18 -0
- data/docs/UpdatePermissionsRequestDataValue.md +22 -0
- data/docs/UpdatePermissionsRequestDataValueCanSend.md +49 -0
- data/docs/UpdateWebhook.md +22 -0
- data/docs/ValidateMeetingToken200Response.md +28 -0
- data/docs/Webhook.md +38 -0
- data/docs/WebhooksApi.md +370 -0
- data/example.rb +61 -0
- data/lib/daily-ruby/api/batch_rooms_api.rb +143 -0
- data/lib/daily-ruby/api/domain_api.rb +143 -0
- data/lib/daily-ruby/api/logs_api.rb +181 -0
- data/lib/daily-ruby/api/meeting_tokens_api.rb +78 -12
- data/lib/daily-ruby/api/meetings_api.rb +238 -0
- data/lib/daily-ruby/api/presence_api.rb +77 -0
- data/lib/daily-ruby/api/recordings_api.rb +280 -0
- data/lib/daily-ruby/api/rooms_api.rb +1302 -0
- data/lib/daily-ruby/api/transcript_api.rb +283 -0
- data/lib/daily-ruby/api/webhooks_api.rb +339 -0
- data/lib/daily-ruby/api_client.rb +4 -4
- data/lib/daily-ruby/api_error.rb +4 -4
- data/lib/daily-ruby/configuration.rb +19 -7
- data/lib/daily-ruby/models/{room_deleted_response.rb → batch_room_create_request.rb} +16 -24
- data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +232 -0
- data/lib/daily-ruby/models/batch_room_delete200_response.rb +214 -0
- data/lib/daily-ruby/models/create_meeting_token200_response.rb +4 -4
- data/lib/daily-ruby/models/{server_error_response.rb → create_meeting_token_request.rb} +14 -15
- data/lib/daily-ruby/models/create_room200_response.rb +270 -0
- data/lib/daily-ruby/models/create_room_request.rb +232 -0
- data/lib/daily-ruby/models/daily_live_streaming_options.rb +324 -0
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_send.rb → daily_live_streaming_options_rtmp_url.rb} +6 -6
- data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +29 -41
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +293 -0
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +105 -0
- data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +264 -0
- data/lib/daily-ruby/models/daily_streaming_endpoint.rb +221 -0
- data/lib/daily-ruby/models/daily_streaming_layout_config.rb +46 -0
- data/lib/daily-ruby/models/daily_streaming_options.rb +304 -0
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +273 -0
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +40 -0
- data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +271 -0
- data/lib/daily-ruby/models/delete_transcript200_response.rb +307 -0
- data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +8 -9
- data/lib/daily-ruby/models/domain_properties.rb +570 -0
- data/lib/daily-ruby/models/eject200_response.rb +216 -0
- data/lib/daily-ruby/models/eject_request.rb +217 -0
- data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
- data/lib/daily-ruby/models/get_domain_config200_response_config.rb +395 -0
- data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +223 -0
- data/lib/daily-ruby/models/get_meeting_info200_response.rb +259 -0
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +353 -0
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +290 -0
- data/lib/daily-ruby/models/get_presence200_response.rb +243 -0
- data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +370 -0
- data/lib/daily-ruby/models/get_recording_info200_response.rb +340 -0
- data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +269 -0
- data/lib/daily-ruby/models/get_recording_link200_response.rb +225 -0
- data/lib/daily-ruby/models/get_transcript_info200_response.rb +317 -0
- data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +232 -0
- data/lib/daily-ruby/models/get_transcript_link200_response.rb +233 -0
- data/lib/daily-ruby/models/list_api_logs200_response.rb +315 -0
- data/lib/daily-ruby/models/list_recordings200_response.rb +227 -0
- data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +272 -0
- data/lib/daily-ruby/models/list_rooms200_response.rb +227 -0
- data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +270 -0
- data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +216 -0
- data/lib/daily-ruby/models/list_transcript200_response.rb +227 -0
- data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +298 -0
- data/lib/daily-ruby/models/meeting_participants_get_res.rb +225 -0
- data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
- data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
- data/lib/daily-ruby/models/permissions.rb +234 -0
- data/lib/daily-ruby/models/permissions_can_admin.rb +106 -0
- data/lib/daily-ruby/models/permissions_can_send.rb +106 -0
- data/lib/daily-ruby/models/post_webhook.rb +259 -0
- data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +81 -29
- data/lib/daily-ruby/models/recording_error.rb +278 -0
- data/lib/daily-ruby/models/recording_error_payload.rb +290 -0
- data/lib/daily-ruby/models/recording_ready_to_download.rb +278 -0
- data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +344 -0
- data/lib/daily-ruby/models/recording_started.rb +278 -0
- data/lib/daily-ruby/models/recording_started_payload.rb +299 -0
- data/lib/daily-ruby/models/recording_streaming_options.rb +350 -0
- data/lib/daily-ruby/models/recordings_bucket.rb +258 -0
- data/lib/daily-ruby/models/room_properties.rb +678 -0
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -0
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +255 -0
- data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +22 -12
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +225 -0
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +259 -0
- data/lib/daily-ruby/models/send_app_message_request.rb +227 -0
- data/lib/daily-ruby/models/set_room_config_request.rb +223 -0
- data/lib/daily-ruby/models/set_session_data_request.rb +273 -0
- data/lib/daily-ruby/models/streaming_ended.rb +278 -0
- data/lib/daily-ruby/models/streaming_ended_payload.rb +236 -0
- data/lib/daily-ruby/models/streaming_error.rb +278 -0
- data/lib/daily-ruby/models/streaming_error_payload.rb +256 -0
- data/lib/daily-ruby/models/streaming_started.rb +278 -0
- data/lib/daily-ruby/models/streaming_started_payload.rb +245 -0
- data/lib/daily-ruby/models/streaming_updated.rb +278 -0
- data/lib/daily-ruby/models/streaming_updated_payload.rb +245 -0
- data/lib/daily-ruby/models/transcription_bucket.rb +246 -0
- data/lib/daily-ruby/models/transcription_properties.rb +283 -0
- data/lib/daily-ruby/models/transcription_properties_endpointing.rb +106 -0
- data/lib/daily-ruby/models/transcription_properties_redact.rb +107 -0
- data/lib/daily-ruby/models/{room_not_found_response.rb → update_permissions_request.rb} +16 -24
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +13 -12
- data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +5 -5
- data/lib/daily-ruby/models/update_webhook.rb +259 -0
- data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
- data/lib/daily-ruby/models/webhook.rb +339 -0
- data/lib/daily-ruby/version.rb +5 -5
- data/lib/daily-ruby.rb +101 -16
- data/run.sh +1 -1
- data/spec/api/batch_rooms_api_spec.rb +58 -0
- data/spec/api/domain_api_spec.rb +58 -0
- data/spec/api/logs_api_spec.rb +70 -0
- data/spec/api/meeting_tokens_api_spec.rb +20 -7
- data/spec/api/meetings_api_spec.rb +81 -0
- data/spec/api/presence_api_spec.rb +45 -0
- data/spec/api/recordings_api_spec.rb +86 -0
- data/spec/api/rooms_api_spec.rb +278 -0
- data/spec/api/transcript_api_spec.rb +87 -0
- data/spec/api/webhooks_api_spec.rb +95 -0
- data/spec/models/batch_room_create_request_rooms_inner_spec.rb +48 -0
- data/spec/models/batch_room_create_request_spec.rb +36 -0
- data/spec/models/batch_room_delete200_response_spec.rb +36 -0
- data/spec/models/create_meeting_token200_response_spec.rb +4 -4
- data/spec/models/create_meeting_token_request_spec.rb +36 -0
- data/spec/models/create_room200_response_spec.rb +72 -0
- data/spec/models/{room_request_spec.rb → create_room_request_spec.rb} +10 -14
- data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +32 -0
- data/spec/models/daily_live_streaming_options_spec.rb +102 -0
- data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +40 -0
- data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +21 -0
- data/spec/models/daily_streaming_custom_layout_config_spec.rb +58 -0
- data/spec/models/daily_streaming_default_layout_config_spec.rb +46 -0
- data/spec/models/daily_streaming_endpoint_spec.rb +36 -0
- data/spec/models/daily_streaming_layout_config_spec.rb +38 -0
- data/spec/models/daily_streaming_options_spec.rb +90 -0
- data/spec/models/daily_streaming_portrait_layout_config_spec.rb +52 -0
- data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +30 -0
- data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +46 -0
- data/spec/models/delete_transcript200_response_spec.rb +76 -0
- data/spec/models/{room_request_properties_spec.rb → domain_properties_spec.rb} +39 -49
- data/spec/models/domain_spec.rb +36 -0
- data/spec/models/eject200_response_spec.rb +36 -0
- data/spec/models/eject_request_spec.rb +36 -0
- data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +42 -0
- data/spec/models/get_domain_config200_response_config_spec.rb +144 -0
- data/spec/models/get_domain_config200_response_spec.rb +48 -0
- data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +60 -0
- data/spec/models/get_meeting_info200_response_data_inner_spec.rb +66 -0
- data/spec/models/get_meeting_info200_response_spec.rb +42 -0
- data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +66 -0
- data/spec/models/get_presence200_response_spec.rb +36 -0
- data/spec/models/get_recording_info200_response_spec.rb +94 -0
- data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +52 -0
- data/spec/models/get_recording_link200_response_spec.rb +42 -0
- data/spec/models/get_transcript_info200_response_out_params_spec.rb +48 -0
- data/spec/models/get_transcript_info200_response_spec.rb +82 -0
- data/spec/models/get_transcript_link200_response_spec.rb +48 -0
- data/spec/models/list_api_logs200_response_spec.rb +96 -0
- data/spec/models/list_recordings200_response_data_inner_spec.rb +72 -0
- data/spec/models/list_recordings200_response_spec.rb +42 -0
- data/spec/models/list_rooms200_response_data_inner_config_spec.rb +36 -0
- data/spec/models/list_rooms200_response_data_inner_spec.rb +72 -0
- data/spec/models/list_rooms200_response_spec.rb +42 -0
- data/spec/models/list_transcript200_response_data_inner_spec.rb +70 -0
- data/spec/models/list_transcript200_response_spec.rb +42 -0
- data/spec/models/meeting_participants_get_res_data_inner_spec.rb +66 -0
- data/spec/models/meeting_participants_get_res_spec.rb +42 -0
- data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
- data/spec/models/{meeting_token_request_properties_permissions_can_send_spec.rb → permissions_can_admin_spec.rb} +6 -6
- data/spec/models/{meeting_token_request_properties_permissions_can_admin_spec.rb → permissions_can_send_spec.rb} +6 -6
- data/spec/models/{meeting_token_request_properties_permissions_spec.rb → permissions_spec.rb} +10 -10
- data/spec/models/post_webhook_spec.rb +52 -0
- data/spec/models/{meeting_token_request_properties_spec.rb → properties_spec.rb} +27 -15
- data/spec/models/recording_error_payload_spec.rb +64 -0
- data/spec/models/recording_error_spec.rb +58 -0
- data/spec/models/recording_ready_to_download_payload_spec.rb +92 -0
- data/spec/models/recording_ready_to_download_spec.rb +58 -0
- data/spec/models/recording_started_payload_spec.rb +70 -0
- data/spec/models/recording_started_spec.rb +58 -0
- data/spec/models/recording_streaming_options_spec.rb +100 -0
- data/spec/models/recordings_bucket_spec.rb +60 -0
- data/spec/models/room_properties_spec.rb +272 -0
- data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +60 -0
- data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +66 -0
- data/spec/models/{room_response_spec.rb → rooms_room_name_get_res_spec.rb} +16 -10
- data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +66 -0
- data/spec/models/rooms_room_name_presence_get_res_spec.rb +42 -0
- data/spec/models/send_app_message_request_spec.rb +42 -0
- data/spec/models/set_room_config_request_spec.rb +42 -0
- data/spec/models/set_session_data_request_spec.rb +52 -0
- data/spec/models/streaming_ended_payload_spec.rb +48 -0
- data/spec/models/streaming_ended_spec.rb +58 -0
- data/spec/models/streaming_error_payload_spec.rb +60 -0
- data/spec/models/streaming_error_spec.rb +58 -0
- data/spec/models/streaming_started_payload_spec.rb +54 -0
- data/spec/models/streaming_started_spec.rb +58 -0
- data/spec/models/streaming_updated_payload_spec.rb +54 -0
- data/spec/models/streaming_updated_spec.rb +58 -0
- data/spec/models/transcription_bucket_spec.rb +54 -0
- data/spec/models/transcription_properties_endpointing_spec.rb +32 -0
- data/spec/models/transcription_properties_redact_spec.rb +32 -0
- data/spec/models/transcription_properties_spec.rb +78 -0
- data/spec/models/update_permissions_request_data_value_can_send_spec.rb +32 -0
- data/spec/models/update_permissions_request_data_value_spec.rb +48 -0
- data/spec/models/update_permissions_request_spec.rb +36 -0
- data/spec/models/update_webhook_spec.rb +52 -0
- data/spec/models/validate_meeting_token200_response_spec.rb +66 -0
- data/spec/models/webhook_spec.rb +100 -0
- data/spec/spec_helper.rb +4 -4
- metadata +391 -52
- data/daily.yaml +0 -422
- data/docs/MeetingTokenRequest.md +0 -18
- data/docs/MeetingTokenRequestProperties.md +0 -56
- data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
- data/docs/RoomApi.md +0 -227
- data/docs/RoomDeletedResponse.md +0 -20
- data/docs/RoomNotFoundResponse.md +0 -20
- data/docs/RoomRequestProperties.md +0 -76
- data/docs/RoomResponse.md +0 -28
- data/lib/daily-ruby/api/room_api.rb +0 -218
- data/lib/daily-ruby/models/room_request_properties.rb +0 -521
- data/script.rb +0 -35
- data/spec/api/room_api_spec.rb +0 -74
- data/spec/models/meeting_token_request_spec.rb +0 -36
- data/spec/models/room_deleted_response_spec.rb +0 -42
- data/spec/models/room_not_found_response_spec.rb +0 -42
- data/spec/models/server_error_response_spec.rb +0 -36
@@ -0,0 +1,32 @@
|
|
1
|
+
# Daily::TranscriptionProperties
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **language** | **String** | See Deepgram's documentation for [`language`](https://developers.deepgram.com/docs/language) | [optional] |
|
8
|
+
| **model** | **String** | See Deepgram's documentation for [`model`](https://developers.deepgram.com/docs/model) | [optional] |
|
9
|
+
| **tier** | **String** | See Deepgram's documentation for [`tier`](https://developers.deepgram.com/docs/tier) | [optional] |
|
10
|
+
| **profanity_filter** | **Boolean** | See Deepgram's documentation for [`profanity filter`](https://developers.deepgram.com/docs/profanity-filter) | [optional] |
|
11
|
+
| **punctuate** | **Boolean** | See Deepgram's documentation for [`punctuate`](https://developers.deepgram.com/docs/punctuation) | [optional] |
|
12
|
+
| **endpointing** | [**TranscriptionPropertiesEndpointing**](TranscriptionPropertiesEndpointing.md) | | [optional] |
|
13
|
+
| **redact** | [**TranscriptionPropertiesRedact**](TranscriptionPropertiesRedact.md) | | [optional] |
|
14
|
+
| **extra** | **Object** | Specify any Deepgram parameters. See Deepgram's documentation for [available streaming options](https://developers.deepgram.com/docs/features-overview). | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'daily-ruby'
|
20
|
+
|
21
|
+
instance = Daily::TranscriptionProperties.new(
|
22
|
+
language: null,
|
23
|
+
model: null,
|
24
|
+
tier: null,
|
25
|
+
profanity_filter: null,
|
26
|
+
punctuate: null,
|
27
|
+
endpointing: null,
|
28
|
+
redact: null,
|
29
|
+
extra: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Daily::TranscriptionPropertiesEndpointing
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'daily-ruby'
|
13
|
+
|
14
|
+
Daily::TranscriptionPropertiesEndpointing.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'Boolean',
|
18
|
+
# :'Float'
|
19
|
+
# ]
|
20
|
+
```
|
21
|
+
|
22
|
+
### build
|
23
|
+
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
25
|
+
|
26
|
+
#### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'daily-ruby'
|
30
|
+
|
31
|
+
Daily::TranscriptionPropertiesEndpointing.build(data)
|
32
|
+
# => #<Boolean:0x00007fdd4aab02a0>
|
33
|
+
|
34
|
+
Daily::TranscriptionPropertiesEndpointing.build(data_that_doesnt_match)
|
35
|
+
# => nil
|
36
|
+
```
|
37
|
+
|
38
|
+
#### Parameters
|
39
|
+
|
40
|
+
| Name | Type | Description |
|
41
|
+
| ---- | ---- | ----------- |
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
43
|
+
|
44
|
+
#### Return type
|
45
|
+
|
46
|
+
- `Boolean`
|
47
|
+
- `Float`
|
48
|
+
- `nil` (if no type matches)
|
49
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# Daily::TranscriptionPropertiesRedact
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'daily-ruby'
|
13
|
+
|
14
|
+
Daily::TranscriptionPropertiesRedact.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'Array<Boolean>',
|
18
|
+
# :'Array<String>',
|
19
|
+
# :'Boolean'
|
20
|
+
# ]
|
21
|
+
```
|
22
|
+
|
23
|
+
### build
|
24
|
+
|
25
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
26
|
+
|
27
|
+
#### Example
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'daily-ruby'
|
31
|
+
|
32
|
+
Daily::TranscriptionPropertiesRedact.build(data)
|
33
|
+
# => #<Array<Boolean>:0x00007fdd4aab02a0>
|
34
|
+
|
35
|
+
Daily::TranscriptionPropertiesRedact.build(data_that_doesnt_match)
|
36
|
+
# => nil
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Parameters
|
40
|
+
|
41
|
+
| Name | Type | Description |
|
42
|
+
| ---- | ---- | ----------- |
|
43
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
44
|
+
|
45
|
+
#### Return type
|
46
|
+
|
47
|
+
- `Array<Boolean>`
|
48
|
+
- `Array<String>`
|
49
|
+
- `Boolean`
|
50
|
+
- `nil` (if no type matches)
|
51
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Daily::UpdatePermissionsRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | [**Hash<String, UpdatePermissionsRequestDataValue>**](UpdatePermissionsRequestDataValue.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'daily-ruby'
|
13
|
+
|
14
|
+
instance = Daily::UpdatePermissionsRequest.new(
|
15
|
+
data: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Daily::UpdatePermissionsRequestDataValue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **has_presence** | **Boolean** | | [optional] |
|
8
|
+
| **can_send** | [**UpdatePermissionsRequestDataValueCanSend**](UpdatePermissionsRequestDataValueCanSend.md) | | [optional] |
|
9
|
+
| **can_admin** | [**UpdatePermissionsRequestDataValueCanSend**](UpdatePermissionsRequestDataValueCanSend.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'daily-ruby'
|
15
|
+
|
16
|
+
instance = Daily::UpdatePermissionsRequestDataValue.new(
|
17
|
+
has_presence: null,
|
18
|
+
can_send: null,
|
19
|
+
can_admin: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Daily::UpdatePermissionsRequestDataValueCanSend
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'daily-ruby'
|
13
|
+
|
14
|
+
Daily::UpdatePermissionsRequestDataValueCanSend.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'Array<String>',
|
18
|
+
# :'Boolean'
|
19
|
+
# ]
|
20
|
+
```
|
21
|
+
|
22
|
+
### build
|
23
|
+
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
25
|
+
|
26
|
+
#### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'daily-ruby'
|
30
|
+
|
31
|
+
Daily::UpdatePermissionsRequestDataValueCanSend.build(data)
|
32
|
+
# => #<Array<String>:0x00007fdd4aab02a0>
|
33
|
+
|
34
|
+
Daily::UpdatePermissionsRequestDataValueCanSend.build(data_that_doesnt_match)
|
35
|
+
# => nil
|
36
|
+
```
|
37
|
+
|
38
|
+
#### Parameters
|
39
|
+
|
40
|
+
| Name | Type | Description |
|
41
|
+
| ---- | ---- | ----------- |
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
43
|
+
|
44
|
+
#### Return type
|
45
|
+
|
46
|
+
- `Array<String>`
|
47
|
+
- `Boolean`
|
48
|
+
- `nil` (if no type matches)
|
49
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Daily::UpdateWebhook
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **url** | **String** | The webhook server endpoint that was provided. | [optional] |
|
8
|
+
| **basic_auth** | **String** | The basic auth credentials that will be used to POST to the webhook URL. | [optional] |
|
9
|
+
| **event_types** | **Array<String>** | The set of event types this webhook is subscribed to. | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'daily-ruby'
|
15
|
+
|
16
|
+
instance = Daily::UpdateWebhook.new(
|
17
|
+
url: null,
|
18
|
+
basic_auth: null,
|
19
|
+
event_types: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Daily::ValidateMeetingToken200Response
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **room_name** | **String** | | [optional] |
|
8
|
+
| **is_owner** | **Boolean** | | [optional][default to true] |
|
9
|
+
| **user_name** | **String** | | [optional] |
|
10
|
+
| **start_video_off** | **Boolean** | | [optional][default to true] |
|
11
|
+
| **start_audio_off** | **Boolean** | | [optional][default to true] |
|
12
|
+
| **lang** | **String** | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'daily-ruby'
|
18
|
+
|
19
|
+
instance = Daily::ValidateMeetingToken200Response.new(
|
20
|
+
room_name: EevVrrxee4JBxKzmKkjC,
|
21
|
+
is_owner: true,
|
22
|
+
user_name: host,
|
23
|
+
start_video_off: false,
|
24
|
+
start_audio_off: true,
|
25
|
+
lang: en
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
data/docs/Webhook.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Daily::Webhook
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **uuid** | **String** | The unique identifier for this webhook. | [optional] |
|
8
|
+
| **url** | **String** | The webhook server endpoint that was provided. | [optional] |
|
9
|
+
| **hmac** | **String** | A secret that can be used to verify the signature of the webhook. | [optional] |
|
10
|
+
| **basic_auth** | **String** | The basic auth credentials that will be used to POST to the webhook URL. | [optional] |
|
11
|
+
| **event_types** | **Array<String>** | The set of event types this webhook is subscribed to. | [optional] |
|
12
|
+
| **state** | **Float** | The current state of the webhook. FAILED: 0, ACTIVE: 1, STOPPED: 2. | [optional] |
|
13
|
+
| **failed_count** | **Float** | The number of consecutive failures this webhook has made. | [optional] |
|
14
|
+
| **last_moment_pushed** | **Float** | The Unix epoch time in seconds of the last moment an event was pushed to the webhook server. | [optional] |
|
15
|
+
| **domain_id** | **String** | The domain ID this webhook is associated with. | [optional] |
|
16
|
+
| **created_at** | **Float** | The Unix epoch time in seconds of when this webhook was created. | [optional] |
|
17
|
+
| **updated_at** | **Float** | The Unix epoch time in seconds of when this webhook was last updated. | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'daily-ruby'
|
23
|
+
|
24
|
+
instance = Daily::Webhook.new(
|
25
|
+
uuid: null,
|
26
|
+
url: null,
|
27
|
+
hmac: null,
|
28
|
+
basic_auth: null,
|
29
|
+
event_types: null,
|
30
|
+
state: null,
|
31
|
+
failed_count: null,
|
32
|
+
last_moment_pushed: null,
|
33
|
+
domain_id: null,
|
34
|
+
created_at: null,
|
35
|
+
updated_at: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
data/docs/WebhooksApi.md
ADDED
@@ -0,0 +1,370 @@
|
|
1
|
+
# Daily::WebhooksApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.daily.co/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create_webhook**](WebhooksApi.md#create_webhook) | **POST** /webhooks | /webhooks |
|
8
|
+
| [**delete_webhook**](WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{id} | webhooks/:id |
|
9
|
+
| [**get_webhook_config**](WebhooksApi.md#get_webhook_config) | **GET** /webhooks/{id} | webhooks/:id |
|
10
|
+
| [**get_webhooks**](WebhooksApi.md#get_webhooks) | **GET** /webhooks | /webhooks |
|
11
|
+
| [**update_webhook_config**](WebhooksApi.md#update_webhook_config) | **POST** /webhooks/{id} | webhooks/:id |
|
12
|
+
|
13
|
+
|
14
|
+
## create_webhook
|
15
|
+
|
16
|
+
> <Webhook> create_webhook(opts)
|
17
|
+
|
18
|
+
/webhooks
|
19
|
+
|
20
|
+
Create a webhook
|
21
|
+
|
22
|
+
### Examples
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
require 'time'
|
26
|
+
require 'daily-ruby'
|
27
|
+
# setup authorization
|
28
|
+
Daily.configure do |config|
|
29
|
+
# Configure API key authorization: sec0
|
30
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
31
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
33
|
+
end
|
34
|
+
|
35
|
+
api_instance = Daily::WebhooksApi.new
|
36
|
+
opts = {
|
37
|
+
post_webhook: Daily::PostWebhook.new # PostWebhook |
|
38
|
+
}
|
39
|
+
|
40
|
+
begin
|
41
|
+
# /webhooks
|
42
|
+
result = api_instance.create_webhook(opts)
|
43
|
+
p result
|
44
|
+
rescue Daily::ApiError => e
|
45
|
+
puts "Error when calling WebhooksApi->create_webhook: #{e}"
|
46
|
+
end
|
47
|
+
```
|
48
|
+
|
49
|
+
#### Using the create_webhook_with_http_info variant
|
50
|
+
|
51
|
+
This returns an Array which contains the response data, status code and headers.
|
52
|
+
|
53
|
+
> <Array(<Webhook>, Integer, Hash)> create_webhook_with_http_info(opts)
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
begin
|
57
|
+
# /webhooks
|
58
|
+
data, status_code, headers = api_instance.create_webhook_with_http_info(opts)
|
59
|
+
p status_code # => 2xx
|
60
|
+
p headers # => { ... }
|
61
|
+
p data # => <Webhook>
|
62
|
+
rescue Daily::ApiError => e
|
63
|
+
puts "Error when calling WebhooksApi->create_webhook_with_http_info: #{e}"
|
64
|
+
end
|
65
|
+
```
|
66
|
+
|
67
|
+
### Parameters
|
68
|
+
|
69
|
+
| Name | Type | Description | Notes |
|
70
|
+
| ---- | ---- | ----------- | ----- |
|
71
|
+
| **post_webhook** | [**PostWebhook**](PostWebhook.md) | | [optional] |
|
72
|
+
|
73
|
+
### Return type
|
74
|
+
|
75
|
+
[**Webhook**](Webhook.md)
|
76
|
+
|
77
|
+
### Authorization
|
78
|
+
|
79
|
+
[sec0](../README.md#sec0)
|
80
|
+
|
81
|
+
### HTTP request headers
|
82
|
+
|
83
|
+
- **Content-Type**: application/json
|
84
|
+
- **Accept**: application/json
|
85
|
+
|
86
|
+
|
87
|
+
## delete_webhook
|
88
|
+
|
89
|
+
> Object delete_webhook(id)
|
90
|
+
|
91
|
+
webhooks/:id
|
92
|
+
|
93
|
+
Delete a webhook
|
94
|
+
|
95
|
+
### Examples
|
96
|
+
|
97
|
+
```ruby
|
98
|
+
require 'time'
|
99
|
+
require 'daily-ruby'
|
100
|
+
# setup authorization
|
101
|
+
Daily.configure do |config|
|
102
|
+
# Configure API key authorization: sec0
|
103
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
104
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
105
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
106
|
+
end
|
107
|
+
|
108
|
+
api_instance = Daily::WebhooksApi.new
|
109
|
+
id = 'id_example' # String |
|
110
|
+
|
111
|
+
begin
|
112
|
+
# webhooks/:id
|
113
|
+
result = api_instance.delete_webhook(id)
|
114
|
+
p result
|
115
|
+
rescue Daily::ApiError => e
|
116
|
+
puts "Error when calling WebhooksApi->delete_webhook: #{e}"
|
117
|
+
end
|
118
|
+
```
|
119
|
+
|
120
|
+
#### Using the delete_webhook_with_http_info variant
|
121
|
+
|
122
|
+
This returns an Array which contains the response data, status code and headers.
|
123
|
+
|
124
|
+
> <Array(Object, Integer, Hash)> delete_webhook_with_http_info(id)
|
125
|
+
|
126
|
+
```ruby
|
127
|
+
begin
|
128
|
+
# webhooks/:id
|
129
|
+
data, status_code, headers = api_instance.delete_webhook_with_http_info(id)
|
130
|
+
p status_code # => 2xx
|
131
|
+
p headers # => { ... }
|
132
|
+
p data # => Object
|
133
|
+
rescue Daily::ApiError => e
|
134
|
+
puts "Error when calling WebhooksApi->delete_webhook_with_http_info: #{e}"
|
135
|
+
end
|
136
|
+
```
|
137
|
+
|
138
|
+
### Parameters
|
139
|
+
|
140
|
+
| Name | Type | Description | Notes |
|
141
|
+
| ---- | ---- | ----------- | ----- |
|
142
|
+
| **id** | **String** | | |
|
143
|
+
|
144
|
+
### Return type
|
145
|
+
|
146
|
+
**Object**
|
147
|
+
|
148
|
+
### Authorization
|
149
|
+
|
150
|
+
[sec0](../README.md#sec0)
|
151
|
+
|
152
|
+
### HTTP request headers
|
153
|
+
|
154
|
+
- **Content-Type**: Not defined
|
155
|
+
- **Accept**: application/json
|
156
|
+
|
157
|
+
|
158
|
+
## get_webhook_config
|
159
|
+
|
160
|
+
> <Array<Webhook>> get_webhook_config(id)
|
161
|
+
|
162
|
+
webhooks/:id
|
163
|
+
|
164
|
+
Get info about a webhook
|
165
|
+
|
166
|
+
### Examples
|
167
|
+
|
168
|
+
```ruby
|
169
|
+
require 'time'
|
170
|
+
require 'daily-ruby'
|
171
|
+
# setup authorization
|
172
|
+
Daily.configure do |config|
|
173
|
+
# Configure API key authorization: sec0
|
174
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
175
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
176
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
177
|
+
end
|
178
|
+
|
179
|
+
api_instance = Daily::WebhooksApi.new
|
180
|
+
id = 'id_example' # String |
|
181
|
+
|
182
|
+
begin
|
183
|
+
# webhooks/:id
|
184
|
+
result = api_instance.get_webhook_config(id)
|
185
|
+
p result
|
186
|
+
rescue Daily::ApiError => e
|
187
|
+
puts "Error when calling WebhooksApi->get_webhook_config: #{e}"
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
#### Using the get_webhook_config_with_http_info variant
|
192
|
+
|
193
|
+
This returns an Array which contains the response data, status code and headers.
|
194
|
+
|
195
|
+
> <Array(<Array<Webhook>>, Integer, Hash)> get_webhook_config_with_http_info(id)
|
196
|
+
|
197
|
+
```ruby
|
198
|
+
begin
|
199
|
+
# webhooks/:id
|
200
|
+
data, status_code, headers = api_instance.get_webhook_config_with_http_info(id)
|
201
|
+
p status_code # => 2xx
|
202
|
+
p headers # => { ... }
|
203
|
+
p data # => <Array<Webhook>>
|
204
|
+
rescue Daily::ApiError => e
|
205
|
+
puts "Error when calling WebhooksApi->get_webhook_config_with_http_info: #{e}"
|
206
|
+
end
|
207
|
+
```
|
208
|
+
|
209
|
+
### Parameters
|
210
|
+
|
211
|
+
| Name | Type | Description | Notes |
|
212
|
+
| ---- | ---- | ----------- | ----- |
|
213
|
+
| **id** | **String** | | |
|
214
|
+
|
215
|
+
### Return type
|
216
|
+
|
217
|
+
[**Array<Webhook>**](Webhook.md)
|
218
|
+
|
219
|
+
### Authorization
|
220
|
+
|
221
|
+
[sec0](../README.md#sec0)
|
222
|
+
|
223
|
+
### HTTP request headers
|
224
|
+
|
225
|
+
- **Content-Type**: Not defined
|
226
|
+
- **Accept**: application/json
|
227
|
+
|
228
|
+
|
229
|
+
## get_webhooks
|
230
|
+
|
231
|
+
> <Array<Webhook>> get_webhooks
|
232
|
+
|
233
|
+
/webhooks
|
234
|
+
|
235
|
+
Get Webhooks
|
236
|
+
|
237
|
+
### Examples
|
238
|
+
|
239
|
+
```ruby
|
240
|
+
require 'time'
|
241
|
+
require 'daily-ruby'
|
242
|
+
# setup authorization
|
243
|
+
Daily.configure do |config|
|
244
|
+
# Configure API key authorization: sec0
|
245
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
246
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
247
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
248
|
+
end
|
249
|
+
|
250
|
+
api_instance = Daily::WebhooksApi.new
|
251
|
+
|
252
|
+
begin
|
253
|
+
# /webhooks
|
254
|
+
result = api_instance.get_webhooks
|
255
|
+
p result
|
256
|
+
rescue Daily::ApiError => e
|
257
|
+
puts "Error when calling WebhooksApi->get_webhooks: #{e}"
|
258
|
+
end
|
259
|
+
```
|
260
|
+
|
261
|
+
#### Using the get_webhooks_with_http_info variant
|
262
|
+
|
263
|
+
This returns an Array which contains the response data, status code and headers.
|
264
|
+
|
265
|
+
> <Array(<Array<Webhook>>, Integer, Hash)> get_webhooks_with_http_info
|
266
|
+
|
267
|
+
```ruby
|
268
|
+
begin
|
269
|
+
# /webhooks
|
270
|
+
data, status_code, headers = api_instance.get_webhooks_with_http_info
|
271
|
+
p status_code # => 2xx
|
272
|
+
p headers # => { ... }
|
273
|
+
p data # => <Array<Webhook>>
|
274
|
+
rescue Daily::ApiError => e
|
275
|
+
puts "Error when calling WebhooksApi->get_webhooks_with_http_info: #{e}"
|
276
|
+
end
|
277
|
+
```
|
278
|
+
|
279
|
+
### Parameters
|
280
|
+
|
281
|
+
This endpoint does not need any parameter.
|
282
|
+
|
283
|
+
### Return type
|
284
|
+
|
285
|
+
[**Array<Webhook>**](Webhook.md)
|
286
|
+
|
287
|
+
### Authorization
|
288
|
+
|
289
|
+
[sec0](../README.md#sec0)
|
290
|
+
|
291
|
+
### HTTP request headers
|
292
|
+
|
293
|
+
- **Content-Type**: Not defined
|
294
|
+
- **Accept**: application/json
|
295
|
+
|
296
|
+
|
297
|
+
## update_webhook_config
|
298
|
+
|
299
|
+
> <Webhook> update_webhook_config(id, opts)
|
300
|
+
|
301
|
+
webhooks/:id
|
302
|
+
|
303
|
+
Update webhook config
|
304
|
+
|
305
|
+
### Examples
|
306
|
+
|
307
|
+
```ruby
|
308
|
+
require 'time'
|
309
|
+
require 'daily-ruby'
|
310
|
+
# setup authorization
|
311
|
+
Daily.configure do |config|
|
312
|
+
# Configure API key authorization: sec0
|
313
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
314
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
315
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
316
|
+
end
|
317
|
+
|
318
|
+
api_instance = Daily::WebhooksApi.new
|
319
|
+
id = 'id_example' # String |
|
320
|
+
opts = {
|
321
|
+
update_webhook: Daily::UpdateWebhook.new # UpdateWebhook |
|
322
|
+
}
|
323
|
+
|
324
|
+
begin
|
325
|
+
# webhooks/:id
|
326
|
+
result = api_instance.update_webhook_config(id, opts)
|
327
|
+
p result
|
328
|
+
rescue Daily::ApiError => e
|
329
|
+
puts "Error when calling WebhooksApi->update_webhook_config: #{e}"
|
330
|
+
end
|
331
|
+
```
|
332
|
+
|
333
|
+
#### Using the update_webhook_config_with_http_info variant
|
334
|
+
|
335
|
+
This returns an Array which contains the response data, status code and headers.
|
336
|
+
|
337
|
+
> <Array(<Webhook>, Integer, Hash)> update_webhook_config_with_http_info(id, opts)
|
338
|
+
|
339
|
+
```ruby
|
340
|
+
begin
|
341
|
+
# webhooks/:id
|
342
|
+
data, status_code, headers = api_instance.update_webhook_config_with_http_info(id, opts)
|
343
|
+
p status_code # => 2xx
|
344
|
+
p headers # => { ... }
|
345
|
+
p data # => <Webhook>
|
346
|
+
rescue Daily::ApiError => e
|
347
|
+
puts "Error when calling WebhooksApi->update_webhook_config_with_http_info: #{e}"
|
348
|
+
end
|
349
|
+
```
|
350
|
+
|
351
|
+
### Parameters
|
352
|
+
|
353
|
+
| Name | Type | Description | Notes |
|
354
|
+
| ---- | ---- | ----------- | ----- |
|
355
|
+
| **id** | **String** | | |
|
356
|
+
| **update_webhook** | [**UpdateWebhook**](UpdateWebhook.md) | | [optional] |
|
357
|
+
|
358
|
+
### Return type
|
359
|
+
|
360
|
+
[**Webhook**](Webhook.md)
|
361
|
+
|
362
|
+
### Authorization
|
363
|
+
|
364
|
+
[sec0](../README.md#sec0)
|
365
|
+
|
366
|
+
### HTTP request headers
|
367
|
+
|
368
|
+
- **Content-Type**: application/json
|
369
|
+
- **Accept**: application/json
|
370
|
+
|