daily-ruby 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +19 -37
- data/LICENSE.txt +24 -0
- data/README.md +191 -194
- data/daily-ruby-1.0.2.gem +0 -0
- data/daily-ruby.gemspec +2 -2
- data/docs/GetRecordingInfo200Response.md +2 -2
- data/docs/GetRecordingInfo200ResponseTracksInner.md +2 -3
- data/docs/GetTranscriptInfo200ResponseOutParams.md +2 -2
- data/docs/ListRecordings200ResponseDataInner.md +2 -2
- data/example.rb +35 -4
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +4 -4
- data/lib/daily-ruby/version.rb +1 -1
- data/pkg/daily-ruby-1.0.2.gem +0 -0
- data/pkg/daily-ruby-1.0.3.gem +0 -0
- data/run.sh +1 -1
- data/spec/models/get_recording_info200_response_spec.rb +1 -1
- data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +1 -1
- data/spec/models/get_transcript_info200_response_out_params_spec.rb +1 -1
- data/spec/models/list_recordings200_response_data_inner_spec.rb +1 -1
- metadata +7 -6
- data/daily-ruby-1.0.0.gem +0 -0
- data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75ecf2053093dc68a48ba9ac7e34244e9f844c8100817fec08834904cf7049d0
|
4
|
+
data.tar.gz: 628586fe96ddde95de16bc86cda38713822aa503214ed08ae711771b8fcb1979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee9a7940632922ead937929dba36f9b924dcf2e7d25584aaeedff74a5415cd1b8964f827edfaa087a8fed78b3582ee3294446c7ee7f3c30418b8609bb248cb53
|
7
|
+
data.tar.gz: 8cdaf08c81d6afcd0e52466138cc25319843920e850364793c10a7410720658b68fe301d2b06466af56752fcb153874b194b37379e9167c37e1419a071abd3bf
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
daily-ruby (1.0.
|
4
|
+
daily-ruby (1.0.3)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
marcel
|
@@ -9,62 +9,45 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
ast (2.4.2)
|
13
12
|
byebug (11.1.3)
|
14
13
|
coderay (1.1.3)
|
15
|
-
diff-lcs (1.
|
16
|
-
faraday (2.
|
17
|
-
faraday-net_http (>= 2.0, < 3.
|
18
|
-
|
19
|
-
|
20
|
-
faraday-
|
21
|
-
|
22
|
-
|
14
|
+
diff-lcs (1.6.1)
|
15
|
+
faraday (2.13.0)
|
16
|
+
faraday-net_http (>= 2.0, < 3.5)
|
17
|
+
json
|
18
|
+
logger
|
19
|
+
faraday-multipart (1.1.0)
|
20
|
+
multipart-post (~> 2.0)
|
21
|
+
faraday-net_http (3.4.0)
|
22
|
+
net-http (>= 0.5.0)
|
23
|
+
json (2.10.2)
|
24
|
+
logger (1.7.0)
|
23
25
|
marcel (1.0.4)
|
24
26
|
method_source (1.0.0)
|
25
|
-
multipart-post (2.4.
|
26
|
-
net-http (0.
|
27
|
+
multipart-post (2.4.1)
|
28
|
+
net-http (0.6.0)
|
27
29
|
uri
|
28
|
-
parallel (1.26.3)
|
29
|
-
parser (3.3.4.2)
|
30
|
-
ast (~> 2.4.1)
|
31
|
-
racc
|
32
30
|
pry (0.14.2)
|
33
31
|
coderay (~> 1.1)
|
34
32
|
method_source (~> 1.0)
|
35
33
|
pry-byebug (3.10.1)
|
36
34
|
byebug (~> 11.0)
|
37
35
|
pry (>= 0.13, < 0.15)
|
38
|
-
psych (5.1.2)
|
39
|
-
stringio
|
40
|
-
racc (1.8.1)
|
41
|
-
rainbow (3.1.1)
|
42
36
|
rake (13.0.6)
|
43
37
|
rspec (3.13.0)
|
44
38
|
rspec-core (~> 3.13.0)
|
45
39
|
rspec-expectations (~> 3.13.0)
|
46
40
|
rspec-mocks (~> 3.13.0)
|
47
|
-
rspec-core (3.13.
|
41
|
+
rspec-core (3.13.3)
|
48
42
|
rspec-support (~> 3.13.0)
|
49
|
-
rspec-expectations (3.13.
|
43
|
+
rspec-expectations (3.13.3)
|
50
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
51
45
|
rspec-support (~> 3.13.0)
|
52
|
-
rspec-mocks (3.13.
|
46
|
+
rspec-mocks (3.13.2)
|
53
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
48
|
rspec-support (~> 3.13.0)
|
55
|
-
rspec-support (3.13.
|
56
|
-
|
57
|
-
jaro_winkler (~> 1.5.1)
|
58
|
-
parallel (~> 1.10)
|
59
|
-
parser (>= 2.5, != 2.5.1.1)
|
60
|
-
psych (>= 3.1.0)
|
61
|
-
rainbow (>= 2.2.2, < 4.0)
|
62
|
-
ruby-progressbar (~> 1.7)
|
63
|
-
unicode-display_width (>= 1.4.0, < 1.6)
|
64
|
-
ruby-progressbar (1.13.0)
|
65
|
-
stringio (3.1.1)
|
66
|
-
unicode-display_width (1.5.0)
|
67
|
-
uri (0.13.0)
|
49
|
+
rspec-support (3.13.2)
|
50
|
+
uri (1.0.3)
|
68
51
|
|
69
52
|
PLATFORMS
|
70
53
|
arm64-darwin-23
|
@@ -75,7 +58,6 @@ DEPENDENCIES
|
|
75
58
|
pry-byebug
|
76
59
|
rake (~> 13.0.1)
|
77
60
|
rspec (~> 3.6, >= 3.6.0)
|
78
|
-
rubocop (~> 0.66.0)
|
79
61
|
|
80
62
|
BUNDLED WITH
|
81
63
|
2.5.3
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
BSD 2-Clause License
|
2
|
+
|
3
|
+
Copyright (c) 2024–2025, Daily
|
4
|
+
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
7
|
+
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
9
|
+
list of conditions and the following disclaimer.
|
10
|
+
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
13
|
+
and/or other materials provided with the distribution.
|
14
|
+
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
16
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
17
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
19
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
20
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
21
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
22
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
23
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
24
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
CHANGED
@@ -2,11 +2,12 @@
|
|
2
2
|
|
3
3
|
Daily - the Ruby gem for the Daily API
|
4
4
|
|
5
|
-
The Daily REST API offers the ability to manage the following:
|
5
|
+
The Daily REST API offers the ability to manage the following:
|
6
|
+
|
6
7
|
- Overall Domain Configuration
|
7
|
-
- Individual Room creation and config management
|
8
|
+
- Individual Room creation and config management
|
8
9
|
- Meeting token creation and validation
|
9
|
-
- Recording and compositing management
|
10
|
+
- Recording and compositing management
|
10
11
|
- Meeting analytics
|
11
12
|
- Logs and metrics
|
12
13
|
- Real-time presence
|
@@ -16,10 +17,10 @@ Please reach out to help@daily.co if we can help with anything
|
|
16
17
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
17
18
|
|
18
19
|
- API version: 1.1.1
|
19
|
-
- Package version: 1.0.
|
20
|
+
- Package version: 1.0.3
|
20
21
|
- Generator version: 7.8.0
|
21
22
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
22
|
-
For more information, please visit [https://docs.daily.co](https://docs.daily.co)
|
23
|
+
For more information, please visit [https://docs.daily.co](https://docs.daily.co)
|
23
24
|
|
24
25
|
## Installation
|
25
26
|
|
@@ -34,16 +35,16 @@ gem build daily-ruby.gemspec
|
|
34
35
|
Then either install the gem locally:
|
35
36
|
|
36
37
|
```shell
|
37
|
-
gem install ./daily-ruby-1.0.
|
38
|
+
gem install ./daily-ruby-1.0.3.gem
|
38
39
|
```
|
39
40
|
|
40
|
-
(for development, run `gem install --dev ./daily-ruby-1.0.
|
41
|
+
(for development, run `gem install --dev ./daily-ruby-1.0.3.gem` to install the development dependencies)
|
41
42
|
|
42
43
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
43
44
|
|
44
45
|
Finally add this to the Gemfile:
|
45
46
|
|
46
|
-
gem 'daily-ruby', '~> 1.0.
|
47
|
+
gem 'daily-ruby', '~> 1.0.3'
|
47
48
|
|
48
49
|
### Install from Git
|
49
50
|
|
@@ -79,7 +80,7 @@ end
|
|
79
80
|
|
80
81
|
api_instance = Daily::BatchRoomsApi.new
|
81
82
|
opts = {
|
82
|
-
batch_room_create_request: Daily::BatchRoomCreateRequest.new # BatchRoomCreateRequest |
|
83
|
+
batch_room_create_request: Daily::BatchRoomCreateRequest.new # BatchRoomCreateRequest |
|
83
84
|
}
|
84
85
|
|
85
86
|
begin
|
@@ -96,200 +97,196 @@ end
|
|
96
97
|
|
97
98
|
All URIs are relative to *https://api.daily.co/v1*
|
98
99
|
|
99
|
-
Class
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
100
|
+
| Class | Method | HTTP request | Description |
|
101
|
+
| ------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------- | --------------------------------- |
|
102
|
+
| _Daily::BatchRoomsApi_ | [**batch_room_create**](docs/BatchRoomsApi.md#batch_room_create) | **POST** /batch/rooms | /batch/rooms |
|
103
|
+
| _Daily::BatchRoomsApi_ | [**batch_room_delete**](docs/BatchRoomsApi.md#batch_room_delete) | **DELETE** /batch/rooms | /batch/rooms |
|
104
|
+
| _Daily::DialinApi_ | [**pinless_call_update**](docs/DialinApi.md#pinless_call_update) | **POST** /dialin/pinlessCallUpdate | /dialin/pinlessCallUpdate |
|
105
|
+
| _Daily::DomainApi_ | [**get_domain_config**](docs/DomainApi.md#get_domain_config) | **GET** / | Get domain configuration |
|
106
|
+
| _Daily::DomainApi_ | [**set_domain_config**](docs/DomainApi.md#set_domain_config) | **POST** / | Set domain configuration |
|
107
|
+
| _Daily::LogsApi_ | [**list_api_logs**](docs/LogsApi.md#list_api_logs) | **GET** /logs/api | /logs/api |
|
108
|
+
| _Daily::LogsApi_ | [**list_logs**](docs/LogsApi.md#list_logs) | **GET** /logs | /logs |
|
109
|
+
| _Daily::MeetingTokensApi_ | [**create_meeting_token**](docs/MeetingTokensApi.md#create_meeting_token) | **POST** /meeting-tokens | meeting-tokens |
|
110
|
+
| _Daily::MeetingTokensApi_ | [**validate_meeting_token**](docs/MeetingTokensApi.md#validate_meeting_token) | **GET** /meeting-tokens/{meeting_token} | meeting-tokens/:meeting_token |
|
111
|
+
| _Daily::MeetingsApi_ | [**get_individual_meeting_info**](docs/MeetingsApi.md#get_individual_meeting_info) | **GET** /meetings/{meeting} | /meetings/:meeting |
|
112
|
+
| _Daily::MeetingsApi_ | [**get_meeting_info**](docs/MeetingsApi.md#get_meeting_info) | **GET** /meetings | /meetings |
|
113
|
+
| _Daily::MeetingsApi_ | [**get_meeting_participants**](docs/MeetingsApi.md#get_meeting_participants) | **GET** /meetings/{meeting}/participants | /meetings/:meeting/participants |
|
114
|
+
| _Daily::PhoneNumbersApi_ | [**buy_phone_number**](docs/PhoneNumbersApi.md#buy_phone_number) | **POST** /buy-phone-number | /buy-phone-number |
|
115
|
+
| _Daily::PhoneNumbersApi_ | [**list_available_numbers**](docs/PhoneNumbersApi.md#list_available_numbers) | **GET** /list-available-numbers | /list-available-numbers |
|
116
|
+
| _Daily::PhoneNumbersApi_ | [**purchased_phone_nunbers**](docs/PhoneNumbersApi.md#purchased_phone_nunbers) | **GET** /purchased-phone-numbers | /purchased-phone-numbers |
|
117
|
+
| _Daily::PhoneNumbersApi_ | [**release_phone_number**](docs/PhoneNumbersApi.md#release_phone_number) | **DELETE** /release-phone-number/{id} | release-phone-number/:id |
|
118
|
+
| _Daily::PresenceApi_ | [**get_presence**](docs/PresenceApi.md#get_presence) | **GET** /presence | /presence |
|
119
|
+
| _Daily::RecordingsApi_ | [**delete_recording**](docs/RecordingsApi.md#delete_recording) | **DELETE** /recordings/{recording_id} | recordings/:id |
|
120
|
+
| _Daily::RecordingsApi_ | [**get_recording_info**](docs/RecordingsApi.md#get_recording_info) | **GET** /recordings/{recording_id} | recordings/:id |
|
121
|
+
| _Daily::RecordingsApi_ | [**get_recording_link**](docs/RecordingsApi.md#get_recording_link) | **GET** /recordings/{recording_id}/access-link | recordings/:id/access-link |
|
122
|
+
| _Daily::RecordingsApi_ | [**list_recordings**](docs/RecordingsApi.md#list_recordings) | **GET** /recordings | /recordings |
|
123
|
+
| _Daily::RoomsApi_ | [**create_room**](docs/RoomsApi.md#create_room) | **POST** /rooms | /rooms |
|
124
|
+
| _Daily::RoomsApi_ | [**delete_room**](docs/RoomsApi.md#delete_room) | **DELETE** /rooms/{room_name} | rooms/:name |
|
125
|
+
| _Daily::RoomsApi_ | [**eject**](docs/RoomsApi.md#eject) | **POST** /rooms/{room_name}/eject | rooms/:name/eject |
|
126
|
+
| _Daily::RoomsApi_ | [**get_room_config**](docs/RoomsApi.md#get_room_config) | **GET** /rooms/{room_name} | rooms/:name |
|
127
|
+
| _Daily::RoomsApi_ | [**get_room_presence**](docs/RoomsApi.md#get_room_presence) | **GET** /rooms/{room_name}/presence | rooms/:name/presence |
|
128
|
+
| _Daily::RoomsApi_ | [**get_session_data**](docs/RoomsApi.md#get_session_data) | **GET** /rooms/{room_name}/get-session-data | rooms/:name/get-session-data |
|
129
|
+
| _Daily::RoomsApi_ | [**list_rooms**](docs/RoomsApi.md#list_rooms) | **GET** /rooms | /rooms |
|
130
|
+
| _Daily::RoomsApi_ | [**room_dial_out_send_dtmf**](docs/RoomsApi.md#room_dial_out_send_dtmf) | **POST** /rooms/{room_name}/dialOut/sendDTMF | rooms/:name/dialOut/sendDTMF |
|
131
|
+
| _Daily::RoomsApi_ | [**room_dial_out_start**](docs/RoomsApi.md#room_dial_out_start) | **POST** /rooms/{room_name}/dialOut/start | rooms/:name/dialOut/start |
|
132
|
+
| _Daily::RoomsApi_ | [**room_dial_out_stop**](docs/RoomsApi.md#room_dial_out_stop) | **POST** /rooms/{room_name}/dialOut/stop | rooms/:name/dialOut/stop |
|
133
|
+
| _Daily::RoomsApi_ | [**room_livestreaming_start**](docs/RoomsApi.md#room_livestreaming_start) | **POST** /rooms/{room_name}/live-streaming/start | rooms/:name/live-streaming/start |
|
134
|
+
| _Daily::RoomsApi_ | [**room_livestreaming_stop**](docs/RoomsApi.md#room_livestreaming_stop) | **POST** /rooms/{room_name}/live-streaming/stop | rooms/:name/live-streaming/stop |
|
135
|
+
| _Daily::RoomsApi_ | [**room_livestreaming_update**](docs/RoomsApi.md#room_livestreaming_update) | **POST** /rooms/{room_name}/live-streaming/update | rooms/:name/live-streaming/update |
|
136
|
+
| _Daily::RoomsApi_ | [**room_recordings_start**](docs/RoomsApi.md#room_recordings_start) | **POST** /rooms/{room_name}/recordings/start | rooms/:name/recordings/start |
|
137
|
+
| _Daily::RoomsApi_ | [**room_recordings_stop**](docs/RoomsApi.md#room_recordings_stop) | **POST** /rooms/{room_name}/recordings/stop | rooms/:name/recordings/stop |
|
138
|
+
| _Daily::RoomsApi_ | [**room_recordings_update**](docs/RoomsApi.md#room_recordings_update) | **POST** /rooms/{room_name}/recordings/update | rooms/:name/recordings/update |
|
139
|
+
| _Daily::RoomsApi_ | [**room_sip_call_transfer**](docs/RoomsApi.md#room_sip_call_transfer) | **POST** /rooms/{room_name}/sipCallTransfer | rooms/:name/sipCallTransfer |
|
140
|
+
| _Daily::RoomsApi_ | [**room_sip_refer**](docs/RoomsApi.md#room_sip_refer) | **POST** /rooms/{room_name}/sipRefer | rooms/:name/sipRefer |
|
141
|
+
| _Daily::RoomsApi_ | [**room_transcription_start**](docs/RoomsApi.md#room_transcription_start) | **POST** /rooms/{room_name}/transcription/start | rooms/:name/transcription/start |
|
142
|
+
| _Daily::RoomsApi_ | [**room_transcription_stop**](docs/RoomsApi.md#room_transcription_stop) | **POST** /rooms/{room_name}/transcription/stop | rooms/:name/transcription/stop |
|
143
|
+
| _Daily::RoomsApi_ | [**send_app_message**](docs/RoomsApi.md#send_app_message) | **POST** /rooms/{room_name}/send-app-message | rooms/:name/send-app-message |
|
144
|
+
| _Daily::RoomsApi_ | [**set_room_config**](docs/RoomsApi.md#set_room_config) | **POST** /rooms/{room_name} | rooms/:name |
|
145
|
+
| _Daily::RoomsApi_ | [**set_session_data**](docs/RoomsApi.md#set_session_data) | **POST** /rooms/{room_name}/set-session-data | rooms/:name/set-session-data |
|
146
|
+
| _Daily::RoomsApi_ | [**update_permissions**](docs/RoomsApi.md#update_permissions) | **POST** /rooms/{room_name}/update-permissions | rooms/:name/update-permissions |
|
147
|
+
| _Daily::TranscriptApi_ | [**delete_transcript**](docs/TranscriptApi.md#delete_transcript) | **DELETE** /transcript/{transcriptId} | transcript/:id |
|
148
|
+
| _Daily::TranscriptApi_ | [**get_transcript_info**](docs/TranscriptApi.md#get_transcript_info) | **GET** /transcript/{transcriptId} | transcript/:transcriptId |
|
149
|
+
| _Daily::TranscriptApi_ | [**get_transcript_link**](docs/TranscriptApi.md#get_transcript_link) | **GET** /transcript/{transcriptId}/access-link | transcript/:id/access-link |
|
150
|
+
| _Daily::TranscriptApi_ | [**list_transcript**](docs/TranscriptApi.md#list_transcript) | **GET** /transcript | /transcript |
|
151
|
+
| _Daily::WebhooksApi_ | [**create_webhook**](docs/WebhooksApi.md#create_webhook) | **POST** /webhooks | /webhooks |
|
152
|
+
| _Daily::WebhooksApi_ | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{id} | webhooks/:id |
|
153
|
+
| _Daily::WebhooksApi_ | [**get_webhook_config**](docs/WebhooksApi.md#get_webhook_config) | **GET** /webhooks/{id} | webhooks/:id |
|
154
|
+
| _Daily::WebhooksApi_ | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | /webhooks |
|
155
|
+
| _Daily::WebhooksApi_ | [**update_webhook_config**](docs/WebhooksApi.md#update_webhook_config) | **POST** /webhooks/{id} | webhooks/:id |
|
156
156
|
|
157
157
|
## Documentation for Models
|
158
158
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
159
|
+
- [Daily::BatchProcessorError](docs/BatchProcessorError.md)
|
160
|
+
- [Daily::BatchProcessorErrorPayload](docs/BatchProcessorErrorPayload.md)
|
161
|
+
- [Daily::BatchProcessorErrorPayloadInput](docs/BatchProcessorErrorPayloadInput.md)
|
162
|
+
- [Daily::BatchProcessorJobFinished](docs/BatchProcessorJobFinished.md)
|
163
|
+
- [Daily::BatchProcessorJobFinishedPayload](docs/BatchProcessorJobFinishedPayload.md)
|
164
|
+
- [Daily::BatchProcessorJobFinishedPayloadInput](docs/BatchProcessorJobFinishedPayloadInput.md)
|
165
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutput](docs/BatchProcessorJobFinishedPayloadOutput.md)
|
166
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputConcept](docs/BatchProcessorJobFinishedPayloadOutputConcept.md)
|
167
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputSoap](docs/BatchProcessorJobFinishedPayloadOutputSoap.md)
|
168
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputSoapS3Config](docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md)
|
169
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputSummary](docs/BatchProcessorJobFinishedPayloadOutputSummary.md)
|
170
|
+
- [Daily::BatchProcessorJobFinishedPayloadOutputTranscriptionInner](docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md)
|
171
|
+
- [Daily::BatchRoomCreateRequest](docs/BatchRoomCreateRequest.md)
|
172
|
+
- [Daily::BatchRoomCreateRequestRoomsInner](docs/BatchRoomCreateRequestRoomsInner.md)
|
173
|
+
- [Daily::BatchRoomDelete200Response](docs/BatchRoomDelete200Response.md)
|
174
|
+
- [Daily::BuyPhoneNumberRequest](docs/BuyPhoneNumberRequest.md)
|
175
|
+
- [Daily::CreateMeetingToken200Response](docs/CreateMeetingToken200Response.md)
|
176
|
+
- [Daily::CreateMeetingTokenRequest](docs/CreateMeetingTokenRequest.md)
|
177
|
+
- [Daily::CreateRoom200Response](docs/CreateRoom200Response.md)
|
178
|
+
- [Daily::CreateRoomRequest](docs/CreateRoomRequest.md)
|
179
|
+
- [Daily::DailyLiveStreamingOptions](docs/DailyLiveStreamingOptions.md)
|
180
|
+
- [Daily::DailyLiveStreamingOptionsRtmpUrl](docs/DailyLiveStreamingOptionsRtmpUrl.md)
|
181
|
+
- [Daily::DailyStreamingActiveParticipantLayoutConfig](docs/DailyStreamingActiveParticipantLayoutConfig.md)
|
182
|
+
- [Daily::DailyStreamingCustomLayoutConfig](docs/DailyStreamingCustomLayoutConfig.md)
|
183
|
+
- [Daily::DailyStreamingCustomLayoutConfigCompositionParamsValue](docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md)
|
184
|
+
- [Daily::DailyStreamingDefaultLayoutConfig](docs/DailyStreamingDefaultLayoutConfig.md)
|
185
|
+
- [Daily::DailyStreamingEndpoint](docs/DailyStreamingEndpoint.md)
|
186
|
+
- [Daily::DailyStreamingLayoutConfig](docs/DailyStreamingLayoutConfig.md)
|
187
|
+
- [Daily::DailyStreamingOptions](docs/DailyStreamingOptions.md)
|
188
|
+
- [Daily::DailyStreamingPortraitLayoutConfig](docs/DailyStreamingPortraitLayoutConfig.md)
|
189
|
+
- [Daily::DailyStreamingPortraitLayoutVariant](docs/DailyStreamingPortraitLayoutVariant.md)
|
190
|
+
- [Daily::DailyStreamingSingleParticipantLayoutConfig](docs/DailyStreamingSingleParticipantLayoutConfig.md)
|
191
|
+
- [Daily::DeleteTranscript200Response](docs/DeleteTranscript200Response.md)
|
192
|
+
- [Daily::DialoutProperties](docs/DialoutProperties.md)
|
193
|
+
- [Daily::DialoutPropertiesCodecs](docs/DialoutPropertiesCodecs.md)
|
194
|
+
- [Daily::Domain](docs/Domain.md)
|
195
|
+
- [Daily::DomainProperties](docs/DomainProperties.md)
|
196
|
+
- [Daily::Eject200Response](docs/Eject200Response.md)
|
197
|
+
- [Daily::EjectRequest](docs/EjectRequest.md)
|
198
|
+
- [Daily::GetDomainConfig200Response](docs/GetDomainConfig200Response.md)
|
199
|
+
- [Daily::GetDomainConfig200ResponseConfig](docs/GetDomainConfig200ResponseConfig.md)
|
200
|
+
- [Daily::GetDomainConfig200ResponseConfigRecordingsBucket](docs/GetDomainConfig200ResponseConfigRecordingsBucket.md)
|
201
|
+
- [Daily::GetMeetingInfo200Response](docs/GetMeetingInfo200Response.md)
|
202
|
+
- [Daily::GetMeetingInfo200ResponseDataInner](docs/GetMeetingInfo200ResponseDataInner.md)
|
203
|
+
- [Daily::GetMeetingInfo200ResponseDataInnerParticipantsInner](docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md)
|
204
|
+
- [Daily::GetPresence200Response](docs/GetPresence200Response.md)
|
205
|
+
- [Daily::GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner](docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md)
|
206
|
+
- [Daily::GetRecordingInfo200Response](docs/GetRecordingInfo200Response.md)
|
207
|
+
- [Daily::GetRecordingInfo200ResponseTracksInner](docs/GetRecordingInfo200ResponseTracksInner.md)
|
208
|
+
- [Daily::GetRecordingLink200Response](docs/GetRecordingLink200Response.md)
|
209
|
+
- [Daily::GetTranscriptInfo200Response](docs/GetTranscriptInfo200Response.md)
|
210
|
+
- [Daily::GetTranscriptInfo200ResponseOutParams](docs/GetTranscriptInfo200ResponseOutParams.md)
|
211
|
+
- [Daily::GetTranscriptLink200Response](docs/GetTranscriptLink200Response.md)
|
212
|
+
- [Daily::ListAPILogs200Response](docs/ListAPILogs200Response.md)
|
213
|
+
- [Daily::ListRecordings200Response](docs/ListRecordings200Response.md)
|
214
|
+
- [Daily::ListRecordings200ResponseDataInner](docs/ListRecordings200ResponseDataInner.md)
|
215
|
+
- [Daily::ListRooms200Response](docs/ListRooms200Response.md)
|
216
|
+
- [Daily::ListRooms200ResponseDataInner](docs/ListRooms200ResponseDataInner.md)
|
217
|
+
- [Daily::ListRooms200ResponseDataInnerConfig](docs/ListRooms200ResponseDataInnerConfig.md)
|
218
|
+
- [Daily::ListTranscript200Response](docs/ListTranscript200Response.md)
|
219
|
+
- [Daily::ListTranscript200ResponseDataInner](docs/ListTranscript200ResponseDataInner.md)
|
220
|
+
- [Daily::MeetingEnded](docs/MeetingEnded.md)
|
221
|
+
- [Daily::MeetingEndedPayload](docs/MeetingEndedPayload.md)
|
222
|
+
- [Daily::MeetingParticipantsGetRes](docs/MeetingParticipantsGetRes.md)
|
223
|
+
- [Daily::MeetingParticipantsGetResDataInner](docs/MeetingParticipantsGetResDataInner.md)
|
224
|
+
- [Daily::MeetingStarted](docs/MeetingStarted.md)
|
225
|
+
- [Daily::MeetingStartedPayload](docs/MeetingStartedPayload.md)
|
226
|
+
- [Daily::MeetingsMeetingGetRes](docs/MeetingsMeetingGetRes.md)
|
227
|
+
- [Daily::ParticipantJoined](docs/ParticipantJoined.md)
|
228
|
+
- [Daily::ParticipantJoinedPayload](docs/ParticipantJoinedPayload.md)
|
229
|
+
- [Daily::ParticipantJoinedPayloadPermissions](docs/ParticipantJoinedPayloadPermissions.md)
|
230
|
+
- [Daily::ParticipantLeft](docs/ParticipantLeft.md)
|
231
|
+
- [Daily::ParticipantLeftPayload](docs/ParticipantLeftPayload.md)
|
232
|
+
- [Daily::Permissions](docs/Permissions.md)
|
233
|
+
- [Daily::PermissionsCanAdmin](docs/PermissionsCanAdmin.md)
|
234
|
+
- [Daily::PermissionsCanSend](docs/PermissionsCanSend.md)
|
235
|
+
- [Daily::PinDialinInner](docs/PinDialinInner.md)
|
236
|
+
- [Daily::PinDialinInnerIvrGreeting](docs/PinDialinInnerIvrGreeting.md)
|
237
|
+
- [Daily::PinlessCallUpdateRequest](docs/PinlessCallUpdateRequest.md)
|
238
|
+
- [Daily::PinlessDialinInner](docs/PinlessDialinInner.md)
|
239
|
+
- [Daily::PostWebhook](docs/PostWebhook.md)
|
240
|
+
- [Daily::Properties](docs/Properties.md)
|
241
|
+
- [Daily::RecordingError](docs/RecordingError.md)
|
242
|
+
- [Daily::RecordingErrorPayload](docs/RecordingErrorPayload.md)
|
243
|
+
- [Daily::RecordingReadyToDownload](docs/RecordingReadyToDownload.md)
|
244
|
+
- [Daily::RecordingReadyToDownloadPayload](docs/RecordingReadyToDownloadPayload.md)
|
245
|
+
- [Daily::RecordingStarted](docs/RecordingStarted.md)
|
246
|
+
- [Daily::RecordingStartedPayload](docs/RecordingStartedPayload.md)
|
247
|
+
- [Daily::RecordingStreamingOptions](docs/RecordingStreamingOptions.md)
|
248
|
+
- [Daily::RecordingsBucket](docs/RecordingsBucket.md)
|
249
|
+
- [Daily::RoomDialOutSendDTMFRequest](docs/RoomDialOutSendDTMFRequest.md)
|
250
|
+
- [Daily::RoomDialOutStopRequest](docs/RoomDialOutStopRequest.md)
|
251
|
+
- [Daily::RoomProperties](docs/RoomProperties.md)
|
252
|
+
- [Daily::RoomPropertiesStreamingEndpointsInner](docs/RoomPropertiesStreamingEndpointsInner.md)
|
253
|
+
- [Daily::RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner](docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md)
|
254
|
+
- [Daily::RoomSipCallTransferRequest](docs/RoomSipCallTransferRequest.md)
|
255
|
+
- [Daily::RoomsRoomNameGetRes](docs/RoomsRoomNameGetRes.md)
|
256
|
+
- [Daily::RoomsRoomNamePresenceGetRes](docs/RoomsRoomNamePresenceGetRes.md)
|
257
|
+
- [Daily::RoomsRoomNamePresenceGetResDataInner](docs/RoomsRoomNamePresenceGetResDataInner.md)
|
258
|
+
- [Daily::SendAppMessageRequest](docs/SendAppMessageRequest.md)
|
259
|
+
- [Daily::SetRoomConfigRequest](docs/SetRoomConfigRequest.md)
|
260
|
+
- [Daily::SetSessionDataRequest](docs/SetSessionDataRequest.md)
|
261
|
+
- [Daily::StreamingEnded](docs/StreamingEnded.md)
|
262
|
+
- [Daily::StreamingEndedPayload](docs/StreamingEndedPayload.md)
|
263
|
+
- [Daily::StreamingError](docs/StreamingError.md)
|
264
|
+
- [Daily::StreamingErrorPayload](docs/StreamingErrorPayload.md)
|
265
|
+
- [Daily::StreamingStarted](docs/StreamingStarted.md)
|
266
|
+
- [Daily::StreamingStartedPayload](docs/StreamingStartedPayload.md)
|
267
|
+
- [Daily::StreamingUpdated](docs/StreamingUpdated.md)
|
268
|
+
- [Daily::StreamingUpdatedPayload](docs/StreamingUpdatedPayload.md)
|
269
|
+
- [Daily::TranscriptionBucket](docs/TranscriptionBucket.md)
|
270
|
+
- [Daily::TranscriptionProperties](docs/TranscriptionProperties.md)
|
271
|
+
- [Daily::TranscriptionPropertiesEndpointing](docs/TranscriptionPropertiesEndpointing.md)
|
272
|
+
- [Daily::TranscriptionPropertiesRedact](docs/TranscriptionPropertiesRedact.md)
|
273
|
+
- [Daily::UpdatePermissionsRequest](docs/UpdatePermissionsRequest.md)
|
274
|
+
- [Daily::UpdatePermissionsRequestDataValue](docs/UpdatePermissionsRequestDataValue.md)
|
275
|
+
- [Daily::UpdatePermissionsRequestDataValueCanSend](docs/UpdatePermissionsRequestDataValueCanSend.md)
|
276
|
+
- [Daily::UpdateWebhook](docs/UpdateWebhook.md)
|
277
|
+
- [Daily::ValidateMeetingToken200Response](docs/ValidateMeetingToken200Response.md)
|
278
|
+
- [Daily::WaitingParticipantJoined](docs/WaitingParticipantJoined.md)
|
279
|
+
- [Daily::WaitingParticipantJoinedPayload](docs/WaitingParticipantJoinedPayload.md)
|
280
|
+
- [Daily::WaitingParticipantLeft](docs/WaitingParticipantLeft.md)
|
281
|
+
- [Daily::WaitingParticipantLeftPayload](docs/WaitingParticipantLeftPayload.md)
|
282
|
+
- [Daily::Webhook](docs/Webhook.md)
|
284
283
|
|
285
284
|
## Documentation for Authorization
|
286
285
|
|
287
|
-
|
288
286
|
Authentication schemes defined for the API:
|
289
|
-
### sec0
|
290
287
|
|
288
|
+
### sec0
|
291
289
|
|
292
290
|
- **Type**: API key
|
293
291
|
- **API key parameter name**: Authorization
|
294
292
|
- **Location**: HTTP header
|
295
|
-
|
Binary file
|
data/daily-ruby.gemspec
CHANGED
@@ -13,7 +13,7 @@ Generator version: 7.8.0
|
|
13
13
|
=end
|
14
14
|
|
15
15
|
$:.push File.expand_path("../lib", __FILE__)
|
16
|
-
|
16
|
+
require_relative 'lib/daily-ruby/version'
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
19
|
s.name = "daily-ruby"
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.email = ["help@daily.co"]
|
24
24
|
s.homepage = "https://www.github.com/daily-co/daily-ruby"
|
25
25
|
s.summary = "The official Daily API Ruby client"
|
26
|
-
s.description = "The official Daily API Ruby client"
|
26
|
+
s.description = "The official Daily API Ruby client for Daily's REST API"
|
27
27
|
s.license = "MIT"
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
29
29
|
s.metadata = {}
|
@@ -11,7 +11,7 @@
|
|
11
11
|
| **max_participants** | **Integer** | The maximum number of participants that were ever in this room together during the meeting session that was recorded. | [optional] |
|
12
12
|
| **duration** | **Integer** | How many seconds long the recording is, approximately. This property is not returned for recordings that are in-progress. | [optional] |
|
13
13
|
| **share_token** | **String** | Deprecated. | [optional] |
|
14
|
-
| **
|
14
|
+
| **s3Key** | **String** | The S3 Key associated with this recording. | [optional] |
|
15
15
|
| **mtg_session_id** | **String** | The meeting session ID for this recording. | [optional] |
|
16
16
|
| **tracks** | [**Array<GetRecordingInfo200ResponseTracksInner>**](GetRecordingInfo200ResponseTracksInner.md) | If the recording is a raw-tracks recording, a tracks field will be provided. If role permissions have been removed, the tracks field may be null. | [optional] |
|
17
17
|
|
@@ -28,7 +28,7 @@ instance = Daily::GetRecordingInfo200Response.new(
|
|
28
28
|
max_participants: 2,
|
29
29
|
duration: 277,
|
30
30
|
share_token: TivXjlD22QQt,
|
31
|
-
|
31
|
+
s3Key: mydomain/test-recording-room/11245260397,
|
32
32
|
mtg_session_id: 257764e6-c74e-4c30-944a-a887a03173a3,
|
33
33
|
tracks: null
|
34
34
|
)
|
@@ -6,8 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **size** | **Integer** | The size of the file. | [optional] |
|
8
8
|
| **type** | **String** | The type of track file, audio or video. | [optional] |
|
9
|
-
| **
|
10
|
-
|
9
|
+
| **s3Key** | **String** | The S3 Key associated with this particular track file. | [optional] |
|
11
10
|
## Example
|
12
11
|
|
13
12
|
```ruby
|
@@ -16,7 +15,7 @@ require 'daily-ruby'
|
|
16
15
|
instance = Daily::GetRecordingInfo200ResponseTracksInner.new(
|
17
16
|
size: 15620,
|
18
17
|
type: audio,
|
19
|
-
|
18
|
+
s3Key: mydomain/test-recording-room/11245260397-audio
|
20
19
|
)
|
21
20
|
```
|
22
21
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **s3Key** | **String** | | [optional] |
|
8
8
|
| **bucket** | **String** | | [optional] |
|
9
9
|
| **region** | **String** | | [optional] |
|
10
10
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
require 'daily-ruby'
|
15
15
|
|
16
16
|
instance = Daily::GetTranscriptInfo200ResponseOutParams.new(
|
17
|
-
|
17
|
+
s3Key: mydomain/test-recording-room/11245260397,
|
18
18
|
bucket: my-transcript-bucket,
|
19
19
|
region: us-west-2
|
20
20
|
)
|
@@ -9,7 +9,7 @@
|
|
9
9
|
| **status** | **String** | | [optional] |
|
10
10
|
| **max_participants** | **Integer** | | [optional][default to 0] |
|
11
11
|
| **share_token** | **String** | | [optional] |
|
12
|
-
| **
|
12
|
+
| **s3Key** | **String** | | [optional] |
|
13
13
|
| **mtg_session_id** | **String** | | [optional] |
|
14
14
|
|
15
15
|
## Example
|
@@ -23,7 +23,7 @@ instance = Daily::ListRecordings200ResponseDataInner.new(
|
|
23
23
|
status: in-progress,
|
24
24
|
max_participants: 2,
|
25
25
|
share_token: NcWgEiJuqD8v,
|
26
|
-
|
26
|
+
s3Key: mydomain/test-recording-room/11245260397,
|
27
27
|
mtg_session_id: 257764e6-c74e-4c30-944a-a887a03173a3
|
28
28
|
)
|
29
29
|
```
|
data/example.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Load the gem
|
2
2
|
require 'daily-ruby'
|
3
3
|
|
4
|
+
p 'Version: ' + Daily::VERSION
|
5
|
+
|
4
6
|
# Setup authorization
|
5
7
|
Daily.configure do |config|
|
6
8
|
# Configure Bearer authorization: bearerAuth
|
@@ -10,15 +12,21 @@ Daily.configure do |config|
|
|
10
12
|
# config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
11
13
|
end
|
12
14
|
|
15
|
+
|
13
16
|
room_api_instance = Daily::RoomsApi.new
|
14
17
|
opts = {
|
15
|
-
|
18
|
+
create_room_request: Daily::CreateRoomRequest.new(
|
16
19
|
privacy: 'private',
|
17
|
-
properties:
|
20
|
+
properties: {
|
18
21
|
exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours
|
19
22
|
enable_mesh_sfu: true,
|
20
|
-
sfu_switchover: 0.5
|
21
|
-
|
23
|
+
sfu_switchover: 0.5,
|
24
|
+
enable_recording: "cloud",
|
25
|
+
dialin: {
|
26
|
+
display_name: 'Phone Caller',
|
27
|
+
wait_for_meeting_start: true
|
28
|
+
}
|
29
|
+
}
|
22
30
|
)
|
23
31
|
}
|
24
32
|
|
@@ -40,6 +48,7 @@ opts = {
|
|
40
48
|
properties: {
|
41
49
|
is_owner: true,
|
42
50
|
room_name: room.name,
|
51
|
+
start_cloud_recording: true,
|
43
52
|
exp: (Time.now + (3600 * 2)).to_i # Expire the token after two hours
|
44
53
|
}
|
45
54
|
})
|
@@ -59,3 +68,25 @@ end
|
|
59
68
|
|
60
69
|
p "Room url: " + room.url
|
61
70
|
p "Meeting token: " + meeting_token.token
|
71
|
+
|
72
|
+
recordings_api_instance = Daily::RecordingsApi.new
|
73
|
+
recordings_opts = {
|
74
|
+
limit: 5 # Fetch the 5 most recent recordings
|
75
|
+
}
|
76
|
+
|
77
|
+
begin
|
78
|
+
# List the most recent recordings
|
79
|
+
recordings = recordings_api_instance.list_recordings(recordings_opts)
|
80
|
+
puts "Recent Recordings:"
|
81
|
+
recordings.data.each do |recording|
|
82
|
+
puts "ID: #{recording.id}, Status: #{recording.status}"
|
83
|
+
|
84
|
+
# Generate an access link for the recording
|
85
|
+
access_link = recordings_api_instance.get_recording_link(recording.id)
|
86
|
+
puts "Access Link: #{access_link.download_link}"
|
87
|
+
end
|
88
|
+
rescue Daily::ApiError => e
|
89
|
+
puts "Error when calling RecordingsApi->list_recordings or get_recording_link: #{e}"
|
90
|
+
end
|
91
|
+
|
92
|
+
|
@@ -38,10 +38,10 @@ module Daily
|
|
38
38
|
{
|
39
39
|
:'name' => :'name',
|
40
40
|
:'type' => :'type',
|
41
|
-
:'hls_config_storage_path' => :
|
42
|
-
:'hls_config_storage_path_template' => :
|
43
|
-
:'hls_config_save_hls_recording' => :
|
44
|
-
:'hls_config_variants' => :
|
41
|
+
:'hls_config_storage_path' => :hls_config['storage']['path'],
|
42
|
+
:'hls_config_storage_path_template' => :hls_config['storage']['path_template'],
|
43
|
+
:'hls_config_save_hls_recording' => :hls_config['save_hls_recording'],
|
44
|
+
:'hls_config_variants' => :hls_config['variants']
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
data/lib/daily-ruby/version.rb
CHANGED
Binary file
|
Binary file
|
data/run.sh
CHANGED
@@ -4,7 +4,7 @@ openapi-generator generate -g ruby -o . \
|
|
4
4
|
-i ~/git/pluot-core/north-star/packages/docs-site/lib/oas/index.yaml \
|
5
5
|
--additional-properties=gemName=daily-ruby \
|
6
6
|
--additional-properties=moduleName=Daily \
|
7
|
-
--additional-properties=gemVersion=1.0.
|
7
|
+
--additional-properties=gemVersion=1.0.3 \
|
8
8
|
--additional-properties=gemLicense=MIT \
|
9
9
|
--additional-properties=gemAuthor=Daily \
|
10
10
|
--additional-properties=gemAuthorEmail=help@daily.co \
|
@@ -73,7 +73,7 @@ describe Daily::GetRecordingInfo200Response do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
describe 'test attribute "
|
76
|
+
describe 'test attribute "s3Key"' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
79
|
end
|
@@ -43,7 +43,7 @@ describe Daily::GetRecordingInfo200ResponseTracksInner do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
describe 'test attribute "
|
46
|
+
describe 'test attribute "s3Key"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
49
|
end
|
@@ -27,7 +27,7 @@ describe Daily::GetTranscriptInfo200ResponseOutParams do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "s3Key"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
@@ -57,7 +57,7 @@ describe Daily::ListRecordings200ResponseDataInner do
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
describe 'test attribute "
|
60
|
+
describe 'test attribute "s3Key"' do
|
61
61
|
it 'should work' do
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daily-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daily
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -78,7 +78,7 @@ dependencies:
|
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: 3.6.0
|
81
|
-
description: The official Daily API Ruby client
|
81
|
+
description: The official Daily API Ruby client for Daily's REST API
|
82
82
|
email:
|
83
83
|
- help@daily.co
|
84
84
|
executables: []
|
@@ -87,9 +87,10 @@ extra_rdoc_files: []
|
|
87
87
|
files:
|
88
88
|
- Gemfile
|
89
89
|
- Gemfile.lock
|
90
|
+
- LICENSE.txt
|
90
91
|
- README.md
|
91
92
|
- Rakefile
|
92
|
-
- daily-ruby-1.0.
|
93
|
+
- daily-ruby-1.0.2.gem
|
93
94
|
- daily-ruby.gemspec
|
94
95
|
- docs/BatchProcessorError.md
|
95
96
|
- docs/BatchProcessorErrorPayload.md
|
@@ -372,6 +373,8 @@ files:
|
|
372
373
|
- lib/daily-ruby/models/waiting_participant_left_payload.rb
|
373
374
|
- lib/daily-ruby/models/webhook.rb
|
374
375
|
- lib/daily-ruby/version.rb
|
376
|
+
- pkg/daily-ruby-1.0.2.gem
|
377
|
+
- pkg/daily-ruby-1.0.3.gem
|
375
378
|
- run.sh
|
376
379
|
- spec/api/batch_rooms_api_spec.rb
|
377
380
|
- spec/api/dialin_api_spec.rb
|
@@ -408,7 +411,6 @@ files:
|
|
408
411
|
- spec/models/daily_live_streaming_options_rtmp_url_spec.rb
|
409
412
|
- spec/models/daily_live_streaming_options_spec.rb
|
410
413
|
- spec/models/daily_streaming_active_participant_layout_config_spec.rb
|
411
|
-
- spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb
|
412
414
|
- spec/models/daily_streaming_custom_layout_config_composition_params_value_spec.rb
|
413
415
|
- spec/models/daily_streaming_custom_layout_config_spec.rb
|
414
416
|
- spec/models/daily_streaming_default_layout_config_spec.rb
|
@@ -620,7 +622,6 @@ test_files:
|
|
620
622
|
- spec/models/domain_properties_spec.rb
|
621
623
|
- spec/models/meeting_participants_get_res_spec.rb
|
622
624
|
- spec/models/list_api_logs200_response_spec.rb
|
623
|
-
- spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb
|
624
625
|
- spec/models/transcription_properties_redact_spec.rb
|
625
626
|
- spec/models/create_meeting_token200_response_spec.rb
|
626
627
|
- spec/models/room_properties_streaming_endpoints_inner_spec.rb
|
data/daily-ruby-1.0.0.gem
DELETED
Binary file
|
@@ -1,21 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Daily API
|
3
|
-
|
4
|
-
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.1.1
|
7
|
-
Contact: help@daily.co
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 7.3.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for Daily::DailyStreamingCustomLayoutConfigCompositionParams
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe Daily::DailyStreamingCustomLayoutConfigCompositionParams do
|
21
|
-
end
|