-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathswagger.yaml
4500 lines (4455 loc) · 145 KB
/
swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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
156
157
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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
swagger: '2.0'
info:
title: BlueJeans Meetings REST API
description: >
## Video That Works Where You Do.
This site provides developers access to APIs from BlueJean's Meetings meeting service. From here you will be able to make actual API calls to manage User Accounts, Meetings, and Recordings. Also, you can pull analytical data and current state information.
With these APIs you can quickly integrate **BlueJeans** video administration into your applications.
<hr>
<h2 class="info"> What is a BlueJeans Meeting?</h2>
<img src="./img/bjnmeeting.png" style="padding-left:20px; width:50%">
A BlueJeans meeting is a collaboration session of 2 or more participants joining a virtual meeting-room in the cloud.
The first person to join is put into a waiting-room until other participant(s) join. When the meeting starts, all participants will be connected over video & audio.
<u>Types of Meeting Rooms</u>
There are two types of Meeting Rooms available to a registered user. They are described as:
<ul>
<li>Scheduled – A room created for a specific date and time. It is assigned a randomized and unique numeric ID by BlueJeans.</li>
<li>Personal – Every user is given a personal meeting room with a customized Meeting Identifier. People typically use their mobile phone number as their Meeting ID.</li>
</ul>
<u>Meeting Room Security</u>
A meeting room can <i>optionally</i> be protected by a randomized access code. THe access code ensures security of participants who join. Also the access code can specify a Moderator role whose user(s) have additional capabilities to administer a meeting.
<ul>
<li>When set, participants would be required to enter the access code in order to join.</li>
<li>The scheduler's profile has a user-specified moderator passcode which can be input to allow designated user(s) greater privileges to help organize meetings.</li>
</ul>
<hr>
<h2 id='gs' class="info" onclick="hideit('gs')"><span id="gsicon" class="glyphicon glyphicon-chevron-right"></span> Getting Started</h2>
<div id="gsbody" style="display:none">
Before you start using BlueJeans' APIs, you must first have a BlueJeans account enabled for API Access. Contact <a href="mailto:[email protected])">BlueJeans Support</a> for assistance. <br /><br />Once you have an account, you may start writing application code to authenticate and make API calls. *Alternatively*, you can use this developer site to test the BlueJeans' APIs and develop a level of familiarity before you write production code. <br />
### To Make API Calls from This Site
If you want to use this developer site to try various BlueJeans' APIs, here are the steps required to authenticate and enable your Developer Session to place API calls.
1. Choose Method for Authenticating
* Click on the desired Authentication method from below.
* Click on the **Try It Out** button.
1. Make Authentication request
* Follow APIs instructions and input the API parameters.
* Click on the blue **Execute** button.
* If successful, the API returns with JSON data containing a field called **access_token**. Copy/save this value.
1. Authorize BlueJeans Developer Session.
* Click on the green **Authorize button**.
* The site will show you a pop-up window for authorization.
* Enter your access token in the field named **api_key**
* Click on the **Authorize** button
Your current BlueJeans developer session is now authenticated and ready to place API calls. The web site will automatically include your access token on any API calls you make.
</div>
<hr>
<h2 id='oauth' class="info" onclick="hideit('oauth')"><span id="oauthicon" class="glyphicon glyphicon-chevron-right"></span> About Meetings Authentication</h2>
<div id="oauthbody" style="display:none">
All API transactions (excluding Authentication) require an access token per **OAuth standards**. BlueJeans provides multiple methods for obtaining an access token. Additionally there are diffferent scopes of token access.
### Grant Types
Bluejeans provides 4 different methods for users to Authenticate. Successful authentication allows BlueJeans to grant an access token to perform API operations.
* Password Credentials Grant – Authenticate with a username and password and receive an access token with user level permission. Known as two-legged OAuth.
* Meeting Credentials Grant – Authenticate with a meeting ID and meeting passcode and receive an access token with meeting level permission. Known as two-legged OAuth.
* Client Credentials Grant – Authenticate with a client ID and client secret and receive an access token with enterprise level permission. Known as two-legged OAuth.
* Authorization Code Grant – Authentication for your developer's application occurs through a redirection to a BlueJeans authentication page. The application receives an authorization code to be submitted, along with other tokens, to receive an access token. Known as three-legged OAuth. For more information please refer to the [OAuth specification](https://oauth.net/).
### Access & Permissions
BlueJeans defines 3 levels of API access into the system. When an access token is granted, it carries one of these 3 levels. The scope of system functionality depends upon the token's access level.
* Meeting-level – Scope of APIs is limited to individual meetings.
* User-level – Scope depends on the requested permissions.
* App-level – provisioned either by BlueJeans personnel, or the BlueJeans Enterprise Admin, an app, is issued a client key and secret key. These tokens then are used by the BlueJeans Authentication API to receive the token. The token's scope provides access to the entire enterprise and all of its users.
All endpoints in this document that require **Enterprise Admin** access will be marked as such.
</div>
<hr>
termsOfService: https://www.bluejeans.com/terms-of-service
license:
name: Commercial
url: https://www.bluejeans.com/site/terms-and-conditions
version: 1.0.0
contact:
name: Brandon Fuller
url: http://bluejeans.com/
email: [email protected]
externalDocs:
description: >
Find more info here
url: https://swagger.io
host: api.bluejeans.com
securityDefinitions:
access_token:
type: apiKey
name: access_token
in: query
security:
- access_token: []
schemes:
- https
produces:
- application/json
tags:
-
name: Authentication
description: Initiate a session with BlueJeans
-
name: User
description: Manage End User Accounts
-
name: Enterprise
description: Manage Enterprise User Accounts
-
name: Meeting
description: Manage Video Meetings and Endpoints
-
name: History
description: Access Historical Meeting Data
-
name: Recording
description: Manage Meeting Recordings
-
name: Command Center
description: Access Status of Current Meetings & Enterprise Usage Information
paths:
/oauth2/token?Password:
post:
summary: Authentication via Password Grant Type
description: This API performs an authentication based upon a username and password. Call this API and provide a valid username and password. <br />**NOTE:** <br /> When calling this API, you must set the field, **grant_type** to equal "**password**" (string).
operationId: getTokenByPassword
tags:
- Authentication
consumes:
- application/json
parameters:
- name: GrantRequestPassword
description: Contains information about the type of grant you are requesting. **Remember**, the field *grant_type* must be set to *password*.
in: body
required: true
schema:
$ref: '#/definitions/GrantRequestPassword'
responses:
'200':
description: The information about the grant.
schema:
$ref: '#/definitions/GrantPassword'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/token?Meeting:
post:
summary: Authentication via Meeting Grant Type
description: This API uses an OAuth-like grant/request method similar to the Password grant type. The API returns an access token whose scope is limited to the meeting only. <br />Call this API with the meeting's numeric ID, and the meeting passcode (if one exists). <br /> If you call the API with a Moderator passcode, moderator privileges are granted. <br /> If an Attendee access code is passed, the access token will grant attendee abilities.<br />**NOTE:** <br /> When calling this API, you must set the field, **grant_type** to equal "**meeting_passcode**" (string).
operationId: getTokenByMeeting
tags:
- Authentication
consumes:
- application/json
parameters:
- name: GrantRequestMeeting
description: Contains information about the type of grant you are requesting. **Remember**, the field *grant_type* must be set to *meeting_passcode*.
in: body
required: true
schema:
$ref: '#/definitions/GrantRequestMeeting'
responses:
'200':
description: The information about the grant.
schema:
$ref: '#/definitions/GrantMeeting'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/token?Client:
post:
summary: Authentication via Client Grant Type
description: This API is typically called from an application that needs to make API requests. The values for the calling parameters, Client ID, and Secret, are provisioned within the BlueJeans Enterprise Administration console. A BlueJeans administrator must generate these parameters and provide them to the customer/developer. <br />**NOTE:** <br /> When calling this API, you must set the field, **grant_type** to equal "**client_credentials**" (string).
operationId: getTokenByClient
tags:
- Authentication
consumes:
- application/json
parameters:
- name: GrantRequestClient
description: Contains information about the type of grant you are requesting. **Remember**, the field *grant_type* must be set to *client_credentials*.
in: body
required: true
schema:
$ref: '#/definitions/GrantRequestClient'
responses:
'200':
description: The information about the grant.
schema:
$ref: '#/definitions/GrantClient'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/token?Code:
post:
summary: Authentication via Code Grant Type
description: This API is part of the 3-legged OAuth 2.0 authorization flow. The user will be redirected to a BlueJeans page to authenticate. You must pass to this API your OAuth client and secret keys as well as a *success URL* to which the user will be redirected upon successful authentication. <br />**NOTE:** <br /> When calling this API, you must set the field, **grant_type** to equal "**authorization_code**" (string).
operationId: getTokenByCode
tags:
- Authentication
consumes:
- application/json
parameters:
- name: GrantRequestCode
description: Contains information about the type of grant you are requesting. **Remember**, the field *grant_type* must be set to *authorization_code*.
in: body
required: true
schema:
$ref: '#/definitions/GrantRequestCode'
responses:
'200':
description: The information about the grant.
schema:
$ref: '#/definitions/GrantCode'
'401':
description: The code token is invalid or has expired. The code is only good for 30 seconds!
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/token?Refresh:
post:
summary: Authentication via Refresh Grant Type
description: This API is part of the 3-legged OAuth 2.0 authorization flow. It only works for access tokens obtained via /oauth2/token?Code endpoint. It allows an application to refresh an existing access token. You must pass to this API your OAuth client and secret keys as well as the current access token being refreshed. <br />**NOTE:** <br /> When calling this API, you must set the field, **grant_type** to equal "**refresh_token**" (string).
operationId: getTokenByRefresh
tags:
- Authentication
consumes:
- application/json
parameters:
- name: GrantRequestRefresh
description: Contains information about the type of grant you are requesting. **Remember**, the field *grant_type* must be set to *refresh_token*.
in: body
required: true
schema:
$ref: '#/definitions/GrantRequestRefresh'
responses:
'200':
description: The information about the grant.
schema:
$ref: '#/definitions/GrantRefresh'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/token?Revoke:
delete:
summary: Revoke Access Token
description: This API is part of the 3-legged OAuth 2.0 authorization flow.
operationId: revokeAccessToken
tags:
- Authentication
consumes:
- application/json
parameters:
- name: access_token
type: string
in: query
- name: GrantRequestRevoke
description: Contains information about the type of grant you are revoking.
in: body
required: true
schema:
$ref: '#/definitions/GrantRequestRevoke'
responses:
'204':
description: The information about the grant.
'400':
description: Bad request. The access_token is probably already revoked and cannot be found. Use /oauth2/tokenInfo to query a token's validity if needed.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/tokenInfo:
get:
summary: Validate a Token
description: This endpoint will determine if a token is valid or not. If the token is valid, it returns the user ID for the owner of the token.
operationId: getTokenInfo
tags:
- Authentication
consumes:
- application/json
parameters:
- name: access_token
type: string
in: query
responses:
'200':
description: Any information about the token.
schema:
type: object
properties:
user:
type: integer
description: The ID of the user who this token corresponds to.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/oauth2/authorize:
get:
summary: Get Authorization Code
description: This is **not a true REST endpoint**. <br /> This URL should be used by a user's browser-client application to perform authorization. <br />Upon completion, the user will be redirected back to the client application with state and code return parameters. Use "bluejeans.com" as hostname. <br />**Note:**<br /> The code returned is only valid for *30 seconds.* Your application must call as soon as possible the /oauth2/token API to generate an access token from the returned code.
operationId: getAuthorizationCode
tags:
- Authentication
parameters:
- name: clientId
in: query
description: The 32 character client ID generated when you created the client application.
type: string
- name: redirectUri
in: query
description: The URL where the authorization code will be returned via redirect. The URL must match a URL registered with the client application.
type: string
- name: state
in: query
description: Client application specific state passed through and returned in the redirect URL. May be useful for identifying operations or users.
type: string
- name: scope
in: query
description: A comma delimited list of scopes requested. Scopes may be list_meetings, modify_meetings, user_info. Unfortunately, not all operations in the API are available via this authentication method at the current time.
type: string
- name: responseType
in: query
description: The type of authorization you are peforrming. Set to "code".
type: string
default: code
- name: appName
in: query
description: The name of the client application shown to user during authorization.
type: string
- name: appLogoUrl
in: query
description: URL to an 84x84 image shown to user during authorization.
type: string
responses:
'200':
description: This URL should be invoked by the user of the client application in a browser, not via API.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}:
get:
summary: Get User Account Details
description: This endpoint retrieves the basic account details for a given user.
operationId: getUser
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
responses:
'200':
description: The settings for the user
schema:
$ref: "#/definitions/User"
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
put:
summary: Update User Account Details
description: This endpoint allows updating a user’s basic account details.
operationId: updateUser
tags:
- User
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: user
in: body
description: The user details that you wish to update.
required: true
schema:
$ref: "#/definitions/User"
responses:
'200':
description: The settings for the user
schema:
$ref: "#/definitions/User"
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/granted_applications:
get:
summary: Get Granted Applications
description: This endpoint retrieves the granted applications associated with the user.
operationId: getGrantedApplications
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
responses:
'200':
description: The granted applications for the user.
schema:
$ref: "#/definitions/GrantedApplications"
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/granted_applications/{client_id}:
delete:
summary: Remoke Granted Application
description: This endpoint revokes the granted application associated with the user.
operationId: revokeGrantedApplication
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: client_id
in: path
description: The ID of the granted application.
required: true
type: string
responses:
'204':
description: The granted applications for the user.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/enterprise_profile:
get:
summary: Get Enterprise Profile
description: This endpoint retrieves the enterprise profile associated with the user.
operationId: getEnterpriseProfile
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
responses:
'200':
description: The settings for the user's enterprise association.
schema:
$ref: "#/definitions/Enterprise"
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/groups:
get:
summary: Get User Feature Groups
description: This endpoint retrieves the feature groups associated with the user.
operationId: getGroups
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
responses:
'200':
description: The feature groups the user belongs to.
schema:
type: array
items:
type: string
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
put:
summary: Set User Feature Groups
description: This endpoint sets the feature groups associated with the user.
operationId: setGroups
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: enable
in: query
description: The feature group you want to enable.
type: string
enum:
- record
- extended_capacity
- lync
- jabber
- telepresence
- isdn
- facetime
- name: disable
in: query
description: The feature group you want to disable.
type: string
enum:
- record
- extended_capacity
- lync
- jabber
- telepresence
- isdn
- facetime
responses:
'200':
description: Empty response on success.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/enterprise/{enterprise_id}/users:
get:
summary: List Enterprise Users
description: This endpoint allows listing the users that are associated with an enterprise account. Requires enterprise admin access level.
operationId: listUsers
tags:
- Enterprise
security:
- access_token: []
parameters:
- name: enterprise_id
in: path
description: The ID of the enterprise of interest. This value is an integer which can be retrieved for the current user via the Get Enterprise Profile endpoint.
required: true
type: integer
- name: pageSize
in: query
description: Sets number of items returned per page.
type: integer
- name: pageNumber
in: query
description: Selects which page of results to return.
type: integer
- name: emailId
in: query
description: Allows filtering the response by a user’s email address.
type: string
responses:
'200':
description: The list of users in the enterprise.
schema:
$ref: "#/definitions/EnterpriseUserList"
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
post:
summary: Create Enterprise User
description: This endpoint allows adding a user to an existing enterprise. Requires enterprise admin access level.
operationId: createUser
tags:
- Enterprise
security:
- access_token: []
parameters:
- name: enterprise_id
in: path
description: The ID of the enterprise of interest. This value is an integer which can be retrieved for the current user via the Get Enterprise Profile endpoint.
required: true
type: integer
- name: forcePasswordChange
in: query
description: Forces the user to change his or her password on first log in.
type: boolean
- name: sendVerificationMail
in: query
description: Prevents welcome emails from being sent to the newly created user.
type: boolean
- name: user
in: body
description: The information about the new user.
required: true
schema:
$ref: '#/definitions/User'
responses:
'201':
description: The new user.
schema:
$ref: '#/definitions/UserId'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/enterprise/{enterprise_id}/users/export:
get:
summary: Export Enterprise Users
description: This endpoint exports existing users into a CSV file.
operationId: exportUsers
produces:
- text/csv
tags:
- Enterprise
security:
- access_token: []
parameters:
- name: enterprise_id
in: path
description: The ID of the enterprise of interest. This value is an integer which can be retrieved for the current user via the Get Enterprise Profile endpoint.
required: true
type: integer
responses:
'404':
description: Enterprise not found
'406':
description: Not acceptable. Usually, this is because you hava an accept header set to application/json and the server is trying to return you text/csv. So it is saying it cannot do what you want.
'200':
description: Returns a text/csv file. Not a JSON response.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/enterprise/{enterprise_id}/users/{user_id}:
delete:
summary: Remove Enterprise User
description: This endpoint allows removing a user from an enterprise; it does not delete the user. Requires enterprise admin access level.
operationId: removeUser
tags:
- Enterprise
security:
- access_token: []
parameters:
- name: enterprise_id
in: path
description: The ID of the enterprise of interest. This value is an integer which can be retrieved for the current user via the Get Enterprise Profile endpoint.
required: true
type: integer
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
responses:
'204':
description: Empty response on success.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/room:
get:
summary: Get User’s Default Meeting Settings
description: This endpoint gets a user’s default meeting settings.
operationId: getRoom
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
responses:
'200':
description: The default meeting settings.
schema:
$ref: '#/definitions/Room'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
put:
summary: Update User’s Default Meeting Settings
description: This endpoint allows updating a user’s default meeting settings.
operationId: updateRoom
tags:
- User
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: room
in: body
description: The user's room details that you wish to update.
required: true
schema:
$ref: "#/definitions/Room"
responses:
'200':
description: The default meeting settings.
schema:
$ref: '#/definitions/Room'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/scheduled_meeting:
get:
summary: List Meetings
description: This endpoint gets a list of the user's scheduled upcoming meetings.
operationId: listMeetings
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: numericMeetingId
description: Filter the results by the meeting ID that participants will see and use to join the conference.
type: string
in: query
responses:
'200':
description: A list of meetings.
schema:
type: array
items:
$ref: '#/definitions/Meeting'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
post:
summary: Create Meeting
description: This endpoint will create a scheduled meeting.
operationId: createMeeting
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: email
in: query
description: If set to true, sends invitation emails to all listed participants.
type: boolean
- name: meeting
in: body
description: The details of the meeting.
required: true
schema:
$ref: "#/definitions/Meeting"
responses:
'201':
description: The settings for the meeting.
schema:
$ref: '#/definitions/Meeting'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/scheduled_meeting/{meeting_id}:
get:
summary: Get Meeting
description: This endpoint gets the settings for a user's meeting.
operationId: getMeeting
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: meeting_id
in: path
description: The ID of the meeting you want to view. This is an integer value. You can find this ID by doing a list of meetings and referencing the "id" property. This is not the numeric meeting ID visible to users.
required: true
type: integer
responses:
'200':
description: The settings for the meeting.
schema:
$ref: '#/definitions/Meeting'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
put:
summary: Update Meeting
description: This endpoint changes the settings for a user's meeting. For example, use for rescheduling.
operationId: updateMeeting
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: meeting_id
in: path
description: The ID of the meeting you want to view. This is an integer value. You can find this ID by doing a list of meetings and referencing the "id" property.
required: true
type: integer
- name: meeting
in: body
description: The user's room details that you wish to update.
required: true
schema:
$ref: "#/definitions/Meeting"
responses:
'200':
description: The settings for the meeting.
schema:
$ref: '#/definitions/Meeting'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
delete:
summary: Cancel Meeting
description: This endpoint deletes a scheuled meeting.
operationId: cancelMeeting
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: meeting_id
in: path
description: The ID of the meeting you want to view. This is an integer value. You can find this ID by doing a list of meetings and referencing the "id" property.
required: true
type: integer
responses:
'200':
description: No content.
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/scheduled_meeting/{meeting_id}/emails:
get:
summary: Get Meeting Email
description: This endpoint retrieves the email object for a scheduled meeting.
operationId: getMeetingEmails
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: meeting_id
in: path
description: The ID of the meeting you want to view. This is an integer value. You can find this ID by doing a list of meetings and referencing the "id" property.
required: true
type: integer
- name: type
in: query
description: TEXT, ICS, HTML
type: string
enum:
- TEXT
- ICS
- HTML
- name: role
in: query
description: moderator, participant
type: string
enum:
- moderator
- participant
- name: action
in: query
description: create, edit, delete
type: string
enum:
- create
- edit
- delete
responses:
'200':
description: The settings for the email.
schema:
$ref: '#/definitions/Meeting'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/meetings/{meeting_id}/numbers:
get:
summary: Get Meeting Join Info
description: This endpoint retrieves the join information for a scheduled meeting.
operationId: getMeetingNumbers
tags:
- Meeting
security:
- access_token: []
parameters:
- name: user_id
in: path
description: The ID of the user of interest. This value is an integer which can be retrieved for the current user via the Get User Account Details endpoint.
required: true
type: integer
- name: meeting_id
in: path
description: The ID of the meeting you want to view. This is an integer value. You can find this ID by doing a list of meetings and referencing the "id" property.
required: true
type: integer
responses:
'200':
description: The settings for the join information.
schema:
$ref: '#/definitions/Numbers'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/v1/user/{user_id}/live_meetings/{numeric_meeting_id}:
get:
summary: Get Meeting State
description: This endpoint’s purpose is to return whether the meeting is in progress or not.
operationId: getMeetingState
tags:
- Meeting
security:
- access_token: []