@@ -1316,4 +1316,214 @@ x-doctave:
1316
1316
- node
1317
1317
- php
1318
1318
- python
1319
+ x-webhooks :
1320
+ live-stream.broadcast.started :
1321
+ post :
1322
+ tags :
1323
+ - Webhooks
1324
+ summary : Live stream started
1325
+ description : This webhook triggers when a live stream broadcast is started.
1326
+ operationId : POST-webhooks
1327
+ parameters :
1328
+ - in : header
1329
+ name : X-Api-Video-WebhookID
1330
+ schema :
1331
+ type : string
1332
+ description : The unique ID of your webhook.
1333
+ required : true
1334
+ - in : header
1335
+ name : X-Api-Video-Signature
1336
+ schema :
1337
+ type : string
1338
+ description : The webhook's body encrypted using the webhook's signature secret,
1339
+ in HMAC SHA256. Use this hash to verify that api.video is the origin of
1340
+ this webhook notification.
1341
+ required : true
1342
+ requestBody :
1343
+ content :
1344
+ application/json :
1345
+ schema :
1346
+ type : object
1347
+ properties :
1348
+ type :
1349
+ type : string
1350
+ description : The name of the webhook event that occured.
1351
+ example : live-stream.broadcast.started
1352
+ emittedAt :
1353
+ description : Returns the date-time when the webhook event occurred.
1354
+ type : string
1355
+ format : date-time
1356
+ example : 2024-08-151T10:18:47+00:00
1357
+ liveStreamId :
1358
+ description : The ID of the live stream that started broadcasting.
1359
+ type : string
1360
+ example : li400mYKSgQ6xs7taUeSaEap
1361
+ responses :
1362
+ " 202 " :
1363
+ summary : Accepted
1364
+ description : Your webhook server may return this response to api.video to
1365
+ signal that the webhook is accepted.
1366
+ live-stream.broadcast.ended :
1367
+ post :
1368
+ tags :
1369
+ - Webhooks
1370
+ summary : Live stream ended
1371
+ description : This webhook triggers when a live stream broadcast is ended.
1372
+ operationId : POST-webhooks
1373
+ parameters :
1374
+ - in : header
1375
+ name : X-Api-Video-WebhookID
1376
+ schema :
1377
+ type : string
1378
+ description : The unique ID of your webhook.
1379
+ required : true
1380
+ - in : header
1381
+ name : X-Api-Video-Signature
1382
+ schema :
1383
+ type : string
1384
+ description : The webhook's body encrypted using the webhook's signature secret,
1385
+ in HMAC SHA256. Use this hash to verify that api.video is the origin of
1386
+ this webhook notification.
1387
+ required : true
1388
+ requestBody :
1389
+ content :
1390
+ application/json :
1391
+ schema :
1392
+ type : object
1393
+ properties :
1394
+ type :
1395
+ type : string
1396
+ description : The name of the webhook event that occured.
1397
+ example : live-stream.broadcast.ended
1398
+ emittedAt :
1399
+ description : Returns the date-time when the webhook event occurred.
1400
+ type : string
1401
+ format : date-time
1402
+ example : 2024-08-151T10:18:47+00:00
1403
+ liveStreamId :
1404
+ description : The ID of the live stream that ended broadcasting.
1405
+ type : string
1406
+ example : li400mYKSgQ6xs7taUeSaEap
1407
+ responses :
1408
+ " 202 " :
1409
+ summary : Accepted
1410
+ description : Your webhook server may return this response to api.video to
1411
+ signal that the webhook is accepted.
1412
+ video.source.recorded :
1413
+ post :
1414
+ tags :
1415
+ - Webhooks
1416
+ summary : Video source recorded
1417
+ description : This webhook triggers when a live stream broadcast is completed
1418
+ and the recording of the stream is ready for transcoding. This means that
1419
+ the video is in queue for transcoding.
1420
+ operationId : POST-webhooks
1421
+ parameters :
1422
+ - in : header
1423
+ name : X-Api-Video-WebhookID
1424
+ schema :
1425
+ type : string
1426
+ description : The unique ID of your webhook.
1427
+ required : true
1428
+ - in : header
1429
+ name : X-Api-Video-Signature
1430
+ schema :
1431
+ type : string
1432
+ description : The webhook's body encrypted using the webhook's signature secret,
1433
+ in HMAC SHA256. Use this hash to verify that api.video is the origin of
1434
+ this webhook notification.
1435
+ required : true
1436
+ requestBody :
1437
+ content :
1438
+ application/json :
1439
+ schema :
1440
+ type : object
1441
+ properties :
1442
+ type :
1443
+ type : string
1444
+ description : The name of the webhook event that occured.
1445
+ example : video.source.recorded
1446
+ emittedAt :
1447
+ description : Returns the date-time when the webhook event occurred.
1448
+ type : string
1449
+ format : date-time
1450
+ example : 2024-08-151T10:18:47+00:00
1451
+ liveStreamId :
1452
+ description : The ID of the live stream that ended broadcasting.
1453
+ type : string
1454
+ example : li400mYKSgQ6xs7taUeSaEap
1455
+ videoId :
1456
+ description : The video ID of the live stream recording.
1457
+ type : string
1458
+ example : vi4blUQJFrYWbaG44NChkH11
1459
+ responses :
1460
+ " 202 " :
1461
+ summary : Accepted
1462
+ description : Your webhook server may return this response to api.video to
1463
+ signal that the webhook is accepted.
1464
+ video.encoding.quality.completed :
1465
+ post :
1466
+ tags :
1467
+ - Webhooks
1468
+ summary : Video encoding completed
1469
+ description : This webhook triggers when a new video is uploaded into your account,
1470
+ and all HLS and mp4 quality versions are encoded.
1471
+ operationId : POST-webhooks
1472
+ parameters :
1473
+ - in : header
1474
+ name : X-Api-Video-WebhookID
1475
+ schema :
1476
+ type : string
1477
+ description : The unique ID of your webhook.
1478
+ required : true
1479
+ - in : header
1480
+ name : X-Api-Video-Signature
1481
+ schema :
1482
+ type : string
1483
+ description : The webhook's body encrypted using the webhook's signature secret,
1484
+ in HMAC SHA256. Use this hash to verify that api.video is the origin of
1485
+ this webhook notification.
1486
+ required : true
1487
+ requestBody :
1488
+ content :
1489
+ application/json :
1490
+ schema :
1491
+ type : object
1492
+ properties :
1493
+ type :
1494
+ type : string
1495
+ description : The name of the webhook event that occured.
1496
+ example : video.encoding.quality.completed
1497
+ emittedAt :
1498
+ description : Returns the date-time when the webhook event occurred.
1499
+ type : string
1500
+ format : date-time
1501
+ example : 2024-08-151T10:18:47+00:00
1502
+ videoId :
1503
+ description : The ID of the video where a certain quality version's
1504
+ encoding is finished.
1505
+ type : string
1506
+ example : vi4blUQJFrYWbaG44NChkH11
1507
+ encoding :
1508
+ description : The type of encoding that is finished.
1509
+ type : string
1510
+ enum :
1511
+ - hls
1512
+ - mp4
1513
+ example : hls
1514
+ quality :
1515
+ description : The quality version of encoding that is finished.
1516
+ type : string
1517
+ enum :
1518
+ - 240p
1519
+ - 360p
1520
+ - 480p
1521
+ - 720p
1522
+ - 1080p
1523
+ example : 1080p
1524
+ responses :
1525
+ " 202 " :
1526
+ summary : Accepted
1527
+ description : Your webhook server may return this response to api.video to
1528
+ signal that the webhook is accepted.
1319
1529
0 commit comments