daily-ruby 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +24 -0
- data/README.md +4 -4
- data/lib/daily-ruby/models/domain_properties.rb +4 -8
- data/lib/daily-ruby/models/room_properties.rb +3 -8
- data/lib/daily-ruby/version.rb +1 -1
- metadata +5 -423
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -61
- data/Rakefile +0 -10
- data/daily-ruby.gemspec +0 -41
- data/docs/BatchProcessorError.md +0 -24
- data/docs/BatchProcessorErrorPayload.md +0 -26
- data/docs/BatchProcessorErrorPayloadInput.md +0 -24
- data/docs/BatchProcessorJobFinished.md +0 -24
- data/docs/BatchProcessorJobFinishedPayload.md +0 -26
- data/docs/BatchProcessorJobFinishedPayloadInput.md +0 -24
- data/docs/BatchProcessorJobFinishedPayloadOutput.md +0 -24
- data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +0 -20
- data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +0 -20
- data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +0 -22
- data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +0 -20
- data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +0 -20
- data/docs/BatchRoomCreateRequest.md +0 -18
- data/docs/BatchRoomCreateRequestRoomsInner.md +0 -22
- data/docs/BatchRoomDelete200Response.md +0 -18
- data/docs/BatchRoomsApi.md +0 -150
- data/docs/BuyPhoneNumberRequest.md +0 -18
- data/docs/CreateMeetingToken200Response.md +0 -18
- data/docs/CreateMeetingTokenRequest.md +0 -18
- data/docs/CreateRoom200Response.md +0 -30
- data/docs/CreateRoomRequest.md +0 -22
- data/docs/DailyLiveStreamingOptions.md +0 -40
- data/docs/DailyLiveStreamingOptionsRtmpUrl.md +0 -49
- data/docs/DailyStreamingActiveParticipantLayoutConfig.md +0 -18
- data/docs/DailyStreamingCustomLayoutConfig.md +0 -24
- data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +0 -15
- data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +0 -15
- data/docs/DailyStreamingDefaultLayoutConfig.md +0 -20
- data/docs/DailyStreamingEndpoint.md +0 -18
- data/docs/DailyStreamingLayoutConfig.md +0 -69
- data/docs/DailyStreamingOptions.md +0 -36
- data/docs/DailyStreamingPortraitLayoutConfig.md +0 -22
- data/docs/DailyStreamingPortraitLayoutVariant.md +0 -15
- data/docs/DailyStreamingSingleParticipantLayoutConfig.md +0 -20
- data/docs/DeleteTranscript200Response.md +0 -30
- data/docs/DialinApi.md +0 -80
- data/docs/DialoutProperties.md +0 -26
- data/docs/DialoutPropertiesCodecs.md +0 -20
- data/docs/Domain.md +0 -18
- data/docs/DomainApi.md +0 -149
- data/docs/DomainProperties.md +0 -84
- data/docs/Eject200Response.md +0 -18
- data/docs/EjectRequest.md +0 -22
- data/docs/GetDomainConfig200Response.md +0 -22
- data/docs/GetDomainConfig200ResponseConfig.md +0 -56
- data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +0 -20
- data/docs/GetMeetingInfo200Response.md +0 -20
- data/docs/GetMeetingInfo200ResponseDataInner.md +0 -28
- data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +0 -26
- data/docs/GetPresence200Response.md +0 -18
- data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +0 -28
- data/docs/GetRecordingInfo200Response.md +0 -36
- data/docs/GetRecordingInfo200ResponseTracksInner.md +0 -22
- data/docs/GetRecordingLink200Response.md +0 -20
- data/docs/GetTranscriptInfo200Response.md +0 -32
- data/docs/GetTranscriptInfo200ResponseOutParams.md +0 -22
- data/docs/GetTranscriptLink200Response.md +0 -22
- data/docs/ListAPILogs200Response.md +0 -38
- data/docs/ListRecordings200Response.md +0 -20
- data/docs/ListRecordings200ResponseDataInner.md +0 -30
- data/docs/ListRooms200Response.md +0 -20
- data/docs/ListRooms200ResponseDataInner.md +0 -30
- data/docs/ListRooms200ResponseDataInnerConfig.md +0 -18
- data/docs/ListTranscript200Response.md +0 -20
- data/docs/ListTranscript200ResponseDataInner.md +0 -28
- data/docs/LogsApi.md +0 -177
- data/docs/MeetingEnded.md +0 -24
- data/docs/MeetingEndedPayload.md +0 -24
- data/docs/MeetingParticipantsGetRes.md +0 -18
- data/docs/MeetingParticipantsGetResDataInner.md +0 -28
- data/docs/MeetingStarted.md +0 -24
- data/docs/MeetingStartedPayload.md +0 -22
- data/docs/MeetingTokensApi.md +0 -157
- data/docs/MeetingsApi.md +0 -247
- data/docs/MeetingsMeetingGetRes.md +0 -28
- data/docs/ParticipantJoined.md +0 -24
- data/docs/ParticipantJoinedPayload.md +0 -32
- data/docs/ParticipantJoinedPayloadPermissions.md +0 -22
- data/docs/ParticipantLeft.md +0 -24
- data/docs/ParticipantLeftPayload.md +0 -34
- data/docs/Permissions.md +0 -22
- data/docs/PermissionsCanAdmin.md +0 -49
- data/docs/PermissionsCanSend.md +0 -49
- data/docs/PhoneNumbersApi.md +0 -304
- data/docs/PinDialinInner.md +0 -22
- data/docs/PinDialinInnerIvrGreeting.md +0 -18
- data/docs/PinlessCallUpdateRequest.md +0 -22
- data/docs/PinlessDialinInner.md +0 -24
- data/docs/PostWebhook.md +0 -26
- data/docs/PresenceApi.md +0 -74
- data/docs/Properties.md +0 -62
- data/docs/RecordingError.md +0 -24
- data/docs/RecordingErrorPayload.md +0 -26
- data/docs/RecordingReadyToDownload.md +0 -24
- data/docs/RecordingReadyToDownloadPayload.md +0 -34
- data/docs/RecordingStarted.md +0 -24
- data/docs/RecordingStartedPayload.md +0 -28
- data/docs/RecordingStreamingOptions.md +0 -38
- data/docs/RecordingsApi.md +0 -303
- data/docs/RecordingsBucket.md +0 -26
- data/docs/RoomDialOutSendDTMFRequest.md +0 -20
- data/docs/RoomDialOutStopRequest.md +0 -18
- data/docs/RoomProperties.md +0 -104
- data/docs/RoomPropertiesStreamingEndpointsInner.md +0 -28
- data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +0 -26
- data/docs/RoomSipCallTransferRequest.md +0 -20
- data/docs/RoomsApi.md +0 -1794
- data/docs/RoomsRoomNameGetRes.md +0 -30
- data/docs/RoomsRoomNamePresenceGetRes.md +0 -20
- data/docs/RoomsRoomNamePresenceGetResDataInner.md +0 -28
- data/docs/SendAppMessageRequest.md +0 -20
- data/docs/SetRoomConfigRequest.md +0 -20
- data/docs/SetSessionDataRequest.md +0 -22
- data/docs/StreamingEnded.md +0 -24
- data/docs/StreamingEndedPayload.md +0 -22
- data/docs/StreamingError.md +0 -24
- data/docs/StreamingErrorPayload.md +0 -26
- data/docs/StreamingStarted.md +0 -24
- data/docs/StreamingStartedPayload.md +0 -24
- data/docs/StreamingUpdated.md +0 -24
- data/docs/StreamingUpdatedPayload.md +0 -24
- data/docs/TranscriptApi.md +0 -305
- data/docs/TranscriptionBucket.md +0 -24
- data/docs/TranscriptionProperties.md +0 -34
- data/docs/TranscriptionPropertiesEndpointing.md +0 -49
- data/docs/TranscriptionPropertiesRedact.md +0 -51
- data/docs/UpdatePermissionsRequest.md +0 -18
- data/docs/UpdatePermissionsRequestDataValue.md +0 -22
- data/docs/UpdatePermissionsRequestDataValueCanSend.md +0 -49
- data/docs/UpdateWebhook.md +0 -26
- data/docs/ValidateMeetingToken200Response.md +0 -28
- data/docs/WaitingParticipantJoined.md +0 -24
- data/docs/WaitingParticipantJoinedPayload.md +0 -32
- data/docs/WaitingParticipantLeft.md +0 -24
- data/docs/WaitingParticipantLeftPayload.md +0 -34
- data/docs/Webhook.md +0 -40
- data/docs/WebhooksApi.md +0 -370
- data/example.rb +0 -69
- data/git_push.sh +0 -57
- data/pkg/daily-ruby-1.0.2.gem +0 -0
- data/run.sh +0 -16
- data/spec/api/batch_rooms_api_spec.rb +0 -58
- data/spec/api/dialin_api_spec.rb +0 -47
- data/spec/api/domain_api_spec.rb +0 -58
- data/spec/api/logs_api_spec.rb +0 -70
- data/spec/api/meeting_tokens_api_spec.rb +0 -60
- data/spec/api/meetings_api_spec.rb +0 -81
- data/spec/api/phone_numbers_api_spec.rb +0 -87
- data/spec/api/presence_api_spec.rb +0 -45
- data/spec/api/recordings_api_spec.rb +0 -86
- data/spec/api/rooms_api_spec.rb +0 -278
- data/spec/api/transcript_api_spec.rb +0 -87
- data/spec/api/webhooks_api_spec.rb +0 -95
- data/spec/models/batch_processor_error_payload_input_spec.rb +0 -58
- data/spec/models/batch_processor_error_payload_spec.rb +0 -64
- data/spec/models/batch_processor_error_spec.rb +0 -58
- data/spec/models/batch_processor_job_finished_payload_input_spec.rb +0 -58
- data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +0 -48
- data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_output_spec.rb +0 -54
- data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +0 -46
- data/spec/models/batch_processor_job_finished_payload_spec.rb +0 -64
- data/spec/models/batch_processor_job_finished_spec.rb +0 -58
- data/spec/models/batch_room_create_request_rooms_inner_spec.rb +0 -48
- data/spec/models/batch_room_create_request_spec.rb +0 -36
- data/spec/models/batch_room_delete200_response_spec.rb +0 -36
- data/spec/models/buy_phone_number_request_spec.rb +0 -36
- data/spec/models/create_meeting_token200_response_spec.rb +0 -36
- data/spec/models/create_meeting_token_request_spec.rb +0 -36
- data/spec/models/create_room200_response_spec.rb +0 -72
- data/spec/models/create_room_request_spec.rb +0 -48
- data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +0 -32
- data/spec/models/daily_live_streaming_options_spec.rb +0 -102
- data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +0 -40
- data/spec/models/daily_streaming_custom_layout_config_composition_params_value_spec.rb +0 -21
- data/spec/models/daily_streaming_custom_layout_config_spec.rb +0 -58
- data/spec/models/daily_streaming_default_layout_config_spec.rb +0 -46
- data/spec/models/daily_streaming_endpoint_spec.rb +0 -36
- data/spec/models/daily_streaming_layout_config_spec.rb +0 -38
- data/spec/models/daily_streaming_options_spec.rb +0 -90
- data/spec/models/daily_streaming_portrait_layout_config_spec.rb +0 -52
- data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +0 -30
- data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +0 -46
- data/spec/models/delete_transcript200_response_spec.rb +0 -76
- data/spec/models/dialout_properties_codecs_spec.rb +0 -42
- data/spec/models/dialout_properties_spec.rb +0 -60
- data/spec/models/domain_properties_spec.rb +0 -208
- data/spec/models/domain_spec.rb +0 -36
- data/spec/models/eject200_response_spec.rb +0 -36
- data/spec/models/eject_request_spec.rb +0 -36
- data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +0 -42
- data/spec/models/get_domain_config200_response_config_spec.rb +0 -144
- data/spec/models/get_domain_config200_response_spec.rb +0 -48
- data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +0 -60
- data/spec/models/get_meeting_info200_response_data_inner_spec.rb +0 -66
- data/spec/models/get_meeting_info200_response_spec.rb +0 -42
- data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +0 -66
- data/spec/models/get_presence200_response_spec.rb +0 -36
- data/spec/models/get_recording_info200_response_spec.rb +0 -94
- data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +0 -52
- data/spec/models/get_recording_link200_response_spec.rb +0 -42
- data/spec/models/get_transcript_info200_response_out_params_spec.rb +0 -48
- data/spec/models/get_transcript_info200_response_spec.rb +0 -82
- data/spec/models/get_transcript_link200_response_spec.rb +0 -48
- data/spec/models/list_api_logs200_response_spec.rb +0 -96
- data/spec/models/list_recordings200_response_data_inner_spec.rb +0 -72
- data/spec/models/list_recordings200_response_spec.rb +0 -42
- data/spec/models/list_rooms200_response_data_inner_config_spec.rb +0 -36
- data/spec/models/list_rooms200_response_data_inner_spec.rb +0 -72
- data/spec/models/list_rooms200_response_spec.rb +0 -42
- data/spec/models/list_transcript200_response_data_inner_spec.rb +0 -70
- data/spec/models/list_transcript200_response_spec.rb +0 -42
- data/spec/models/meeting_ended_payload_spec.rb +0 -54
- data/spec/models/meeting_ended_spec.rb +0 -58
- data/spec/models/meeting_participants_get_res_data_inner_spec.rb +0 -66
- data/spec/models/meeting_participants_get_res_spec.rb +0 -42
- data/spec/models/meeting_started_payload_spec.rb +0 -48
- data/spec/models/meeting_started_spec.rb +0 -58
- data/spec/models/meetings_meeting_get_res_spec.rb +0 -66
- data/spec/models/participant_joined_payload_permissions_spec.rb +0 -48
- data/spec/models/participant_joined_payload_spec.rb +0 -78
- data/spec/models/participant_joined_spec.rb +0 -58
- data/spec/models/participant_left_payload_spec.rb +0 -84
- data/spec/models/participant_left_spec.rb +0 -58
- data/spec/models/permissions_can_admin_spec.rb +0 -32
- data/spec/models/permissions_can_send_spec.rb +0 -32
- data/spec/models/permissions_spec.rb +0 -48
- data/spec/models/pin_dialin_inner_ivr_greeting_spec.rb +0 -36
- data/spec/models/pin_dialin_inner_spec.rb +0 -48
- data/spec/models/pinless_call_update_request_spec.rb +0 -48
- data/spec/models/pinless_dialin_inner_spec.rb +0 -54
- data/spec/models/post_webhook_spec.rb +0 -52
- data/spec/models/properties_spec.rb +0 -170
- data/spec/models/recording_error_payload_spec.rb +0 -64
- data/spec/models/recording_error_spec.rb +0 -58
- data/spec/models/recording_ready_to_download_payload_spec.rb +0 -92
- data/spec/models/recording_ready_to_download_spec.rb +0 -58
- data/spec/models/recording_started_payload_spec.rb +0 -70
- data/spec/models/recording_started_spec.rb +0 -58
- data/spec/models/recording_streaming_options_spec.rb +0 -100
- data/spec/models/recordings_bucket_spec.rb +0 -60
- data/spec/models/room_dial_out_send_dtmf_request_spec.rb +0 -42
- data/spec/models/room_dial_out_stop_request_spec.rb +0 -36
- data/spec/models/room_properties_spec.rb +0 -272
- data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +0 -60
- data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +0 -66
- data/spec/models/room_sip_call_transfer_request_spec.rb +0 -42
- data/spec/models/rooms_room_name_get_res_spec.rb +0 -72
- data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +0 -66
- data/spec/models/rooms_room_name_presence_get_res_spec.rb +0 -42
- data/spec/models/send_app_message_request_spec.rb +0 -42
- data/spec/models/set_room_config_request_spec.rb +0 -42
- data/spec/models/set_session_data_request_spec.rb +0 -52
- data/spec/models/streaming_ended_payload_spec.rb +0 -48
- data/spec/models/streaming_ended_spec.rb +0 -58
- data/spec/models/streaming_error_payload_spec.rb +0 -60
- data/spec/models/streaming_error_spec.rb +0 -58
- data/spec/models/streaming_started_payload_spec.rb +0 -54
- data/spec/models/streaming_started_spec.rb +0 -58
- data/spec/models/streaming_updated_payload_spec.rb +0 -54
- data/spec/models/streaming_updated_spec.rb +0 -58
- data/spec/models/transcription_bucket_spec.rb +0 -54
- data/spec/models/transcription_properties_endpointing_spec.rb +0 -32
- data/spec/models/transcription_properties_redact_spec.rb +0 -32
- data/spec/models/transcription_properties_spec.rb +0 -78
- data/spec/models/update_permissions_request_data_value_can_send_spec.rb +0 -32
- data/spec/models/update_permissions_request_data_value_spec.rb +0 -48
- data/spec/models/update_permissions_request_spec.rb +0 -36
- data/spec/models/update_webhook_spec.rb +0 -52
- data/spec/models/validate_meeting_token200_response_spec.rb +0 -66
- data/spec/models/waiting_participant_joined_payload_spec.rb +0 -78
- data/spec/models/waiting_participant_joined_spec.rb +0 -58
- data/spec/models/waiting_participant_left_payload_spec.rb +0 -84
- data/spec/models/waiting_participant_left_spec.rb +0 -58
- data/spec/models/webhook_spec.rb +0 -100
- data/spec/spec_helper.rb +0 -111
data/docs/MeetingTokensApi.md
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
# Daily::MeetingTokensApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.daily.co/v1*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**create_meeting_token**](MeetingTokensApi.md#create_meeting_token) | **POST** /meeting-tokens | meeting-tokens |
|
|
8
|
-
| [**validate_meeting_token**](MeetingTokensApi.md#validate_meeting_token) | **GET** /meeting-tokens/{meeting_token} | meeting-tokens/:meeting_token |
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## create_meeting_token
|
|
12
|
-
|
|
13
|
-
> <CreateMeetingToken200Response> create_meeting_token(opts)
|
|
14
|
-
|
|
15
|
-
meeting-tokens
|
|
16
|
-
|
|
17
|
-
Create a meeting token
|
|
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::MeetingTokensApi.new
|
|
33
|
-
opts = {
|
|
34
|
-
create_meeting_token_request: Daily::CreateMeetingTokenRequest.new # CreateMeetingTokenRequest |
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
begin
|
|
38
|
-
# meeting-tokens
|
|
39
|
-
result = api_instance.create_meeting_token(opts)
|
|
40
|
-
p result
|
|
41
|
-
rescue Daily::ApiError => e
|
|
42
|
-
puts "Error when calling MeetingTokensApi->create_meeting_token: #{e}"
|
|
43
|
-
end
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
#### Using the create_meeting_token_with_http_info variant
|
|
47
|
-
|
|
48
|
-
This returns an Array which contains the response data, status code and headers.
|
|
49
|
-
|
|
50
|
-
> <Array(<CreateMeetingToken200Response>, Integer, Hash)> create_meeting_token_with_http_info(opts)
|
|
51
|
-
|
|
52
|
-
```ruby
|
|
53
|
-
begin
|
|
54
|
-
# meeting-tokens
|
|
55
|
-
data, status_code, headers = api_instance.create_meeting_token_with_http_info(opts)
|
|
56
|
-
p status_code # => 2xx
|
|
57
|
-
p headers # => { ... }
|
|
58
|
-
p data # => <CreateMeetingToken200Response>
|
|
59
|
-
rescue Daily::ApiError => e
|
|
60
|
-
puts "Error when calling MeetingTokensApi->create_meeting_token_with_http_info: #{e}"
|
|
61
|
-
end
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### Parameters
|
|
65
|
-
|
|
66
|
-
| Name | Type | Description | Notes |
|
|
67
|
-
| ---- | ---- | ----------- | ----- |
|
|
68
|
-
| **create_meeting_token_request** | [**CreateMeetingTokenRequest**](CreateMeetingTokenRequest.md) | | [optional] |
|
|
69
|
-
|
|
70
|
-
### Return type
|
|
71
|
-
|
|
72
|
-
[**CreateMeetingToken200Response**](CreateMeetingToken200Response.md)
|
|
73
|
-
|
|
74
|
-
### Authorization
|
|
75
|
-
|
|
76
|
-
[sec0](../README.md#sec0)
|
|
77
|
-
|
|
78
|
-
### HTTP request headers
|
|
79
|
-
|
|
80
|
-
- **Content-Type**: application/json
|
|
81
|
-
- **Accept**: application/json
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## validate_meeting_token
|
|
85
|
-
|
|
86
|
-
> <ValidateMeetingToken200Response> validate_meeting_token(meeting_token, opts)
|
|
87
|
-
|
|
88
|
-
meeting-tokens/:meeting_token
|
|
89
|
-
|
|
90
|
-
Validate meeting tokens
|
|
91
|
-
|
|
92
|
-
### Examples
|
|
93
|
-
|
|
94
|
-
```ruby
|
|
95
|
-
require 'time'
|
|
96
|
-
require 'daily-ruby'
|
|
97
|
-
# setup authorization
|
|
98
|
-
Daily.configure do |config|
|
|
99
|
-
# Configure API key authorization: sec0
|
|
100
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
101
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
102
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
api_instance = Daily::MeetingTokensApi.new
|
|
106
|
-
meeting_token = 'meeting_token_example' # String |
|
|
107
|
-
opts = {
|
|
108
|
-
ignore_nbf: true # Boolean | Ignore the `nbf` in a JWT, if given
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
begin
|
|
112
|
-
# meeting-tokens/:meeting_token
|
|
113
|
-
result = api_instance.validate_meeting_token(meeting_token, opts)
|
|
114
|
-
p result
|
|
115
|
-
rescue Daily::ApiError => e
|
|
116
|
-
puts "Error when calling MeetingTokensApi->validate_meeting_token: #{e}"
|
|
117
|
-
end
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
#### Using the validate_meeting_token_with_http_info variant
|
|
121
|
-
|
|
122
|
-
This returns an Array which contains the response data, status code and headers.
|
|
123
|
-
|
|
124
|
-
> <Array(<ValidateMeetingToken200Response>, Integer, Hash)> validate_meeting_token_with_http_info(meeting_token, opts)
|
|
125
|
-
|
|
126
|
-
```ruby
|
|
127
|
-
begin
|
|
128
|
-
# meeting-tokens/:meeting_token
|
|
129
|
-
data, status_code, headers = api_instance.validate_meeting_token_with_http_info(meeting_token, opts)
|
|
130
|
-
p status_code # => 2xx
|
|
131
|
-
p headers # => { ... }
|
|
132
|
-
p data # => <ValidateMeetingToken200Response>
|
|
133
|
-
rescue Daily::ApiError => e
|
|
134
|
-
puts "Error when calling MeetingTokensApi->validate_meeting_token_with_http_info: #{e}"
|
|
135
|
-
end
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
### Parameters
|
|
139
|
-
|
|
140
|
-
| Name | Type | Description | Notes |
|
|
141
|
-
| ---- | ---- | ----------- | ----- |
|
|
142
|
-
| **meeting_token** | **String** | | |
|
|
143
|
-
| **ignore_nbf** | **Boolean** | Ignore the `nbf` in a JWT, if given | [optional] |
|
|
144
|
-
|
|
145
|
-
### Return type
|
|
146
|
-
|
|
147
|
-
[**ValidateMeetingToken200Response**](ValidateMeetingToken200Response.md)
|
|
148
|
-
|
|
149
|
-
### Authorization
|
|
150
|
-
|
|
151
|
-
[sec0](../README.md#sec0)
|
|
152
|
-
|
|
153
|
-
### HTTP request headers
|
|
154
|
-
|
|
155
|
-
- **Content-Type**: Not defined
|
|
156
|
-
- **Accept**: application/json
|
|
157
|
-
|
data/docs/MeetingsApi.md
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
# Daily::MeetingsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.daily.co/v1*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**get_individual_meeting_info**](MeetingsApi.md#get_individual_meeting_info) | **GET** /meetings/{meeting} | /meetings/:meeting |
|
|
8
|
-
| [**get_meeting_info**](MeetingsApi.md#get_meeting_info) | **GET** /meetings | /meetings |
|
|
9
|
-
| [**get_meeting_participants**](MeetingsApi.md#get_meeting_participants) | **GET** /meetings/{meeting}/participants | /meetings/:meeting/participants |
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## get_individual_meeting_info
|
|
13
|
-
|
|
14
|
-
> <MeetingsMeetingGetRes> get_individual_meeting_info(meeting)
|
|
15
|
-
|
|
16
|
-
/meetings/:meeting
|
|
17
|
-
|
|
18
|
-
retrieve info about a particular meeting
|
|
19
|
-
|
|
20
|
-
### Examples
|
|
21
|
-
|
|
22
|
-
```ruby
|
|
23
|
-
require 'time'
|
|
24
|
-
require 'daily-ruby'
|
|
25
|
-
# setup authorization
|
|
26
|
-
Daily.configure do |config|
|
|
27
|
-
# Configure API key authorization: sec0
|
|
28
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
29
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
30
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
api_instance = Daily::MeetingsApi.new
|
|
34
|
-
meeting = 'meeting_example' # String | the ID of the meeting session
|
|
35
|
-
|
|
36
|
-
begin
|
|
37
|
-
# /meetings/:meeting
|
|
38
|
-
result = api_instance.get_individual_meeting_info(meeting)
|
|
39
|
-
p result
|
|
40
|
-
rescue Daily::ApiError => e
|
|
41
|
-
puts "Error when calling MeetingsApi->get_individual_meeting_info: #{e}"
|
|
42
|
-
end
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
#### Using the get_individual_meeting_info_with_http_info variant
|
|
46
|
-
|
|
47
|
-
This returns an Array which contains the response data, status code and headers.
|
|
48
|
-
|
|
49
|
-
> <Array(<MeetingsMeetingGetRes>, Integer, Hash)> get_individual_meeting_info_with_http_info(meeting)
|
|
50
|
-
|
|
51
|
-
```ruby
|
|
52
|
-
begin
|
|
53
|
-
# /meetings/:meeting
|
|
54
|
-
data, status_code, headers = api_instance.get_individual_meeting_info_with_http_info(meeting)
|
|
55
|
-
p status_code # => 2xx
|
|
56
|
-
p headers # => { ... }
|
|
57
|
-
p data # => <MeetingsMeetingGetRes>
|
|
58
|
-
rescue Daily::ApiError => e
|
|
59
|
-
puts "Error when calling MeetingsApi->get_individual_meeting_info_with_http_info: #{e}"
|
|
60
|
-
end
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Parameters
|
|
64
|
-
|
|
65
|
-
| Name | Type | Description | Notes |
|
|
66
|
-
| ---- | ---- | ----------- | ----- |
|
|
67
|
-
| **meeting** | **String** | the ID of the meeting session | |
|
|
68
|
-
|
|
69
|
-
### Return type
|
|
70
|
-
|
|
71
|
-
[**MeetingsMeetingGetRes**](MeetingsMeetingGetRes.md)
|
|
72
|
-
|
|
73
|
-
### Authorization
|
|
74
|
-
|
|
75
|
-
[sec0](../README.md#sec0)
|
|
76
|
-
|
|
77
|
-
### HTTP request headers
|
|
78
|
-
|
|
79
|
-
- **Content-Type**: Not defined
|
|
80
|
-
- **Accept**: application/json
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
## get_meeting_info
|
|
84
|
-
|
|
85
|
-
> <GetMeetingInfo200Response> get_meeting_info(opts)
|
|
86
|
-
|
|
87
|
-
/meetings
|
|
88
|
-
|
|
89
|
-
retrieve meeting analytics
|
|
90
|
-
|
|
91
|
-
### Examples
|
|
92
|
-
|
|
93
|
-
```ruby
|
|
94
|
-
require 'time'
|
|
95
|
-
require 'daily-ruby'
|
|
96
|
-
# setup authorization
|
|
97
|
-
Daily.configure do |config|
|
|
98
|
-
# Configure API key authorization: sec0
|
|
99
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
100
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
101
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
api_instance = Daily::MeetingsApi.new
|
|
105
|
-
opts = {
|
|
106
|
-
room: 'room_example', # String |
|
|
107
|
-
timeframe_start: 56, # Integer |
|
|
108
|
-
timeframe_end: 56, # Integer |
|
|
109
|
-
limit: 56, # Integer |
|
|
110
|
-
starting_after: 'starting_after_example', # String |
|
|
111
|
-
ending_before: 'ending_before_example', # String |
|
|
112
|
-
ongoing: true, # Boolean |
|
|
113
|
-
no_participants: true # Boolean |
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
begin
|
|
117
|
-
# /meetings
|
|
118
|
-
result = api_instance.get_meeting_info(opts)
|
|
119
|
-
p result
|
|
120
|
-
rescue Daily::ApiError => e
|
|
121
|
-
puts "Error when calling MeetingsApi->get_meeting_info: #{e}"
|
|
122
|
-
end
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
#### Using the get_meeting_info_with_http_info variant
|
|
126
|
-
|
|
127
|
-
This returns an Array which contains the response data, status code and headers.
|
|
128
|
-
|
|
129
|
-
> <Array(<GetMeetingInfo200Response>, Integer, Hash)> get_meeting_info_with_http_info(opts)
|
|
130
|
-
|
|
131
|
-
```ruby
|
|
132
|
-
begin
|
|
133
|
-
# /meetings
|
|
134
|
-
data, status_code, headers = api_instance.get_meeting_info_with_http_info(opts)
|
|
135
|
-
p status_code # => 2xx
|
|
136
|
-
p headers # => { ... }
|
|
137
|
-
p data # => <GetMeetingInfo200Response>
|
|
138
|
-
rescue Daily::ApiError => e
|
|
139
|
-
puts "Error when calling MeetingsApi->get_meeting_info_with_http_info: #{e}"
|
|
140
|
-
end
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
### Parameters
|
|
144
|
-
|
|
145
|
-
| Name | Type | Description | Notes |
|
|
146
|
-
| ---- | ---- | ----------- | ----- |
|
|
147
|
-
| **room** | **String** | | [optional] |
|
|
148
|
-
| **timeframe_start** | **Integer** | | [optional] |
|
|
149
|
-
| **timeframe_end** | **Integer** | | [optional] |
|
|
150
|
-
| **limit** | **Integer** | | [optional] |
|
|
151
|
-
| **starting_after** | **String** | | [optional] |
|
|
152
|
-
| **ending_before** | **String** | | [optional] |
|
|
153
|
-
| **ongoing** | **Boolean** | | [optional] |
|
|
154
|
-
| **no_participants** | **Boolean** | | [optional] |
|
|
155
|
-
|
|
156
|
-
### Return type
|
|
157
|
-
|
|
158
|
-
[**GetMeetingInfo200Response**](GetMeetingInfo200Response.md)
|
|
159
|
-
|
|
160
|
-
### Authorization
|
|
161
|
-
|
|
162
|
-
[sec0](../README.md#sec0)
|
|
163
|
-
|
|
164
|
-
### HTTP request headers
|
|
165
|
-
|
|
166
|
-
- **Content-Type**: Not defined
|
|
167
|
-
- **Accept**: application/json
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
## get_meeting_participants
|
|
171
|
-
|
|
172
|
-
> <MeetingParticipantsGetRes> get_meeting_participants(meeting, opts)
|
|
173
|
-
|
|
174
|
-
/meetings/:meeting/participants
|
|
175
|
-
|
|
176
|
-
retrieve info about the participants in a particular meeting
|
|
177
|
-
|
|
178
|
-
### Examples
|
|
179
|
-
|
|
180
|
-
```ruby
|
|
181
|
-
require 'time'
|
|
182
|
-
require 'daily-ruby'
|
|
183
|
-
# setup authorization
|
|
184
|
-
Daily.configure do |config|
|
|
185
|
-
# Configure API key authorization: sec0
|
|
186
|
-
config.api_key['sec0'] = 'YOUR API KEY'
|
|
187
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
188
|
-
# config.api_key_prefix['sec0'] = 'Bearer'
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
api_instance = Daily::MeetingsApi.new
|
|
192
|
-
meeting = 'meeting_example' # String | the ID of the meeting session
|
|
193
|
-
opts = {
|
|
194
|
-
limit: 56, # Integer | the largest number of participant records to return
|
|
195
|
-
joined_after: 'joined_after_example', # String | limit to participants who joined after the given participant, identified by `participant_id`
|
|
196
|
-
joined_before: 'joined_before_example' # String | limit to participants who joined before the given participant, identified by `participant_id`
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
begin
|
|
200
|
-
# /meetings/:meeting/participants
|
|
201
|
-
result = api_instance.get_meeting_participants(meeting, opts)
|
|
202
|
-
p result
|
|
203
|
-
rescue Daily::ApiError => e
|
|
204
|
-
puts "Error when calling MeetingsApi->get_meeting_participants: #{e}"
|
|
205
|
-
end
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
#### Using the get_meeting_participants_with_http_info variant
|
|
209
|
-
|
|
210
|
-
This returns an Array which contains the response data, status code and headers.
|
|
211
|
-
|
|
212
|
-
> <Array(<MeetingParticipantsGetRes>, Integer, Hash)> get_meeting_participants_with_http_info(meeting, opts)
|
|
213
|
-
|
|
214
|
-
```ruby
|
|
215
|
-
begin
|
|
216
|
-
# /meetings/:meeting/participants
|
|
217
|
-
data, status_code, headers = api_instance.get_meeting_participants_with_http_info(meeting, opts)
|
|
218
|
-
p status_code # => 2xx
|
|
219
|
-
p headers # => { ... }
|
|
220
|
-
p data # => <MeetingParticipantsGetRes>
|
|
221
|
-
rescue Daily::ApiError => e
|
|
222
|
-
puts "Error when calling MeetingsApi->get_meeting_participants_with_http_info: #{e}"
|
|
223
|
-
end
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### Parameters
|
|
227
|
-
|
|
228
|
-
| Name | Type | Description | Notes |
|
|
229
|
-
| ---- | ---- | ----------- | ----- |
|
|
230
|
-
| **meeting** | **String** | the ID of the meeting session | |
|
|
231
|
-
| **limit** | **Integer** | the largest number of participant records to return | [optional] |
|
|
232
|
-
| **joined_after** | **String** | limit to participants who joined after the given participant, identified by `participant_id` | [optional] |
|
|
233
|
-
| **joined_before** | **String** | limit to participants who joined before the given participant, identified by `participant_id` | [optional] |
|
|
234
|
-
|
|
235
|
-
### Return type
|
|
236
|
-
|
|
237
|
-
[**MeetingParticipantsGetRes**](MeetingParticipantsGetRes.md)
|
|
238
|
-
|
|
239
|
-
### Authorization
|
|
240
|
-
|
|
241
|
-
[sec0](../README.md#sec0)
|
|
242
|
-
|
|
243
|
-
### HTTP request headers
|
|
244
|
-
|
|
245
|
-
- **Content-Type**: Not defined
|
|
246
|
-
- **Accept**: application/json
|
|
247
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Daily::MeetingsMeetingGetRes
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | | [optional] |
|
|
8
|
-
| **room** | **String** | | [optional] |
|
|
9
|
-
| **start_time** | **Integer** | | [optional] |
|
|
10
|
-
| **duration** | **Integer** | | [optional] |
|
|
11
|
-
| **ongoing** | **Boolean** | | [optional] |
|
|
12
|
-
| **max_participants** | **Integer** | | [optional] |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'daily-ruby'
|
|
18
|
-
|
|
19
|
-
instance = Daily::MeetingsMeetingGetRes.new(
|
|
20
|
-
id: d61cd7b2-a273-42b4-89bd-be763fd562c1,
|
|
21
|
-
room: room-name,
|
|
22
|
-
start_time: 1672606399,
|
|
23
|
-
duration: 2055,
|
|
24
|
-
ongoing: false,
|
|
25
|
-
max_participants: 4
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
data/docs/ParticipantJoined.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Daily::ParticipantJoined
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **version** | **String** | The semantic version of the current message. | [optional] |
|
|
8
|
-
| **type** | **String** | The type of event that is being provided. | [optional] |
|
|
9
|
-
| **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
|
|
10
|
-
| **payload** | [**ParticipantJoinedPayload**](ParticipantJoinedPayload.md) | | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'daily-ruby'
|
|
16
|
-
|
|
17
|
-
instance = Daily::ParticipantJoined.new(
|
|
18
|
-
version: null,
|
|
19
|
-
type: null,
|
|
20
|
-
event_ts: null,
|
|
21
|
-
payload: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Daily::ParticipantJoinedPayload
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **joined_at** | **Float** | The Unix epoch time in seconds representing when the participant joined. | [optional] |
|
|
8
|
-
| **session_id** | **String** | The user session ID, or participant id. | [optional] |
|
|
9
|
-
| **room** | **String** | The name of the room. | [optional] |
|
|
10
|
-
| **user_id** | **String** | The ID of the user, set by the meeting token. | [optional] |
|
|
11
|
-
| **user_name** | **String** | The name of the user, set by the meeting token. | [optional] |
|
|
12
|
-
| **owner** | **Boolean** | A flag determining if this user is considered the owner. | [optional] |
|
|
13
|
-
| **will_eject_at** | **Float** | The Unix epoch time in seconds representing when the participant will be ejected. | [optional] |
|
|
14
|
-
| **permissions** | [**ParticipantJoinedPayloadPermissions**](ParticipantJoinedPayloadPermissions.md) | | [optional] |
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```ruby
|
|
19
|
-
require 'daily-ruby'
|
|
20
|
-
|
|
21
|
-
instance = Daily::ParticipantJoinedPayload.new(
|
|
22
|
-
joined_at: null,
|
|
23
|
-
session_id: null,
|
|
24
|
-
room: null,
|
|
25
|
-
user_id: null,
|
|
26
|
-
user_name: null,
|
|
27
|
-
owner: null,
|
|
28
|
-
will_eject_at: null,
|
|
29
|
-
permissions: null
|
|
30
|
-
)
|
|
31
|
-
```
|
|
32
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Daily::ParticipantJoinedPayloadPermissions
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **has_presence** | **Boolean** | Determines whether the participant is \"present\" or \"hidden\" | [optional] |
|
|
8
|
-
| **can_send** | **Array<String>** | Array of strings identifying which types of media the participant can send or a boolean to grant/revoke permissions for all media types. | [optional] |
|
|
9
|
-
| **can_admin** | **Array<String>** | Array of strings identifying which types of admin tasks the participant can do or a boolean to grant/revoke permissions for all types. | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'daily-ruby'
|
|
15
|
-
|
|
16
|
-
instance = Daily::ParticipantJoinedPayloadPermissions.new(
|
|
17
|
-
has_presence: null,
|
|
18
|
-
can_send: null,
|
|
19
|
-
can_admin: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/ParticipantLeft.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Daily::ParticipantLeft
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **version** | **String** | The semantic version of the current message. | [optional] |
|
|
8
|
-
| **type** | **String** | The type of event that is being provided. | [optional] |
|
|
9
|
-
| **event_ts** | **Float** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
|
|
10
|
-
| **payload** | [**ParticipantLeftPayload**](ParticipantLeftPayload.md) | | [optional] |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'daily-ruby'
|
|
16
|
-
|
|
17
|
-
instance = Daily::ParticipantLeft.new(
|
|
18
|
-
version: null,
|
|
19
|
-
type: null,
|
|
20
|
-
event_ts: null,
|
|
21
|
-
payload: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Daily::ParticipantLeftPayload
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **joined_at** | **Float** | The Unix epoch time in seconds representing when the participant joined. | [optional] |
|
|
8
|
-
| **duration** | **Float** | The time in seconds representing how long the participant was in the call. | [optional] |
|
|
9
|
-
| **session_id** | **String** | The user session ID, or participant id. | [optional] |
|
|
10
|
-
| **room** | **String** | The name of the room. | [optional] |
|
|
11
|
-
| **user_id** | **String** | The ID of the user, set by the meeting token. | [optional] |
|
|
12
|
-
| **user_name** | **String** | The name of the user, set by the meeting token. | [optional] |
|
|
13
|
-
| **owner** | **Boolean** | A flag determining if this user is considered the owner. | [optional] |
|
|
14
|
-
| **will_eject_at** | **Float** | The Unix epoch time in seconds representing when the participant will be ejected. | [optional] |
|
|
15
|
-
| **permissions** | [**ParticipantJoinedPayloadPermissions**](ParticipantJoinedPayloadPermissions.md) | | [optional] |
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```ruby
|
|
20
|
-
require 'daily-ruby'
|
|
21
|
-
|
|
22
|
-
instance = Daily::ParticipantLeftPayload.new(
|
|
23
|
-
joined_at: null,
|
|
24
|
-
duration: null,
|
|
25
|
-
session_id: null,
|
|
26
|
-
room: null,
|
|
27
|
-
user_id: null,
|
|
28
|
-
user_name: null,
|
|
29
|
-
owner: null,
|
|
30
|
-
will_eject_at: null,
|
|
31
|
-
permissions: null
|
|
32
|
-
)
|
|
33
|
-
```
|
|
34
|
-
|
data/docs/Permissions.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Daily::Permissions
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **has_presence** | **Boolean** | Whether the participant appears as \"present\" in the call, i.e. whether they appear in [`participants()`](/reference/daily-js/instance-methods/participants#main). | [optional] |
|
|
8
|
-
| **can_send** | [**PermissionsCanSend**](PermissionsCanSend.md) | | [optional] |
|
|
9
|
-
| **can_admin** | [**PermissionsCanAdmin**](PermissionsCanAdmin.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'daily-ruby'
|
|
15
|
-
|
|
16
|
-
instance = Daily::Permissions.new(
|
|
17
|
-
has_presence: null,
|
|
18
|
-
can_send: null,
|
|
19
|
-
can_admin: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/PermissionsCanAdmin.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Daily::PermissionsCanAdmin
|
|
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::PermissionsCanAdmin.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::PermissionsCanAdmin.build(data)
|
|
32
|
-
# => #<Array<String>:0x00007fdd4aab02a0>
|
|
33
|
-
|
|
34
|
-
Daily::PermissionsCanAdmin.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
|
-
|
data/docs/PermissionsCanSend.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Daily::PermissionsCanSend
|
|
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::PermissionsCanSend.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::PermissionsCanSend.build(data)
|
|
32
|
-
# => #<Array<String>:0x00007fdd4aab02a0>
|
|
33
|
-
|
|
34
|
-
Daily::PermissionsCanSend.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
|
-
|