@gitbook/api 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +105 -16
- package/dist/index.cjs +21 -9
- package/dist/index.js +21 -8
- package/package.json +1 -1
- package/spec/openapi.json +445 -36
- package/spec/openapi.yaml +265 -27
package/spec/openapi.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"integration": []
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"integration-installation": []
|
|
36
39
|
}
|
|
37
40
|
],
|
|
38
41
|
"components": {
|
|
@@ -52,6 +55,10 @@
|
|
|
52
55
|
"integration": {
|
|
53
56
|
"type": "http",
|
|
54
57
|
"scheme": "bearer"
|
|
58
|
+
},
|
|
59
|
+
"integration-installation": {
|
|
60
|
+
"type": "http",
|
|
61
|
+
"scheme": "bearer"
|
|
55
62
|
}
|
|
56
63
|
},
|
|
57
64
|
"parameters": {
|
|
@@ -1567,7 +1574,7 @@
|
|
|
1567
1574
|
"urls"
|
|
1568
1575
|
]
|
|
1569
1576
|
},
|
|
1570
|
-
"
|
|
1577
|
+
"RevisionBase": {
|
|
1571
1578
|
"type": "object",
|
|
1572
1579
|
"properties": {
|
|
1573
1580
|
"object": {
|
|
@@ -1660,6 +1667,117 @@
|
|
|
1660
1667
|
"urls"
|
|
1661
1668
|
]
|
|
1662
1669
|
},
|
|
1670
|
+
"RevisionTypeMerge": {
|
|
1671
|
+
"allOf": [
|
|
1672
|
+
{
|
|
1673
|
+
"$ref": "#/components/schemas/RevisionBase"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"type": "object",
|
|
1677
|
+
"properties": {
|
|
1678
|
+
"type": {
|
|
1679
|
+
"type": "string",
|
|
1680
|
+
"description": "Revision created when merging a change request with primary.",
|
|
1681
|
+
"enum": [
|
|
1682
|
+
"merge"
|
|
1683
|
+
]
|
|
1684
|
+
},
|
|
1685
|
+
"mergedFrom": {
|
|
1686
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
"required": [
|
|
1690
|
+
"type",
|
|
1691
|
+
"mergedFrom"
|
|
1692
|
+
]
|
|
1693
|
+
}
|
|
1694
|
+
]
|
|
1695
|
+
},
|
|
1696
|
+
"RevisionTypeRollback": {
|
|
1697
|
+
"allOf": [
|
|
1698
|
+
{
|
|
1699
|
+
"$ref": "#/components/schemas/RevisionBase"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"type": "object",
|
|
1703
|
+
"properties": {
|
|
1704
|
+
"type": {
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
"description": "Revision created as a rollback of a previous revision.",
|
|
1707
|
+
"enum": [
|
|
1708
|
+
"rollback"
|
|
1709
|
+
]
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
"required": [
|
|
1713
|
+
"type"
|
|
1714
|
+
]
|
|
1715
|
+
}
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
"RevisionTypeUpdate": {
|
|
1719
|
+
"allOf": [
|
|
1720
|
+
{
|
|
1721
|
+
"$ref": "#/components/schemas/RevisionBase"
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"type": "object",
|
|
1725
|
+
"properties": {
|
|
1726
|
+
"type": {
|
|
1727
|
+
"type": "string",
|
|
1728
|
+
"description": "Revision created when updating a change request with changes from primary.",
|
|
1729
|
+
"enum": [
|
|
1730
|
+
"update"
|
|
1731
|
+
]
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
"required": [
|
|
1735
|
+
"type"
|
|
1736
|
+
]
|
|
1737
|
+
}
|
|
1738
|
+
]
|
|
1739
|
+
},
|
|
1740
|
+
"RevisionTypeEdits": {
|
|
1741
|
+
"allOf": [
|
|
1742
|
+
{
|
|
1743
|
+
"$ref": "#/components/schemas/RevisionBase"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"type": "object",
|
|
1747
|
+
"properties": {
|
|
1748
|
+
"type": {
|
|
1749
|
+
"type": "string",
|
|
1750
|
+
"description": "Revision created by editing the content.",
|
|
1751
|
+
"enum": [
|
|
1752
|
+
"edits"
|
|
1753
|
+
]
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
"required": [
|
|
1757
|
+
"type"
|
|
1758
|
+
]
|
|
1759
|
+
}
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
"Revision": {
|
|
1763
|
+
"oneOf": [
|
|
1764
|
+
{
|
|
1765
|
+
"$ref": "#/components/schemas/RevisionTypeEdits"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"$ref": "#/components/schemas/RevisionTypeMerge"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"$ref": "#/components/schemas/RevisionTypeRollback"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"$ref": "#/components/schemas/RevisionTypeUpdate"
|
|
1775
|
+
}
|
|
1776
|
+
],
|
|
1777
|
+
"discriminator": {
|
|
1778
|
+
"propertyName": "type"
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1663
1781
|
"RevisionPage": {
|
|
1664
1782
|
"oneOf": [
|
|
1665
1783
|
{
|
|
@@ -2273,26 +2391,119 @@
|
|
|
2273
2391
|
"Recording": {
|
|
2274
2392
|
"type": "object",
|
|
2275
2393
|
"properties": {
|
|
2394
|
+
"object": {
|
|
2395
|
+
"type": "string",
|
|
2396
|
+
"description": "Type of Object, always equals to \"recording\"",
|
|
2397
|
+
"enum": [
|
|
2398
|
+
"recording"
|
|
2399
|
+
]
|
|
2400
|
+
},
|
|
2276
2401
|
"id": {
|
|
2277
2402
|
"type": "string",
|
|
2278
2403
|
"description": "Unique identifier for the recording"
|
|
2279
2404
|
},
|
|
2405
|
+
"title": {
|
|
2406
|
+
"$ref": "#/components/schemas/RecordingTitle"
|
|
2407
|
+
},
|
|
2280
2408
|
"context": {
|
|
2281
2409
|
"$ref": "#/components/schemas/RecordingContext"
|
|
2282
2410
|
},
|
|
2283
|
-
"
|
|
2411
|
+
"externalId": {
|
|
2412
|
+
"type": "string",
|
|
2413
|
+
"description": "ID in the original source of the recording."
|
|
2414
|
+
},
|
|
2415
|
+
"externalURL": {
|
|
2416
|
+
"type": "string",
|
|
2417
|
+
"format": "uri",
|
|
2418
|
+
"description": "URL of the source from which the recording originated"
|
|
2419
|
+
},
|
|
2420
|
+
"createdAt": {
|
|
2284
2421
|
"type": "string",
|
|
2285
2422
|
"format": "date-time"
|
|
2286
2423
|
},
|
|
2287
2424
|
"stoppedAt": {
|
|
2288
2425
|
"type": "string",
|
|
2289
2426
|
"format": "date-time"
|
|
2427
|
+
},
|
|
2428
|
+
"events": {
|
|
2429
|
+
"description": "Count of events recorded.",
|
|
2430
|
+
"properties": {
|
|
2431
|
+
"terminal.command": {
|
|
2432
|
+
"type": "integer"
|
|
2433
|
+
},
|
|
2434
|
+
"speech": {
|
|
2435
|
+
"type": "integer"
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
},
|
|
2439
|
+
"contributors": {
|
|
2440
|
+
"type": "array",
|
|
2441
|
+
"minItems": 1,
|
|
2442
|
+
"items": {
|
|
2443
|
+
"oneOf": [
|
|
2444
|
+
{
|
|
2445
|
+
"$ref": "#/components/schemas/Integration"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"$ref": "#/components/schemas/User"
|
|
2449
|
+
}
|
|
2450
|
+
]
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"output": {
|
|
2454
|
+
"description": "Output document for the recording. Is not set when recording is not finished, the user has not access to the space, or content has been deleted.",
|
|
2455
|
+
"$ref": "#/components/schemas/RecordingOutput"
|
|
2456
|
+
},
|
|
2457
|
+
"urls": {
|
|
2458
|
+
"type": "object",
|
|
2459
|
+
"description": "URLs associated with the object",
|
|
2460
|
+
"properties": {
|
|
2461
|
+
"location": {
|
|
2462
|
+
"type": "string",
|
|
2463
|
+
"description": "URL of the recording in the API",
|
|
2464
|
+
"format": "uri"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"required": [
|
|
2468
|
+
"location"
|
|
2469
|
+
]
|
|
2290
2470
|
}
|
|
2291
2471
|
},
|
|
2292
2472
|
"required": [
|
|
2473
|
+
"object",
|
|
2293
2474
|
"id",
|
|
2475
|
+
"title",
|
|
2294
2476
|
"context",
|
|
2295
|
-
"
|
|
2477
|
+
"events",
|
|
2478
|
+
"createdAt",
|
|
2479
|
+
"contributors",
|
|
2480
|
+
"urls"
|
|
2481
|
+
]
|
|
2482
|
+
},
|
|
2483
|
+
"RecordingTitle": {
|
|
2484
|
+
"type": "string",
|
|
2485
|
+
"description": "Optional title describing the recording",
|
|
2486
|
+
"maxLength": 100
|
|
2487
|
+
},
|
|
2488
|
+
"RecordingOutput": {
|
|
2489
|
+
"type": "object",
|
|
2490
|
+
"properties": {
|
|
2491
|
+
"url": {
|
|
2492
|
+
"type": "string",
|
|
2493
|
+
"format": "uri",
|
|
2494
|
+
"description": "URL of the generated page"
|
|
2495
|
+
},
|
|
2496
|
+
"space": {
|
|
2497
|
+
"$ref": "#/components/schemas/Space"
|
|
2498
|
+
},
|
|
2499
|
+
"page": {
|
|
2500
|
+
"$ref": "#/components/schemas/RevisionPageDocument"
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
"required": [
|
|
2504
|
+
"url",
|
|
2505
|
+
"space",
|
|
2506
|
+
"page"
|
|
2296
2507
|
]
|
|
2297
2508
|
},
|
|
2298
2509
|
"RecordingEvent": {
|
|
@@ -2306,11 +2517,15 @@
|
|
|
2306
2517
|
]
|
|
2307
2518
|
},
|
|
2308
2519
|
"RecordingContext": {
|
|
2309
|
-
"
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2520
|
+
"oneOf": [
|
|
2521
|
+
{
|
|
2522
|
+
"type": "string",
|
|
2523
|
+
"enum": [
|
|
2524
|
+
"meeting",
|
|
2525
|
+
"conversation",
|
|
2526
|
+
"walkthrough"
|
|
2527
|
+
]
|
|
2528
|
+
}
|
|
2314
2529
|
]
|
|
2315
2530
|
},
|
|
2316
2531
|
"BaseRecordingEvent": {
|
|
@@ -3276,6 +3491,7 @@
|
|
|
3276
3491
|
"type": "string",
|
|
3277
3492
|
"enum": [
|
|
3278
3493
|
"organization:entities:write",
|
|
3494
|
+
"recording:write",
|
|
3279
3495
|
"space:views:read",
|
|
3280
3496
|
"space:content:read",
|
|
3281
3497
|
"space:content:write",
|
|
@@ -5400,17 +5616,27 @@
|
|
|
5400
5616
|
]
|
|
5401
5617
|
},
|
|
5402
5618
|
"children": {
|
|
5403
|
-
"
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
{
|
|
5410
|
-
"
|
|
5619
|
+
"oneOf": [
|
|
5620
|
+
{
|
|
5621
|
+
"type": "string"
|
|
5622
|
+
},
|
|
5623
|
+
{
|
|
5624
|
+
"type": "array",
|
|
5625
|
+
"items": {
|
|
5626
|
+
"oneOf": [
|
|
5627
|
+
{
|
|
5628
|
+
"type": "string"
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
"$ref": "#/components/schemas/ContentKitText"
|
|
5632
|
+
},
|
|
5633
|
+
{
|
|
5634
|
+
"$ref": "#/components/schemas/ContentKitLink"
|
|
5635
|
+
}
|
|
5636
|
+
]
|
|
5411
5637
|
}
|
|
5412
|
-
|
|
5413
|
-
|
|
5638
|
+
}
|
|
5639
|
+
]
|
|
5414
5640
|
}
|
|
5415
5641
|
},
|
|
5416
5642
|
"required": [
|
|
@@ -5679,6 +5905,7 @@
|
|
|
5679
5905
|
"close",
|
|
5680
5906
|
"edit",
|
|
5681
5907
|
"github",
|
|
5908
|
+
"gitlab",
|
|
5682
5909
|
"maximize",
|
|
5683
5910
|
"email",
|
|
5684
5911
|
"settings",
|
|
@@ -5687,7 +5914,8 @@
|
|
|
5687
5914
|
"star",
|
|
5688
5915
|
"warning",
|
|
5689
5916
|
"link",
|
|
5690
|
-
"link-external"
|
|
5917
|
+
"link-external",
|
|
5918
|
+
"eye"
|
|
5691
5919
|
]
|
|
5692
5920
|
},
|
|
5693
5921
|
"ContentKitModal": {
|
|
@@ -5993,6 +6221,46 @@
|
|
|
5993
6221
|
"aspectRatio"
|
|
5994
6222
|
]
|
|
5995
6223
|
},
|
|
6224
|
+
"ContentKitLink": {
|
|
6225
|
+
"type": "object",
|
|
6226
|
+
"properties": {
|
|
6227
|
+
"type": {
|
|
6228
|
+
"type": "string",
|
|
6229
|
+
"enum": [
|
|
6230
|
+
"link"
|
|
6231
|
+
]
|
|
6232
|
+
},
|
|
6233
|
+
"target": {
|
|
6234
|
+
"type": "object",
|
|
6235
|
+
"properties": {
|
|
6236
|
+
"url": {
|
|
6237
|
+
"oneOf": [
|
|
6238
|
+
{
|
|
6239
|
+
"type": "string"
|
|
6240
|
+
},
|
|
6241
|
+
{
|
|
6242
|
+
"$ref": "#/components/schemas/ContentKitURL"
|
|
6243
|
+
}
|
|
6244
|
+
]
|
|
6245
|
+
}
|
|
6246
|
+
},
|
|
6247
|
+
"required": [
|
|
6248
|
+
"url"
|
|
6249
|
+
]
|
|
6250
|
+
},
|
|
6251
|
+
"children": {
|
|
6252
|
+
"type": "array",
|
|
6253
|
+
"items": {
|
|
6254
|
+
"type": "string"
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
},
|
|
6258
|
+
"required": [
|
|
6259
|
+
"type",
|
|
6260
|
+
"target",
|
|
6261
|
+
"children"
|
|
6262
|
+
]
|
|
6263
|
+
},
|
|
5996
6264
|
"ContentKitInput": {
|
|
5997
6265
|
"type": "object",
|
|
5998
6266
|
"description": "Field for an input.",
|
|
@@ -6111,6 +6379,10 @@
|
|
|
6111
6379
|
"description": "Should the select accept the selection of multiple options. If true, the state will be an array.",
|
|
6112
6380
|
"type": "boolean"
|
|
6113
6381
|
},
|
|
6382
|
+
"acceptInput": {
|
|
6383
|
+
"description": "Should the filter input be allowed to be selected as an option.",
|
|
6384
|
+
"type": "boolean"
|
|
6385
|
+
},
|
|
6114
6386
|
"options": {
|
|
6115
6387
|
"description": "Array of options to display in the select.",
|
|
6116
6388
|
"oneOf": [
|
|
@@ -6350,6 +6622,9 @@
|
|
|
6350
6622
|
},
|
|
6351
6623
|
{
|
|
6352
6624
|
"$ref": "#/components/schemas/ContentKitHint"
|
|
6625
|
+
},
|
|
6626
|
+
{
|
|
6627
|
+
"$ref": "#/components/schemas/ContentKitLink"
|
|
6353
6628
|
}
|
|
6354
6629
|
],
|
|
6355
6630
|
"discriminator": {
|
|
@@ -6364,6 +6639,9 @@
|
|
|
6364
6639
|
},
|
|
6365
6640
|
{
|
|
6366
6641
|
"$ref": "#/components/schemas/ContentKitImage"
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
"$ref": "#/components/schemas/ContentKitLink"
|
|
6367
6645
|
}
|
|
6368
6646
|
],
|
|
6369
6647
|
"discriminator": {
|
|
@@ -6469,6 +6747,9 @@
|
|
|
6469
6747
|
{
|
|
6470
6748
|
"$ref": "#/components/schemas/OrganizationEntitiesChannel"
|
|
6471
6749
|
},
|
|
6750
|
+
{
|
|
6751
|
+
"$ref": "#/components/schemas/OrganizationRecordingsChannel"
|
|
6752
|
+
},
|
|
6472
6753
|
{
|
|
6473
6754
|
"type": "object",
|
|
6474
6755
|
"properties": {
|
|
@@ -6978,6 +7259,24 @@
|
|
|
6978
7259
|
"organization"
|
|
6979
7260
|
]
|
|
6980
7261
|
},
|
|
7262
|
+
"OrganizationRecordingsChannel": {
|
|
7263
|
+
"type": "object",
|
|
7264
|
+
"properties": {
|
|
7265
|
+
"channel": {
|
|
7266
|
+
"type": "string",
|
|
7267
|
+
"enum": [
|
|
7268
|
+
"organization-recordings"
|
|
7269
|
+
]
|
|
7270
|
+
},
|
|
7271
|
+
"organization": {
|
|
7272
|
+
"type": "string"
|
|
7273
|
+
}
|
|
7274
|
+
},
|
|
7275
|
+
"required": [
|
|
7276
|
+
"channel",
|
|
7277
|
+
"organization"
|
|
7278
|
+
]
|
|
7279
|
+
},
|
|
6981
7280
|
"CustomField": {
|
|
6982
7281
|
"type": "object",
|
|
6983
7282
|
"description": "Custom field",
|
|
@@ -12291,7 +12590,7 @@
|
|
|
12291
12590
|
],
|
|
12292
12591
|
"security": [
|
|
12293
12592
|
{
|
|
12294
|
-
"integration": []
|
|
12593
|
+
"integration-installation": []
|
|
12295
12594
|
}
|
|
12296
12595
|
],
|
|
12297
12596
|
"parameters": [
|
|
@@ -12348,7 +12647,7 @@
|
|
|
12348
12647
|
],
|
|
12349
12648
|
"security": [
|
|
12350
12649
|
{
|
|
12351
|
-
"integration": []
|
|
12650
|
+
"integration-installation": []
|
|
12352
12651
|
}
|
|
12353
12652
|
],
|
|
12354
12653
|
"parameters": [
|
|
@@ -14791,6 +15090,63 @@
|
|
|
14791
15090
|
}
|
|
14792
15091
|
},
|
|
14793
15092
|
"/orgs/{organizationId}/recordings": {
|
|
15093
|
+
"get": {
|
|
15094
|
+
"operationId": "listRecordings",
|
|
15095
|
+
"summary": "List recordings",
|
|
15096
|
+
"description": "List recordings in an organization.\n",
|
|
15097
|
+
"tags": [
|
|
15098
|
+
"organizations"
|
|
15099
|
+
],
|
|
15100
|
+
"security": [
|
|
15101
|
+
{
|
|
15102
|
+
"user": []
|
|
15103
|
+
}
|
|
15104
|
+
],
|
|
15105
|
+
"parameters": [
|
|
15106
|
+
{
|
|
15107
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15108
|
+
},
|
|
15109
|
+
{
|
|
15110
|
+
"$ref": "#/components/parameters/listPage"
|
|
15111
|
+
},
|
|
15112
|
+
{
|
|
15113
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15114
|
+
}
|
|
15115
|
+
],
|
|
15116
|
+
"responses": {
|
|
15117
|
+
"200": {
|
|
15118
|
+
"description": "OK",
|
|
15119
|
+
"content": {
|
|
15120
|
+
"application/json": {
|
|
15121
|
+
"schema": {
|
|
15122
|
+
"allOf": [
|
|
15123
|
+
{
|
|
15124
|
+
"$ref": "#/components/schemas/List"
|
|
15125
|
+
},
|
|
15126
|
+
{
|
|
15127
|
+
"type": "object",
|
|
15128
|
+
"required": [
|
|
15129
|
+
"items"
|
|
15130
|
+
],
|
|
15131
|
+
"properties": {
|
|
15132
|
+
"items": {
|
|
15133
|
+
"type": "array",
|
|
15134
|
+
"items": {
|
|
15135
|
+
"$ref": "#/components/schemas/Recording"
|
|
15136
|
+
}
|
|
15137
|
+
}
|
|
15138
|
+
}
|
|
15139
|
+
}
|
|
15140
|
+
]
|
|
15141
|
+
}
|
|
15142
|
+
}
|
|
15143
|
+
}
|
|
15144
|
+
},
|
|
15145
|
+
"default": {
|
|
15146
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15147
|
+
}
|
|
15148
|
+
}
|
|
15149
|
+
},
|
|
14794
15150
|
"post": {
|
|
14795
15151
|
"operationId": "startRecording",
|
|
14796
15152
|
"summary": "Start a recording",
|
|
@@ -14813,16 +15169,23 @@
|
|
|
14813
15169
|
"schema": {
|
|
14814
15170
|
"type": "object",
|
|
14815
15171
|
"properties": {
|
|
14816
|
-
"
|
|
14817
|
-
"
|
|
14818
|
-
"type": "string"
|
|
15172
|
+
"title": {
|
|
15173
|
+
"$ref": "#/components/schemas/RecordingTitle"
|
|
14819
15174
|
},
|
|
14820
15175
|
"context": {
|
|
14821
15176
|
"$ref": "#/components/schemas/RecordingContext"
|
|
15177
|
+
},
|
|
15178
|
+
"externalId": {
|
|
15179
|
+
"type": "string",
|
|
15180
|
+
"description": "ID in the original source of the recording."
|
|
15181
|
+
},
|
|
15182
|
+
"externalURL": {
|
|
15183
|
+
"type": "string",
|
|
15184
|
+
"format": "uri",
|
|
15185
|
+
"description": "URL of the original source of the recording."
|
|
14822
15186
|
}
|
|
14823
15187
|
},
|
|
14824
15188
|
"required": [
|
|
14825
|
-
"space",
|
|
14826
15189
|
"context"
|
|
14827
15190
|
]
|
|
14828
15191
|
}
|
|
@@ -14854,6 +15217,43 @@
|
|
|
14854
15217
|
}
|
|
14855
15218
|
}
|
|
14856
15219
|
},
|
|
15220
|
+
"/orgs/{organizationId}/recordings/{recordingId}": {
|
|
15221
|
+
"get": {
|
|
15222
|
+
"operationId": "getRecording",
|
|
15223
|
+
"summary": "Get a recording by its ID",
|
|
15224
|
+
"tags": [
|
|
15225
|
+
"organizations"
|
|
15226
|
+
],
|
|
15227
|
+
"security": [
|
|
15228
|
+
{
|
|
15229
|
+
"user": []
|
|
15230
|
+
}
|
|
15231
|
+
],
|
|
15232
|
+
"parameters": [
|
|
15233
|
+
{
|
|
15234
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15235
|
+
},
|
|
15236
|
+
{
|
|
15237
|
+
"$ref": "#/components/parameters/recordingId"
|
|
15238
|
+
}
|
|
15239
|
+
],
|
|
15240
|
+
"responses": {
|
|
15241
|
+
"200": {
|
|
15242
|
+
"description": "OK",
|
|
15243
|
+
"content": {
|
|
15244
|
+
"application/json": {
|
|
15245
|
+
"schema": {
|
|
15246
|
+
"$ref": "#/components/schemas/Recording"
|
|
15247
|
+
}
|
|
15248
|
+
}
|
|
15249
|
+
}
|
|
15250
|
+
},
|
|
15251
|
+
"default": {
|
|
15252
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15253
|
+
}
|
|
15254
|
+
}
|
|
15255
|
+
}
|
|
15256
|
+
},
|
|
14857
15257
|
"/orgs/{organizationId}/recordings/{recordingId}/events": {
|
|
14858
15258
|
"post": {
|
|
14859
15259
|
"operationId": "addEventsToRecording",
|
|
@@ -14895,7 +15295,7 @@
|
|
|
14895
15295
|
}
|
|
14896
15296
|
},
|
|
14897
15297
|
"responses": {
|
|
14898
|
-
"
|
|
15298
|
+
"204": {
|
|
14899
15299
|
"description": "Events added"
|
|
14900
15300
|
},
|
|
14901
15301
|
"default": {
|
|
@@ -14924,22 +15324,31 @@
|
|
|
14924
15324
|
"$ref": "#/components/parameters/recordingId"
|
|
14925
15325
|
}
|
|
14926
15326
|
],
|
|
15327
|
+
"requestBody": {
|
|
15328
|
+
"content": {
|
|
15329
|
+
"application/json": {
|
|
15330
|
+
"schema": {
|
|
15331
|
+
"type": "object",
|
|
15332
|
+
"properties": {
|
|
15333
|
+
"space": {
|
|
15334
|
+
"description": "The space in which the docs should be generated",
|
|
15335
|
+
"type": "string"
|
|
15336
|
+
}
|
|
15337
|
+
},
|
|
15338
|
+
"required": [
|
|
15339
|
+
"space"
|
|
15340
|
+
]
|
|
15341
|
+
}
|
|
15342
|
+
}
|
|
15343
|
+
}
|
|
15344
|
+
},
|
|
14927
15345
|
"responses": {
|
|
14928
15346
|
"200": {
|
|
14929
15347
|
"description": "Recording stopped",
|
|
14930
15348
|
"content": {
|
|
14931
15349
|
"application/json": {
|
|
14932
15350
|
"schema": {
|
|
14933
|
-
"
|
|
14934
|
-
"properties": {
|
|
14935
|
-
"url": {
|
|
14936
|
-
"description": "URL of the generated document",
|
|
14937
|
-
"type": "string"
|
|
14938
|
-
}
|
|
14939
|
-
},
|
|
14940
|
-
"required": [
|
|
14941
|
-
"url"
|
|
14942
|
-
]
|
|
15351
|
+
"$ref": "#/components/schemas/RecordingOutput"
|
|
14943
15352
|
}
|
|
14944
15353
|
}
|
|
14945
15354
|
}
|