@gitbook/api 0.4.0 → 0.5.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/spec/openapi.json CHANGED
@@ -196,6 +196,15 @@
196
196
  "type": "string"
197
197
  }
198
198
  },
199
+ "recordingId": {
200
+ "name": "recordingId",
201
+ "in": "path",
202
+ "required": true,
203
+ "description": "The unique id of a recording",
204
+ "schema": {
205
+ "type": "string"
206
+ }
207
+ },
199
208
  "userId": {
200
209
  "name": "userId",
201
210
  "in": "path",
@@ -597,6 +606,10 @@
597
606
  "standalone": {
598
607
  "type": "boolean",
599
608
  "description": "If true, the import will generate a revision without updating the space primary content."
609
+ },
610
+ "gitInfo": {
611
+ "description": "Optional metadata to store on the space about the Git provider",
612
+ "$ref": "#/components/schemas/RequestUpdateSpaceGitInfo"
600
613
  }
601
614
  },
602
615
  "required": [
@@ -637,6 +650,10 @@
637
650
  },
638
651
  "force": {
639
652
  "type": "boolean"
653
+ },
654
+ "gitInfo": {
655
+ "description": "Optional metadata to store on the space about the Git provider",
656
+ "$ref": "#/components/schemas/RequestUpdateSpaceGitInfo"
640
657
  }
641
658
  },
642
659
  "required": [
@@ -702,10 +719,6 @@
702
719
  "type": "string",
703
720
  "description": "ID of the component to render in the integration."
704
721
  },
705
- "spaceId": {
706
- "type": "string",
707
- "description": "ID of the space to render."
708
- },
709
722
  "props": {
710
723
  "type": "object",
711
724
  "description": "Current properties of the UI."
@@ -723,7 +736,6 @@
723
736
  },
724
737
  "required": [
725
738
  "componentId",
726
- "spaceId",
727
739
  "props",
728
740
  "context"
729
741
  ]
@@ -758,6 +770,24 @@
758
770
  "title"
759
771
  ]
760
772
  },
773
+ "RequestUpdateSpaceGitInfo": {
774
+ "type": "object",
775
+ "description": "Update metadata about the Git provider on the space",
776
+ "properties": {
777
+ "provider": {
778
+ "type": "string",
779
+ "description": "The git provider",
780
+ "enum": [
781
+ "github",
782
+ "gitlab"
783
+ ]
784
+ },
785
+ "url": {
786
+ "type": "string",
787
+ "description": "The repository's tree URL"
788
+ }
789
+ }
790
+ },
761
791
  "ApiInformation": {
762
792
  "type": "object",
763
793
  "properties": {
@@ -1329,6 +1359,9 @@
1329
1359
  "updatedAt": {
1330
1360
  "$ref": "#/components/schemas/Date"
1331
1361
  },
1362
+ "deletedAt": {
1363
+ "$ref": "#/components/schemas/Date"
1364
+ },
1332
1365
  "urls": {
1333
1366
  "type": "object",
1334
1367
  "description": "URLs associated with the object",
@@ -1857,7 +1890,11 @@
1857
1890
  },
1858
1891
  "url": {
1859
1892
  "type": "string",
1860
- "description": "The URL to the repository, used when rendering public content."
1893
+ "description": "The URL to the repository tree, used when rendering public content."
1894
+ },
1895
+ "updatedAt": {
1896
+ "description": "When the Git provider details were last updated",
1897
+ "$ref": "#/components/schemas/Date"
1861
1898
  }
1862
1899
  }
1863
1900
  },
@@ -2196,6 +2233,10 @@
2196
2233
  "type": "integer",
2197
2234
  "description": "Count of members in this team."
2198
2235
  },
2236
+ "spaces": {
2237
+ "type": "number",
2238
+ "description": "Count of spaces this team has access to."
2239
+ },
2199
2240
  "createdAt": {
2200
2241
  "description": "Date at which the team was created.",
2201
2242
  "$ref": "#/components/schemas/Date"
@@ -2206,6 +2247,7 @@
2206
2247
  "id",
2207
2248
  "title",
2208
2249
  "members",
2250
+ "spaces",
2209
2251
  "createdAt"
2210
2252
  ]
2211
2253
  },
@@ -2228,6 +2270,162 @@
2228
2270
  "participant"
2229
2271
  ]
2230
2272
  },
2273
+ "Recording": {
2274
+ "type": "object",
2275
+ "properties": {
2276
+ "id": {
2277
+ "type": "string",
2278
+ "description": "Unique identifier for the recording"
2279
+ },
2280
+ "context": {
2281
+ "$ref": "#/components/schemas/RecordingContext"
2282
+ },
2283
+ "startedAt": {
2284
+ "type": "string",
2285
+ "format": "date-time"
2286
+ },
2287
+ "stoppedAt": {
2288
+ "type": "string",
2289
+ "format": "date-time"
2290
+ }
2291
+ },
2292
+ "required": [
2293
+ "id",
2294
+ "context",
2295
+ "startedAt"
2296
+ ]
2297
+ },
2298
+ "RecordingEvent": {
2299
+ "oneOf": [
2300
+ {
2301
+ "$ref": "#/components/schemas/RecordingTerminalCommandEvent"
2302
+ },
2303
+ {
2304
+ "$ref": "#/components/schemas/RecordingSpeechEvent"
2305
+ }
2306
+ ]
2307
+ },
2308
+ "RecordingContext": {
2309
+ "type": "string",
2310
+ "enum": [
2311
+ "meeting",
2312
+ "conversation",
2313
+ "walkthrough"
2314
+ ]
2315
+ },
2316
+ "BaseRecordingEvent": {
2317
+ "type": "object",
2318
+ "properties": {
2319
+ "type": {
2320
+ "type": "string",
2321
+ "description": "The type of event"
2322
+ },
2323
+ "timestamp": {
2324
+ "type": "string",
2325
+ "format": "date-time",
2326
+ "description": "When the event happened"
2327
+ },
2328
+ "source": {
2329
+ "type": "string",
2330
+ "description": "Optionally, provide the source of the event. GitBook may use this to improve the generated content.",
2331
+ "maxLength": 50
2332
+ },
2333
+ "actor": {
2334
+ "type": "object",
2335
+ "description": "Optionally, provide the actor of the event, in the context of multiple people contributing to the recording.",
2336
+ "properties": {
2337
+ "name": {
2338
+ "type": "string"
2339
+ }
2340
+ },
2341
+ "required": [
2342
+ "name"
2343
+ ]
2344
+ }
2345
+ },
2346
+ "required": [
2347
+ "type",
2348
+ "timestamp"
2349
+ ]
2350
+ },
2351
+ "RecordingSpeechEvent": {
2352
+ "allOf": [
2353
+ {
2354
+ "$ref": "#/components/schemas/BaseRecordingEvent"
2355
+ },
2356
+ {
2357
+ "type": "object",
2358
+ "properties": {
2359
+ "type": {
2360
+ "type": "string",
2361
+ "enum": [
2362
+ "speech"
2363
+ ]
2364
+ }
2365
+ },
2366
+ "required": [
2367
+ "type"
2368
+ ]
2369
+ },
2370
+ {
2371
+ "oneOf": [
2372
+ {
2373
+ "type": "object",
2374
+ "properties": {
2375
+ "audio": {
2376
+ "description": "WAV audio file, encoded as base64",
2377
+ "type": "string"
2378
+ }
2379
+ },
2380
+ "required": [
2381
+ "audio"
2382
+ ]
2383
+ },
2384
+ {
2385
+ "type": "object",
2386
+ "properties": {
2387
+ "transcript": {
2388
+ "description": "Transcript of the speech",
2389
+ "type": "string"
2390
+ }
2391
+ },
2392
+ "required": [
2393
+ "transcript"
2394
+ ]
2395
+ }
2396
+ ]
2397
+ }
2398
+ ]
2399
+ },
2400
+ "RecordingTerminalCommandEvent": {
2401
+ "allOf": [
2402
+ {
2403
+ "$ref": "#/components/schemas/BaseRecordingEvent"
2404
+ },
2405
+ {
2406
+ "type": "object",
2407
+ "properties": {
2408
+ "type": {
2409
+ "type": "string",
2410
+ "enum": [
2411
+ "terminal.command"
2412
+ ]
2413
+ },
2414
+ "command": {
2415
+ "type": "string"
2416
+ },
2417
+ "stdout": {
2418
+ "type": "string"
2419
+ }
2420
+ },
2421
+ "required": [
2422
+ "type",
2423
+ "command",
2424
+ "stdout"
2425
+ ]
2426
+ }
2427
+ ]
2428
+ },
2231
2429
  "ChangeRequest": {
2232
2430
  "type": "object",
2233
2431
  "properties": {
@@ -3084,7 +3282,8 @@
3084
3282
  "space:metadata:read",
3085
3283
  "space:metadata:write",
3086
3284
  "space:script:inject",
3087
- "space:script:cookies"
3285
+ "space:script:cookies",
3286
+ "space:git:sync"
3088
3287
  ]
3089
3288
  },
3090
3289
  "IntegrationCategories": {
@@ -3278,7 +3477,7 @@
3278
3477
  "type": "object",
3279
3478
  "properties": {
3280
3479
  "account": {
3281
- "$ref": "#/components/schemas/IntegrationConfigurationSchema"
3480
+ "$ref": "#/components/schemas/IntegrationConfiguration"
3282
3481
  },
3283
3482
  "space": {
3284
3483
  "$ref": "#/components/schemas/IntegrationConfiguration"
@@ -3545,13 +3744,10 @@
3545
3744
  "type": "object",
3546
3745
  "description": "Runtime environment provided during the execution of integration's code.",
3547
3746
  "properties": {
3548
- "apiEndpoint": {
3549
- "type": "string",
3550
- "description": "URL of the HTTP API"
3551
- },
3552
3747
  "authToken": {
3553
3748
  "type": "string",
3554
- "description": "Authentication token to use with the HTTP API"
3749
+ "description": "Authentication token to use with the HTTP API. Depending on the context, the token might be representing the installation or the integration.",
3750
+ "deprecated": true
3555
3751
  },
3556
3752
  "integration": {
3557
3753
  "$ref": "#/components/schemas/Integration"
@@ -3564,10 +3760,31 @@
3564
3760
  },
3565
3761
  "secrets": {
3566
3762
  "$ref": "#/components/schemas/IntegrationSecrets"
3763
+ },
3764
+ "apiEndpoint": {
3765
+ "type": "string",
3766
+ "description": "URL of the HTTP API"
3767
+ },
3768
+ "apiTokens": {
3769
+ "type": "object",
3770
+ "properties": {
3771
+ "integration": {
3772
+ "type": "string",
3773
+ "description": "API authentication token representing the integration."
3774
+ },
3775
+ "installation": {
3776
+ "type": "string",
3777
+ "description": "API authentication token representing the current installation."
3778
+ }
3779
+ },
3780
+ "required": [
3781
+ "integration"
3782
+ ]
3567
3783
  }
3568
3784
  },
3569
3785
  "required": [
3570
3786
  "apiEndpoint",
3787
+ "apiTokens",
3571
3788
  "integration",
3572
3789
  "secrets"
3573
3790
  ]
@@ -4275,7 +4492,14 @@
4275
4492
  "UIRenderEvent": {
4276
4493
  "allOf": [
4277
4494
  {
4278
- "$ref": "#/components/schemas/SpaceEvent"
4495
+ "oneOf": [
4496
+ {
4497
+ "$ref": "#/components/schemas/SpaceEvent"
4498
+ },
4499
+ {
4500
+ "$ref": "#/components/schemas/InstallationEvent"
4501
+ }
4502
+ ]
4279
4503
  },
4280
4504
  {
4281
4505
  "type": "object",
@@ -4892,33 +5116,117 @@
4892
5116
  "token"
4893
5117
  ]
4894
5118
  },
5119
+ "ContentKitContextBase": {
5120
+ "type": "object",
5121
+ "description": "Common properties for ContentKit context.",
5122
+ "properties": {
5123
+ "theme": {
5124
+ "type": "string",
5125
+ "enum": [
5126
+ "dark",
5127
+ "light"
5128
+ ]
5129
+ }
5130
+ },
5131
+ "required": [
5132
+ "theme"
5133
+ ]
5134
+ },
4895
5135
  "ContentKitContext": {
5136
+ "description": "Object representing the context in which a ContentKit component is rendered.",
4896
5137
  "oneOf": [
5138
+ {
5139
+ "$ref": "#/components/schemas/ContentKitContextConfigurationAccount"
5140
+ },
5141
+ {
5142
+ "$ref": "#/components/schemas/ContentKitContextConfigurationSpace"
5143
+ },
5144
+ {
5145
+ "$ref": "#/components/schemas/ContentKitContextDocument"
5146
+ }
5147
+ ]
5148
+ },
5149
+ "ContentKitContextConfigurationAccount": {
5150
+ "allOf": [
5151
+ {
5152
+ "$ref": "#/components/schemas/ContentKitContextBase"
5153
+ },
4897
5154
  {
4898
5155
  "type": "object",
5156
+ "description": "Context while rendering in an account installation's configuration.",
4899
5157
  "properties": {
4900
5158
  "type": {
4901
5159
  "type": "string",
4902
5160
  "enum": [
4903
- "document",
4904
- "configuration_space"
5161
+ "configuration_account"
4905
5162
  ]
4906
5163
  },
4907
- "editable": {
4908
- "type": "boolean"
5164
+ "organizationId": {
5165
+ "type": "string",
5166
+ "description": "ID of the organization the account installation configuration is in."
5167
+ }
5168
+ },
5169
+ "required": [
5170
+ "type",
5171
+ "organizationId"
5172
+ ]
5173
+ }
5174
+ ]
5175
+ },
5176
+ "ContentKitContextConfigurationSpace": {
5177
+ "allOf": [
5178
+ {
5179
+ "$ref": "#/components/schemas/ContentKitContextBase"
5180
+ },
5181
+ {
5182
+ "type": "object",
5183
+ "description": "Context while rendering in a space-installation's configuration.",
5184
+ "properties": {
5185
+ "type": {
5186
+ "type": "string",
5187
+ "enum": [
5188
+ "configuration_space"
5189
+ ]
4909
5190
  },
4910
- "theme": {
5191
+ "spaceId": {
5192
+ "type": "string",
5193
+ "description": "ID of the space the space-installation configuration is in."
5194
+ }
5195
+ },
5196
+ "required": [
5197
+ "type",
5198
+ "spaceId"
5199
+ ]
5200
+ }
5201
+ ]
5202
+ },
5203
+ "ContentKitContextDocument": {
5204
+ "allOf": [
5205
+ {
5206
+ "$ref": "#/components/schemas/ContentKitContextBase"
5207
+ },
5208
+ {
5209
+ "type": "object",
5210
+ "description": "Context while rendering in a document.",
5211
+ "properties": {
5212
+ "type": {
4911
5213
  "type": "string",
4912
5214
  "enum": [
4913
- "dark",
4914
- "light"
5215
+ "document"
4915
5216
  ]
5217
+ },
5218
+ "spaceId": {
5219
+ "type": "string",
5220
+ "description": "ID of the space content the document is in."
5221
+ },
5222
+ "editable": {
5223
+ "type": "boolean"
4916
5224
  }
4917
5225
  },
4918
5226
  "required": [
4919
5227
  "type",
4920
- "editable",
4921
- "theme"
5228
+ "spaceId",
5229
+ "editable"
4922
5230
  ]
4923
5231
  }
4924
5232
  ]
@@ -5020,6 +5328,9 @@
5020
5328
  "icon": {
5021
5329
  "$ref": "#/components/schemas/ContentKitIcon"
5022
5330
  },
5331
+ "trailingIcon": {
5332
+ "$ref": "#/components/schemas/ContentKitIcon"
5333
+ },
5023
5334
  "label": {
5024
5335
  "type": "string"
5025
5336
  },
@@ -5132,6 +5443,28 @@
5132
5443
  "children"
5133
5444
  ]
5134
5445
  },
5446
+ "ContentKitHint": {
5447
+ "type": "object",
5448
+ "description": "Element used to contextualize other elements or info.",
5449
+ "properties": {
5450
+ "type": {
5451
+ "type": "string",
5452
+ "enum": [
5453
+ "hint"
5454
+ ]
5455
+ },
5456
+ "children": {
5457
+ "type": "array",
5458
+ "items": {
5459
+ "$ref": "#/components/schemas/ContentKitInlineElement"
5460
+ }
5461
+ }
5462
+ },
5463
+ "required": [
5464
+ "type",
5465
+ "children"
5466
+ ]
5467
+ },
5135
5468
  "ContentKitHStack": {
5136
5469
  "type": "object",
5137
5470
  "description": "Horizontal stack of boxes.",
@@ -5722,6 +6055,16 @@
5722
6055
  },
5723
6056
  "label": {
5724
6057
  "type": "string"
6058
+ },
6059
+ "icon": {
6060
+ "oneOf": [
6061
+ {
6062
+ "$ref": "#/components/schemas/ContentKitIcon"
6063
+ },
6064
+ {
6065
+ "$ref": "#/components/schemas/ContentKitImage"
6066
+ }
6067
+ ]
5725
6068
  }
5726
6069
  },
5727
6070
  "required": [
@@ -5757,6 +6100,9 @@
5757
6100
  }
5758
6101
  ]
5759
6102
  },
6103
+ "onValueChange": {
6104
+ "$ref": "#/components/schemas/ContentKitAction"
6105
+ },
5760
6106
  "placeholder": {
5761
6107
  "description": "Text that appears in the form control when it has no value set",
5762
6108
  "type": "string"
@@ -5766,6 +6112,7 @@
5766
6112
  "type": "boolean"
5767
6113
  },
5768
6114
  "options": {
6115
+ "description": "Array of options to display in the select.",
5769
6116
  "oneOf": [
5770
6117
  {
5771
6118
  "type": "array",
@@ -5776,10 +6123,17 @@
5776
6123
  },
5777
6124
  {
5778
6125
  "type": "object",
5779
- "description": "External source of options. The URL should respond with an array of options.",
5780
6126
  "properties": {
5781
6127
  "url": {
5782
- "type": "string"
6128
+ "oneOf": [
6129
+ {
6130
+ "type": "string",
6131
+ "description": "External source of options. The URL should respond with an array of options."
6132
+ },
6133
+ {
6134
+ "$ref": "#/components/schemas/ContentKitURL"
6135
+ }
6136
+ ]
5783
6137
  }
5784
6138
  },
5785
6139
  "required": [
@@ -5813,6 +6167,9 @@
5813
6167
  "description": "Value to initialize the switch with.",
5814
6168
  "type": "boolean"
5815
6169
  },
6170
+ "onValueChange": {
6171
+ "$ref": "#/components/schemas/ContentKitAction"
6172
+ },
5816
6173
  "confirm": {
5817
6174
  "$ref": "#/components/schemas/ContentKitConfirm"
5818
6175
  }
@@ -5990,6 +6347,9 @@
5990
6347
  },
5991
6348
  {
5992
6349
  "$ref": "#/components/schemas/ContentKitText"
6350
+ },
6351
+ {
6352
+ "$ref": "#/components/schemas/ContentKitHint"
5993
6353
  }
5994
6354
  ],
5995
6355
  "discriminator": {
@@ -6010,12 +6370,48 @@
6010
6370
  "propertyName": "type"
6011
6371
  }
6012
6372
  },
6373
+ "ContentKitURL": {
6374
+ "type": "object",
6375
+ "description": "Specification for an URL in ContentKit.",
6376
+ "properties": {
6377
+ "host": {
6378
+ "type": "string",
6379
+ "description": "Hostname of the URL along with the port number if required.",
6380
+ "example": "api.example.com"
6381
+ },
6382
+ "pathname": {
6383
+ "type": "string",
6384
+ "description": "Path of the URL prefixed with a `/`.",
6385
+ "example": "/v1/options"
6386
+ },
6387
+ "query": {
6388
+ "type": "object",
6389
+ "additionalProperties": {
6390
+ "oneOf": [
6391
+ {
6392
+ "type": "string"
6393
+ },
6394
+ {
6395
+ "$ref": "#/components/schemas/ContentKitDynamicBinding"
6396
+ }
6397
+ ]
6398
+ }
6399
+ }
6400
+ },
6401
+ "required": [
6402
+ "host",
6403
+ "pathname"
6404
+ ]
6405
+ },
6013
6406
  "SubscriptionChannel": {
6014
6407
  "description": "Channel to subscribe to for API updates.",
6015
6408
  "oneOf": [
6016
6409
  {
6017
6410
  "$ref": "#/components/schemas/SpaceInfoChannel"
6018
6411
  },
6412
+ {
6413
+ "$ref": "#/components/schemas/SpaceGitInfoChannel"
6414
+ },
6019
6415
  {
6020
6416
  "$ref": "#/components/schemas/SpacePublishingAuthChannel"
6021
6417
  },
@@ -6196,6 +6592,24 @@
6196
6592
  "space"
6197
6593
  ]
6198
6594
  },
6595
+ "SpaceGitInfoChannel": {
6596
+ "type": "object",
6597
+ "properties": {
6598
+ "channel": {
6599
+ "type": "string",
6600
+ "enum": [
6601
+ "space-git-info"
6602
+ ]
6603
+ },
6604
+ "space": {
6605
+ "type": "string"
6606
+ }
6607
+ },
6608
+ "required": [
6609
+ "channel",
6610
+ "space"
6611
+ ]
6612
+ },
6199
6613
  "SpacePublishingAuthChannel": {
6200
6614
  "type": "object",
6201
6615
  "properties": {
@@ -6706,8 +7120,7 @@
6706
7120
  "$ref": "#/components/schemas/EnvironmentTitle"
6707
7121
  },
6708
7122
  "primary": {
6709
- "description": "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.\n",
6710
- "type": "boolean"
7123
+ "$ref": "#/components/schemas/EnvironmentPrimary"
6711
7124
  },
6712
7125
  "urls": {
6713
7126
  "type": "object",
@@ -6736,6 +7149,10 @@
6736
7149
  "type": "string",
6737
7150
  "maxLength": 100
6738
7151
  },
7152
+ "EnvironmentPrimary": {
7153
+ "description": "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.\n",
7154
+ "type": "boolean"
7155
+ },
6739
7156
  "EnvironmentName": {
6740
7157
  "type": "string",
6741
7158
  "pattern": "^[a-zA-Z_\\-0-9]+$",
@@ -6751,7 +7168,7 @@
6751
7168
  "$ref": "#/components/schemas/EnvironmentTitle"
6752
7169
  },
6753
7170
  "primary": {
6754
- "$ref": "#/components/schemas/Environment/properties/primary"
7171
+ "$ref": "#/components/schemas/EnvironmentPrimary"
6755
7172
  }
6756
7173
  },
6757
7174
  "required": [
@@ -6767,7 +7184,7 @@
6767
7184
  "$ref": "#/components/schemas/EnvironmentTitle"
6768
7185
  },
6769
7186
  "primary": {
6770
- "$ref": "#/components/schemas/Environment/properties/primary"
7187
+ "$ref": "#/components/schemas/EnvironmentPrimary"
6771
7188
  }
6772
7189
  }
6773
7190
  }
@@ -7620,6 +8037,44 @@
7620
8037
  }
7621
8038
  }
7622
8039
  },
8040
+ "/spaces/{spaceId}/git/info": {
8041
+ "get": {
8042
+ "operationId": "getSpaceGitInfo",
8043
+ "summary": "Get metadata about the Git Sync provider currently set up on the space",
8044
+ "tags": [
8045
+ "spaces"
8046
+ ],
8047
+ "security": [
8048
+ {
8049
+ "user": []
8050
+ }
8051
+ ],
8052
+ "parameters": [
8053
+ {
8054
+ "$ref": "#/components/parameters/spaceId"
8055
+ }
8056
+ ],
8057
+ "responses": {
8058
+ "200": {
8059
+ "description": "The Git Sync info for the space",
8060
+ "content": {
8061
+ "application/json": {
8062
+ "schema": {
8063
+ "$ref": "#/components/schemas/GitSyncState"
8064
+ }
8065
+ }
8066
+ }
8067
+ },
8068
+ "404": {
8069
+ "description": "No Git provider currently set up on the space",
8070
+ "$ref": "#/components/responses/NotFoundError"
8071
+ },
8072
+ "default": {
8073
+ "$ref": "#/components/responses/UnexpectedError"
8074
+ }
8075
+ }
8076
+ }
8077
+ },
7623
8078
  "/spaces/{spaceId}/insights/content": {
7624
8079
  "get": {
7625
8080
  "operationId": "getContentAnalyticsForSpaceById",
@@ -11546,6 +12001,44 @@
11546
12001
  }
11547
12002
  },
11548
12003
  "/integrations/{integrationName}/installations/{installationId}": {
12004
+ "get": {
12005
+ "operationId": "getIntegrationInstallationById",
12006
+ "summary": "Get a specific integration's installation by its ID",
12007
+ "tags": [
12008
+ "integrations"
12009
+ ],
12010
+ "security": [
12011
+ {
12012
+ "user": []
12013
+ }
12014
+ ],
12015
+ "parameters": [
12016
+ {
12017
+ "$ref": "#/components/parameters/integrationName"
12018
+ },
12019
+ {
12020
+ "$ref": "#/components/parameters/installationId"
12021
+ }
12022
+ ],
12023
+ "responses": {
12024
+ "200": {
12025
+ "description": "Integration installation",
12026
+ "content": {
12027
+ "application/json": {
12028
+ "schema": {
12029
+ "$ref": "#/components/schemas/IntegrationInstallation"
12030
+ }
12031
+ }
12032
+ }
12033
+ },
12034
+ "404": {
12035
+ "$ref": "#/components/responses/NotFoundError"
12036
+ },
12037
+ "default": {
12038
+ "$ref": "#/components/responses/UnexpectedError"
12039
+ }
12040
+ }
12041
+ },
11549
12042
  "patch": {
11550
12043
  "operationId": "updateIntegrationInstallation",
11551
12044
  "summary": "Update external IDs and configurations of an integration's installation",
@@ -11848,7 +12341,8 @@
11848
12341
  },
11849
12342
  "post": {
11850
12343
  "operationId": "syncIntegrationEntities",
11851
- "summary": "Update all entities for an integration installation. Entities will be created and updated, missing entities will be deleted.",
12344
+ "summary": "Update all entities for an integration installation.",
12345
+ "description": "Update all entities for an integration installation. Entities will be created and updated, missing entities will be deleted.",
11852
12346
  "tags": [
11853
12347
  "integrations"
11854
12348
  ],
@@ -14296,6 +14790,166 @@
14296
14790
  }
14297
14791
  }
14298
14792
  },
14793
+ "/orgs/{organizationId}/recordings": {
14794
+ "post": {
14795
+ "operationId": "startRecording",
14796
+ "summary": "Start a recording",
14797
+ "tags": [
14798
+ "organizations"
14799
+ ],
14800
+ "security": [
14801
+ {
14802
+ "user": []
14803
+ }
14804
+ ],
14805
+ "parameters": [
14806
+ {
14807
+ "$ref": "#/components/parameters/organizationId"
14808
+ }
14809
+ ],
14810
+ "requestBody": {
14811
+ "content": {
14812
+ "application/json": {
14813
+ "schema": {
14814
+ "type": "object",
14815
+ "properties": {
14816
+ "space": {
14817
+ "description": "The space in which the docs should be generated",
14818
+ "type": "string"
14819
+ },
14820
+ "context": {
14821
+ "$ref": "#/components/schemas/RecordingContext"
14822
+ }
14823
+ },
14824
+ "required": [
14825
+ "space",
14826
+ "context"
14827
+ ]
14828
+ }
14829
+ }
14830
+ }
14831
+ },
14832
+ "responses": {
14833
+ "201": {
14834
+ "description": "Recording started",
14835
+ "headers": {
14836
+ "Location": {
14837
+ "description": "API URL for the newly created recording",
14838
+ "schema": {
14839
+ "type": "string"
14840
+ }
14841
+ }
14842
+ },
14843
+ "content": {
14844
+ "application/json": {
14845
+ "schema": {
14846
+ "$ref": "#/components/schemas/Recording"
14847
+ }
14848
+ }
14849
+ }
14850
+ },
14851
+ "default": {
14852
+ "$ref": "#/components/responses/UnexpectedError"
14853
+ }
14854
+ }
14855
+ }
14856
+ },
14857
+ "/orgs/{organizationId}/recordings/{recordingId}/events": {
14858
+ "post": {
14859
+ "operationId": "addEventsToRecording",
14860
+ "summary": "Add events to a running recording",
14861
+ "tags": [
14862
+ "organizations"
14863
+ ],
14864
+ "security": [
14865
+ {
14866
+ "user": []
14867
+ }
14868
+ ],
14869
+ "parameters": [
14870
+ {
14871
+ "$ref": "#/components/parameters/organizationId"
14872
+ },
14873
+ {
14874
+ "$ref": "#/components/parameters/recordingId"
14875
+ }
14876
+ ],
14877
+ "requestBody": {
14878
+ "content": {
14879
+ "application/json": {
14880
+ "schema": {
14881
+ "type": "object",
14882
+ "properties": {
14883
+ "events": {
14884
+ "type": "array",
14885
+ "items": {
14886
+ "$ref": "#/components/schemas/RecordingEvent"
14887
+ }
14888
+ }
14889
+ },
14890
+ "required": [
14891
+ "events"
14892
+ ]
14893
+ }
14894
+ }
14895
+ }
14896
+ },
14897
+ "responses": {
14898
+ "200": {
14899
+ "description": "Events added"
14900
+ },
14901
+ "default": {
14902
+ "$ref": "#/components/responses/UnexpectedError"
14903
+ }
14904
+ }
14905
+ }
14906
+ },
14907
+ "/orgs/{organizationId}/recordings/{recordingId}/stop": {
14908
+ "post": {
14909
+ "operationId": "stopRecording",
14910
+ "summary": "Stop a recording",
14911
+ "tags": [
14912
+ "organizations"
14913
+ ],
14914
+ "security": [
14915
+ {
14916
+ "user": []
14917
+ }
14918
+ ],
14919
+ "parameters": [
14920
+ {
14921
+ "$ref": "#/components/parameters/organizationId"
14922
+ },
14923
+ {
14924
+ "$ref": "#/components/parameters/recordingId"
14925
+ }
14926
+ ],
14927
+ "responses": {
14928
+ "200": {
14929
+ "description": "Recording stopped",
14930
+ "content": {
14931
+ "application/json": {
14932
+ "schema": {
14933
+ "type": "object",
14934
+ "properties": {
14935
+ "url": {
14936
+ "description": "URL of the generated document",
14937
+ "type": "string"
14938
+ }
14939
+ },
14940
+ "required": [
14941
+ "url"
14942
+ ]
14943
+ }
14944
+ }
14945
+ }
14946
+ },
14947
+ "default": {
14948
+ "$ref": "#/components/responses/UnexpectedError"
14949
+ }
14950
+ }
14951
+ }
14952
+ },
14299
14953
  "/internal/hive/token": {
14300
14954
  "post": {
14301
14955
  "operationId": "generateHiveAccessToken",