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,30 @@
|
|
1
|
+
# Daily::CreateRoom200Response
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | [optional] |
|
9
|
+
| **api_created** | **Boolean** | | [optional][default to true] |
|
10
|
+
| **privacy** | **String** | | [optional] |
|
11
|
+
| **url** | **String** | | [optional] |
|
12
|
+
| **created_at** | **String** | | [optional] |
|
13
|
+
| **config** | [**ListRooms200ResponseDataInnerConfig**](ListRooms200ResponseDataInnerConfig.md) | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'daily-ruby'
|
19
|
+
|
20
|
+
instance = Daily::CreateRoom200Response.new(
|
21
|
+
id: d61cd7b2-a273-42b4-89bd-be763fd562c1,
|
22
|
+
name: w2pp2cf4kltgFACPKXmX,
|
23
|
+
api_created: true,
|
24
|
+
privacy: public,
|
25
|
+
url: https://api-demo.daily.co/w2pp2cf4kltgFACPKXmX,
|
26
|
+
created_at: 2019-01-26T09:01:22.000Z,
|
27
|
+
config: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Daily::
|
1
|
+
# Daily::CreateRoomRequest
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,14 +6,14 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | | [optional] |
|
8
8
|
| **privacy** | **String** | | [optional] |
|
9
|
-
| **properties** | [**
|
9
|
+
| **properties** | [**RoomProperties**](RoomProperties.md) | | [optional] |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
14
|
require 'daily-ruby'
|
15
15
|
|
16
|
-
instance = Daily::
|
16
|
+
instance = Daily::CreateRoomRequest.new(
|
17
17
|
name: null,
|
18
18
|
privacy: null,
|
19
19
|
properties: null
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Daily::DailyLiveStreamingOptions
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **width** | **Float** | Property that specifies the output width of the given stream. | [optional] |
|
8
|
+
| **height** | **Float** | Property that specifies the output height of the given stream. | [optional] |
|
9
|
+
| **fps** | **Float** | Property that specifies the video frame rate per second. | [optional] |
|
10
|
+
| **video_bitrate** | **Float** | Property that specifies the video bitrate for the output video in kilobits per second (kbps). | [optional] |
|
11
|
+
| **audio_bitrate** | **Float** | Property that specifies the audio bitrate for the output audio in kilobits per second (kbps). | [optional] |
|
12
|
+
| **min_idle_time_out** | **Float** | Amount of time in seconds to wait before ending a recording or live stream when the room is idle (e.g. when all users have muted video and audio). Default: 300 (seconds). Note: Once the timeout has been reached, it typically takes an additional 1-3 minutes for the recording or live stream to be shut down. | [optional] |
|
13
|
+
| **max_duration** | **Float** | Maximum duration in seconds after which recording/streaming is forcefully stopped. Default: \\`15000\\` seconds (3 hours). This is a preventive circuit breaker to prevent billing surprises in case a user starts recording/streaming and leaves the room. | [optional] |
|
14
|
+
| **background_color** | **String** | Specifies the background color of the stream, formatted as \\#rrggbb or \\#aarrggbb string. | [optional] |
|
15
|
+
| **instance_id** | **String** | UUID for a streaming or recording session. Used when multiple streaming or recording sessions are running for single room. | [optional] |
|
16
|
+
| **layout** | [**DailyStreamingLayoutConfig**](DailyStreamingLayoutConfig.md) | | [optional] |
|
17
|
+
| **rtmp_url** | [**DailyLiveStreamingOptionsRtmpUrl**](DailyLiveStreamingOptionsRtmpUrl.md) | | [optional] |
|
18
|
+
| **endpoints** | [**Array<DailyStreamingEndpoint>**](DailyStreamingEndpoint.md) | | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'daily-ruby'
|
24
|
+
|
25
|
+
instance = Daily::DailyLiveStreamingOptions.new(
|
26
|
+
width: null,
|
27
|
+
height: null,
|
28
|
+
fps: null,
|
29
|
+
video_bitrate: null,
|
30
|
+
audio_bitrate: null,
|
31
|
+
min_idle_time_out: null,
|
32
|
+
max_duration: null,
|
33
|
+
background_color: null,
|
34
|
+
instance_id: null,
|
35
|
+
layout: null,
|
36
|
+
rtmp_url: null,
|
37
|
+
endpoints: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Daily::DailyLiveStreamingOptionsRtmpUrl
|
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::DailyLiveStreamingOptionsRtmpUrl.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'Array<String>',
|
18
|
+
# :'String'
|
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::DailyLiveStreamingOptionsRtmpUrl.build(data)
|
32
|
+
# => #<Array<String>:0x00007fdd4aab02a0>
|
33
|
+
|
34
|
+
Daily::DailyLiveStreamingOptionsRtmpUrl.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
|
+
- `String`
|
48
|
+
- `nil` (if no type matches)
|
49
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Daily::DailyStreamingActiveParticipantLayoutConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **preset** | **String** | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'daily-ruby'
|
13
|
+
|
14
|
+
instance = Daily::DailyStreamingActiveParticipantLayoutConfig.new(
|
15
|
+
preset: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Daily::DailyStreamingCustomLayoutConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **preset** | **String** | | |
|
8
|
+
| **composition_id** | **String** | | |
|
9
|
+
| **composition_params** | [**Hash<String, DailyStreamingCustomLayoutConfigCompositionParams>**](DailyStreamingCustomLayoutConfigCompositionParams.md) | | [optional] |
|
10
|
+
| **session_assets** | **Hash<String, String>** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'daily-ruby'
|
16
|
+
|
17
|
+
instance = Daily::DailyStreamingCustomLayoutConfig.new(
|
18
|
+
preset: null,
|
19
|
+
composition_id: null,
|
20
|
+
composition_params: null,
|
21
|
+
session_assets: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Daily::DailyStreamingCustomLayoutConfigCompositionParams
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'daily-ruby'
|
12
|
+
|
13
|
+
instance = Daily::DailyStreamingCustomLayoutConfigCompositionParams.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Daily::DailyStreamingDefaultLayoutConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **preset** | **String** | | |
|
8
|
+
| **max_cam_streams** | **Float** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'daily-ruby'
|
14
|
+
|
15
|
+
instance = Daily::DailyStreamingDefaultLayoutConfig.new(
|
16
|
+
preset: null,
|
17
|
+
max_cam_streams: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -1,18 +1,18 @@
|
|
1
|
-
# Daily::
|
1
|
+
# Daily::DailyStreamingEndpoint
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **endpoint** | **String** | | |
|
8
8
|
|
9
9
|
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
require 'daily-ruby'
|
13
13
|
|
14
|
-
instance = Daily::
|
15
|
-
|
14
|
+
instance = Daily::DailyStreamingEndpoint.new(
|
15
|
+
endpoint: null
|
16
16
|
)
|
17
17
|
```
|
18
18
|
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Daily::DailyStreamingLayoutConfig
|
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::DailyStreamingLayoutConfig.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'DailyStreamingActiveParticipantLayoutConfig',
|
18
|
+
# :'DailyStreamingCustomLayoutConfig',
|
19
|
+
# :'DailyStreamingDefaultLayoutConfig',
|
20
|
+
# :'DailyStreamingPortraitLayoutConfig',
|
21
|
+
# :'DailyStreamingSingleParticipantLayoutConfig'
|
22
|
+
# ]
|
23
|
+
```
|
24
|
+
|
25
|
+
### `openapi_discriminator_name`
|
26
|
+
|
27
|
+
Returns the discriminator's property name.
|
28
|
+
|
29
|
+
#### Example
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
require 'daily-ruby'
|
33
|
+
|
34
|
+
Daily::DailyStreamingLayoutConfig.openapi_discriminator_name
|
35
|
+
# => :'preset'
|
36
|
+
```
|
37
|
+
```
|
38
|
+
|
39
|
+
### build
|
40
|
+
|
41
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
42
|
+
|
43
|
+
#### Example
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
require 'daily-ruby'
|
47
|
+
|
48
|
+
Daily::DailyStreamingLayoutConfig.build(data)
|
49
|
+
# => #<DailyStreamingActiveParticipantLayoutConfig:0x00007fdd4aab02a0>
|
50
|
+
|
51
|
+
Daily::DailyStreamingLayoutConfig.build(data_that_doesnt_match)
|
52
|
+
# => nil
|
53
|
+
```
|
54
|
+
|
55
|
+
#### Parameters
|
56
|
+
|
57
|
+
| Name | Type | Description |
|
58
|
+
| ---- | ---- | ----------- |
|
59
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
60
|
+
|
61
|
+
#### Return type
|
62
|
+
|
63
|
+
- `DailyStreamingActiveParticipantLayoutConfig`
|
64
|
+
- `DailyStreamingCustomLayoutConfig`
|
65
|
+
- `DailyStreamingDefaultLayoutConfig`
|
66
|
+
- `DailyStreamingPortraitLayoutConfig`
|
67
|
+
- `DailyStreamingSingleParticipantLayoutConfig`
|
68
|
+
- `nil` (if no type matches)
|
69
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Daily::DailyStreamingOptions
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **width** | **Float** | Property that specifies the output width of the given stream. | [optional] |
|
8
|
+
| **height** | **Float** | Property that specifies the output height of the given stream. | [optional] |
|
9
|
+
| **fps** | **Float** | Property that specifies the video frame rate per second. | [optional] |
|
10
|
+
| **video_bitrate** | **Float** | Property that specifies the video bitrate for the output video in kilobits per second (kbps). | [optional] |
|
11
|
+
| **audio_bitrate** | **Float** | Property that specifies the audio bitrate for the output audio in kilobits per second (kbps). | [optional] |
|
12
|
+
| **min_idle_time_out** | **Float** | Amount of time in seconds to wait before ending a recording or live stream when the room is idle (e.g. when all users have muted video and audio). Default: 300 (seconds). Note: Once the timeout has been reached, it typically takes an additional 1-3 minutes for the recording or live stream to be shut down. | [optional] |
|
13
|
+
| **max_duration** | **Float** | Maximum duration in seconds after which recording/streaming is forcefully stopped. Default: \\`15000\\` seconds (3 hours). This is a preventive circuit breaker to prevent billing surprises in case a user starts recording/streaming and leaves the room. | [optional] |
|
14
|
+
| **background_color** | **String** | Specifies the background color of the stream, formatted as \\#rrggbb or \\#aarrggbb string. | [optional] |
|
15
|
+
| **instance_id** | **String** | UUID for a streaming or recording session. Used when multiple streaming or recording sessions are running for single room. | [optional] |
|
16
|
+
| **layout** | [**DailyStreamingLayoutConfig**](DailyStreamingLayoutConfig.md) | | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'daily-ruby'
|
22
|
+
|
23
|
+
instance = Daily::DailyStreamingOptions.new(
|
24
|
+
width: null,
|
25
|
+
height: null,
|
26
|
+
fps: null,
|
27
|
+
video_bitrate: null,
|
28
|
+
audio_bitrate: null,
|
29
|
+
min_idle_time_out: null,
|
30
|
+
max_duration: null,
|
31
|
+
background_color: null,
|
32
|
+
instance_id: null,
|
33
|
+
layout: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Daily::DailyStreamingPortraitLayoutConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **preset** | **String** | | |
|
8
|
+
| **variant** | [**DailyStreamingPortraitLayoutVariant**](DailyStreamingPortraitLayoutVariant.md) | | [optional] |
|
9
|
+
| **max_cam_streams** | **Float** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'daily-ruby'
|
15
|
+
|
16
|
+
instance = Daily::DailyStreamingPortraitLayoutConfig.new(
|
17
|
+
preset: null,
|
18
|
+
variant: null,
|
19
|
+
max_cam_streams: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Daily::DailyStreamingPortraitLayoutVariant
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'daily-ruby'
|
12
|
+
|
13
|
+
instance = Daily::DailyStreamingPortraitLayoutVariant.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Daily::DailyStreamingSingleParticipantLayoutConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **preset** | **String** | | |
|
8
|
+
| **session_id** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'daily-ruby'
|
14
|
+
|
15
|
+
instance = Daily::DailyStreamingSingleParticipantLayoutConfig.new(
|
16
|
+
preset: null,
|
17
|
+
session_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Daily::DeleteTranscript200Response
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **transcript_id** | **String** | A unique, opaque ID for this object. You can use this ID in API calls, and in paginated list operations. | [optional] |
|
8
|
+
| **domain_id** | **String** | The ID of the domain [domain](https://docs.daily.co/reference/rest-api/your-domain). | [optional] |
|
9
|
+
| **room_id** | **String** | The ID of the room [room](https://docs.daily.co/reference/rest-api/rooms). | [optional] |
|
10
|
+
| **mtg_session_id** | **String** | The meeting session ID for this transcription.[mtgSessionId](https://docs.daily.co/reference/rest-api/logs/config#mtgSessionId). | [optional] |
|
11
|
+
| **status** | **String** | | [optional] |
|
12
|
+
| **duration** | **Integer** | Transcription length in seconds | [optional] |
|
13
|
+
| **out_params** | [**GetTranscriptInfo200ResponseOutParams**](GetTranscriptInfo200ResponseOutParams.md) | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'daily-ruby'
|
19
|
+
|
20
|
+
instance = Daily::DeleteTranscript200Response.new(
|
21
|
+
transcript_id: 0cb313e1-211f-4be0-833d-8c7305b19902,
|
22
|
+
domain_id: null,
|
23
|
+
room_id: 1a5afbf4-211f-4be0-833d-8c7305b19902,
|
24
|
+
mtg_session_id: 257764e6-c74e-4c30-944a-a887a03173a3,
|
25
|
+
status: t_finished,
|
26
|
+
duration: 277,
|
27
|
+
out_params: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
data/docs/Domain.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Daily::Domain
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **properties** | [**DomainProperties**](DomainProperties.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'daily-ruby'
|
13
|
+
|
14
|
+
instance = Daily::Domain.new(
|
15
|
+
properties: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/DomainApi.md
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
# Daily::DomainApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.daily.co/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get_domain_config**](DomainApi.md#get_domain_config) | **GET** / | Get domain configuration |
|
8
|
+
| [**set_domain_config**](DomainApi.md#set_domain_config) | **POST** / | Set domain configuration |
|
9
|
+
|
10
|
+
|
11
|
+
## get_domain_config
|
12
|
+
|
13
|
+
> <GetDomainConfig200Response> get_domain_config
|
14
|
+
|
15
|
+
Get domain configuration
|
16
|
+
|
17
|
+
Get top-level configuration of your domain
|
18
|
+
|
19
|
+
### Examples
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'time'
|
23
|
+
require 'daily-ruby'
|
24
|
+
# setup authorization
|
25
|
+
Daily.configure do |config|
|
26
|
+
# Configure API key authorization: sec0
|
27
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = Daily::DomainApi.new
|
33
|
+
|
34
|
+
begin
|
35
|
+
# Get domain configuration
|
36
|
+
result = api_instance.get_domain_config
|
37
|
+
p result
|
38
|
+
rescue Daily::ApiError => e
|
39
|
+
puts "Error when calling DomainApi->get_domain_config: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Using the get_domain_config_with_http_info variant
|
44
|
+
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
46
|
+
|
47
|
+
> <Array(<GetDomainConfig200Response>, Integer, Hash)> get_domain_config_with_http_info
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
begin
|
51
|
+
# Get domain configuration
|
52
|
+
data, status_code, headers = api_instance.get_domain_config_with_http_info
|
53
|
+
p status_code # => 2xx
|
54
|
+
p headers # => { ... }
|
55
|
+
p data # => <GetDomainConfig200Response>
|
56
|
+
rescue Daily::ApiError => e
|
57
|
+
puts "Error when calling DomainApi->get_domain_config_with_http_info: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
This endpoint does not need any parameter.
|
64
|
+
|
65
|
+
### Return type
|
66
|
+
|
67
|
+
[**GetDomainConfig200Response**](GetDomainConfig200Response.md)
|
68
|
+
|
69
|
+
### Authorization
|
70
|
+
|
71
|
+
[sec0](../README.md#sec0)
|
72
|
+
|
73
|
+
### HTTP request headers
|
74
|
+
|
75
|
+
- **Content-Type**: Not defined
|
76
|
+
- **Accept**: application/json
|
77
|
+
|
78
|
+
|
79
|
+
## set_domain_config
|
80
|
+
|
81
|
+
> set_domain_config(opts)
|
82
|
+
|
83
|
+
Set domain configuration
|
84
|
+
|
85
|
+
Set top-level configuration options for your domain
|
86
|
+
|
87
|
+
### Examples
|
88
|
+
|
89
|
+
```ruby
|
90
|
+
require 'time'
|
91
|
+
require 'daily-ruby'
|
92
|
+
# setup authorization
|
93
|
+
Daily.configure do |config|
|
94
|
+
# Configure API key authorization: sec0
|
95
|
+
config.api_key['sec0'] = 'YOUR API KEY'
|
96
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
97
|
+
# config.api_key_prefix['sec0'] = 'Bearer'
|
98
|
+
end
|
99
|
+
|
100
|
+
api_instance = Daily::DomainApi.new
|
101
|
+
opts = {
|
102
|
+
domain: Daily::Domain.new # Domain |
|
103
|
+
}
|
104
|
+
|
105
|
+
begin
|
106
|
+
# Set domain configuration
|
107
|
+
api_instance.set_domain_config(opts)
|
108
|
+
rescue Daily::ApiError => e
|
109
|
+
puts "Error when calling DomainApi->set_domain_config: #{e}"
|
110
|
+
end
|
111
|
+
```
|
112
|
+
|
113
|
+
#### Using the set_domain_config_with_http_info variant
|
114
|
+
|
115
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
116
|
+
|
117
|
+
> <Array(nil, Integer, Hash)> set_domain_config_with_http_info(opts)
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
begin
|
121
|
+
# Set domain configuration
|
122
|
+
data, status_code, headers = api_instance.set_domain_config_with_http_info(opts)
|
123
|
+
p status_code # => 2xx
|
124
|
+
p headers # => { ... }
|
125
|
+
p data # => nil
|
126
|
+
rescue Daily::ApiError => e
|
127
|
+
puts "Error when calling DomainApi->set_domain_config_with_http_info: #{e}"
|
128
|
+
end
|
129
|
+
```
|
130
|
+
|
131
|
+
### Parameters
|
132
|
+
|
133
|
+
| Name | Type | Description | Notes |
|
134
|
+
| ---- | ---- | ----------- | ----- |
|
135
|
+
| **domain** | [**Domain**](Domain.md) | | [optional] |
|
136
|
+
|
137
|
+
### Return type
|
138
|
+
|
139
|
+
nil (empty response body)
|
140
|
+
|
141
|
+
### Authorization
|
142
|
+
|
143
|
+
[sec0](../README.md#sec0)
|
144
|
+
|
145
|
+
### HTTP request headers
|
146
|
+
|
147
|
+
- **Content-Type**: application/json
|
148
|
+
- **Accept**: application/json
|
149
|
+
|