@gitbook/api 0.4.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 +317 -26
- package/dist/index.cjs +59 -0
- package/dist/index.js +59 -0
- package/package.json +1 -1
- package/spec/openapi.json +1123 -60
- package/spec/openapi.yaml +664 -34
package/spec/openapi.yaml
CHANGED
|
@@ -18,6 +18,7 @@ security:
|
|
|
18
18
|
- user-internal: []
|
|
19
19
|
- user-staff: []
|
|
20
20
|
- integration: []
|
|
21
|
+
- integration-installation: []
|
|
21
22
|
components:
|
|
22
23
|
securitySchemes:
|
|
23
24
|
user:
|
|
@@ -32,6 +33,9 @@ components:
|
|
|
32
33
|
integration:
|
|
33
34
|
type: http
|
|
34
35
|
scheme: bearer
|
|
36
|
+
integration-installation:
|
|
37
|
+
type: http
|
|
38
|
+
scheme: bearer
|
|
35
39
|
parameters:
|
|
36
40
|
listLimit:
|
|
37
41
|
name: limit
|
|
@@ -138,6 +142,13 @@ components:
|
|
|
138
142
|
description: The unique id of the organization
|
|
139
143
|
schema:
|
|
140
144
|
type: string
|
|
145
|
+
recordingId:
|
|
146
|
+
name: recordingId
|
|
147
|
+
in: path
|
|
148
|
+
required: true
|
|
149
|
+
description: The unique id of a recording
|
|
150
|
+
schema:
|
|
151
|
+
type: string
|
|
141
152
|
userId:
|
|
142
153
|
name: userId
|
|
143
154
|
in: path
|
|
@@ -426,6 +437,9 @@ components:
|
|
|
426
437
|
standalone:
|
|
427
438
|
type: boolean
|
|
428
439
|
description: If true, the import will generate a revision without updating the space primary content.
|
|
440
|
+
gitInfo:
|
|
441
|
+
description: Optional metadata to store on the space about the Git provider
|
|
442
|
+
$ref: "#/components/schemas/RequestUpdateSpaceGitInfo"
|
|
429
443
|
required:
|
|
430
444
|
- url
|
|
431
445
|
- ref
|
|
@@ -455,6 +469,9 @@ components:
|
|
|
455
469
|
description: Path to a root directory for the project in the repository.
|
|
456
470
|
force:
|
|
457
471
|
type: boolean
|
|
472
|
+
gitInfo:
|
|
473
|
+
description: Optional metadata to store on the space about the Git provider
|
|
474
|
+
$ref: "#/components/schemas/RequestUpdateSpaceGitInfo"
|
|
458
475
|
required:
|
|
459
476
|
- url
|
|
460
477
|
- ref
|
|
@@ -500,9 +517,6 @@ components:
|
|
|
500
517
|
componentId:
|
|
501
518
|
type: string
|
|
502
519
|
description: ID of the component to render in the integration.
|
|
503
|
-
spaceId:
|
|
504
|
-
type: string
|
|
505
|
-
description: ID of the space to render.
|
|
506
520
|
props:
|
|
507
521
|
type: object
|
|
508
522
|
description: Current properties of the UI.
|
|
@@ -515,7 +529,6 @@ components:
|
|
|
515
529
|
$ref: "#/components/schemas/ContentKitAction"
|
|
516
530
|
required:
|
|
517
531
|
- componentId
|
|
518
|
-
- spaceId
|
|
519
532
|
- props
|
|
520
533
|
- context
|
|
521
534
|
RequestUpdateContentPublishingAuth:
|
|
@@ -538,6 +551,19 @@ components:
|
|
|
538
551
|
$ref: "#/components/schemas/OrganizationUseCase"
|
|
539
552
|
required:
|
|
540
553
|
- title
|
|
554
|
+
RequestUpdateSpaceGitInfo:
|
|
555
|
+
type: object
|
|
556
|
+
description: Update metadata about the Git provider on the space
|
|
557
|
+
properties:
|
|
558
|
+
provider:
|
|
559
|
+
type: string
|
|
560
|
+
description: The git provider
|
|
561
|
+
enum:
|
|
562
|
+
- github
|
|
563
|
+
- gitlab
|
|
564
|
+
url:
|
|
565
|
+
type: string
|
|
566
|
+
description: The repository's tree URL
|
|
541
567
|
ApiInformation:
|
|
542
568
|
type: object
|
|
543
569
|
properties:
|
|
@@ -940,6 +966,8 @@ components:
|
|
|
940
966
|
$ref: "#/components/schemas/Date"
|
|
941
967
|
updatedAt:
|
|
942
968
|
$ref: "#/components/schemas/Date"
|
|
969
|
+
deletedAt:
|
|
970
|
+
$ref: "#/components/schemas/Date"
|
|
943
971
|
urls:
|
|
944
972
|
type: object
|
|
945
973
|
description: URLs associated with the object
|
|
@@ -1093,7 +1121,7 @@ components:
|
|
|
1093
1121
|
- entity
|
|
1094
1122
|
- environments
|
|
1095
1123
|
- urls
|
|
1096
|
-
|
|
1124
|
+
RevisionBase:
|
|
1097
1125
|
type: object
|
|
1098
1126
|
properties:
|
|
1099
1127
|
object:
|
|
@@ -1161,6 +1189,65 @@ components:
|
|
|
1161
1189
|
- pages
|
|
1162
1190
|
- files
|
|
1163
1191
|
- urls
|
|
1192
|
+
RevisionTypeMerge:
|
|
1193
|
+
allOf:
|
|
1194
|
+
- $ref: "#/components/schemas/RevisionBase"
|
|
1195
|
+
- type: object
|
|
1196
|
+
properties:
|
|
1197
|
+
type:
|
|
1198
|
+
type: string
|
|
1199
|
+
description: Revision created when merging a change request with primary.
|
|
1200
|
+
enum:
|
|
1201
|
+
- merge
|
|
1202
|
+
mergedFrom:
|
|
1203
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
1204
|
+
required:
|
|
1205
|
+
- type
|
|
1206
|
+
- mergedFrom
|
|
1207
|
+
RevisionTypeRollback:
|
|
1208
|
+
allOf:
|
|
1209
|
+
- $ref: "#/components/schemas/RevisionBase"
|
|
1210
|
+
- type: object
|
|
1211
|
+
properties:
|
|
1212
|
+
type:
|
|
1213
|
+
type: string
|
|
1214
|
+
description: Revision created as a rollback of a previous revision.
|
|
1215
|
+
enum:
|
|
1216
|
+
- rollback
|
|
1217
|
+
required:
|
|
1218
|
+
- type
|
|
1219
|
+
RevisionTypeUpdate:
|
|
1220
|
+
allOf:
|
|
1221
|
+
- $ref: "#/components/schemas/RevisionBase"
|
|
1222
|
+
- type: object
|
|
1223
|
+
properties:
|
|
1224
|
+
type:
|
|
1225
|
+
type: string
|
|
1226
|
+
description: Revision created when updating a change request with changes from primary.
|
|
1227
|
+
enum:
|
|
1228
|
+
- update
|
|
1229
|
+
required:
|
|
1230
|
+
- type
|
|
1231
|
+
RevisionTypeEdits:
|
|
1232
|
+
allOf:
|
|
1233
|
+
- $ref: "#/components/schemas/RevisionBase"
|
|
1234
|
+
- type: object
|
|
1235
|
+
properties:
|
|
1236
|
+
type:
|
|
1237
|
+
type: string
|
|
1238
|
+
description: Revision created by editing the content.
|
|
1239
|
+
enum:
|
|
1240
|
+
- edits
|
|
1241
|
+
required:
|
|
1242
|
+
- type
|
|
1243
|
+
Revision:
|
|
1244
|
+
oneOf:
|
|
1245
|
+
- $ref: "#/components/schemas/RevisionTypeEdits"
|
|
1246
|
+
- $ref: "#/components/schemas/RevisionTypeMerge"
|
|
1247
|
+
- $ref: "#/components/schemas/RevisionTypeRollback"
|
|
1248
|
+
- $ref: "#/components/schemas/RevisionTypeUpdate"
|
|
1249
|
+
discriminator:
|
|
1250
|
+
propertyName: type
|
|
1164
1251
|
RevisionPage:
|
|
1165
1252
|
oneOf:
|
|
1166
1253
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
@@ -1308,7 +1395,10 @@ components:
|
|
|
1308
1395
|
$ref: "#/components/schemas/GitSyncOperation"
|
|
1309
1396
|
url:
|
|
1310
1397
|
type: string
|
|
1311
|
-
description: The URL to the repository, used when rendering public content.
|
|
1398
|
+
description: The URL to the repository tree, used when rendering public content.
|
|
1399
|
+
updatedAt:
|
|
1400
|
+
description: When the Git provider details were last updated
|
|
1401
|
+
$ref: "#/components/schemas/Date"
|
|
1312
1402
|
GitSyncOperation:
|
|
1313
1403
|
type: object
|
|
1314
1404
|
properties:
|
|
@@ -1558,6 +1648,9 @@ components:
|
|
|
1558
1648
|
members:
|
|
1559
1649
|
type: integer
|
|
1560
1650
|
description: Count of members in this team.
|
|
1651
|
+
spaces:
|
|
1652
|
+
type: number
|
|
1653
|
+
description: Count of spaces this team has access to.
|
|
1561
1654
|
createdAt:
|
|
1562
1655
|
description: Date at which the team was created.
|
|
1563
1656
|
$ref: "#/components/schemas/Date"
|
|
@@ -1566,6 +1659,7 @@ components:
|
|
|
1566
1659
|
- id
|
|
1567
1660
|
- title
|
|
1568
1661
|
- members
|
|
1662
|
+
- spaces
|
|
1569
1663
|
- createdAt
|
|
1570
1664
|
TeamMember:
|
|
1571
1665
|
type: object
|
|
@@ -1583,6 +1677,168 @@ components:
|
|
|
1583
1677
|
enum:
|
|
1584
1678
|
- admin
|
|
1585
1679
|
- participant
|
|
1680
|
+
Recording:
|
|
1681
|
+
type: object
|
|
1682
|
+
properties:
|
|
1683
|
+
object:
|
|
1684
|
+
type: string
|
|
1685
|
+
description: Type of Object, always equals to "recording"
|
|
1686
|
+
enum:
|
|
1687
|
+
- recording
|
|
1688
|
+
id:
|
|
1689
|
+
type: string
|
|
1690
|
+
description: Unique identifier for the recording
|
|
1691
|
+
title:
|
|
1692
|
+
$ref: "#/components/schemas/RecordingTitle"
|
|
1693
|
+
context:
|
|
1694
|
+
$ref: "#/components/schemas/RecordingContext"
|
|
1695
|
+
externalId:
|
|
1696
|
+
type: string
|
|
1697
|
+
description: ID in the original source of the recording.
|
|
1698
|
+
externalURL:
|
|
1699
|
+
type: string
|
|
1700
|
+
format: uri
|
|
1701
|
+
description: URL of the source from which the recording originated
|
|
1702
|
+
createdAt:
|
|
1703
|
+
type: string
|
|
1704
|
+
format: date-time
|
|
1705
|
+
stoppedAt:
|
|
1706
|
+
type: string
|
|
1707
|
+
format: date-time
|
|
1708
|
+
events:
|
|
1709
|
+
description: Count of events recorded.
|
|
1710
|
+
properties:
|
|
1711
|
+
terminal.command:
|
|
1712
|
+
type: integer
|
|
1713
|
+
speech:
|
|
1714
|
+
type: integer
|
|
1715
|
+
contributors:
|
|
1716
|
+
type: array
|
|
1717
|
+
minItems: 1
|
|
1718
|
+
items:
|
|
1719
|
+
oneOf:
|
|
1720
|
+
- $ref: "#/components/schemas/Integration"
|
|
1721
|
+
- $ref: "#/components/schemas/User"
|
|
1722
|
+
output:
|
|
1723
|
+
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.
|
|
1724
|
+
$ref: "#/components/schemas/RecordingOutput"
|
|
1725
|
+
urls:
|
|
1726
|
+
type: object
|
|
1727
|
+
description: URLs associated with the object
|
|
1728
|
+
properties:
|
|
1729
|
+
location:
|
|
1730
|
+
type: string
|
|
1731
|
+
description: URL of the recording in the API
|
|
1732
|
+
format: uri
|
|
1733
|
+
required:
|
|
1734
|
+
- location
|
|
1735
|
+
required:
|
|
1736
|
+
- object
|
|
1737
|
+
- id
|
|
1738
|
+
- title
|
|
1739
|
+
- context
|
|
1740
|
+
- events
|
|
1741
|
+
- createdAt
|
|
1742
|
+
- contributors
|
|
1743
|
+
- urls
|
|
1744
|
+
RecordingTitle:
|
|
1745
|
+
type: string
|
|
1746
|
+
description: Optional title describing the recording
|
|
1747
|
+
maxLength: 100
|
|
1748
|
+
RecordingOutput:
|
|
1749
|
+
type: object
|
|
1750
|
+
properties:
|
|
1751
|
+
url:
|
|
1752
|
+
type: string
|
|
1753
|
+
format: uri
|
|
1754
|
+
description: URL of the generated page
|
|
1755
|
+
space:
|
|
1756
|
+
$ref: "#/components/schemas/Space"
|
|
1757
|
+
page:
|
|
1758
|
+
$ref: "#/components/schemas/RevisionPageDocument"
|
|
1759
|
+
required:
|
|
1760
|
+
- url
|
|
1761
|
+
- space
|
|
1762
|
+
- page
|
|
1763
|
+
RecordingEvent:
|
|
1764
|
+
oneOf:
|
|
1765
|
+
- $ref: "#/components/schemas/RecordingTerminalCommandEvent"
|
|
1766
|
+
- $ref: "#/components/schemas/RecordingSpeechEvent"
|
|
1767
|
+
RecordingContext:
|
|
1768
|
+
oneOf:
|
|
1769
|
+
- type: string
|
|
1770
|
+
enum:
|
|
1771
|
+
- meeting
|
|
1772
|
+
- conversation
|
|
1773
|
+
- walkthrough
|
|
1774
|
+
BaseRecordingEvent:
|
|
1775
|
+
type: object
|
|
1776
|
+
properties:
|
|
1777
|
+
type:
|
|
1778
|
+
type: string
|
|
1779
|
+
description: The type of event
|
|
1780
|
+
timestamp:
|
|
1781
|
+
type: string
|
|
1782
|
+
format: date-time
|
|
1783
|
+
description: When the event happened
|
|
1784
|
+
source:
|
|
1785
|
+
type: string
|
|
1786
|
+
description: Optionally, provide the source of the event. GitBook may use this to improve the generated content.
|
|
1787
|
+
maxLength: 50
|
|
1788
|
+
actor:
|
|
1789
|
+
type: object
|
|
1790
|
+
description: Optionally, provide the actor of the event, in the context of multiple people contributing to the recording.
|
|
1791
|
+
properties:
|
|
1792
|
+
name:
|
|
1793
|
+
type: string
|
|
1794
|
+
required:
|
|
1795
|
+
- name
|
|
1796
|
+
required:
|
|
1797
|
+
- type
|
|
1798
|
+
- timestamp
|
|
1799
|
+
RecordingSpeechEvent:
|
|
1800
|
+
allOf:
|
|
1801
|
+
- $ref: "#/components/schemas/BaseRecordingEvent"
|
|
1802
|
+
- type: object
|
|
1803
|
+
properties:
|
|
1804
|
+
type:
|
|
1805
|
+
type: string
|
|
1806
|
+
enum:
|
|
1807
|
+
- speech
|
|
1808
|
+
required:
|
|
1809
|
+
- type
|
|
1810
|
+
- oneOf:
|
|
1811
|
+
- type: object
|
|
1812
|
+
properties:
|
|
1813
|
+
audio:
|
|
1814
|
+
description: WAV audio file, encoded as base64
|
|
1815
|
+
type: string
|
|
1816
|
+
required:
|
|
1817
|
+
- audio
|
|
1818
|
+
- type: object
|
|
1819
|
+
properties:
|
|
1820
|
+
transcript:
|
|
1821
|
+
description: Transcript of the speech
|
|
1822
|
+
type: string
|
|
1823
|
+
required:
|
|
1824
|
+
- transcript
|
|
1825
|
+
RecordingTerminalCommandEvent:
|
|
1826
|
+
allOf:
|
|
1827
|
+
- $ref: "#/components/schemas/BaseRecordingEvent"
|
|
1828
|
+
- type: object
|
|
1829
|
+
properties:
|
|
1830
|
+
type:
|
|
1831
|
+
type: string
|
|
1832
|
+
enum:
|
|
1833
|
+
- terminal.command
|
|
1834
|
+
command:
|
|
1835
|
+
type: string
|
|
1836
|
+
stdout:
|
|
1837
|
+
type: string
|
|
1838
|
+
required:
|
|
1839
|
+
- type
|
|
1840
|
+
- command
|
|
1841
|
+
- stdout
|
|
1586
1842
|
ChangeRequest:
|
|
1587
1843
|
type: object
|
|
1588
1844
|
properties:
|
|
@@ -2189,6 +2445,7 @@ components:
|
|
|
2189
2445
|
type: string
|
|
2190
2446
|
enum:
|
|
2191
2447
|
- organization:entities:write
|
|
2448
|
+
- recording:write
|
|
2192
2449
|
- space:views:read
|
|
2193
2450
|
- space:content:read
|
|
2194
2451
|
- space:content:write
|
|
@@ -2196,6 +2453,7 @@ components:
|
|
|
2196
2453
|
- space:metadata:write
|
|
2197
2454
|
- space:script:inject
|
|
2198
2455
|
- space:script:cookies
|
|
2456
|
+
- space:git:sync
|
|
2199
2457
|
IntegrationCategories:
|
|
2200
2458
|
type: array
|
|
2201
2459
|
description: Categories for which the integration is listed in the marketplace
|
|
@@ -2334,7 +2592,7 @@ components:
|
|
|
2334
2592
|
type: object
|
|
2335
2593
|
properties:
|
|
2336
2594
|
account:
|
|
2337
|
-
$ref: "#/components/schemas/
|
|
2595
|
+
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
2338
2596
|
space:
|
|
2339
2597
|
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
2340
2598
|
IntegrationConfiguration:
|
|
@@ -2511,12 +2769,10 @@ components:
|
|
|
2511
2769
|
type: object
|
|
2512
2770
|
description: Runtime environment provided during the execution of integration's code.
|
|
2513
2771
|
properties:
|
|
2514
|
-
apiEndpoint:
|
|
2515
|
-
type: string
|
|
2516
|
-
description: URL of the HTTP API
|
|
2517
2772
|
authToken:
|
|
2518
2773
|
type: string
|
|
2519
|
-
description: Authentication token to use with the HTTP API
|
|
2774
|
+
description: Authentication token to use with the HTTP API. Depending on the context, the token might be representing the installation or the integration.
|
|
2775
|
+
deprecated: true
|
|
2520
2776
|
integration:
|
|
2521
2777
|
$ref: "#/components/schemas/Integration"
|
|
2522
2778
|
installation:
|
|
@@ -2525,8 +2781,23 @@ components:
|
|
|
2525
2781
|
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
2526
2782
|
secrets:
|
|
2527
2783
|
$ref: "#/components/schemas/IntegrationSecrets"
|
|
2784
|
+
apiEndpoint:
|
|
2785
|
+
type: string
|
|
2786
|
+
description: URL of the HTTP API
|
|
2787
|
+
apiTokens:
|
|
2788
|
+
type: object
|
|
2789
|
+
properties:
|
|
2790
|
+
integration:
|
|
2791
|
+
type: string
|
|
2792
|
+
description: API authentication token representing the integration.
|
|
2793
|
+
installation:
|
|
2794
|
+
type: string
|
|
2795
|
+
description: API authentication token representing the current installation.
|
|
2796
|
+
required:
|
|
2797
|
+
- integration
|
|
2528
2798
|
required:
|
|
2529
2799
|
- apiEndpoint
|
|
2800
|
+
- apiTokens
|
|
2530
2801
|
- integration
|
|
2531
2802
|
- secrets
|
|
2532
2803
|
IntegrationInstallationTarget:
|
|
@@ -2970,7 +3241,9 @@ components:
|
|
|
2970
3241
|
- type
|
|
2971
3242
|
UIRenderEvent:
|
|
2972
3243
|
allOf:
|
|
2973
|
-
-
|
|
3244
|
+
- oneOf:
|
|
3245
|
+
- $ref: "#/components/schemas/SpaceEvent"
|
|
3246
|
+
- $ref: "#/components/schemas/InstallationEvent"
|
|
2974
3247
|
- type: object
|
|
2975
3248
|
description: Event generated when rendering a UI
|
|
2976
3249
|
properties:
|
|
@@ -3396,26 +3669,74 @@ components:
|
|
|
3396
3669
|
description: Temporary access token to authenticate with the API
|
|
3397
3670
|
required:
|
|
3398
3671
|
- token
|
|
3672
|
+
ContentKitContextBase:
|
|
3673
|
+
type: object
|
|
3674
|
+
description: Common properties for ContentKit context.
|
|
3675
|
+
properties:
|
|
3676
|
+
theme:
|
|
3677
|
+
type: string
|
|
3678
|
+
enum:
|
|
3679
|
+
- dark
|
|
3680
|
+
- light
|
|
3681
|
+
required:
|
|
3682
|
+
- theme
|
|
3399
3683
|
ContentKitContext:
|
|
3684
|
+
description: Object representing the context in which a ContentKit component is rendered.
|
|
3400
3685
|
oneOf:
|
|
3686
|
+
- $ref: "#/components/schemas/ContentKitContextConfigurationAccount"
|
|
3687
|
+
- $ref: "#/components/schemas/ContentKitContextConfigurationSpace"
|
|
3688
|
+
- $ref: "#/components/schemas/ContentKitContextDocument"
|
|
3689
|
+
ContentKitContextConfigurationAccount:
|
|
3690
|
+
allOf:
|
|
3691
|
+
- $ref: "#/components/schemas/ContentKitContextBase"
|
|
3401
3692
|
- type: object
|
|
3693
|
+
description: Context while rendering in an account installation's configuration.
|
|
3694
|
+
properties:
|
|
3695
|
+
type:
|
|
3696
|
+
type: string
|
|
3697
|
+
enum:
|
|
3698
|
+
- configuration_account
|
|
3699
|
+
organizationId:
|
|
3700
|
+
type: string
|
|
3701
|
+
description: ID of the organization the account installation configuration is in.
|
|
3702
|
+
required:
|
|
3703
|
+
- type
|
|
3704
|
+
- organizationId
|
|
3705
|
+
ContentKitContextConfigurationSpace:
|
|
3706
|
+
allOf:
|
|
3707
|
+
- $ref: "#/components/schemas/ContentKitContextBase"
|
|
3708
|
+
- type: object
|
|
3709
|
+
description: Context while rendering in a space-installation's configuration.
|
|
3402
3710
|
properties:
|
|
3403
3711
|
type:
|
|
3404
3712
|
type: string
|
|
3405
3713
|
enum:
|
|
3406
|
-
- document
|
|
3407
3714
|
- configuration_space
|
|
3408
|
-
|
|
3409
|
-
type:
|
|
3410
|
-
|
|
3715
|
+
spaceId:
|
|
3716
|
+
type: string
|
|
3717
|
+
description: ID of the space the space-installation configuration is in.
|
|
3718
|
+
required:
|
|
3719
|
+
- type
|
|
3720
|
+
- spaceId
|
|
3721
|
+
ContentKitContextDocument:
|
|
3722
|
+
allOf:
|
|
3723
|
+
- $ref: "#/components/schemas/ContentKitContextBase"
|
|
3724
|
+
- type: object
|
|
3725
|
+
description: Context while rendering in a document.
|
|
3726
|
+
properties:
|
|
3727
|
+
type:
|
|
3411
3728
|
type: string
|
|
3412
3729
|
enum:
|
|
3413
|
-
-
|
|
3414
|
-
|
|
3730
|
+
- document
|
|
3731
|
+
spaceId:
|
|
3732
|
+
type: string
|
|
3733
|
+
description: ID of the space content the document is in.
|
|
3734
|
+
editable:
|
|
3735
|
+
type: boolean
|
|
3415
3736
|
required:
|
|
3416
3737
|
- type
|
|
3738
|
+
- spaceId
|
|
3417
3739
|
- editable
|
|
3418
|
-
- theme
|
|
3419
3740
|
ContentKitDynamicBinding:
|
|
3420
3741
|
type: object
|
|
3421
3742
|
description: Binding between a property and a state value.
|
|
@@ -3481,6 +3802,8 @@ components:
|
|
|
3481
3802
|
$ref: "#/components/schemas/ContentKitAction"
|
|
3482
3803
|
icon:
|
|
3483
3804
|
$ref: "#/components/schemas/ContentKitIcon"
|
|
3805
|
+
trailingIcon:
|
|
3806
|
+
$ref: "#/components/schemas/ContentKitIcon"
|
|
3484
3807
|
label:
|
|
3485
3808
|
type: string
|
|
3486
3809
|
tooltip:
|
|
@@ -3530,11 +3853,14 @@ components:
|
|
|
3530
3853
|
- code
|
|
3531
3854
|
- strikethrough
|
|
3532
3855
|
children:
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3856
|
+
oneOf:
|
|
3857
|
+
- type: string
|
|
3858
|
+
- type: array
|
|
3859
|
+
items:
|
|
3860
|
+
oneOf:
|
|
3861
|
+
- type: string
|
|
3862
|
+
- $ref: "#/components/schemas/ContentKitText"
|
|
3863
|
+
- $ref: "#/components/schemas/ContentKitLink"
|
|
3538
3864
|
required:
|
|
3539
3865
|
- type
|
|
3540
3866
|
- children
|
|
@@ -3555,6 +3881,21 @@ components:
|
|
|
3555
3881
|
required:
|
|
3556
3882
|
- type
|
|
3557
3883
|
- children
|
|
3884
|
+
ContentKitHint:
|
|
3885
|
+
type: object
|
|
3886
|
+
description: Element used to contextualize other elements or info.
|
|
3887
|
+
properties:
|
|
3888
|
+
type:
|
|
3889
|
+
type: string
|
|
3890
|
+
enum:
|
|
3891
|
+
- hint
|
|
3892
|
+
children:
|
|
3893
|
+
type: array
|
|
3894
|
+
items:
|
|
3895
|
+
$ref: "#/components/schemas/ContentKitInlineElement"
|
|
3896
|
+
required:
|
|
3897
|
+
- type
|
|
3898
|
+
- children
|
|
3558
3899
|
ContentKitHStack:
|
|
3559
3900
|
type: object
|
|
3560
3901
|
description: Horizontal stack of boxes.
|
|
@@ -3697,6 +4038,7 @@ components:
|
|
|
3697
4038
|
- close
|
|
3698
4039
|
- edit
|
|
3699
4040
|
- github
|
|
4041
|
+
- gitlab
|
|
3700
4042
|
- maximize
|
|
3701
4043
|
- email
|
|
3702
4044
|
- settings
|
|
@@ -3706,6 +4048,7 @@ components:
|
|
|
3706
4048
|
- warning
|
|
3707
4049
|
- link
|
|
3708
4050
|
- link-external
|
|
4051
|
+
- eye
|
|
3709
4052
|
ContentKitModal:
|
|
3710
4053
|
type: object
|
|
3711
4054
|
description: Overlay modal.
|
|
@@ -3899,6 +4242,30 @@ components:
|
|
|
3899
4242
|
- type
|
|
3900
4243
|
- source
|
|
3901
4244
|
- aspectRatio
|
|
4245
|
+
ContentKitLink:
|
|
4246
|
+
type: object
|
|
4247
|
+
properties:
|
|
4248
|
+
type:
|
|
4249
|
+
type: string
|
|
4250
|
+
enum:
|
|
4251
|
+
- link
|
|
4252
|
+
target:
|
|
4253
|
+
type: object
|
|
4254
|
+
properties:
|
|
4255
|
+
url:
|
|
4256
|
+
oneOf:
|
|
4257
|
+
- type: string
|
|
4258
|
+
- $ref: "#/components/schemas/ContentKitURL"
|
|
4259
|
+
required:
|
|
4260
|
+
- url
|
|
4261
|
+
children:
|
|
4262
|
+
type: array
|
|
4263
|
+
items:
|
|
4264
|
+
type: string
|
|
4265
|
+
required:
|
|
4266
|
+
- type
|
|
4267
|
+
- target
|
|
4268
|
+
- children
|
|
3902
4269
|
ContentKitInput:
|
|
3903
4270
|
type: object
|
|
3904
4271
|
description: Field for an input.
|
|
@@ -3934,6 +4301,10 @@ components:
|
|
|
3934
4301
|
type: string
|
|
3935
4302
|
label:
|
|
3936
4303
|
type: string
|
|
4304
|
+
icon:
|
|
4305
|
+
oneOf:
|
|
4306
|
+
- $ref: "#/components/schemas/ContentKitIcon"
|
|
4307
|
+
- $ref: "#/components/schemas/ContentKitImage"
|
|
3937
4308
|
required:
|
|
3938
4309
|
- id
|
|
3939
4310
|
- label
|
|
@@ -3955,23 +4326,31 @@ components:
|
|
|
3955
4326
|
- type: array
|
|
3956
4327
|
items:
|
|
3957
4328
|
type: string
|
|
4329
|
+
onValueChange:
|
|
4330
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
3958
4331
|
placeholder:
|
|
3959
4332
|
description: Text that appears in the form control when it has no value set
|
|
3960
4333
|
type: string
|
|
3961
4334
|
multiple:
|
|
3962
4335
|
description: Should the select accept the selection of multiple options. If true, the state will be an array.
|
|
3963
4336
|
type: boolean
|
|
4337
|
+
acceptInput:
|
|
4338
|
+
description: Should the filter input be allowed to be selected as an option.
|
|
4339
|
+
type: boolean
|
|
3964
4340
|
options:
|
|
4341
|
+
description: Array of options to display in the select.
|
|
3965
4342
|
oneOf:
|
|
3966
4343
|
- type: array
|
|
3967
4344
|
description: Static list of options
|
|
3968
4345
|
items:
|
|
3969
4346
|
$ref: "#/components/schemas/ContentKitSelectOption"
|
|
3970
4347
|
- type: object
|
|
3971
|
-
description: External source of options. The URL should respond with an array of options.
|
|
3972
4348
|
properties:
|
|
3973
4349
|
url:
|
|
3974
|
-
|
|
4350
|
+
oneOf:
|
|
4351
|
+
- type: string
|
|
4352
|
+
description: External source of options. The URL should respond with an array of options.
|
|
4353
|
+
- $ref: "#/components/schemas/ContentKitURL"
|
|
3975
4354
|
required:
|
|
3976
4355
|
- url
|
|
3977
4356
|
required:
|
|
@@ -3992,6 +4371,8 @@ components:
|
|
|
3992
4371
|
initialValue:
|
|
3993
4372
|
description: Value to initialize the switch with.
|
|
3994
4373
|
type: boolean
|
|
4374
|
+
onValueChange:
|
|
4375
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
3995
4376
|
confirm:
|
|
3996
4377
|
$ref: "#/components/schemas/ContentKitConfirm"
|
|
3997
4378
|
required:
|
|
@@ -4091,6 +4472,8 @@ components:
|
|
|
4091
4472
|
- $ref: "#/components/schemas/ContentKitCheckbox"
|
|
4092
4473
|
- $ref: "#/components/schemas/ContentKitRadio"
|
|
4093
4474
|
- $ref: "#/components/schemas/ContentKitText"
|
|
4475
|
+
- $ref: "#/components/schemas/ContentKitHint"
|
|
4476
|
+
- $ref: "#/components/schemas/ContentKitLink"
|
|
4094
4477
|
discriminator:
|
|
4095
4478
|
propertyName: type
|
|
4096
4479
|
ContentKitInlineElement:
|
|
@@ -4098,12 +4481,35 @@ components:
|
|
|
4098
4481
|
oneOf:
|
|
4099
4482
|
- $ref: "#/components/schemas/ContentKitText"
|
|
4100
4483
|
- $ref: "#/components/schemas/ContentKitImage"
|
|
4484
|
+
- $ref: "#/components/schemas/ContentKitLink"
|
|
4101
4485
|
discriminator:
|
|
4102
4486
|
propertyName: type
|
|
4487
|
+
ContentKitURL:
|
|
4488
|
+
type: object
|
|
4489
|
+
description: Specification for an URL in ContentKit.
|
|
4490
|
+
properties:
|
|
4491
|
+
host:
|
|
4492
|
+
type: string
|
|
4493
|
+
description: Hostname of the URL along with the port number if required.
|
|
4494
|
+
example: api.example.com
|
|
4495
|
+
pathname:
|
|
4496
|
+
type: string
|
|
4497
|
+
description: Path of the URL prefixed with a `/`.
|
|
4498
|
+
example: /v1/options
|
|
4499
|
+
query:
|
|
4500
|
+
type: object
|
|
4501
|
+
additionalProperties:
|
|
4502
|
+
oneOf:
|
|
4503
|
+
- type: string
|
|
4504
|
+
- $ref: "#/components/schemas/ContentKitDynamicBinding"
|
|
4505
|
+
required:
|
|
4506
|
+
- host
|
|
4507
|
+
- pathname
|
|
4103
4508
|
SubscriptionChannel:
|
|
4104
4509
|
description: Channel to subscribe to for API updates.
|
|
4105
4510
|
oneOf:
|
|
4106
4511
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
4512
|
+
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
4107
4513
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
4108
4514
|
- $ref: "#/components/schemas/SpaceRelationsChannel"
|
|
4109
4515
|
- $ref: "#/components/schemas/SpaceEntitiesChannel"
|
|
@@ -4123,6 +4529,7 @@ components:
|
|
|
4123
4529
|
- $ref: "#/components/schemas/OrganizationSpaceRelationsChannel"
|
|
4124
4530
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
4125
4531
|
- $ref: "#/components/schemas/OrganizationEntitiesChannel"
|
|
4532
|
+
- $ref: "#/components/schemas/OrganizationRecordingsChannel"
|
|
4126
4533
|
- type: object
|
|
4127
4534
|
properties:
|
|
4128
4535
|
channel:
|
|
@@ -4201,6 +4608,18 @@ components:
|
|
|
4201
4608
|
required:
|
|
4202
4609
|
- channel
|
|
4203
4610
|
- space
|
|
4611
|
+
SpaceGitInfoChannel:
|
|
4612
|
+
type: object
|
|
4613
|
+
properties:
|
|
4614
|
+
channel:
|
|
4615
|
+
type: string
|
|
4616
|
+
enum:
|
|
4617
|
+
- space-git-info
|
|
4618
|
+
space:
|
|
4619
|
+
type: string
|
|
4620
|
+
required:
|
|
4621
|
+
- channel
|
|
4622
|
+
- space
|
|
4204
4623
|
SpacePublishingAuthChannel:
|
|
4205
4624
|
type: object
|
|
4206
4625
|
properties:
|
|
@@ -4449,6 +4868,18 @@ components:
|
|
|
4449
4868
|
required:
|
|
4450
4869
|
- channel
|
|
4451
4870
|
- organization
|
|
4871
|
+
OrganizationRecordingsChannel:
|
|
4872
|
+
type: object
|
|
4873
|
+
properties:
|
|
4874
|
+
channel:
|
|
4875
|
+
type: string
|
|
4876
|
+
enum:
|
|
4877
|
+
- organization-recordings
|
|
4878
|
+
organization:
|
|
4879
|
+
type: string
|
|
4880
|
+
required:
|
|
4881
|
+
- channel
|
|
4882
|
+
- organization
|
|
4452
4883
|
CustomField:
|
|
4453
4884
|
type: object
|
|
4454
4885
|
description: Custom field
|
|
@@ -4547,9 +4978,7 @@ components:
|
|
|
4547
4978
|
title:
|
|
4548
4979
|
$ref: "#/components/schemas/EnvironmentTitle"
|
|
4549
4980
|
primary:
|
|
4550
|
-
|
|
4551
|
-
Whether or not an environment is considered to have elevated responsibilities over other environments. Useful for distinguishing a production environment from a staging environment. Multiple primary environments are allowed. Your organization must have at least one primary environment.
|
|
4552
|
-
type: boolean
|
|
4981
|
+
$ref: "#/components/schemas/EnvironmentPrimary"
|
|
4553
4982
|
urls:
|
|
4554
4983
|
type: object
|
|
4555
4984
|
description: URLs associated with the object
|
|
@@ -4569,6 +4998,10 @@ components:
|
|
|
4569
4998
|
EnvironmentTitle:
|
|
4570
4999
|
type: string
|
|
4571
5000
|
maxLength: 100
|
|
5001
|
+
EnvironmentPrimary:
|
|
5002
|
+
description: |
|
|
5003
|
+
Whether or not an environment is considered to have elevated responsibilities over other environments. Useful for distinguishing a production environment from a staging environment. Multiple primary environments are allowed. Your organization must have at least one primary environment.
|
|
5004
|
+
type: boolean
|
|
4572
5005
|
EnvironmentName:
|
|
4573
5006
|
type: string
|
|
4574
5007
|
pattern: ^[a-zA-Z_\-0-9]+$
|
|
@@ -4581,7 +5014,7 @@ components:
|
|
|
4581
5014
|
title:
|
|
4582
5015
|
$ref: "#/components/schemas/EnvironmentTitle"
|
|
4583
5016
|
primary:
|
|
4584
|
-
$ref: "#/components/schemas/
|
|
5017
|
+
$ref: "#/components/schemas/EnvironmentPrimary"
|
|
4585
5018
|
required:
|
|
4586
5019
|
- name
|
|
4587
5020
|
- title
|
|
@@ -4592,7 +5025,7 @@ components:
|
|
|
4592
5025
|
title:
|
|
4593
5026
|
$ref: "#/components/schemas/EnvironmentTitle"
|
|
4594
5027
|
primary:
|
|
4595
|
-
$ref: "#/components/schemas/
|
|
5028
|
+
$ref: "#/components/schemas/EnvironmentPrimary"
|
|
4596
5029
|
responses:
|
|
4597
5030
|
UnexpectedError:
|
|
4598
5031
|
description: Unexpected Error
|
|
@@ -5087,6 +5520,28 @@ paths:
|
|
|
5087
5520
|
application/json:
|
|
5088
5521
|
schema:
|
|
5089
5522
|
$ref: "#/components/schemas/RequestExportToGitRepository"
|
|
5523
|
+
"/spaces/{spaceId}/git/info":
|
|
5524
|
+
get:
|
|
5525
|
+
operationId: getSpaceGitInfo
|
|
5526
|
+
summary: Get metadata about the Git Sync provider currently set up on the space
|
|
5527
|
+
tags:
|
|
5528
|
+
- spaces
|
|
5529
|
+
security:
|
|
5530
|
+
- user: []
|
|
5531
|
+
parameters:
|
|
5532
|
+
- $ref: "#/components/parameters/spaceId"
|
|
5533
|
+
responses:
|
|
5534
|
+
"200":
|
|
5535
|
+
description: The Git Sync info for the space
|
|
5536
|
+
content:
|
|
5537
|
+
application/json:
|
|
5538
|
+
schema:
|
|
5539
|
+
$ref: "#/components/schemas/GitSyncState"
|
|
5540
|
+
"404":
|
|
5541
|
+
description: No Git provider currently set up on the space
|
|
5542
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5543
|
+
default:
|
|
5544
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5090
5545
|
"/spaces/{spaceId}/insights/content":
|
|
5091
5546
|
get:
|
|
5092
5547
|
operationId: getContentAnalyticsForSpaceById
|
|
@@ -7238,6 +7693,27 @@ paths:
|
|
|
7238
7693
|
schema:
|
|
7239
7694
|
$ref: "#/components/schemas/RequestRenderIntegrationUI"
|
|
7240
7695
|
"/integrations/{integrationName}/installations/{installationId}":
|
|
7696
|
+
get:
|
|
7697
|
+
operationId: getIntegrationInstallationById
|
|
7698
|
+
summary: Get a specific integration's installation by its ID
|
|
7699
|
+
tags:
|
|
7700
|
+
- integrations
|
|
7701
|
+
security:
|
|
7702
|
+
- user: []
|
|
7703
|
+
parameters:
|
|
7704
|
+
- $ref: "#/components/parameters/integrationName"
|
|
7705
|
+
- $ref: "#/components/parameters/installationId"
|
|
7706
|
+
responses:
|
|
7707
|
+
"200":
|
|
7708
|
+
description: Integration installation
|
|
7709
|
+
content:
|
|
7710
|
+
application/json:
|
|
7711
|
+
schema:
|
|
7712
|
+
$ref: "#/components/schemas/IntegrationInstallation"
|
|
7713
|
+
"404":
|
|
7714
|
+
$ref: "#/components/responses/NotFoundError"
|
|
7715
|
+
default:
|
|
7716
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7241
7717
|
patch:
|
|
7242
7718
|
operationId: updateIntegrationInstallation
|
|
7243
7719
|
summary: Update external IDs and configurations of an integration's installation
|
|
@@ -7382,7 +7858,7 @@ paths:
|
|
|
7382
7858
|
tags:
|
|
7383
7859
|
- integrations
|
|
7384
7860
|
security:
|
|
7385
|
-
- integration: []
|
|
7861
|
+
- integration-installation: []
|
|
7386
7862
|
parameters:
|
|
7387
7863
|
- $ref: "#/components/parameters/integrationName"
|
|
7388
7864
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -7408,11 +7884,12 @@ paths:
|
|
|
7408
7884
|
$ref: "#/components/responses/UnexpectedError"
|
|
7409
7885
|
post:
|
|
7410
7886
|
operationId: syncIntegrationEntities
|
|
7411
|
-
summary: Update all entities for an integration installation.
|
|
7887
|
+
summary: Update all entities for an integration installation.
|
|
7888
|
+
description: Update all entities for an integration installation. Entities will be created and updated, missing entities will be deleted.
|
|
7412
7889
|
tags:
|
|
7413
7890
|
- integrations
|
|
7414
7891
|
security:
|
|
7415
|
-
- integration: []
|
|
7892
|
+
- integration-installation: []
|
|
7416
7893
|
parameters:
|
|
7417
7894
|
- $ref: "#/components/parameters/integrationName"
|
|
7418
7895
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -8818,6 +9295,159 @@ paths:
|
|
|
8818
9295
|
description: Environment has been deleted
|
|
8819
9296
|
default:
|
|
8820
9297
|
$ref: "#/components/responses/UnexpectedError"
|
|
9298
|
+
"/orgs/{organizationId}/recordings":
|
|
9299
|
+
get:
|
|
9300
|
+
operationId: listRecordings
|
|
9301
|
+
summary: List recordings
|
|
9302
|
+
description: |
|
|
9303
|
+
List recordings in an organization.
|
|
9304
|
+
tags:
|
|
9305
|
+
- organizations
|
|
9306
|
+
security:
|
|
9307
|
+
- user: []
|
|
9308
|
+
parameters:
|
|
9309
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9310
|
+
- $ref: "#/components/parameters/listPage"
|
|
9311
|
+
- $ref: "#/components/parameters/listLimit"
|
|
9312
|
+
responses:
|
|
9313
|
+
"200":
|
|
9314
|
+
description: OK
|
|
9315
|
+
content:
|
|
9316
|
+
application/json:
|
|
9317
|
+
schema:
|
|
9318
|
+
allOf:
|
|
9319
|
+
- $ref: "#/components/schemas/List"
|
|
9320
|
+
- type: object
|
|
9321
|
+
required:
|
|
9322
|
+
- items
|
|
9323
|
+
properties:
|
|
9324
|
+
items:
|
|
9325
|
+
type: array
|
|
9326
|
+
items:
|
|
9327
|
+
$ref: "#/components/schemas/Recording"
|
|
9328
|
+
default:
|
|
9329
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9330
|
+
post:
|
|
9331
|
+
operationId: startRecording
|
|
9332
|
+
summary: Start a recording
|
|
9333
|
+
tags:
|
|
9334
|
+
- organizations
|
|
9335
|
+
security:
|
|
9336
|
+
- user: []
|
|
9337
|
+
parameters:
|
|
9338
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9339
|
+
requestBody:
|
|
9340
|
+
content:
|
|
9341
|
+
application/json:
|
|
9342
|
+
schema:
|
|
9343
|
+
type: object
|
|
9344
|
+
properties:
|
|
9345
|
+
title:
|
|
9346
|
+
$ref: "#/components/schemas/RecordingTitle"
|
|
9347
|
+
context:
|
|
9348
|
+
$ref: "#/components/schemas/RecordingContext"
|
|
9349
|
+
externalId:
|
|
9350
|
+
type: string
|
|
9351
|
+
description: ID in the original source of the recording.
|
|
9352
|
+
externalURL:
|
|
9353
|
+
type: string
|
|
9354
|
+
format: uri
|
|
9355
|
+
description: URL of the original source of the recording.
|
|
9356
|
+
required:
|
|
9357
|
+
- context
|
|
9358
|
+
responses:
|
|
9359
|
+
"201":
|
|
9360
|
+
description: Recording started
|
|
9361
|
+
headers:
|
|
9362
|
+
Location:
|
|
9363
|
+
description: API URL for the newly created recording
|
|
9364
|
+
schema:
|
|
9365
|
+
type: string
|
|
9366
|
+
content:
|
|
9367
|
+
application/json:
|
|
9368
|
+
schema:
|
|
9369
|
+
$ref: "#/components/schemas/Recording"
|
|
9370
|
+
default:
|
|
9371
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9372
|
+
"/orgs/{organizationId}/recordings/{recordingId}":
|
|
9373
|
+
get:
|
|
9374
|
+
operationId: getRecording
|
|
9375
|
+
summary: Get a recording by its ID
|
|
9376
|
+
tags:
|
|
9377
|
+
- organizations
|
|
9378
|
+
security:
|
|
9379
|
+
- user: []
|
|
9380
|
+
parameters:
|
|
9381
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9382
|
+
- $ref: "#/components/parameters/recordingId"
|
|
9383
|
+
responses:
|
|
9384
|
+
"200":
|
|
9385
|
+
description: OK
|
|
9386
|
+
content:
|
|
9387
|
+
application/json:
|
|
9388
|
+
schema:
|
|
9389
|
+
$ref: "#/components/schemas/Recording"
|
|
9390
|
+
default:
|
|
9391
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9392
|
+
"/orgs/{organizationId}/recordings/{recordingId}/events":
|
|
9393
|
+
post:
|
|
9394
|
+
operationId: addEventsToRecording
|
|
9395
|
+
summary: Add events to a running recording
|
|
9396
|
+
tags:
|
|
9397
|
+
- organizations
|
|
9398
|
+
security:
|
|
9399
|
+
- user: []
|
|
9400
|
+
parameters:
|
|
9401
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9402
|
+
- $ref: "#/components/parameters/recordingId"
|
|
9403
|
+
requestBody:
|
|
9404
|
+
content:
|
|
9405
|
+
application/json:
|
|
9406
|
+
schema:
|
|
9407
|
+
type: object
|
|
9408
|
+
properties:
|
|
9409
|
+
events:
|
|
9410
|
+
type: array
|
|
9411
|
+
items:
|
|
9412
|
+
$ref: "#/components/schemas/RecordingEvent"
|
|
9413
|
+
required:
|
|
9414
|
+
- events
|
|
9415
|
+
responses:
|
|
9416
|
+
"204":
|
|
9417
|
+
description: Events added
|
|
9418
|
+
default:
|
|
9419
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9420
|
+
"/orgs/{organizationId}/recordings/{recordingId}/stop":
|
|
9421
|
+
post:
|
|
9422
|
+
operationId: stopRecording
|
|
9423
|
+
summary: Stop a recording
|
|
9424
|
+
tags:
|
|
9425
|
+
- organizations
|
|
9426
|
+
security:
|
|
9427
|
+
- user: []
|
|
9428
|
+
parameters:
|
|
9429
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9430
|
+
- $ref: "#/components/parameters/recordingId"
|
|
9431
|
+
requestBody:
|
|
9432
|
+
content:
|
|
9433
|
+
application/json:
|
|
9434
|
+
schema:
|
|
9435
|
+
type: object
|
|
9436
|
+
properties:
|
|
9437
|
+
space:
|
|
9438
|
+
description: The space in which the docs should be generated
|
|
9439
|
+
type: string
|
|
9440
|
+
required:
|
|
9441
|
+
- space
|
|
9442
|
+
responses:
|
|
9443
|
+
"200":
|
|
9444
|
+
description: Recording stopped
|
|
9445
|
+
content:
|
|
9446
|
+
application/json:
|
|
9447
|
+
schema:
|
|
9448
|
+
$ref: "#/components/schemas/RecordingOutput"
|
|
9449
|
+
default:
|
|
9450
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8821
9451
|
/internal/hive/token:
|
|
8822
9452
|
post:
|
|
8823
9453
|
operationId: generateHiveAccessToken
|