zoom_rb 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (240) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +1 -1
  3. data/CHANGELOG.md +15 -0
  4. data/Gemfile.lock +83 -53
  5. data/Makefile +1 -1
  6. data/README.md +22 -4
  7. data/lib/zoom/actions/account.rb +33 -58
  8. data/lib/zoom/actions/billing.rb +38 -0
  9. data/lib/zoom/actions/dashboard.rb +33 -0
  10. data/lib/zoom/actions/groups.rb +17 -0
  11. data/lib/zoom/actions/im/chat.rb +16 -4
  12. data/lib/zoom/actions/meeting.rb +48 -40
  13. data/lib/zoom/actions/phone.rb +27 -0
  14. data/lib/zoom/actions/recording.rb +25 -16
  15. data/lib/zoom/actions/report.rb +9 -34
  16. data/lib/zoom/actions/roles.rb +41 -0
  17. data/lib/zoom/actions/sip_audio.rb +75 -0
  18. data/lib/zoom/actions/token.rb +35 -0
  19. data/lib/zoom/actions/user.rb +50 -64
  20. data/lib/zoom/actions/webinar.rb +33 -40
  21. data/lib/zoom/client.rb +27 -7
  22. data/lib/zoom/clients/oauth.rb +46 -3
  23. data/lib/zoom/constants/account/options/pay_modes.rb +12 -0
  24. data/lib/zoom/constants/account/settings/permitted_settings.rb +125 -0
  25. data/lib/zoom/constants/constants.rb +35 -0
  26. data/lib/zoom/constants/meeting/approval_types.rb +11 -0
  27. data/lib/zoom/constants/meeting/audio_type.rb +11 -0
  28. data/lib/zoom/constants/meeting/auto_recording.rb +11 -0
  29. data/lib/zoom/constants/meeting/registration_types.rb +11 -0
  30. data/lib/zoom/constants/meeting/types.rb +12 -0
  31. data/lib/zoom/constants/recurrence/monthly_weeks.rb +13 -0
  32. data/lib/zoom/constants/recurrence/types.rb +11 -0
  33. data/lib/zoom/constants/recurrence/weekly_days.rb +15 -0
  34. data/lib/zoom/constants/user/create_types.rb +12 -0
  35. data/lib/zoom/constants/user/types.rb +11 -0
  36. data/lib/zoom/constants/webinar/approval_types.rb +11 -0
  37. data/lib/zoom/constants/webinar/audio_type.rb +11 -0
  38. data/lib/zoom/constants/webinar/auto_recording.rb +11 -0
  39. data/lib/zoom/constants/webinar/registration_types.rb +11 -0
  40. data/lib/zoom/constants/webinar/types.rb +11 -0
  41. data/lib/zoom/error.rb +9 -1
  42. data/lib/zoom/params.rb +51 -12
  43. data/lib/zoom/utils.rb +13 -8
  44. data/lib/zoom/version.rb +2 -2
  45. data/lib/{zoom.rb → zoom_rb.rb} +8 -3
  46. data/spec/fixtures/account/create.json +6 -0
  47. data/spec/{lib/zoom/actions/report/hosts_report_spec.rb → fixtures/account/delete.json} +0 -0
  48. data/spec/fixtures/account/get.json +13 -0
  49. data/spec/fixtures/account/managed_domains.json +7 -0
  50. data/spec/fixtures/account/options_update.json +7 -0
  51. data/spec/fixtures/account/settings_get.json +1 -1
  52. data/spec/{lib/zoom/actions/report/meeting_polls_report_spec.rb → fixtures/account/settings_update.json} +0 -0
  53. data/spec/fixtures/account/trusted_domains.json +3 -0
  54. data/spec/fixtures/billing/get.json +12 -0
  55. data/spec/fixtures/billing/plans_list.json +44 -0
  56. data/spec/fixtures/billing/plans_subscribe.json +30 -0
  57. data/spec/fixtures/billing/plans_usage.json +30 -0
  58. data/spec/{lib/zoom/actions/report/meetings_report_spec.rb → fixtures/billing/update.json} +0 -0
  59. data/spec/fixtures/chat/channels/get.json +5 -0
  60. data/spec/fixtures/chat/users/channels/list.json +17 -0
  61. data/spec/fixtures/dashboard/crc.json +104 -0
  62. data/spec/fixtures/dashboard/meeting/detail.json +20 -0
  63. data/spec/fixtures/dashboard/meeting/participants.json +56 -0
  64. data/spec/fixtures/{metrics_meetings.json → dashboard/meetings.json} +1 -2
  65. data/spec/fixtures/error/channel_not_found.json +4 -0
  66. data/spec/fixtures/error/group_does_not_exist.json +4 -0
  67. data/spec/fixtures/error/group_not_belong_to_account.json +4 -0
  68. data/spec/fixtures/error/meeting_not_exist.json +4 -0
  69. data/spec/fixtures/error/next_page_token_invalid.json +4 -0
  70. data/spec/fixtures/error/unauthorized_request.json +4 -0
  71. data/spec/fixtures/error/user_not_exist.json +1 -1
  72. data/spec/fixtures/groups/get.json +5 -0
  73. data/spec/fixtures/groups/list.json +15 -0
  74. data/spec/fixtures/meeting/add_registrant.json +7 -0
  75. data/spec/fixtures/meeting/create.json +31 -16
  76. data/spec/fixtures/meeting/get.json +43 -33
  77. data/spec/fixtures/meeting/invitation.json +3 -0
  78. data/spec/fixtures/meeting/live_stream/errors/meeting_not_found.json +4 -0
  79. data/spec/fixtures/meeting/live_stream/errors/missing_field.json +10 -0
  80. data/spec/fixtures/{recording_get.json → recording/get.json} +17 -6
  81. data/spec/fixtures/recording/list.json +53 -0
  82. data/spec/fixtures/recording/settings/get.json +7 -0
  83. data/spec/fixtures/report/meeting.json +19 -0
  84. data/spec/fixtures/report/meeting/participants.json +17 -0
  85. data/spec/fixtures/roles/assign.json +4 -0
  86. data/spec/fixtures/roles/create.json +9 -0
  87. data/spec/fixtures/roles/get.json +11 -0
  88. data/spec/fixtures/roles/list.json +29 -0
  89. data/spec/fixtures/roles/members.json +15 -0
  90. data/spec/fixtures/sip_audio/sip_trunks_get.json +19 -0
  91. data/spec/fixtures/sip_audio/sip_trunks_internal_callout_countries_add.json +10 -0
  92. data/spec/fixtures/sip_audio/sip_trunks_internal_callout_country_list.json +15 -0
  93. data/spec/fixtures/sip_audio/sip_trunks_internal_numbers_add.json +14 -0
  94. data/spec/fixtures/sip_audio/sip_trunks_internal_numbers_list.json +16 -0
  95. data/spec/fixtures/sip_audio/sip_trunks_numbers_assign.json +7 -0
  96. data/spec/fixtures/sip_audio/sip_trunks_numbers_list.json +9 -0
  97. data/spec/fixtures/token/access_token.json +7 -0
  98. data/spec/fixtures/token/data_compliance.json +8 -0
  99. data/spec/fixtures/token/refresh_token.json +7 -0
  100. data/spec/fixtures/user/assistant/create.json +4 -0
  101. data/spec/fixtures/user/assistant/list.json +8 -0
  102. data/spec/fixtures/user/email_check.json +3 -0
  103. data/spec/fixtures/user/get.json +35 -21
  104. data/spec/fixtures/user/list.json +17 -13
  105. data/spec/fixtures/user/permissions.json +65 -0
  106. data/spec/fixtures/user/recording/list.json +50 -0
  107. data/spec/fixtures/user/scheduler/list.json +12 -0
  108. data/spec/fixtures/user/token.json +3 -0
  109. data/spec/{lib/zoom/actions/report/telephone_report_spec.rb → fixtures/user/update_password.json} +0 -0
  110. data/spec/fixtures/user/vanity_name.json +3 -0
  111. data/spec/fixtures/webinar/panelist_list.json +12 -0
  112. data/spec/fixtures/webinar/poll_get.json +13 -0
  113. data/spec/fixtures/webinar/polls_list.json +16 -0
  114. data/spec/lib/zoom/actions/account/create_spec.rb +68 -0
  115. data/spec/lib/zoom/actions/account/delete_spec.rb +44 -0
  116. data/spec/lib/zoom/actions/account/get_locked_settings_spec.rb +43 -0
  117. data/spec/lib/zoom/actions/account/get_spec.rb +43 -0
  118. data/spec/lib/zoom/actions/account/managed_domains_spec.rb +43 -0
  119. data/spec/lib/zoom/actions/account/options_update_spec.rb +58 -0
  120. data/spec/lib/zoom/actions/account/settings_get_spec.rb +5 -5
  121. data/spec/lib/zoom/actions/account/settings_update_spec.rb +55 -0
  122. data/spec/lib/zoom/actions/account/trusted_domains_spec.rb +43 -0
  123. data/spec/lib/zoom/actions/billing/get_spec.rb +48 -0
  124. data/spec/lib/zoom/actions/billing/plans_list_spec.rb +48 -0
  125. data/spec/lib/zoom/actions/billing/plans_subscribe_spec.rb +69 -0
  126. data/spec/lib/zoom/actions/billing/plans_usage_spec.rb +48 -0
  127. data/spec/lib/zoom/actions/billing/update_spec.rb +64 -0
  128. data/spec/lib/zoom/actions/dashboard/crc_spec.rb +33 -0
  129. data/spec/lib/zoom/actions/dashboard/meeting_details_spec.rb +62 -0
  130. data/spec/lib/zoom/actions/dashboard/meeting_participants_spec.rb +74 -0
  131. data/spec/lib/zoom/actions/dashboard/meetings_spec.rb +63 -0
  132. data/spec/lib/zoom/actions/{group → groups}/create_spec.rb +0 -0
  133. data/spec/lib/zoom/actions/{group → groups}/delete_spec.rb +0 -0
  134. data/spec/lib/zoom/actions/{group → groups}/edit_spec.rb +0 -0
  135. data/spec/lib/zoom/actions/groups/get_spec.rb +62 -0
  136. data/spec/lib/zoom/actions/groups/list_spec.rb +47 -0
  137. data/spec/lib/zoom/actions/{group → groups}/member/add_spec.rb +0 -0
  138. data/spec/lib/zoom/actions/{group → groups}/member/delete_spec.rb +0 -0
  139. data/spec/lib/zoom/actions/{group → groups/member}/list_spec.rb +0 -0
  140. data/spec/lib/zoom/actions/im/chat/channels/get_spec.rb +64 -0
  141. data/spec/lib/zoom/actions/im/chat/users/channels/get_spec.rb +45 -0
  142. data/spec/lib/zoom/actions/meeting/add_registrant_spec.rb +30 -0
  143. data/spec/lib/zoom/actions/meeting/create_spec.rb +13 -13
  144. data/spec/lib/zoom/actions/meeting/delete_spec.rb +17 -34
  145. data/spec/lib/zoom/actions/meeting/get_spec.rb +21 -31
  146. data/spec/lib/zoom/actions/meeting/invitation_spec.rb +48 -0
  147. data/spec/lib/zoom/actions/meeting/livestream_spec.rb +61 -0
  148. data/spec/lib/zoom/actions/meeting/update_spec.rb +48 -42
  149. data/spec/lib/zoom/actions/recording/file_delete_spec.rb +33 -0
  150. data/spec/lib/zoom/actions/recording/get_spec.rb +19 -35
  151. data/spec/lib/zoom/actions/recording/list_spec.rb +20 -26
  152. data/spec/lib/zoom/actions/recording/settings/get_spec.rb +42 -0
  153. data/spec/lib/zoom/actions/recording/settings/update_spec.rb +32 -0
  154. data/spec/lib/zoom/actions/report/meeting_details_report_spec.rb +44 -0
  155. data/spec/lib/zoom/actions/report/meeting_participants_report_spec.rb +44 -0
  156. data/spec/lib/zoom/actions/roles/assign_spec.rb +25 -0
  157. data/spec/lib/zoom/actions/roles/create_spec.rb +55 -0
  158. data/spec/lib/zoom/actions/roles/get_spec.rb +37 -0
  159. data/spec/lib/zoom/actions/roles/list_spec.rb +28 -0
  160. data/spec/lib/zoom/actions/roles/members_spec.rb +35 -0
  161. data/spec/lib/zoom/actions/roles/unassign_spec.rb +34 -0
  162. data/spec/lib/zoom/actions/sip_audio/add_trunks_internal_callout_countries_spec.rb +25 -0
  163. data/spec/lib/zoom/actions/sip_audio/add_trunks_internal_numbers_spec.rb +25 -0
  164. data/spec/lib/zoom/actions/sip_audio/assign_numbers_spec.rb +29 -0
  165. data/spec/lib/zoom/actions/sip_audio/delete_internal_callout_countries_spec.rb +44 -0
  166. data/spec/lib/zoom/actions/sip_audio/delete_trunk_internal_numbers_spec.rb +44 -0
  167. data/spec/lib/zoom/actions/sip_audio/delete_trunk_numbers_spec.rb +44 -0
  168. data/spec/lib/zoom/actions/sip_audio/delete_trunks_spec.rb +44 -0
  169. data/spec/lib/zoom/actions/sip_audio/get_trunks_spec.rb +50 -0
  170. data/spec/lib/zoom/actions/sip_audio/list_trunk_numbers_spec.rb +46 -0
  171. data/spec/lib/zoom/actions/sip_audio/list_trunks_internal_callout_country_spec.rb +53 -0
  172. data/spec/lib/zoom/actions/sip_audio/list_trunks_internal_numbers_spec.rb +53 -0
  173. data/spec/lib/zoom/actions/token/access_token_spec.rb +26 -0
  174. data/spec/lib/zoom/actions/token/data_compliance_spec.rb +41 -0
  175. data/spec/lib/zoom/actions/token/refresh_token_spec.rb +26 -0
  176. data/spec/lib/zoom/actions/user/assistant/create_spec.rb +59 -0
  177. data/spec/lib/zoom/actions/user/assistant/delete_all_spec.rb +44 -0
  178. data/spec/lib/zoom/actions/user/assistant/delete_spec.rb +48 -1
  179. data/spec/lib/zoom/actions/user/assistant/list_spec.rb +53 -0
  180. data/spec/lib/zoom/actions/user/email_check_spec.rb +43 -0
  181. data/spec/lib/zoom/actions/user/get_spec.rb +10 -1
  182. data/spec/lib/zoom/actions/user/list_recordings_spec.rb +57 -0
  183. data/spec/lib/zoom/actions/user/list_spec.rb +32 -1
  184. data/spec/lib/zoom/actions/user/permissions_spec.rb +52 -0
  185. data/spec/lib/zoom/actions/user/scheduler/delete_all_spec.rb +44 -0
  186. data/spec/lib/zoom/actions/user/scheduler/delete_spec.rb +50 -0
  187. data/spec/lib/zoom/actions/user/scheduler/list_spec.rb +53 -0
  188. data/spec/lib/zoom/actions/user/settings_update_spec.rb +50 -0
  189. data/spec/lib/zoom/actions/user/token_spec.rb +61 -0
  190. data/spec/lib/zoom/actions/user/update_password_spec.rb +29 -0
  191. data/spec/lib/zoom/actions/user/vanity_name_spec.rb +51 -0
  192. data/spec/lib/zoom/actions/webinar/panelist_list_spec.rb +44 -0
  193. data/spec/lib/zoom/actions/webinar/poll_get_spec.rb +47 -0
  194. data/spec/lib/zoom/actions/webinar/polls_list_spec.rb +44 -0
  195. data/spec/lib/zoom/client_spec.rb +48 -1
  196. data/spec/lib/zoom/params_spec.rb +23 -3
  197. data/spec/lib/zoom/utils_spec.rb +12 -7
  198. data/spec/spec_helper.rb +15 -2
  199. data/zoom_rb.gemspec +1 -1
  200. metadata +295 -108
  201. data/lib/zoom/actions/group.rb +0 -8
  202. data/lib/zoom/actions/metrics.rb +0 -27
  203. data/lib/zoom/constants.rb +0 -103
  204. data/spec/fixtures/meeting/delete.json +0 -4
  205. data/spec/fixtures/meeting/end.json +0 -4
  206. data/spec/fixtures/meeting/live.json +0 -32
  207. data/spec/fixtures/meeting/register.json +0 -7
  208. data/spec/fixtures/meeting/update.json +0 -4
  209. data/spec/fixtures/metrics_crc.json +0 -105
  210. data/spec/fixtures/metrics_meetingdetail.json +0 -32
  211. data/spec/fixtures/recording_delete.json +0 -4
  212. data/spec/fixtures/recording_list.json +0 -51
  213. data/spec/fixtures/user/assistant/delete.json +0 -5
  214. data/spec/lib/zoom/actions/group/get_spec.rb +0 -3
  215. data/spec/lib/zoom/actions/group/member/list_spec.rb +0 -3
  216. data/spec/lib/zoom/actions/meeting/end_spec.rb +0 -55
  217. data/spec/lib/zoom/actions/meeting/live_spec.rb +0 -43
  218. data/spec/lib/zoom/actions/meeting/register_spec.rb +0 -45
  219. data/spec/lib/zoom/actions/metrics/crc_spec.rb +0 -48
  220. data/spec/lib/zoom/actions/metrics/im_spec.rb +0 -3
  221. data/spec/lib/zoom/actions/metrics/meetingdetail_spec.rb +0 -51
  222. data/spec/lib/zoom/actions/metrics/meetings_spec.rb +0 -61
  223. data/spec/lib/zoom/actions/metrics/qos_spec.rb +0 -3
  224. data/spec/lib/zoom/actions/metrics/webinardetail_spec.rb +0 -3
  225. data/spec/lib/zoom/actions/metrics/webinars_spec.rb +0 -3
  226. data/spec/lib/zoom/actions/metrics/zoomroomdetail_spec.rb +0 -3
  227. data/spec/lib/zoom/actions/metrics/zoomrooms_spec.rb +0 -3
  228. data/spec/lib/zoom/actions/recording/delete_spec.rb +0 -52
  229. data/spec/lib/zoom/actions/recording/mc_list_spec.rb +0 -51
  230. data/spec/lib/zoom/actions/report/webinar_details_report_spec.rb +0 -0
  231. data/spec/lib/zoom/actions/report/webinar_polls_report_spec.rb +0 -0
  232. data/spec/lib/zoom/actions/report/webinar_qa_report_spec.rb +0 -0
  233. data/spec/lib/zoom/actions/user/activate_spec.rb +0 -3
  234. data/spec/lib/zoom/actions/user/checkemail_spec.rb +0 -3
  235. data/spec/lib/zoom/actions/user/checkzpk_spec.rb +0 -3
  236. data/spec/lib/zoom/actions/user/deactivate_spec.rb +0 -3
  237. data/spec/lib/zoom/actions/user/revoketoken_spec.rb +0 -3
  238. data/spec/lib/zoom/actions/user/updatepassword_spec.rb +0 -3
  239. data/spec/lib/zoom/actions/webinar/panelists_spec.rb +0 -3
  240. data/spec/lib/zoom/actions/webinar/polls_spec.rb +0 -3
@@ -2,10 +2,9 @@
2
2
  "from": "2016-09-26",
3
3
  "to": "2016-09-27",
4
4
  "page_count": 19,
5
- "page_number": 1,
6
5
  "page_size": 1,
7
6
  "total_records": 1,
8
- "type": "Live Meetings",
7
+ "next_page_token": "string",
9
8
  "meetings": [{
10
9
  "uuid": "t13b6hjVQXybvGKyeHC96w==",
11
10
  "id": 3035575664,
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 4130,
3
+ "message": "Channel does not exist: 1000000"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 4130,
3
+ "message": "A group with this 999999 does not exist."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 1010,
3
+ "message": "Group does not belong to your account."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code":300,
3
+ "message":"Invalid meeting id."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 300,
3
+ "message": "The next page token is either invalid or has expired."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 400,
3
+ "message": "Unauthorized request. You do not have permission to access this user’s channel information."
4
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "code": 1001,
3
- "message": "User not exist: foo"
3
+ "message": "User does not exist: foo"
4
4
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "id": "2",
3
+ "name": "String",
4
+ "total_members": 12
5
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "total_records": 2,
3
+ "groups": [
4
+ {
5
+ "id": "0",
6
+ "name": "String",
7
+ "total_members": 10
8
+ },
9
+ {
10
+ "id": "1",
11
+ "name": "String",
12
+ "total_members": 20
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "1",
3
+ "join_url": "https://www.zoom.us/w/869275230",
4
+ "registrant_id": "555",
5
+ "start_time": "2016-02-21T04:00:00Z",
6
+ "topic": "meeting registration"
7
+ }
@@ -1,29 +1,44 @@
1
1
  {
2
- "uuid": "unique_id",
3
- "id": "123456789",
4
- "host_id": "8MheRP7ZT-2hDySevBj5Gg",
5
- "topic": "Foo",
2
+ "uuid": "gFYYRVHMRdSWzGZX/6LsJA==",
3
+ "id": 91538056781,
4
+ "host_id": "r55v2FgSTVmDmVot18DX3A",
5
+ "topic": "Zoom Meeting Topic",
6
6
  "type": 2,
7
- "start_time": "2018-10-09T05:49:21Z",
8
- "duration": 60,
9
- "timezone": "America/Los_Angeles",
10
- "created_at": "2018-10-09T05:49:21Z",
11
- "start_url": "https://zoom.us/s/123456789?zak=xxxxxx",
12
- "join_url": "https://zoom.us/j/123456789",
7
+ "status": "waiting",
8
+ "start_time": "2020-05-05T21:00:00Z",
9
+ "duration": 30,
10
+ "timezone": "America/New_York",
11
+ "created_at": "2020-05-05T21:29:12Z",
12
+ "start_url": "https://company.zoom.us/s/91538056781?zak=eyJ6bV9za20iOiXXXXvssdfa0iLCJhbGXUzI1NiIsInR5cCI6IkpXVC3ks.eyJhdWQiOiJjbGllbnQiLCJ1aWQXDV2MXnU1RWbURMAdkaThEWDNBIiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImNsdCI6MCwic3RrIjoicDJwdVdtOEszQkFxLV9ISHdEcHhKVHBmMFVua01ta3E0c09OY09DSldQNC5CZ1ZzWTBoYVdtWlRZekJHU3pGbGNuaDJha294VkVkTllrTjBOMnhMY0hobVdTOW1kSE0wVG5saVdtVXZVV2d3ZWpabVdFTlBLMjAyU1ZSR1IzSlRjMnRaZEVsM2QxQmtUSEJwUmk5Q2VrbHdUMDF0TkRKMmRsWjJSaXQzWkdNMVRFTkhWVWgyZEZKbmFtWklOVzg5UURBME0yVXpaVEF6TmpBNE9EWmpNamM0TXpaaE5HWTNaV1EyTXpZM1pqSTNORFV3T0RGak1ETXhaREExT1RNME56XXXpTmpCa05qUXdOemhpT1dVQURETkRRa0YxYjJsWlV6TnpQUUFEWVhjeCIsImV4cCI6MTU4ODcyMTM1MiwiaWF0IjoxNTg4NzE0MTUyLCJhaWQiOiJ4ekl1WmpGRlEwaTVEeFJDQU5qc3JoiiY2lkIjoiIn0.vLIasdfas9UdWLd72pXcmoPXH8fNBokin6MvnSbHzMoY",
13
+ "join_url": "https://company.zoom.us/j/91538056781",
13
14
  "settings": {
14
- "host_video": false,
15
- "participant_video": false,
15
+ "host_video": true,
16
+ "participant_video": true,
16
17
  "cn_meeting": false,
17
18
  "in_meeting": false,
18
19
  "join_before_host": true,
19
- "mute_upon_entry": false,
20
+ "mute_upon_entry": true,
20
21
  "watermark": false,
21
22
  "use_pmi": false,
22
23
  "approval_type": 2,
23
24
  "audio": "both",
24
- "auto_recording": "none",
25
+ "auto_recording": "cloud",
25
26
  "enforce_login": false,
26
27
  "enforce_login_domains": "",
27
- "alternative_hosts": ""
28
+ "alternative_hosts": "",
29
+ "close_registration": false,
30
+ "registrants_confirmation_email": true,
31
+ "waiting_room": true,
32
+ "global_dial_in_countries": ["US"],
33
+ "global_dial_in_numbers": [
34
+ {"country_name": "US", "city": "San Jose", "number": "+1 5559006833", "type": "toll", "country": "US"},
35
+ {"country_name": "US", "city": "Houston", "number": "+1 5552487799", "type": "toll", "country": "US"},
36
+ {"country_name": "US", "city": "Tacoma", "number": "+1 5552158782", "type": "toll", "country": "US"},
37
+ {"country_name": "US", "city": "Chicago", "number": "+1 5556266799", "type": "toll", "country": "US"},
38
+ {"country_name": "US", "city": "New York", "number": "+1 5558769923", "type": "toll", "country": "US"},
39
+ {"country_name": "US", "city": "Germantown", "number": "+1 5557158592", "type": "toll", "country": "US"}
40
+ ],
41
+ "registrants_email_notification": true,
42
+ "meeting_authentication": false
28
43
  }
29
- }
44
+ }
@@ -1,34 +1,44 @@
1
1
  {
2
- "uuid": "unique_id",
3
- "id": "123456789",
4
- "host_id": "dh23hdu23gd",
5
- "topic": "Zoom Meeting",
6
- "password": "",
7
- "h323_password": "",
8
- "status": 0,
9
- "option_jbh": false,
10
- "option_start_type": "video",
11
- "option_host_video": true,
12
- "option_participants_video": true,
13
- "option_cn_meeting": false,
14
- "option_enforce_login": false,
15
- "option_enforce_login_domains": "",
16
- "option_in_meeting": false,
17
- "option_audio": "both",
18
- "option_alternative_hosts": "",
19
- "option_use_pmi": false,
20
- "type": 8,
21
- "start_time": "2012-11-25T12:00:00Z",
22
- "duration": 0,
23
- "timezone": "Asia/Hong_Kong",
24
- "start_url": "https://zoom.us/s/123456789?zpk=hs65q23kd9sqliy612h23k",
25
- "join_url": "https://zoom.us/j/123456789",
26
- "created_at": "2016-12-20T02:51:42Z",
27
- "occurrences": [
28
- {
29
- "occurrence_id": "1483210260000",
30
- "start_time": "2017-01-01T02:51:00Z",
31
- "duration": 60
32
- }
33
- ]
34
- }
2
+ "uuid": "gFYYRVHMRdSWzGZX/6LsJA==",
3
+ "id": 91538056781,
4
+ "host_id": "r55v2FgSTVmDmVot18DX3A",
5
+ "topic": "Zoom Meeting Topic",
6
+ "type": 2,
7
+ "status": "waiting",
8
+ "start_time": "2020-05-05T21:00:00Z",
9
+ "duration": 30,
10
+ "timezone": "America/New_York",
11
+ "created_at": "2020-05-05T21:29:12Z",
12
+ "start_url": "https://company.zoom.us/s/91538056781?zak=eyJ6bV...",
13
+ "join_url": "https://company.zoom.us/j/91538056781",
14
+ "settings": {
15
+ "host_video": true,
16
+ "participant_video": true,
17
+ "cn_meeting": false,
18
+ "in_meeting": false,
19
+ "join_before_host": true,
20
+ "mute_upon_entry": true,
21
+ "watermark": false,
22
+ "use_pmi": false,
23
+ "approval_type": 2,
24
+ "audio": "both",
25
+ "auto_recording": "cloud",
26
+ "enforce_login": false,
27
+ "enforce_login_domains": "",
28
+ "alternative_hosts": "",
29
+ "close_registration": false,
30
+ "registrants_confirmation_email": true,
31
+ "waiting_room": true,
32
+ "global_dial_in_countries": ["US"],
33
+ "global_dial_in_numbers": [
34
+ {"country_name": "US", "city": "San Jose", "number": "+1 5559006833", "type": "toll", "country": "US"},
35
+ {"country_name": "US", "city": "Houston", "number": "+1 5552487799", "type": "toll", "country": "US"},
36
+ {"country_name": "US", "city": "Tacoma", "number": "+1 5552158782", "type": "toll", "country": "US"},
37
+ {"country_name": "US", "city": "Chicago", "number": "+1 5556266799", "type": "toll", "country": "US"},
38
+ {"country_name": "US", "city": "New York", "number": "+1 5558769923", "type": "toll", "country": "US"},
39
+ {"country_name": "US", "city": "Germantown", "number": "+1 5557158592", "type": "toll", "country": "US"}
40
+ ],
41
+ "registrants_email_notification": true,
42
+ "meeting_authentication": false
43
+ }
44
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "invitation": "Team Member is inviting you to a scheduled Zoom meeting.\r\n\r\nTopic: Test meeting\r\nTime: Sep 17, 2020 03:49 PM Kiev\r\n\r\nJoin Zoom Meeting\r\nhttps://zoom.us/j/9451234446749?pwd=K3AwTGtdUVdqSnNVWnd6MaZxZnZEdz09\r\n\r\nMeeting ID: 943 1234 6721\r\nPasscode: DgA4yb\r\n\r\n"
3
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 3001,
3
+ "message": "Meeting 73181620370 is not found or has expired."
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "code": 300,
3
+ "errors": [
4
+ {
5
+ "field": "stream_key",
6
+ "message": "Missing field."
7
+ }
8
+ ],
9
+ "message": "Validation Failed."
10
+ }
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "uuid": "ucc69C82Q5mTNyCRWE29Aw==",
3
- "meeting_number": 933560800,
4
- "host_id": "kEFomHcIRgqxZT8D086O6A",
3
+ "id": 933560800,
5
4
  "account_id": "NyEqCEoYSNOr4jLMHoO2tA",
6
- "topic": "vgfdsffdfdsf s3423432",
5
+ "host_id": "kEFomHcIRgqxZT8D086O6A",
6
+ "topic": "Meeting Topic Name",
7
+ "type": 2,
7
8
  "start_time": "2015-04-13T01:06:04Z",
8
9
  "timezone": "UTC",
9
10
  "duration": 1,
10
11
  "total_size": 686496,
11
12
  "recording_count": 3,
13
+ "share_url": "https://rocky.zoom.us/rec/share/yOhZBZD8r3FIX6_Drx6ARpYDDNz1aaa82nQe_6EEzUsi9ZSHG6zz31U44RKZyRLn",
12
14
  "recording_files": [{
13
15
  "id": "654234c0-ca6e-4dfd-a09d-54f85951658f",
14
16
  "meeting_id": "ucc69C82Q5mTNyCRWE29Aw==",
@@ -16,7 +18,10 @@
16
18
  "recording_end": "2015-04-13T01:06:47Z",
17
19
  "file_type": "MP4",
18
20
  "file_size": 438482,
19
- "play_url": "https://rocky.zoom.us/recording/play/654234c0-ca6e-4dfd-a09d-54f85951658f"
21
+ "play_url": "https://rocky.zoom.us/recording/play/654234c0-ca6e-4dfd-a09d-54f85951658f",
22
+ "download_url": "https://rocky.zoom.us/rec/download/654234c0-ca6e-4dfd-a09d-54f85951658f-qZexUzhACIGZwGuYeYUZeSGfVPBqogCRBQNgzrURSbw",
23
+ "status": "completed",
24
+ "recording_type": "shared_screen_with_speaker_view"
20
25
  }, {
21
26
  "id": "51ff09f7-e8d8-4b29-9e61-fb8e0cbc7246",
22
27
  "meeting_id": "ucc69C82Q5mTNyCRWE29Aw==",
@@ -24,7 +29,10 @@
24
29
  "recording_end": "2015-04-13T01:07:02Z",
25
30
  "file_type": "MP4",
26
31
  "file_size": 244958,
27
- "play_url": "https://rocky.zoom.us/recording/play/51ff09f7-e8d8-4b29-9e61-fb8e0cbc7246"
32
+ "play_url": "https://rocky.zoom.us/recording/play/51ff09f7-e8d8-4b29-9e61-fb8e0cbc7246",
33
+ "download_url": "https://rocky.zoom.us/rec/download/51ff09f7-e8d8-4b29-9e61-fb8e0cbc7246-qZexUzhACIGZwGuYeYUZeSGfVPBqogCRBQNgzrURSbw",
34
+ "status": "completed",
35
+ "recording_type": "shared_screen_with_speaker_view"
28
36
  }, {
29
37
  "id": "b601d00e-497a-450f-bb05-9896ce20c03e",
30
38
  "meeting_id": "ucc69C82Q5mTNyCRWE29Aw==",
@@ -32,6 +40,9 @@
32
40
  "recording_end": "2015-04-13T01:07:02Z",
33
41
  "file_type": "M4A",
34
42
  "file_size": 3056,
35
- "play_url": "https://rocky.zoom.us/recording/play/b601d00e-497a-450f-bb05-9896ce20c03e"
43
+ "play_url": "https://rocky.zoom.us/recording/play/b601d00e-497a-450f-bb05-9896ce20c03e",
44
+ "download_url": "https://rocky.zoom.us/rec/download/b601d00e-497a-450f-bb05-9896ce20c03e-qZexUzhACIGZwGuYeYUZeSGfVPBqogCRBQNgzrURSbw",
45
+ "status": "completed",
46
+ "recording_type": "shared_screen_with_speaker_view"
36
47
  }]
37
48
  }
@@ -0,0 +1,53 @@
1
+ {
2
+ "from": "2020-05-01",
3
+ "to": "2020-05-04",
4
+ "page_count": 1,
5
+ "page_size": 15,
6
+ "total_records": 1,
7
+ "next_page_token": "",
8
+ "meetings": [{
9
+ "uuid": "j0N0YDBYSQGB4fRv444444==",
10
+ "id": 7565121024,
11
+ "host_id": "kEFomHcIRgqxZT8D086O6A",
12
+ "account_id": "NyEqCEoYSNOr4jLMHoO2tA",
13
+ "topic": "Rocky test recording delete",
14
+ "start_time": "2020-05-02T04:10:10Z",
15
+ "timezone": "America/Los_Angeles",
16
+ "duration": 999,
17
+ "total_size": 4324324324,
18
+ "recording_count": 4,
19
+ "recording_files": [{
20
+ "id": "00401415-6783-0B14-608A-34C1DD9E3041",
21
+ "meeting_id": "j0N0YDBYSQGB4fRv444444==",
22
+ "recording_start": "2020-05-02T04:14:10Z",
23
+ "recording_end": "2020-05-02T04:24:10Z",
24
+ "file_type": "M4A",
25
+ "file_size": 432432,
26
+ "play_url": "https://brand.zoom.us/recording/play/00401415-6783-0B14-608A-34C1DD9E3041"
27
+ }, {
28
+ "id": "00401415-6783-0B14-608A-34C1DD9E3042",
29
+ "meeting_id": "j0N0YDBYSQGB4fRv444444==",
30
+ "recording_start": "2020-05-02T04:25:10Z",
31
+ "recording_end": "2020-05-02T04:26:10Z",
32
+ "file_type": "MP4",
33
+ "file_size": 432532465,
34
+ "play_url": "https://brand.zoom.us/recording/play/00401415-6783-0B14-608A-34C1DD9E3042"
35
+ }, {
36
+ "id": "00401415-6783-0B14-608A-34C1DD9E3043",
37
+ "meeting_id": "j0N0YDBYSQGB4fRv444444==",
38
+ "recording_start": "2020-05-02T04:36:10Z",
39
+ "recording_end": "2020-05-02T04:56:10Z",
40
+ "file_type": "M4A",
41
+ "file_size": 564,
42
+ "play_url": "https://brand.zoom.us/recording/play/00401415-6783-0B14-608A-34C1DD9E3043"
43
+ }, {
44
+ "id": "00401415-6783-0B14-608A-34C1DD9E3044",
45
+ "meeting_id": "j0N0YDBYSQGB4fRv444444==",
46
+ "recording_start": "2020-05-02T04:56:10Z",
47
+ "recording_end": "2020-05-02T04:56:12Z",
48
+ "file_type": "MP4",
49
+ "file_size": 643534,
50
+ "play_url": "https://brand.zoom.us/recording/play/00401415-6783-0B14-608A-34C1DD9E3044"
51
+ }]
52
+ }]
53
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "on_demand": false,
3
+ "password": "",
4
+ "recording_authentication": false,
5
+ "share_recording": "publicly",
6
+ "viewer_download": false
7
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "uuid": "sfsdfsdfc6122222d",
3
+ "id": 1000000,
4
+ "type": 2,
5
+ "topic": "Awesome meeting",
6
+ "user_name": "officia",
7
+ "user_email": "officia@sdhgdfgh.fsdfs",
8
+ "start_time": "2019-07-14T09:05:19.754Z",
9
+ "end_time": "2019-08-14T09:05:19.754Z",
10
+ "duration": 11,
11
+ "total_minutes": 11,
12
+ "participants_count": 4,
13
+ "tracking_fields": [
14
+ {
15
+ "field": "Meeting Purpose",
16
+ "value": "Sales"
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "page_count": "1",
3
+ "page_size": "30",
4
+ "total_records": "1",
5
+ "next_page_token": "",
6
+ "participants": [
7
+ {
8
+ "id": "dskfjladjskfl",
9
+ "user_id": "sdfjkldsfdfgdfg",
10
+ "name": "Riya",
11
+ "user_email": "riya@jdfghsdfgsd.fdjfhdf",
12
+ "join_time": "2019-02-01T12:34:12.660Z",
13
+ "leave_time": "2019-03-01T12:34:12.660Z",
14
+ "duration": "20"
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "added_at": "2020-04-15T12:15:57Z",
3
+ "ids": ["sdkjsfdffds", "dsfdsgrdgt"]
4
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "description": "A person with this role can view and manage groups.",
3
+ "id": "RHLWWwtVZRnuq7OctVApqlg",
4
+ "name": "Group Administrator",
5
+ "privileges": [
6
+ "User:Read"
7
+ ],
8
+ "total_members": 0
9
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "description": "Members have access to basic Zoom video meeting functions but no account management privileges.",
3
+ "id": "2",
4
+ "name": "Member",
5
+ "privileges": [
6
+ "AccountProfile:Read",
7
+ "Meeting:Edit",
8
+ "Meeting:Join"
9
+ ],
10
+ "total_members": 2
11
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "roles": [
3
+ {
4
+ "description": "Account owner has full privileges to access and manage a Zoom account.",
5
+ "id": "0",
6
+ "name": "Owner",
7
+ "total_members": 1
8
+ },
9
+ {
10
+ "description": "Admins have wide range privileges to access and manage a Zoom account.",
11
+ "id": "1",
12
+ "name": "Admin",
13
+ "total_members": 0
14
+ },
15
+ {
16
+ "description": "Members have access to basic Zoom video meeting functions but no account management privileges.",
17
+ "id": "2",
18
+ "name": "Member",
19
+ "total_members": 1
20
+ },
21
+ {
22
+ "description": "A person with this role can view and manage groups.",
23
+ "id": "RHLWWwtVZRnuq7OctVApqlg",
24
+ "name": "Group Administrator",
25
+ "total_members": 0
26
+ }
27
+ ],
28
+ "total_records": 4
29
+ }