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
data/daily.yaml
DELETED
@@ -1,422 +0,0 @@
|
|
1
|
-
openapi: 3.0.0
|
2
|
-
servers:
|
3
|
-
- url: "https://api.daily.co/v1"
|
4
|
-
info:
|
5
|
-
description: >-
|
6
|
-
The official library for communicating with the Daily REST API.
|
7
|
-
version: 0.0.0
|
8
|
-
title: Daily
|
9
|
-
license:
|
10
|
-
name: Apache-2.0
|
11
|
-
url: "https://www.apache.org/licenses/LICENSE-2.0.html"
|
12
|
-
tags:
|
13
|
-
- name: room
|
14
|
-
description: A Daily meeting room
|
15
|
-
paths:
|
16
|
-
/rooms:
|
17
|
-
post:
|
18
|
-
tags:
|
19
|
-
- room
|
20
|
-
summary: Create a new room
|
21
|
-
description: "A POST request to /rooms creates a new room."
|
22
|
-
operationId: createRoom
|
23
|
-
responses:
|
24
|
-
"200":
|
25
|
-
description: successful operation
|
26
|
-
content:
|
27
|
-
application/json:
|
28
|
-
schema:
|
29
|
-
$ref: "#/components/schemas/RoomResponse"
|
30
|
-
"400":
|
31
|
-
$ref: "#/components/responses/InvalidRequest"
|
32
|
-
"401":
|
33
|
-
$ref: "#/components/responses/UnauthorizedError"
|
34
|
-
"405":
|
35
|
-
description: Invalid input
|
36
|
-
"429":
|
37
|
-
$ref: "#/components/responses/TooManyRequestsError"
|
38
|
-
security:
|
39
|
-
- bearerAuth: []
|
40
|
-
requestBody:
|
41
|
-
$ref: "#/components/requestBodies/RoomRequest"
|
42
|
-
get:
|
43
|
-
tags:
|
44
|
-
- room
|
45
|
-
summary: Get a list rooms
|
46
|
-
description: "A GET request to /rooms returns a list of rooms."
|
47
|
-
operationId: getRooms
|
48
|
-
parameters:
|
49
|
-
- in: query
|
50
|
-
name: offset
|
51
|
-
description: The number of items to skip before starting to collect the result set.
|
52
|
-
schema:
|
53
|
-
type: integer
|
54
|
-
- in: query
|
55
|
-
name: limit
|
56
|
-
description: The numbers of items to return.
|
57
|
-
schema:
|
58
|
-
type: integer
|
59
|
-
- in: query
|
60
|
-
name: ending_before
|
61
|
-
description: A cursor for use in pagination. ending_before is an object ID that defines your place in the list.
|
62
|
-
schema:
|
63
|
-
type: string
|
64
|
-
- in: query
|
65
|
-
name: starting_after
|
66
|
-
description: A cursor for use in pagination. starting_after is an object ID that defines your place in the list.
|
67
|
-
schema:
|
68
|
-
type: string
|
69
|
-
responses:
|
70
|
-
"200":
|
71
|
-
description: successful operation
|
72
|
-
content:
|
73
|
-
application/json:
|
74
|
-
schema:
|
75
|
-
type: array
|
76
|
-
items:
|
77
|
-
$ref: "#/components/schemas/RoomResponse"
|
78
|
-
"400":
|
79
|
-
$ref: "#/components/responses/InvalidRequest"
|
80
|
-
"401":
|
81
|
-
$ref: "#/components/responses/UnauthorizedError"
|
82
|
-
"405":
|
83
|
-
description: Invalid input
|
84
|
-
"429":
|
85
|
-
$ref: "#/components/responses/TooManyRequestsError"
|
86
|
-
security:
|
87
|
-
- bearerAuth: []
|
88
|
-
"/rooms/{name}":
|
89
|
-
delete:
|
90
|
-
tags:
|
91
|
-
- room
|
92
|
-
summary: Delete room
|
93
|
-
description: Delete a Daily room.
|
94
|
-
operationId: deleteRoom
|
95
|
-
parameters:
|
96
|
-
- name: name
|
97
|
-
in: path
|
98
|
-
description: The room name that needs to be deleted
|
99
|
-
required: true
|
100
|
-
schema:
|
101
|
-
type: string
|
102
|
-
responses:
|
103
|
-
"200":
|
104
|
-
description: Room deleted successfully
|
105
|
-
content:
|
106
|
-
application/json:
|
107
|
-
schema:
|
108
|
-
title: Room deleted response
|
109
|
-
description: Room deleted response
|
110
|
-
type: object
|
111
|
-
properties:
|
112
|
-
name:
|
113
|
-
type: string
|
114
|
-
deleted:
|
115
|
-
type: boolean
|
116
|
-
"404":
|
117
|
-
description: Room not found
|
118
|
-
content:
|
119
|
-
application/json:
|
120
|
-
schema:
|
121
|
-
title: Room not found response
|
122
|
-
description: Room not found response
|
123
|
-
type: object
|
124
|
-
properties:
|
125
|
-
error:
|
126
|
-
type: string
|
127
|
-
info:
|
128
|
-
type: string
|
129
|
-
"429":
|
130
|
-
$ref: "#/components/responses/TooManyRequestsError"
|
131
|
-
"500":
|
132
|
-
description: Server error
|
133
|
-
content:
|
134
|
-
application/json:
|
135
|
-
schema:
|
136
|
-
title: Server error response
|
137
|
-
description: Server error response
|
138
|
-
type: object
|
139
|
-
properties:
|
140
|
-
error:
|
141
|
-
type: string
|
142
|
-
|
143
|
-
security:
|
144
|
-
- bearerAuth: []
|
145
|
-
/meeting-tokens:
|
146
|
-
post:
|
147
|
-
tags:
|
148
|
-
- meeting-tokens
|
149
|
-
summary: Creates a meeting token
|
150
|
-
description: "A POST request to /meeting-tokens creates a new meeting token."
|
151
|
-
operationId: createMeetingToken
|
152
|
-
responses:
|
153
|
-
"200":
|
154
|
-
description: successful operation
|
155
|
-
content:
|
156
|
-
application/json:
|
157
|
-
schema:
|
158
|
-
type: object
|
159
|
-
properties:
|
160
|
-
token:
|
161
|
-
type: string
|
162
|
-
format: jwt
|
163
|
-
"400":
|
164
|
-
$ref: "#/components/responses/InvalidRequest"
|
165
|
-
"401":
|
166
|
-
$ref: "#/components/responses/UnauthorizedError"
|
167
|
-
"405":
|
168
|
-
description: Invalid input
|
169
|
-
"429":
|
170
|
-
$ref: "#/components/responses/TooManyRequestsError"
|
171
|
-
"500":
|
172
|
-
description: Server error
|
173
|
-
content:
|
174
|
-
application/json:
|
175
|
-
schema:
|
176
|
-
title: Server error response
|
177
|
-
description: Server error response
|
178
|
-
type: object
|
179
|
-
properties:
|
180
|
-
error:
|
181
|
-
type: string
|
182
|
-
security:
|
183
|
-
- bearerAuth: []
|
184
|
-
requestBody:
|
185
|
-
$ref: "#/components/requestBodies/MeetingTokenRequest"
|
186
|
-
|
187
|
-
externalDocs:
|
188
|
-
description: Find out more about Daily
|
189
|
-
url: "https://docs.daily.co/reference"
|
190
|
-
components:
|
191
|
-
requestBodies:
|
192
|
-
RoomRequest:
|
193
|
-
content:
|
194
|
-
application/json:
|
195
|
-
schema:
|
196
|
-
$ref: "#/components/schemas/RoomRequest"
|
197
|
-
description: A room object
|
198
|
-
MeetingTokenRequest:
|
199
|
-
content:
|
200
|
-
application/json:
|
201
|
-
schema:
|
202
|
-
$ref: "#/components/schemas/MeetingTokenRequest"
|
203
|
-
description: A room object
|
204
|
-
securitySchemes:
|
205
|
-
bearerAuth:
|
206
|
-
type: http
|
207
|
-
scheme: bearer
|
208
|
-
schemas:
|
209
|
-
RoomResponse:
|
210
|
-
title: Room response object
|
211
|
-
description: A Room where a Daily call is hosted.
|
212
|
-
type: object
|
213
|
-
properties:
|
214
|
-
id:
|
215
|
-
type: string
|
216
|
-
format: uuidv2
|
217
|
-
name:
|
218
|
-
type: string
|
219
|
-
api_created:
|
220
|
-
type: boolean
|
221
|
-
privacy:
|
222
|
-
type: string
|
223
|
-
url:
|
224
|
-
type: string
|
225
|
-
format: url
|
226
|
-
created_at:
|
227
|
-
type: string
|
228
|
-
format: date-time
|
229
|
-
RoomRequest:
|
230
|
-
title: Room request object
|
231
|
-
description: A Room where a Daily call is hosted.
|
232
|
-
type: object
|
233
|
-
properties:
|
234
|
-
name:
|
235
|
-
type: string
|
236
|
-
privacy:
|
237
|
-
type: string
|
238
|
-
enum:
|
239
|
-
- private
|
240
|
-
- public
|
241
|
-
properties: # Daily.co properties
|
242
|
-
type: object
|
243
|
-
properties:
|
244
|
-
nbf:
|
245
|
-
type: integer
|
246
|
-
exp:
|
247
|
-
type: integer
|
248
|
-
max_participants:
|
249
|
-
type: integer
|
250
|
-
enable_people_ui:
|
251
|
-
type: boolean
|
252
|
-
enable_pip_ui:
|
253
|
-
type: boolean
|
254
|
-
enable_emoji_reactions:
|
255
|
-
type: boolean
|
256
|
-
enable_hand_raising:
|
257
|
-
type: boolean
|
258
|
-
enable_prejoin_ui:
|
259
|
-
type: boolean
|
260
|
-
enable_live_captions_ui:
|
261
|
-
type: boolean
|
262
|
-
enable_network_ui:
|
263
|
-
type: boolean
|
264
|
-
enable_noise_cancellation_ui:
|
265
|
-
type: boolean
|
266
|
-
enable_breakout_rooms:
|
267
|
-
type: boolean
|
268
|
-
enable_knocking:
|
269
|
-
type: boolean
|
270
|
-
enable_screenshare:
|
271
|
-
type: boolean
|
272
|
-
enable_video_processing_ui:
|
273
|
-
type: boolean
|
274
|
-
enable_chat:
|
275
|
-
type: boolean
|
276
|
-
start_video_off:
|
277
|
-
type: boolean
|
278
|
-
start_audio_off:
|
279
|
-
type: boolean
|
280
|
-
owner_only_broadcast:
|
281
|
-
type: boolean
|
282
|
-
enable_recording:
|
283
|
-
type: string
|
284
|
-
enum:
|
285
|
-
- local
|
286
|
-
- cloud
|
287
|
-
- raw-tracks
|
288
|
-
eject_at_room_exp:
|
289
|
-
type: boolean
|
290
|
-
eject_after_elapsed:
|
291
|
-
type: boolean
|
292
|
-
enable_advanced_chat:
|
293
|
-
type: boolean
|
294
|
-
enable_hidden_participants:
|
295
|
-
type: boolean
|
296
|
-
enable_mesh_sfu:
|
297
|
-
type: boolean
|
298
|
-
sfu_switchover:
|
299
|
-
type: number
|
300
|
-
experimental_optimize_large_calls:
|
301
|
-
type: boolean
|
302
|
-
lang:
|
303
|
-
type: string
|
304
|
-
enum:
|
305
|
-
- "de"
|
306
|
-
- "en"
|
307
|
-
- "es"
|
308
|
-
- "fi"
|
309
|
-
- "fr"
|
310
|
-
- "it"
|
311
|
-
- "jp"
|
312
|
-
- "ka"
|
313
|
-
- "nl"
|
314
|
-
- "no"
|
315
|
-
- "pt"
|
316
|
-
- "pt-BR"
|
317
|
-
- "pl"
|
318
|
-
- "ru"
|
319
|
-
- "sv"
|
320
|
-
- "tr"
|
321
|
-
- "user"
|
322
|
-
meeting_join_hook:
|
323
|
-
type: string
|
324
|
-
geo:
|
325
|
-
type: string
|
326
|
-
MeetingTokenRequest:
|
327
|
-
title: Meeting token request
|
328
|
-
description: Meeting token request
|
329
|
-
type: object
|
330
|
-
properties:
|
331
|
-
properties:
|
332
|
-
type: object
|
333
|
-
properties:
|
334
|
-
room_name:
|
335
|
-
type: string
|
336
|
-
eject_at_token_exp:
|
337
|
-
type: boolean
|
338
|
-
nbf:
|
339
|
-
type: integer
|
340
|
-
exp:
|
341
|
-
type: integer
|
342
|
-
is_owner:
|
343
|
-
type: boolean
|
344
|
-
user_name:
|
345
|
-
type: string
|
346
|
-
user_id:
|
347
|
-
type: string
|
348
|
-
enable_screenshare:
|
349
|
-
type: boolean
|
350
|
-
start_video_off:
|
351
|
-
type: boolean
|
352
|
-
start_audio_off:
|
353
|
-
type: boolean
|
354
|
-
enable_recording:
|
355
|
-
type: string
|
356
|
-
enum:
|
357
|
-
- local
|
358
|
-
- cloud
|
359
|
-
- raw-tracks
|
360
|
-
enable_prejoin_ui:
|
361
|
-
type: boolean
|
362
|
-
enable_live_captions_ui:
|
363
|
-
type: boolean
|
364
|
-
enable_recording_ui:
|
365
|
-
type: boolean
|
366
|
-
enable_terse_logging:
|
367
|
-
type: boolean
|
368
|
-
auto_start_transcription:
|
369
|
-
type: boolean
|
370
|
-
close_tab_on_exit:
|
371
|
-
type: boolean
|
372
|
-
redirect_on_meeting_exit:
|
373
|
-
type: string
|
374
|
-
lang:
|
375
|
-
type: string
|
376
|
-
enum:
|
377
|
-
- "de"
|
378
|
-
- "en"
|
379
|
-
- "es"
|
380
|
-
- "fi"
|
381
|
-
- "fr"
|
382
|
-
- "it"
|
383
|
-
- "jp"
|
384
|
-
- "ka"
|
385
|
-
- "nl"
|
386
|
-
- "no"
|
387
|
-
- "pt"
|
388
|
-
- "pt-BR"
|
389
|
-
- "pl"
|
390
|
-
- "ru"
|
391
|
-
- "sv"
|
392
|
-
- "tr"
|
393
|
-
- "user"
|
394
|
-
permissions:
|
395
|
-
type: object
|
396
|
-
properties:
|
397
|
-
has_presence:
|
398
|
-
type: boolean
|
399
|
-
can_send:
|
400
|
-
oneOf:
|
401
|
-
- type: array
|
402
|
-
items:
|
403
|
-
type: string
|
404
|
-
enum: ["video", "audio", "screenVideo", "screenAudio"]
|
405
|
-
- type: boolean
|
406
|
-
can_admin:
|
407
|
-
oneOf:
|
408
|
-
- type: array
|
409
|
-
items:
|
410
|
-
type: string
|
411
|
-
enum: ["participants", "streaming", "transcription"]
|
412
|
-
- type: boolean
|
413
|
-
required:
|
414
|
-
- room_name
|
415
|
-
|
416
|
-
responses:
|
417
|
-
UnauthorizedError:
|
418
|
-
description: Access token is missing or invalid
|
419
|
-
TooManyRequestsError:
|
420
|
-
description: Too many requests
|
421
|
-
InvalidRequest:
|
422
|
-
description: Invalid request
|
data/docs/MeetingTokenRequest.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Daily::MeetingTokenRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **properties** | [**MeetingTokenRequestProperties**](MeetingTokenRequestProperties.md) | | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'daily-ruby'
|
13
|
-
|
14
|
-
instance = Daily::MeetingTokenRequest.new(
|
15
|
-
properties: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# Daily::MeetingTokenRequestProperties
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **room_name** | **String** | | |
|
8
|
-
| **eject_at_token_exp** | **Boolean** | | [optional] |
|
9
|
-
| **nbf** | **Integer** | | [optional] |
|
10
|
-
| **exp** | **Integer** | | [optional] |
|
11
|
-
| **is_owner** | **Boolean** | | [optional] |
|
12
|
-
| **user_name** | **String** | | [optional] |
|
13
|
-
| **user_id** | **String** | | [optional] |
|
14
|
-
| **enable_screenshare** | **Boolean** | | [optional] |
|
15
|
-
| **start_video_off** | **Boolean** | | [optional] |
|
16
|
-
| **start_audio_off** | **Boolean** | | [optional] |
|
17
|
-
| **enable_recording** | **String** | | [optional] |
|
18
|
-
| **enable_prejoin_ui** | **Boolean** | | [optional] |
|
19
|
-
| **enable_live_captions_ui** | **Boolean** | | [optional] |
|
20
|
-
| **enable_recording_ui** | **Boolean** | | [optional] |
|
21
|
-
| **enable_terse_logging** | **Boolean** | | [optional] |
|
22
|
-
| **auto_start_transcription** | **Boolean** | | [optional] |
|
23
|
-
| **close_tab_on_exit** | **Boolean** | | [optional] |
|
24
|
-
| **redirect_on_meeting_exit** | **String** | | [optional] |
|
25
|
-
| **lang** | **String** | | [optional] |
|
26
|
-
| **permissions** | [**MeetingTokenRequestPropertiesPermissions**](MeetingTokenRequestPropertiesPermissions.md) | | [optional] |
|
27
|
-
|
28
|
-
## Example
|
29
|
-
|
30
|
-
```ruby
|
31
|
-
require 'daily-ruby'
|
32
|
-
|
33
|
-
instance = Daily::MeetingTokenRequestProperties.new(
|
34
|
-
room_name: null,
|
35
|
-
eject_at_token_exp: null,
|
36
|
-
nbf: null,
|
37
|
-
exp: null,
|
38
|
-
is_owner: null,
|
39
|
-
user_name: null,
|
40
|
-
user_id: null,
|
41
|
-
enable_screenshare: null,
|
42
|
-
start_video_off: null,
|
43
|
-
start_audio_off: null,
|
44
|
-
enable_recording: null,
|
45
|
-
enable_prejoin_ui: null,
|
46
|
-
enable_live_captions_ui: null,
|
47
|
-
enable_recording_ui: null,
|
48
|
-
enable_terse_logging: null,
|
49
|
-
auto_start_transcription: null,
|
50
|
-
close_tab_on_exit: null,
|
51
|
-
redirect_on_meeting_exit: null,
|
52
|
-
lang: null,
|
53
|
-
permissions: null
|
54
|
-
)
|
55
|
-
```
|
56
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# Daily::MeetingTokenRequestPropertiesPermissions
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **has_presence** | **Boolean** | | [optional] |
|
8
|
-
| **can_send** | [**MeetingTokenRequestPropertiesPermissionsCanSend**](MeetingTokenRequestPropertiesPermissionsCanSend.md) | | [optional] |
|
9
|
-
| **can_admin** | [**MeetingTokenRequestPropertiesPermissionsCanAdmin**](MeetingTokenRequestPropertiesPermissionsCanAdmin.md) | | [optional] |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'daily-ruby'
|
15
|
-
|
16
|
-
instance = Daily::MeetingTokenRequestPropertiesPermissions.new(
|
17
|
-
has_presence: null,
|
18
|
-
can_send: null,
|
19
|
-
can_admin: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|