|
145 | 145 | }, |
146 | 146 | "options": { |
147 | 147 | "$ref": "#/definitions/AccountOptions" |
| 148 | + }, |
| 149 | + "vanity_url": { |
| 150 | + "type": "string", |
| 151 | + "description": "Account Vanity URL" |
148 | 152 | } |
149 | 153 | } |
150 | 154 | } |
|
1452 | 1456 | "required": true, |
1453 | 1457 | "description": "Meeting object", |
1454 | 1458 | "schema": { |
1455 | | - "$ref": "#/definitions/Meeting" |
| 1459 | + "allOf": [ |
| 1460 | + { |
| 1461 | + "type": "object", |
| 1462 | + "properties": { |
| 1463 | + "schedule_for": { |
| 1464 | + "type": "string", |
| 1465 | + "description": "Email or userId if you want to schedule meeting for another user." |
| 1466 | + } |
| 1467 | + } |
| 1468 | + }, |
| 1469 | + { |
| 1470 | + "$ref": "#/definitions/Meeting" |
| 1471 | + } |
| 1472 | + ] |
1456 | 1473 | } |
1457 | 1474 | } |
1458 | 1475 | ], |
|
1492 | 1509 | }, |
1493 | 1510 | "404": { |
1494 | 1511 | "description": "User not found" |
| 1512 | + }, |
| 1513 | + "1001": { |
| 1514 | + "description": "User {userId} not exist or not belong to this account" |
| 1515 | + }, |
| 1516 | + "1110": { |
| 1517 | + "description": "Not assigned scheduler" |
1495 | 1518 | } |
1496 | 1519 | } |
1497 | 1520 | } |
|
1559 | 1582 | "required": true, |
1560 | 1583 | "description": "Meeting", |
1561 | 1584 | "schema": { |
1562 | | - "$ref": "#/definitions/MeetingUpdate" |
| 1585 | + "allOf": [ |
| 1586 | + { |
| 1587 | + "type": "object", |
| 1588 | + "properties": { |
| 1589 | + "schedule_for": { |
| 1590 | + "type": "string", |
| 1591 | + "description": "Email or userId if you want to schedule meeting for another user." |
| 1592 | + } |
| 1593 | + } |
| 1594 | + }, |
| 1595 | + { |
| 1596 | + "$ref": "#/definitions/MeetingUpdate" |
| 1597 | + } |
| 1598 | + ] |
1563 | 1599 | } |
1564 | 1600 | } |
1565 | 1601 | ], |
|
1569 | 1605 | }, |
1570 | 1606 | "404": { |
1571 | 1607 | "description": "Meeting not found" |
| 1608 | + }, |
| 1609 | + "1001": { |
| 1610 | + "description": "User {userId} not exist or not belong to this account" |
| 1611 | + }, |
| 1612 | + "1110": { |
| 1613 | + "description": "Not assigned scheduler" |
1572 | 1614 | } |
1573 | 1615 | } |
1574 | 1616 | }, |
|
4239 | 4281 | } |
4240 | 4282 | } |
4241 | 4283 | }, |
| 4284 | + "/report/cloud_recording": { |
| 4285 | + "get": { |
| 4286 | + "summary": "Retrieve cloud recording usage report", |
| 4287 | + "description": "Retrieve cloud recording usage report for a specified period. You can only get cloud recording reports for the most recent period of 6 months. The date gap between from and to dates should be smaller or equal to 30 days.", |
| 4288 | + "tags": [ |
| 4289 | + "Reports" |
| 4290 | + ], |
| 4291 | + "operationId": "reportCloudRecording", |
| 4292 | + "parameters": [ |
| 4293 | + { |
| 4294 | + "$ref": "#/parameters/FromDate" |
| 4295 | + }, |
| 4296 | + { |
| 4297 | + "$ref": "#/parameters/ToDate" |
| 4298 | + } |
| 4299 | + ], |
| 4300 | + "responses": { |
| 4301 | + "200": { |
| 4302 | + "description": "Telephone Report Returned", |
| 4303 | + "schema": { |
| 4304 | + "properties": { |
| 4305 | + "date": { |
| 4306 | + "type": "string", |
| 4307 | + "format": "date-time" |
| 4308 | + }, |
| 4309 | + "usage": { |
| 4310 | + "type": "string" |
| 4311 | + }, |
| 4312 | + "plan_usage": { |
| 4313 | + "type": "string" |
| 4314 | + }, |
| 4315 | + "free_usage": { |
| 4316 | + "type": "string" |
| 4317 | + } |
| 4318 | + } |
| 4319 | + } |
| 4320 | + }, |
| 4321 | + "300": { |
| 4322 | + "description": "Only provide report in recent 6 months" |
| 4323 | + } |
| 4324 | + } |
| 4325 | + } |
| 4326 | + }, |
4242 | 4327 | "/tsp": { |
4243 | 4328 | "get": { |
4244 | | - "summary": "List TSP dial-in numbers", |
4245 | | - "description": "List TSP dial-in numbers under account", |
| 4329 | + "summary": "Retrieve account's TSP information", |
| 4330 | + "description": "Retrieve TSP information on account level", |
4246 | 4331 | "tags": [ |
4247 | 4332 | "TSP" |
4248 | 4333 | ], |
|
4251 | 4336 | ], |
4252 | 4337 | "responses": { |
4253 | 4338 | "200": { |
4254 | | - "description": "TSP dial-in numbers returned", |
| 4339 | + "description": "TSP account detail returned", |
4255 | 4340 | "schema": { |
4256 | 4341 | "properties": { |
4257 | 4342 | "tsp_provider": { |
4258 | | - "type": "string" |
| 4343 | + "type": "string", |
| 4344 | + "description": "3rd party audio conferencing provider" |
| 4345 | + }, |
| 4346 | + "enable": { |
| 4347 | + "type": "boolean", |
| 4348 | + "description": "Enable 3rd party audio conferencing for account users" |
4259 | 4349 | }, |
4260 | 4350 | "dial_in_numbers": { |
4261 | 4351 | "type": "array", |
|
4279 | 4369 | } |
4280 | 4370 | } |
4281 | 4371 | } |
| 4372 | + }, |
| 4373 | + "patch": { |
| 4374 | + "summary": "Update account's TSP information", |
| 4375 | + "description": "Update TSP information on account level", |
| 4376 | + "tags": [ |
| 4377 | + "TSP" |
| 4378 | + ], |
| 4379 | + "operationId": "tsp", |
| 4380 | + "parameters": [ |
| 4381 | + { |
| 4382 | + "in": "body", |
| 4383 | + "name": "body", |
| 4384 | + "required": true, |
| 4385 | + "description": "TSP Account", |
| 4386 | + "schema": { |
| 4387 | + "properties": { |
| 4388 | + "tsp_provider": { |
| 4389 | + "type": "string", |
| 4390 | + "description": "3rd party audio conferencing provider" |
| 4391 | + }, |
| 4392 | + "enable": { |
| 4393 | + "type": "boolean", |
| 4394 | + "description": "Enable 3rd party audio conferencing for account users" |
| 4395 | + } |
| 4396 | + } |
| 4397 | + } |
| 4398 | + } |
| 4399 | + ], |
| 4400 | + "responses": { |
| 4401 | + "204": { |
| 4402 | + "description": "TSP Account updated" |
| 4403 | + }, |
| 4404 | + "2024": { |
| 4405 | + "description": "Account not enable TSP" |
| 4406 | + } |
| 4407 | + } |
4282 | 4408 | } |
4283 | 4409 | }, |
4284 | 4410 | "/users": { |
|
4907 | 5033 | }, |
4908 | 5034 | "404": { |
4909 | 5035 | "description": "User not found" |
| 5036 | + }, |
| 5037 | + "1120": { |
| 5038 | + "description": "Invite not exist" |
| 5039 | + }, |
| 5040 | + "1122": { |
| 5041 | + "description": "Only Pro or Corp user can enable {Webinar/Large Meeting} feature" |
4910 | 5042 | } |
4911 | 5043 | } |
4912 | 5044 | } |
|
9218 | 9350 | "Toll free number <br/>", |
9219 | 9351 | "Media link phone number <br/>" |
9220 | 9352 | ] |
| 9353 | + }, |
| 9354 | + "country_label": { |
| 9355 | + "type": "string", |
| 9356 | + "description": "Country Label, if passed, will display in place of code.", |
| 9357 | + "maxLength": 10 |
9221 | 9358 | } |
9222 | 9359 | } |
9223 | 9360 | } |
|
0 commit comments