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.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +13 -12
  4. data/README.md +203 -40
  5. data/daily-ruby.gemspec +4 -4
  6. data/docs/BatchRoomCreateRequest.md +18 -0
  7. data/docs/BatchRoomCreateRequestRoomsInner.md +22 -0
  8. data/docs/BatchRoomDelete200Response.md +18 -0
  9. data/docs/BatchRoomsApi.md +150 -0
  10. data/docs/CreateMeetingToken200Response.md +1 -1
  11. data/docs/CreateMeetingTokenRequest.md +18 -0
  12. data/docs/CreateRoom200Response.md +30 -0
  13. data/docs/{RoomRequest.md → CreateRoomRequest.md} +3 -3
  14. data/docs/DailyLiveStreamingOptions.md +40 -0
  15. data/docs/DailyLiveStreamingOptionsRtmpUrl.md +49 -0
  16. data/docs/DailyStreamingActiveParticipantLayoutConfig.md +18 -0
  17. data/docs/DailyStreamingCustomLayoutConfig.md +24 -0
  18. data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +15 -0
  19. data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
  20. data/docs/{ServerErrorResponse.md → DailyStreamingEndpoint.md} +4 -4
  21. data/docs/DailyStreamingLayoutConfig.md +69 -0
  22. data/docs/DailyStreamingOptions.md +36 -0
  23. data/docs/DailyStreamingPortraitLayoutConfig.md +22 -0
  24. data/docs/DailyStreamingPortraitLayoutVariant.md +15 -0
  25. data/docs/DailyStreamingSingleParticipantLayoutConfig.md +20 -0
  26. data/docs/DeleteTranscript200Response.md +30 -0
  27. data/docs/Domain.md +18 -0
  28. data/docs/DomainApi.md +149 -0
  29. data/docs/DomainProperties.md +74 -0
  30. data/docs/Eject200Response.md +18 -0
  31. data/docs/EjectRequest.md +18 -0
  32. data/docs/GetDomainConfig200Response.md +22 -0
  33. data/docs/GetDomainConfig200ResponseConfig.md +54 -0
  34. data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +20 -0
  35. data/docs/GetMeetingInfo200Response.md +20 -0
  36. data/docs/GetMeetingInfo200ResponseDataInner.md +28 -0
  37. data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +26 -0
  38. data/docs/GetPresence200Response.md +18 -0
  39. data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +28 -0
  40. data/docs/GetRecordingInfo200Response.md +36 -0
  41. data/docs/GetRecordingInfo200ResponseTracksInner.md +22 -0
  42. data/docs/GetRecordingLink200Response.md +20 -0
  43. data/docs/GetTranscriptInfo200Response.md +32 -0
  44. data/docs/GetTranscriptInfo200ResponseOutParams.md +22 -0
  45. data/docs/GetTranscriptLink200Response.md +22 -0
  46. data/docs/ListAPILogs200Response.md +38 -0
  47. data/docs/ListRecordings200Response.md +20 -0
  48. data/docs/ListRecordings200ResponseDataInner.md +30 -0
  49. data/docs/ListRooms200Response.md +20 -0
  50. data/docs/ListRooms200ResponseDataInner.md +30 -0
  51. data/docs/ListRooms200ResponseDataInnerConfig.md +18 -0
  52. data/docs/ListTranscript200Response.md +20 -0
  53. data/docs/ListTranscript200ResponseDataInner.md +28 -0
  54. data/docs/LogsApi.md +177 -0
  55. data/docs/MeetingParticipantsGetRes.md +20 -0
  56. data/docs/MeetingParticipantsGetResDataInner.md +28 -0
  57. data/docs/MeetingTokensApi.md +88 -10
  58. data/docs/MeetingsApi.md +247 -0
  59. data/docs/MeetingsMeetingGetRes.md +28 -0
  60. data/docs/Permissions.md +22 -0
  61. data/docs/{MeetingTokenRequestPropertiesPermissionsCanSend.md → PermissionsCanAdmin.md} +4 -4
  62. data/docs/{MeetingTokenRequestPropertiesPermissionsCanAdmin.md → PermissionsCanSend.md} +4 -4
  63. data/docs/PostWebhook.md +22 -0
  64. data/docs/PresenceApi.md +74 -0
  65. data/docs/Properties.md +60 -0
  66. data/docs/RecordingError.md +24 -0
  67. data/docs/RecordingErrorPayload.md +26 -0
  68. data/docs/RecordingReadyToDownload.md +24 -0
  69. data/docs/RecordingReadyToDownloadPayload.md +34 -0
  70. data/docs/RecordingStarted.md +24 -0
  71. data/docs/RecordingStartedPayload.md +28 -0
  72. data/docs/RecordingStreamingOptions.md +38 -0
  73. data/docs/RecordingsApi.md +303 -0
  74. data/docs/RecordingsBucket.md +26 -0
  75. data/docs/RoomProperties.md +94 -0
  76. data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
  77. data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
  78. data/docs/RoomsApi.md +1418 -0
  79. data/docs/RoomsRoomNameGetRes.md +30 -0
  80. data/docs/RoomsRoomNamePresenceGetRes.md +20 -0
  81. data/docs/RoomsRoomNamePresenceGetResDataInner.md +28 -0
  82. data/docs/SendAppMessageRequest.md +20 -0
  83. data/docs/SetRoomConfigRequest.md +20 -0
  84. data/docs/SetSessionDataRequest.md +22 -0
  85. data/docs/StreamingEnded.md +24 -0
  86. data/docs/StreamingEndedPayload.md +22 -0
  87. data/docs/StreamingError.md +24 -0
  88. data/docs/StreamingErrorPayload.md +26 -0
  89. data/docs/StreamingStarted.md +24 -0
  90. data/docs/StreamingStartedPayload.md +24 -0
  91. data/docs/StreamingUpdated.md +24 -0
  92. data/docs/StreamingUpdatedPayload.md +24 -0
  93. data/docs/TranscriptApi.md +305 -0
  94. data/docs/TranscriptionBucket.md +24 -0
  95. data/docs/TranscriptionProperties.md +32 -0
  96. data/docs/TranscriptionPropertiesEndpointing.md +49 -0
  97. data/docs/TranscriptionPropertiesRedact.md +51 -0
  98. data/docs/UpdatePermissionsRequest.md +18 -0
  99. data/docs/UpdatePermissionsRequestDataValue.md +22 -0
  100. data/docs/UpdatePermissionsRequestDataValueCanSend.md +49 -0
  101. data/docs/UpdateWebhook.md +22 -0
  102. data/docs/ValidateMeetingToken200Response.md +28 -0
  103. data/docs/Webhook.md +38 -0
  104. data/docs/WebhooksApi.md +370 -0
  105. data/example.rb +61 -0
  106. data/lib/daily-ruby/api/batch_rooms_api.rb +143 -0
  107. data/lib/daily-ruby/api/domain_api.rb +143 -0
  108. data/lib/daily-ruby/api/logs_api.rb +181 -0
  109. data/lib/daily-ruby/api/meeting_tokens_api.rb +78 -12
  110. data/lib/daily-ruby/api/meetings_api.rb +238 -0
  111. data/lib/daily-ruby/api/presence_api.rb +77 -0
  112. data/lib/daily-ruby/api/recordings_api.rb +280 -0
  113. data/lib/daily-ruby/api/rooms_api.rb +1302 -0
  114. data/lib/daily-ruby/api/transcript_api.rb +283 -0
  115. data/lib/daily-ruby/api/webhooks_api.rb +339 -0
  116. data/lib/daily-ruby/api_client.rb +4 -4
  117. data/lib/daily-ruby/api_error.rb +4 -4
  118. data/lib/daily-ruby/configuration.rb +19 -7
  119. data/lib/daily-ruby/models/{room_deleted_response.rb → batch_room_create_request.rb} +16 -24
  120. data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +232 -0
  121. data/lib/daily-ruby/models/batch_room_delete200_response.rb +214 -0
  122. data/lib/daily-ruby/models/create_meeting_token200_response.rb +4 -4
  123. data/lib/daily-ruby/models/{server_error_response.rb → create_meeting_token_request.rb} +14 -15
  124. data/lib/daily-ruby/models/create_room200_response.rb +270 -0
  125. data/lib/daily-ruby/models/create_room_request.rb +232 -0
  126. data/lib/daily-ruby/models/daily_live_streaming_options.rb +324 -0
  127. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_send.rb → daily_live_streaming_options_rtmp_url.rb} +6 -6
  128. data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +29 -41
  129. data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +293 -0
  130. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +105 -0
  131. data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +264 -0
  132. data/lib/daily-ruby/models/daily_streaming_endpoint.rb +221 -0
  133. data/lib/daily-ruby/models/daily_streaming_layout_config.rb +46 -0
  134. data/lib/daily-ruby/models/daily_streaming_options.rb +304 -0
  135. data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +273 -0
  136. data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +40 -0
  137. data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +271 -0
  138. data/lib/daily-ruby/models/delete_transcript200_response.rb +307 -0
  139. data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +8 -9
  140. data/lib/daily-ruby/models/domain_properties.rb +570 -0
  141. data/lib/daily-ruby/models/eject200_response.rb +216 -0
  142. data/lib/daily-ruby/models/eject_request.rb +217 -0
  143. data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
  144. data/lib/daily-ruby/models/get_domain_config200_response_config.rb +395 -0
  145. data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +223 -0
  146. data/lib/daily-ruby/models/get_meeting_info200_response.rb +259 -0
  147. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +353 -0
  148. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +290 -0
  149. data/lib/daily-ruby/models/get_presence200_response.rb +243 -0
  150. data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +370 -0
  151. data/lib/daily-ruby/models/get_recording_info200_response.rb +340 -0
  152. data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +269 -0
  153. data/lib/daily-ruby/models/get_recording_link200_response.rb +225 -0
  154. data/lib/daily-ruby/models/get_transcript_info200_response.rb +317 -0
  155. data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +232 -0
  156. data/lib/daily-ruby/models/get_transcript_link200_response.rb +233 -0
  157. data/lib/daily-ruby/models/list_api_logs200_response.rb +315 -0
  158. data/lib/daily-ruby/models/list_recordings200_response.rb +227 -0
  159. data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +272 -0
  160. data/lib/daily-ruby/models/list_rooms200_response.rb +227 -0
  161. data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +270 -0
  162. data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +216 -0
  163. data/lib/daily-ruby/models/list_transcript200_response.rb +227 -0
  164. data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +298 -0
  165. data/lib/daily-ruby/models/meeting_participants_get_res.rb +225 -0
  166. data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
  167. data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
  168. data/lib/daily-ruby/models/permissions.rb +234 -0
  169. data/lib/daily-ruby/models/permissions_can_admin.rb +106 -0
  170. data/lib/daily-ruby/models/permissions_can_send.rb +106 -0
  171. data/lib/daily-ruby/models/post_webhook.rb +259 -0
  172. data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +81 -29
  173. data/lib/daily-ruby/models/recording_error.rb +278 -0
  174. data/lib/daily-ruby/models/recording_error_payload.rb +290 -0
  175. data/lib/daily-ruby/models/recording_ready_to_download.rb +278 -0
  176. data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +344 -0
  177. data/lib/daily-ruby/models/recording_started.rb +278 -0
  178. data/lib/daily-ruby/models/recording_started_payload.rb +299 -0
  179. data/lib/daily-ruby/models/recording_streaming_options.rb +350 -0
  180. data/lib/daily-ruby/models/recordings_bucket.rb +258 -0
  181. data/lib/daily-ruby/models/room_properties.rb +678 -0
  182. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -0
  183. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +255 -0
  184. data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +22 -12
  185. data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +225 -0
  186. data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +259 -0
  187. data/lib/daily-ruby/models/send_app_message_request.rb +227 -0
  188. data/lib/daily-ruby/models/set_room_config_request.rb +223 -0
  189. data/lib/daily-ruby/models/set_session_data_request.rb +273 -0
  190. data/lib/daily-ruby/models/streaming_ended.rb +278 -0
  191. data/lib/daily-ruby/models/streaming_ended_payload.rb +236 -0
  192. data/lib/daily-ruby/models/streaming_error.rb +278 -0
  193. data/lib/daily-ruby/models/streaming_error_payload.rb +256 -0
  194. data/lib/daily-ruby/models/streaming_started.rb +278 -0
  195. data/lib/daily-ruby/models/streaming_started_payload.rb +245 -0
  196. data/lib/daily-ruby/models/streaming_updated.rb +278 -0
  197. data/lib/daily-ruby/models/streaming_updated_payload.rb +245 -0
  198. data/lib/daily-ruby/models/transcription_bucket.rb +246 -0
  199. data/lib/daily-ruby/models/transcription_properties.rb +283 -0
  200. data/lib/daily-ruby/models/transcription_properties_endpointing.rb +106 -0
  201. data/lib/daily-ruby/models/transcription_properties_redact.rb +107 -0
  202. data/lib/daily-ruby/models/{room_not_found_response.rb → update_permissions_request.rb} +16 -24
  203. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +13 -12
  204. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +5 -5
  205. data/lib/daily-ruby/models/update_webhook.rb +259 -0
  206. data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
  207. data/lib/daily-ruby/models/webhook.rb +339 -0
  208. data/lib/daily-ruby/version.rb +5 -5
  209. data/lib/daily-ruby.rb +101 -16
  210. data/run.sh +1 -1
  211. data/spec/api/batch_rooms_api_spec.rb +58 -0
  212. data/spec/api/domain_api_spec.rb +58 -0
  213. data/spec/api/logs_api_spec.rb +70 -0
  214. data/spec/api/meeting_tokens_api_spec.rb +20 -7
  215. data/spec/api/meetings_api_spec.rb +81 -0
  216. data/spec/api/presence_api_spec.rb +45 -0
  217. data/spec/api/recordings_api_spec.rb +86 -0
  218. data/spec/api/rooms_api_spec.rb +278 -0
  219. data/spec/api/transcript_api_spec.rb +87 -0
  220. data/spec/api/webhooks_api_spec.rb +95 -0
  221. data/spec/models/batch_room_create_request_rooms_inner_spec.rb +48 -0
  222. data/spec/models/batch_room_create_request_spec.rb +36 -0
  223. data/spec/models/batch_room_delete200_response_spec.rb +36 -0
  224. data/spec/models/create_meeting_token200_response_spec.rb +4 -4
  225. data/spec/models/create_meeting_token_request_spec.rb +36 -0
  226. data/spec/models/create_room200_response_spec.rb +72 -0
  227. data/spec/models/{room_request_spec.rb → create_room_request_spec.rb} +10 -14
  228. data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +32 -0
  229. data/spec/models/daily_live_streaming_options_spec.rb +102 -0
  230. data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +40 -0
  231. data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +21 -0
  232. data/spec/models/daily_streaming_custom_layout_config_spec.rb +58 -0
  233. data/spec/models/daily_streaming_default_layout_config_spec.rb +46 -0
  234. data/spec/models/daily_streaming_endpoint_spec.rb +36 -0
  235. data/spec/models/daily_streaming_layout_config_spec.rb +38 -0
  236. data/spec/models/daily_streaming_options_spec.rb +90 -0
  237. data/spec/models/daily_streaming_portrait_layout_config_spec.rb +52 -0
  238. data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +30 -0
  239. data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +46 -0
  240. data/spec/models/delete_transcript200_response_spec.rb +76 -0
  241. data/spec/models/{room_request_properties_spec.rb → domain_properties_spec.rb} +39 -49
  242. data/spec/models/domain_spec.rb +36 -0
  243. data/spec/models/eject200_response_spec.rb +36 -0
  244. data/spec/models/eject_request_spec.rb +36 -0
  245. data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +42 -0
  246. data/spec/models/get_domain_config200_response_config_spec.rb +144 -0
  247. data/spec/models/get_domain_config200_response_spec.rb +48 -0
  248. data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +60 -0
  249. data/spec/models/get_meeting_info200_response_data_inner_spec.rb +66 -0
  250. data/spec/models/get_meeting_info200_response_spec.rb +42 -0
  251. data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +66 -0
  252. data/spec/models/get_presence200_response_spec.rb +36 -0
  253. data/spec/models/get_recording_info200_response_spec.rb +94 -0
  254. data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +52 -0
  255. data/spec/models/get_recording_link200_response_spec.rb +42 -0
  256. data/spec/models/get_transcript_info200_response_out_params_spec.rb +48 -0
  257. data/spec/models/get_transcript_info200_response_spec.rb +82 -0
  258. data/spec/models/get_transcript_link200_response_spec.rb +48 -0
  259. data/spec/models/list_api_logs200_response_spec.rb +96 -0
  260. data/spec/models/list_recordings200_response_data_inner_spec.rb +72 -0
  261. data/spec/models/list_recordings200_response_spec.rb +42 -0
  262. data/spec/models/list_rooms200_response_data_inner_config_spec.rb +36 -0
  263. data/spec/models/list_rooms200_response_data_inner_spec.rb +72 -0
  264. data/spec/models/list_rooms200_response_spec.rb +42 -0
  265. data/spec/models/list_transcript200_response_data_inner_spec.rb +70 -0
  266. data/spec/models/list_transcript200_response_spec.rb +42 -0
  267. data/spec/models/meeting_participants_get_res_data_inner_spec.rb +66 -0
  268. data/spec/models/meeting_participants_get_res_spec.rb +42 -0
  269. data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
  270. data/spec/models/{meeting_token_request_properties_permissions_can_send_spec.rb → permissions_can_admin_spec.rb} +6 -6
  271. data/spec/models/{meeting_token_request_properties_permissions_can_admin_spec.rb → permissions_can_send_spec.rb} +6 -6
  272. data/spec/models/{meeting_token_request_properties_permissions_spec.rb → permissions_spec.rb} +10 -10
  273. data/spec/models/post_webhook_spec.rb +52 -0
  274. data/spec/models/{meeting_token_request_properties_spec.rb → properties_spec.rb} +27 -15
  275. data/spec/models/recording_error_payload_spec.rb +64 -0
  276. data/spec/models/recording_error_spec.rb +58 -0
  277. data/spec/models/recording_ready_to_download_payload_spec.rb +92 -0
  278. data/spec/models/recording_ready_to_download_spec.rb +58 -0
  279. data/spec/models/recording_started_payload_spec.rb +70 -0
  280. data/spec/models/recording_started_spec.rb +58 -0
  281. data/spec/models/recording_streaming_options_spec.rb +100 -0
  282. data/spec/models/recordings_bucket_spec.rb +60 -0
  283. data/spec/models/room_properties_spec.rb +272 -0
  284. data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +60 -0
  285. data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +66 -0
  286. data/spec/models/{room_response_spec.rb → rooms_room_name_get_res_spec.rb} +16 -10
  287. data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +66 -0
  288. data/spec/models/rooms_room_name_presence_get_res_spec.rb +42 -0
  289. data/spec/models/send_app_message_request_spec.rb +42 -0
  290. data/spec/models/set_room_config_request_spec.rb +42 -0
  291. data/spec/models/set_session_data_request_spec.rb +52 -0
  292. data/spec/models/streaming_ended_payload_spec.rb +48 -0
  293. data/spec/models/streaming_ended_spec.rb +58 -0
  294. data/spec/models/streaming_error_payload_spec.rb +60 -0
  295. data/spec/models/streaming_error_spec.rb +58 -0
  296. data/spec/models/streaming_started_payload_spec.rb +54 -0
  297. data/spec/models/streaming_started_spec.rb +58 -0
  298. data/spec/models/streaming_updated_payload_spec.rb +54 -0
  299. data/spec/models/streaming_updated_spec.rb +58 -0
  300. data/spec/models/transcription_bucket_spec.rb +54 -0
  301. data/spec/models/transcription_properties_endpointing_spec.rb +32 -0
  302. data/spec/models/transcription_properties_redact_spec.rb +32 -0
  303. data/spec/models/transcription_properties_spec.rb +78 -0
  304. data/spec/models/update_permissions_request_data_value_can_send_spec.rb +32 -0
  305. data/spec/models/update_permissions_request_data_value_spec.rb +48 -0
  306. data/spec/models/update_permissions_request_spec.rb +36 -0
  307. data/spec/models/update_webhook_spec.rb +52 -0
  308. data/spec/models/validate_meeting_token200_response_spec.rb +66 -0
  309. data/spec/models/webhook_spec.rb +100 -0
  310. data/spec/spec_helper.rb +4 -4
  311. metadata +391 -52
  312. data/daily.yaml +0 -422
  313. data/docs/MeetingTokenRequest.md +0 -18
  314. data/docs/MeetingTokenRequestProperties.md +0 -56
  315. data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
  316. data/docs/RoomApi.md +0 -227
  317. data/docs/RoomDeletedResponse.md +0 -20
  318. data/docs/RoomNotFoundResponse.md +0 -20
  319. data/docs/RoomRequestProperties.md +0 -76
  320. data/docs/RoomResponse.md +0 -28
  321. data/lib/daily-ruby/api/room_api.rb +0 -218
  322. data/lib/daily-ruby/models/room_request_properties.rb +0 -521
  323. data/script.rb +0 -35
  324. data/spec/api/room_api_spec.rb +0 -74
  325. data/spec/models/meeting_token_request_spec.rb +0 -36
  326. data/spec/models/room_deleted_response_spec.rb +0 -42
  327. data/spec/models/room_not_found_response_spec.rb +0 -42
  328. data/spec/models/server_error_response_spec.rb +0 -36
@@ -0,0 +1,18 @@
1
+ # Daily::ListRooms200ResponseDataInnerConfig
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **start_video_off** | **Boolean** | | [optional][default to true] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'daily-ruby'
13
+
14
+ instance = Daily::ListRooms200ResponseDataInnerConfig.new(
15
+ start_video_off: true
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Daily::ListTranscript200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total_count** | **Integer** | | [optional][default to 0] |
8
+ | **data** | [**Array<ListTranscript200ResponseDataInner>**](ListTranscript200ResponseDataInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'daily-ruby'
14
+
15
+ instance = Daily::ListTranscript200Response.new(
16
+ total_count: 3,
17
+ data: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # Daily::ListTranscript200ResponseDataInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transcript_id** | **String** | A unique, opaque ID for this object. You can use this ID in API calls, and in paginated list operations. | [optional] |
8
+ | **domain_id** | **String** | The Id of the domain [domain](https://docs.daily.co/reference/rest-api/your-domain). | [optional] |
9
+ | **room_id** | **String** | The id of the room [room](https://docs.daily.co/reference/rest-api/rooms). | [optional] |
10
+ | **mtg_session_id** | **String** | The meeting session ID for this transcription.[mtgSessionId](https://docs.daily.co/reference/rest-api/logs/config#mtgSessionId). | [optional] |
11
+ | **status** | **String** | | [optional] |
12
+ | **duration** | **Integer** | How many seconds long the transcription is, approximately. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'daily-ruby'
18
+
19
+ instance = Daily::ListTranscript200ResponseDataInner.new(
20
+ transcript_id: 0cb313e1-211f-4be0-833d-8c7305b19902,
21
+ domain_id: null,
22
+ room_id: 1a5afbf4-211f-4be0-833d-8c7305b19902,
23
+ mtg_session_id: 257764e6-c74e-4c30-944a-a887a03173a3,
24
+ status: t_finished,
25
+ duration: 277
26
+ )
27
+ ```
28
+
data/docs/LogsApi.md ADDED
@@ -0,0 +1,177 @@
1
+ # Daily::LogsApi
2
+
3
+ All URIs are relative to *https://api.daily.co/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**list_api_logs**](LogsApi.md#list_api_logs) | **GET** /logs/api | /logs/api |
8
+ | [**list_logs**](LogsApi.md#list_logs) | **GET** /logs | /logs |
9
+
10
+
11
+ ## list_api_logs
12
+
13
+ > <ListAPILogs200Response> list_api_logs(opts)
14
+
15
+ /logs/api
16
+
17
+ ### Examples
18
+
19
+ ```ruby
20
+ require 'time'
21
+ require 'daily-ruby'
22
+ # setup authorization
23
+ Daily.configure do |config|
24
+ # Configure API key authorization: sec0
25
+ config.api_key['sec0'] = 'YOUR API KEY'
26
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
+ # config.api_key_prefix['sec0'] = 'Bearer'
28
+ end
29
+
30
+ api_instance = Daily::LogsApi.new
31
+ opts = {
32
+ starting_after: 'starting_after_example', # String | Given the log ID, will return all records after that ID. See [pagination docs](../../rest-api#pagination)
33
+ ending_before: 'ending_before_example', # String | Given the log ID, will return all records before that ID. See [pagination docs](../../rest-api#pagination)
34
+ limit: 56, # Integer | Limit the number of logs and/or metrics returned
35
+ source: 'source_example', # String | The source of the given logs, either `\"api\"` or `\"webhook\"`
36
+ url: 'url_example' # String | Either the webhook server URL, or the API endpoint that was logged
37
+ }
38
+
39
+ begin
40
+ # /logs/api
41
+ result = api_instance.list_api_logs(opts)
42
+ p result
43
+ rescue Daily::ApiError => e
44
+ puts "Error when calling LogsApi->list_api_logs: #{e}"
45
+ end
46
+ ```
47
+
48
+ #### Using the list_api_logs_with_http_info variant
49
+
50
+ This returns an Array which contains the response data, status code and headers.
51
+
52
+ > <Array(<ListAPILogs200Response>, Integer, Hash)> list_api_logs_with_http_info(opts)
53
+
54
+ ```ruby
55
+ begin
56
+ # /logs/api
57
+ data, status_code, headers = api_instance.list_api_logs_with_http_info(opts)
58
+ p status_code # => 2xx
59
+ p headers # => { ... }
60
+ p data # => <ListAPILogs200Response>
61
+ rescue Daily::ApiError => e
62
+ puts "Error when calling LogsApi->list_api_logs_with_http_info: #{e}"
63
+ end
64
+ ```
65
+
66
+ ### Parameters
67
+
68
+ | Name | Type | Description | Notes |
69
+ | ---- | ---- | ----------- | ----- |
70
+ | **starting_after** | **String** | Given the log ID, will return all records after that ID. See [pagination docs](../../rest-api#pagination) | [optional] |
71
+ | **ending_before** | **String** | Given the log ID, will return all records before that ID. See [pagination docs](../../rest-api#pagination) | [optional] |
72
+ | **limit** | **Integer** | Limit the number of logs and/or metrics returned | [optional][default to 20] |
73
+ | **source** | **String** | The source of the given logs, either &#x60;\&quot;api\&quot;&#x60; or &#x60;\&quot;webhook\&quot;&#x60; | [optional][default to &#39;\&quot;api\&quot;&#39;] |
74
+ | **url** | **String** | Either the webhook server URL, or the API endpoint that was logged | [optional] |
75
+
76
+ ### Return type
77
+
78
+ [**ListAPILogs200Response**](ListAPILogs200Response.md)
79
+
80
+ ### Authorization
81
+
82
+ [sec0](../README.md#sec0)
83
+
84
+ ### HTTP request headers
85
+
86
+ - **Content-Type**: Not defined
87
+ - **Accept**: application/json
88
+
89
+
90
+ ## list_logs
91
+
92
+ > Object list_logs(opts)
93
+
94
+ /logs
95
+
96
+ ### Examples
97
+
98
+ ```ruby
99
+ require 'time'
100
+ require 'daily-ruby'
101
+ # setup authorization
102
+ Daily.configure do |config|
103
+ # Configure API key authorization: sec0
104
+ config.api_key['sec0'] = 'YOUR API KEY'
105
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
106
+ # config.api_key_prefix['sec0'] = 'Bearer'
107
+ end
108
+
109
+ api_instance = Daily::LogsApi.new
110
+ opts = {
111
+ include_logs: true, # Boolean | If true, you get a \"logs\" array in the results
112
+ include_metrics: true, # Boolean | If true, results have \"metrics\" array
113
+ user_session_id: 'user_session_id_example', # String | Filters by this user ID (aka \"participant ID\"). Required if `mtgSessionId` is not present in the request
114
+ mtg_session_id: 'mtg_session_id_example', # String | Filters by this Session ID. Required if `userSessionId` is not present in the request
115
+ log_level: 'ERROR', # String | Filters by the given log level name
116
+ order: 'order_example', # String | ASC or DESC, case insensitive
117
+ start_time: 56, # Integer | A JS timestamp (ms since epoch in UTC)
118
+ end_time: 56, # Integer | A JS timestamp (ms since epoch), defaults to the current time
119
+ limit: 56, # Integer | Limit the number of logs and/or metrics returned
120
+ offset: 56 # Integer | Number of records to skip before returning results
121
+ }
122
+
123
+ begin
124
+ # /logs
125
+ result = api_instance.list_logs(opts)
126
+ p result
127
+ rescue Daily::ApiError => e
128
+ puts "Error when calling LogsApi->list_logs: #{e}"
129
+ end
130
+ ```
131
+
132
+ #### Using the list_logs_with_http_info variant
133
+
134
+ This returns an Array which contains the response data, status code and headers.
135
+
136
+ > <Array(Object, Integer, Hash)> list_logs_with_http_info(opts)
137
+
138
+ ```ruby
139
+ begin
140
+ # /logs
141
+ data, status_code, headers = api_instance.list_logs_with_http_info(opts)
142
+ p status_code # => 2xx
143
+ p headers # => { ... }
144
+ p data # => Object
145
+ rescue Daily::ApiError => e
146
+ puts "Error when calling LogsApi->list_logs_with_http_info: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ | Name | Type | Description | Notes |
153
+ | ---- | ---- | ----------- | ----- |
154
+ | **include_logs** | **Boolean** | If true, you get a \&quot;logs\&quot; array in the results | [optional][default to true] |
155
+ | **include_metrics** | **Boolean** | If true, results have \&quot;metrics\&quot; array | [optional][default to false] |
156
+ | **user_session_id** | **String** | Filters by this user ID (aka \&quot;participant ID\&quot;). Required if &#x60;mtgSessionId&#x60; is not present in the request | [optional] |
157
+ | **mtg_session_id** | **String** | Filters by this Session ID. Required if &#x60;userSessionId&#x60; is not present in the request | [optional] |
158
+ | **log_level** | **String** | Filters by the given log level name | [optional] |
159
+ | **order** | **String** | ASC or DESC, case insensitive | [optional][default to &#39;DESC&#39;] |
160
+ | **start_time** | **Integer** | A JS timestamp (ms since epoch in UTC) | [optional] |
161
+ | **end_time** | **Integer** | A JS timestamp (ms since epoch), defaults to the current time | [optional] |
162
+ | **limit** | **Integer** | Limit the number of logs and/or metrics returned | [optional][default to 20] |
163
+ | **offset** | **Integer** | Number of records to skip before returning results | [optional][default to 0] |
164
+
165
+ ### Return type
166
+
167
+ **Object**
168
+
169
+ ### Authorization
170
+
171
+ [sec0](../README.md#sec0)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json
177
+
@@ -0,0 +1,20 @@
1
+ # Daily::MeetingParticipantsGetRes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total_count** | **Integer** | | [optional] |
8
+ | **data** | [**Array&lt;MeetingParticipantsGetResDataInner&gt;**](MeetingParticipantsGetResDataInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'daily-ruby'
14
+
15
+ instance = Daily::MeetingParticipantsGetRes.new(
16
+ total_count: 5,
17
+ data: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # Daily::MeetingParticipantsGetResDataInner
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::MeetingParticipantsGetResDataInner.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
+
@@ -4,16 +4,17 @@ All URIs are relative to *https://api.daily.co/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_meeting_token**](MeetingTokensApi.md#create_meeting_token) | **POST** /meeting-tokens | Creates a meeting token |
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 |
8
9
 
9
10
 
10
11
  ## create_meeting_token
11
12
 
12
13
  > <CreateMeetingToken200Response> create_meeting_token(opts)
13
14
 
14
- Creates a meeting token
15
+ meeting-tokens
15
16
 
16
- A POST request to /meeting-tokens creates a new meeting token.
17
+ Create a meeting token
17
18
 
18
19
  ### Examples
19
20
 
@@ -22,17 +23,19 @@ require 'time'
22
23
  require 'daily-ruby'
23
24
  # setup authorization
24
25
  Daily.configure do |config|
25
- # Configure Bearer authorization: bearerAuth
26
- config.access_token = 'YOUR_BEARER_TOKEN'
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'
27
30
  end
28
31
 
29
32
  api_instance = Daily::MeetingTokensApi.new
30
33
  opts = {
31
- meeting_token_request: Daily::MeetingTokenRequest.new # MeetingTokenRequest | A room object
34
+ create_meeting_token_request: Daily::CreateMeetingTokenRequest.new # CreateMeetingTokenRequest |
32
35
  }
33
36
 
34
37
  begin
35
- # Creates a meeting token
38
+ # meeting-tokens
36
39
  result = api_instance.create_meeting_token(opts)
37
40
  p result
38
41
  rescue Daily::ApiError => e
@@ -48,7 +51,7 @@ This returns an Array which contains the response data, status code and headers.
48
51
 
49
52
  ```ruby
50
53
  begin
51
- # Creates a meeting token
54
+ # meeting-tokens
52
55
  data, status_code, headers = api_instance.create_meeting_token_with_http_info(opts)
53
56
  p status_code # => 2xx
54
57
  p headers # => { ... }
@@ -62,7 +65,7 @@ end
62
65
 
63
66
  | Name | Type | Description | Notes |
64
67
  | ---- | ---- | ----------- | ----- |
65
- | **meeting_token_request** | [**MeetingTokenRequest**](MeetingTokenRequest.md) | A room object | [optional] |
68
+ | **create_meeting_token_request** | [**CreateMeetingTokenRequest**](CreateMeetingTokenRequest.md) | | [optional] |
66
69
 
67
70
  ### Return type
68
71
 
@@ -70,10 +73,85 @@ end
70
73
 
71
74
  ### Authorization
72
75
 
73
- [bearerAuth](../README.md#bearerAuth)
76
+ [sec0](../README.md#sec0)
74
77
 
75
78
  ### HTTP request headers
76
79
 
77
80
  - **Content-Type**: application/json
78
81
  - **Accept**: application/json
79
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 &#x60;nbf&#x60; 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
+
@@ -0,0 +1,247 @@
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 &#x60;participant_id&#x60; | [optional] |
233
+ | **joined_before** | **String** | limit to participants who joined before the given participant, identified by &#x60;participant_id&#x60; | [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
+