@gitbook/api 0.28.0 → 0.30.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 +271 -54
- package/dist/index.cjs +174 -19
- package/dist/index.js +172 -19
- package/package.json +1 -1
- package/spec/openapi.json +950 -239
- package/spec/openapi.yaml +590 -148
package/spec/openapi.yaml
CHANGED
|
@@ -68,6 +68,15 @@ components:
|
|
|
68
68
|
enum:
|
|
69
69
|
- document
|
|
70
70
|
- markdown
|
|
71
|
+
documentSchema:
|
|
72
|
+
name: schema
|
|
73
|
+
in: query
|
|
74
|
+
description: Version of the schema used for the document.
|
|
75
|
+
schema:
|
|
76
|
+
type: string
|
|
77
|
+
enum:
|
|
78
|
+
- current
|
|
79
|
+
- next
|
|
71
80
|
commentStatus:
|
|
72
81
|
name: status
|
|
73
82
|
in: query
|
|
@@ -229,6 +238,20 @@ components:
|
|
|
229
238
|
description: The id of the visitor
|
|
230
239
|
schema:
|
|
231
240
|
type: string
|
|
241
|
+
inviteId:
|
|
242
|
+
name: inviteId
|
|
243
|
+
in: path
|
|
244
|
+
required: true
|
|
245
|
+
description: The unique id of the invite
|
|
246
|
+
schema:
|
|
247
|
+
type: string
|
|
248
|
+
shareLinkId:
|
|
249
|
+
name: shareLinkId
|
|
250
|
+
in: path
|
|
251
|
+
required: true
|
|
252
|
+
description: The unique id of the share link
|
|
253
|
+
schema:
|
|
254
|
+
type: string
|
|
232
255
|
backofficeHostname:
|
|
233
256
|
name: hostname
|
|
234
257
|
in: path
|
|
@@ -649,6 +672,14 @@ components:
|
|
|
649
672
|
required:
|
|
650
673
|
- version
|
|
651
674
|
- build
|
|
675
|
+
BlockContext:
|
|
676
|
+
type: object
|
|
677
|
+
description: The context to send when blocking/unblocking
|
|
678
|
+
properties:
|
|
679
|
+
block:
|
|
680
|
+
type: boolean
|
|
681
|
+
required:
|
|
682
|
+
- block
|
|
652
683
|
RequestPurgeCDNCacheContext:
|
|
653
684
|
type: object
|
|
654
685
|
description: The context to send when purging the CDN Cache
|
|
@@ -663,14 +694,6 @@ components:
|
|
|
663
694
|
required:
|
|
664
695
|
- type
|
|
665
696
|
- values
|
|
666
|
-
RequestBlockUserContext:
|
|
667
|
-
type: object
|
|
668
|
-
description: The context to send when blocking/unblocking a user
|
|
669
|
-
properties:
|
|
670
|
-
block:
|
|
671
|
-
type: boolean
|
|
672
|
-
required:
|
|
673
|
-
- block
|
|
674
697
|
TriggerContentIndexingContext:
|
|
675
698
|
type: object
|
|
676
699
|
description: The context to send when triggering a content indexing.
|
|
@@ -1107,6 +1130,13 @@ components:
|
|
|
1107
1130
|
oneOf:
|
|
1108
1131
|
- $ref: "#/components/schemas/SpacePointer"
|
|
1109
1132
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
1133
|
+
DefaultLevel:
|
|
1134
|
+
description: Default level for a piece of content
|
|
1135
|
+
oneOf:
|
|
1136
|
+
- $ref: "#/components/schemas/MemberRoleOrGuest"
|
|
1137
|
+
- type: string
|
|
1138
|
+
enum:
|
|
1139
|
+
- inherit
|
|
1110
1140
|
Document:
|
|
1111
1141
|
oneOf:
|
|
1112
1142
|
- $ref: "#/components/schemas/MarkdownDocument"
|
|
@@ -2956,6 +2986,11 @@ components:
|
|
|
2956
2986
|
required:
|
|
2957
2987
|
- backend
|
|
2958
2988
|
- integration
|
|
2989
|
+
revision:
|
|
2990
|
+
type: string
|
|
2991
|
+
description: ID of the active revision in the space.
|
|
2992
|
+
defaultLevel:
|
|
2993
|
+
$ref: "#/components/schemas/DefaultLevel"
|
|
2959
2994
|
required:
|
|
2960
2995
|
- object
|
|
2961
2996
|
- id
|
|
@@ -2964,9 +2999,11 @@ components:
|
|
|
2964
2999
|
- emoji
|
|
2965
3000
|
- organization
|
|
2966
3001
|
- visibility
|
|
3002
|
+
- revision
|
|
2967
3003
|
- createdAt
|
|
2968
3004
|
- updatedAt
|
|
2969
3005
|
- urls
|
|
3006
|
+
- defaultLevel
|
|
2970
3007
|
SpaceEditMode:
|
|
2971
3008
|
type: string
|
|
2972
3009
|
description: |
|
|
@@ -3730,6 +3767,15 @@ components:
|
|
|
3730
3767
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
3731
3768
|
defaultContent:
|
|
3732
3769
|
$ref: "#/components/schemas/OrganizationDefaultContent"
|
|
3770
|
+
sso:
|
|
3771
|
+
description: Whether SSO is enforced organization wide
|
|
3772
|
+
type: boolean
|
|
3773
|
+
ai:
|
|
3774
|
+
description: If true, the organization is configured to use all our AI features.
|
|
3775
|
+
type: boolean
|
|
3776
|
+
aiInsights:
|
|
3777
|
+
description: If true, the organization is configured to run content audits on any space update
|
|
3778
|
+
type: boolean
|
|
3733
3779
|
urls:
|
|
3734
3780
|
type: object
|
|
3735
3781
|
description: URLs associated with the object
|
|
@@ -3742,6 +3788,9 @@ components:
|
|
|
3742
3788
|
type: string
|
|
3743
3789
|
description: URL of the organization in the application
|
|
3744
3790
|
format: uri
|
|
3791
|
+
logo:
|
|
3792
|
+
description: URL of the logo of this organization, if defined.
|
|
3793
|
+
$ref: "#/components/schemas/URL"
|
|
3745
3794
|
required:
|
|
3746
3795
|
- app
|
|
3747
3796
|
- location
|
|
@@ -3953,6 +4002,75 @@ components:
|
|
|
3953
4002
|
oneOf:
|
|
3954
4003
|
- $ref: "#/components/schemas/SpacePointer"
|
|
3955
4004
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
4005
|
+
OrganizationInvite:
|
|
4006
|
+
oneOf:
|
|
4007
|
+
- type: object
|
|
4008
|
+
properties:
|
|
4009
|
+
object:
|
|
4010
|
+
type: string
|
|
4011
|
+
description: Type of Object, always equals to "invite"
|
|
4012
|
+
enum:
|
|
4013
|
+
- invite
|
|
4014
|
+
id:
|
|
4015
|
+
type: string
|
|
4016
|
+
description: Unique identifier for the organization invite
|
|
4017
|
+
role:
|
|
4018
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4019
|
+
description: The role of the member in the organization
|
|
4020
|
+
required:
|
|
4021
|
+
- object
|
|
4022
|
+
- id
|
|
4023
|
+
- role
|
|
4024
|
+
- type: object
|
|
4025
|
+
properties:
|
|
4026
|
+
object:
|
|
4027
|
+
type: string
|
|
4028
|
+
description: Type of Object, always equals to "invite"
|
|
4029
|
+
enum:
|
|
4030
|
+
- invite
|
|
4031
|
+
id:
|
|
4032
|
+
type: string
|
|
4033
|
+
description: Unique identifier for the organization invite
|
|
4034
|
+
role:
|
|
4035
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4036
|
+
description: The role of the member in the organization
|
|
4037
|
+
contentLevel:
|
|
4038
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4039
|
+
description: The role of the member in the target space
|
|
4040
|
+
space:
|
|
4041
|
+
$ref: "#/components/schemas/Space"
|
|
4042
|
+
description: The space the member has been invited to
|
|
4043
|
+
required:
|
|
4044
|
+
- object
|
|
4045
|
+
- id
|
|
4046
|
+
- role
|
|
4047
|
+
- contentLevel
|
|
4048
|
+
- space
|
|
4049
|
+
- type: object
|
|
4050
|
+
properties:
|
|
4051
|
+
object:
|
|
4052
|
+
type: string
|
|
4053
|
+
description: Type of Object, always equals to "invite"
|
|
4054
|
+
enum:
|
|
4055
|
+
- invite
|
|
4056
|
+
id:
|
|
4057
|
+
type: string
|
|
4058
|
+
description: Unique identifier for the organization invite
|
|
4059
|
+
role:
|
|
4060
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4061
|
+
description: The role of the member in the organization
|
|
4062
|
+
contentLevel:
|
|
4063
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4064
|
+
description: The role of the member in the target collection
|
|
4065
|
+
collection:
|
|
4066
|
+
$ref: "#/components/schemas/Collection"
|
|
4067
|
+
description: The collection the member has been invited to
|
|
4068
|
+
required:
|
|
4069
|
+
- object
|
|
4070
|
+
- id
|
|
4071
|
+
- role
|
|
4072
|
+
- contentLevel
|
|
4073
|
+
- collection
|
|
3956
4074
|
Capture:
|
|
3957
4075
|
type: object
|
|
3958
4076
|
properties:
|
|
@@ -4177,97 +4295,83 @@ components:
|
|
|
4177
4295
|
- type
|
|
4178
4296
|
- filename
|
|
4179
4297
|
- fileSnapshot
|
|
4180
|
-
|
|
4298
|
+
Snippet:
|
|
4181
4299
|
type: object
|
|
4182
4300
|
properties:
|
|
4301
|
+
id:
|
|
4302
|
+
type: string
|
|
4303
|
+
description: Unique identifier for the snippet
|
|
4304
|
+
organization:
|
|
4305
|
+
type: string
|
|
4306
|
+
description: ID of the organization owning this snippet
|
|
4307
|
+
createdAt:
|
|
4308
|
+
type: string
|
|
4309
|
+
format: date-time
|
|
4310
|
+
editedAt:
|
|
4311
|
+
type: string
|
|
4312
|
+
format: date-time
|
|
4313
|
+
description: Timestamp of when the snippet was last edited, if it has been edited since its creation.
|
|
4314
|
+
archived:
|
|
4315
|
+
type: boolean
|
|
4316
|
+
description: Whether the snippet is archived. Archived snippets don't appear in search results or in the app.
|
|
4183
4317
|
title:
|
|
4184
4318
|
type: string
|
|
4185
|
-
description:
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
allOf:
|
|
4191
|
-
- $ref: "#/components/schemas/Document"
|
|
4192
|
-
- type: object
|
|
4319
|
+
description: Title describing the snippet.
|
|
4320
|
+
maxLength: 100
|
|
4321
|
+
source:
|
|
4322
|
+
description: The source of the snippet.
|
|
4323
|
+
type: object
|
|
4193
4324
|
properties:
|
|
4194
|
-
|
|
4325
|
+
sourceId:
|
|
4195
4326
|
type: string
|
|
4196
|
-
description:
|
|
4197
|
-
|
|
4198
|
-
type: string
|
|
4199
|
-
description: ID of the organization owning this snippet
|
|
4200
|
-
createdAt:
|
|
4201
|
-
type: string
|
|
4202
|
-
format: date-time
|
|
4203
|
-
editedAt:
|
|
4327
|
+
description: An ID identifying the source, unique across all sources.
|
|
4328
|
+
name:
|
|
4204
4329
|
type: string
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
archived:
|
|
4208
|
-
type: boolean
|
|
4209
|
-
description: Whether the snippet is archived. Archived snippets don't appear in search results or in the app.
|
|
4210
|
-
title:
|
|
4330
|
+
description: A display name for the source.
|
|
4331
|
+
externalId:
|
|
4211
4332
|
type: string
|
|
4212
|
-
description:
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
type: object
|
|
4217
|
-
properties:
|
|
4218
|
-
sourceId:
|
|
4219
|
-
type: string
|
|
4220
|
-
description: An ID identifying the source, unique across all sources.
|
|
4221
|
-
name:
|
|
4222
|
-
type: string
|
|
4223
|
-
description: A display name for the source.
|
|
4224
|
-
externalId:
|
|
4225
|
-
type: string
|
|
4226
|
-
description: An ID identifying the snippet in the source system, if available.
|
|
4227
|
-
externalUrl:
|
|
4228
|
-
description: URL of the snippet in the source system, if available.
|
|
4229
|
-
$ref: "#/components/schemas/URL"
|
|
4230
|
-
required:
|
|
4231
|
-
- sourceId
|
|
4232
|
-
- name
|
|
4233
|
-
contributors:
|
|
4234
|
-
description: An array of contributors to the snippet, which can be either users or integrations. The first contributor is the one who created the snippet.
|
|
4235
|
-
type: array
|
|
4236
|
-
minItems: 1
|
|
4237
|
-
items:
|
|
4238
|
-
oneOf:
|
|
4239
|
-
- $ref: "#/components/schemas/Integration"
|
|
4240
|
-
- $ref: "#/components/schemas/User"
|
|
4241
|
-
urls:
|
|
4242
|
-
type: object
|
|
4243
|
-
description: URLs associated with the object
|
|
4244
|
-
properties:
|
|
4245
|
-
location:
|
|
4246
|
-
description: URL of the snippet in the API
|
|
4247
|
-
$ref: "#/components/schemas/URL"
|
|
4248
|
-
app:
|
|
4249
|
-
description: URL of the snippet in the app
|
|
4250
|
-
$ref: "#/components/schemas/URL"
|
|
4251
|
-
required:
|
|
4252
|
-
- location
|
|
4253
|
-
- app
|
|
4333
|
+
description: An ID identifying the snippet in the source system, if available.
|
|
4334
|
+
externalUrl:
|
|
4335
|
+
description: URL of the snippet in the source system, if available.
|
|
4336
|
+
$ref: "#/components/schemas/URL"
|
|
4254
4337
|
required:
|
|
4255
|
-
-
|
|
4256
|
-
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4338
|
+
- sourceId
|
|
4339
|
+
- name
|
|
4340
|
+
contributors:
|
|
4341
|
+
description: An array of contributors to the snippet, which can be either users or integrations. The first contributor is the one who created the snippet.
|
|
4342
|
+
type: array
|
|
4343
|
+
minItems: 1
|
|
4344
|
+
items:
|
|
4345
|
+
oneOf:
|
|
4346
|
+
- $ref: "#/components/schemas/Integration"
|
|
4347
|
+
- $ref: "#/components/schemas/User"
|
|
4348
|
+
urls:
|
|
4349
|
+
type: object
|
|
4350
|
+
description: URLs associated with the object
|
|
4351
|
+
properties:
|
|
4352
|
+
location:
|
|
4353
|
+
description: URL of the snippet in the API
|
|
4354
|
+
$ref: "#/components/schemas/URL"
|
|
4355
|
+
app:
|
|
4356
|
+
description: URL of the snippet in the app
|
|
4357
|
+
$ref: "#/components/schemas/URL"
|
|
4358
|
+
required:
|
|
4359
|
+
- location
|
|
4360
|
+
- app
|
|
4361
|
+
required:
|
|
4362
|
+
- id
|
|
4363
|
+
- organization
|
|
4364
|
+
- source
|
|
4365
|
+
- createdAt
|
|
4366
|
+
- archived
|
|
4367
|
+
- contributors
|
|
4368
|
+
- urls
|
|
4262
4369
|
UpdateSnippetSchema:
|
|
4263
4370
|
type: object
|
|
4264
4371
|
properties:
|
|
4265
4372
|
title:
|
|
4266
4373
|
type: string
|
|
4267
4374
|
description: A new title for the snippet.
|
|
4268
|
-
body:
|
|
4269
|
-
description: Content of the snippet.
|
|
4270
|
-
$ref: "#/components/schemas/Document"
|
|
4271
4375
|
ContentAuditRelation:
|
|
4272
4376
|
type: object
|
|
4273
4377
|
description: Content audit relation
|
|
@@ -4355,16 +4459,16 @@ components:
|
|
|
4355
4459
|
status:
|
|
4356
4460
|
$ref: "#/components/schemas/ChangeRequestStatus"
|
|
4357
4461
|
subject:
|
|
4358
|
-
|
|
4359
|
-
description: Subject of the change request
|
|
4360
|
-
minLength: 0
|
|
4361
|
-
maxLength: 100
|
|
4462
|
+
$ref: "#/components/schemas/ChangeRequestSubject"
|
|
4362
4463
|
createdBy:
|
|
4363
4464
|
$ref: "#/components/schemas/User"
|
|
4364
4465
|
createdAt:
|
|
4365
4466
|
$ref: "#/components/schemas/Timestamp"
|
|
4366
4467
|
updatedAt:
|
|
4367
4468
|
$ref: "#/components/schemas/Timestamp"
|
|
4469
|
+
revision:
|
|
4470
|
+
type: string
|
|
4471
|
+
description: ID of the active revision in the change request.
|
|
4368
4472
|
urls:
|
|
4369
4473
|
type: object
|
|
4370
4474
|
description: URLs associated with the object
|
|
@@ -4384,6 +4488,7 @@ components:
|
|
|
4384
4488
|
- createdBy
|
|
4385
4489
|
- createdAt
|
|
4386
4490
|
- updatedAt
|
|
4491
|
+
- revision
|
|
4387
4492
|
- urls
|
|
4388
4493
|
ChangeRequestStatus:
|
|
4389
4494
|
type: string
|
|
@@ -4484,6 +4589,11 @@ components:
|
|
|
4484
4589
|
required:
|
|
4485
4590
|
- kind
|
|
4486
4591
|
- team
|
|
4592
|
+
ChangeRequestSubject:
|
|
4593
|
+
type: string
|
|
4594
|
+
description: Subject of the change request
|
|
4595
|
+
minLength: 0
|
|
4596
|
+
maxLength: 100
|
|
4487
4597
|
UpdateCommentSchema:
|
|
4488
4598
|
type: object
|
|
4489
4599
|
properties:
|
|
@@ -4695,6 +4805,17 @@ components:
|
|
|
4695
4805
|
- pages
|
|
4696
4806
|
- sources
|
|
4697
4807
|
- followupQuestions
|
|
4808
|
+
SearchAIAnswerStream:
|
|
4809
|
+
type: object
|
|
4810
|
+
properties:
|
|
4811
|
+
type:
|
|
4812
|
+
type: string
|
|
4813
|
+
enum:
|
|
4814
|
+
- answer
|
|
4815
|
+
answer:
|
|
4816
|
+
$ref: "#/components/schemas/SearchAIAnswer"
|
|
4817
|
+
required:
|
|
4818
|
+
- type
|
|
4698
4819
|
SearchAIAnswerSource:
|
|
4699
4820
|
allOf:
|
|
4700
4821
|
- type: object
|
|
@@ -4939,6 +5060,8 @@ components:
|
|
|
4939
5060
|
type: string
|
|
4940
5061
|
deprecated: true
|
|
4941
5062
|
description: ID of the parent collection, if any
|
|
5063
|
+
defaultLevel:
|
|
5064
|
+
$ref: "#/components/schemas/DefaultLevel"
|
|
4942
5065
|
urls:
|
|
4943
5066
|
type: object
|
|
4944
5067
|
description: URLs associated with the object
|
|
@@ -4961,6 +5084,7 @@ components:
|
|
|
4961
5084
|
- organization
|
|
4962
5085
|
- visibility
|
|
4963
5086
|
- urls
|
|
5087
|
+
- defaultLevel
|
|
4964
5088
|
CollectionTitle:
|
|
4965
5089
|
type: string
|
|
4966
5090
|
description: Title of the collection
|
|
@@ -5102,6 +5226,13 @@ components:
|
|
|
5102
5226
|
- space:script:cookies
|
|
5103
5227
|
- space:git:sync
|
|
5104
5228
|
- space:visitor:auth
|
|
5229
|
+
IntegrationSearchQuery:
|
|
5230
|
+
name: search
|
|
5231
|
+
in: query
|
|
5232
|
+
description: |
|
|
5233
|
+
A search string to filter integrations by name
|
|
5234
|
+
schema:
|
|
5235
|
+
type: string
|
|
5105
5236
|
IntegrationCategories:
|
|
5106
5237
|
type: array
|
|
5107
5238
|
description: Categories for which the integration is listed in the marketplace
|
|
@@ -6627,6 +6758,15 @@ components:
|
|
|
6627
6758
|
- githubLogin
|
|
6628
6759
|
- emailVerified
|
|
6629
6760
|
- activeDaysRemaining
|
|
6761
|
+
SpaceBlockReason:
|
|
6762
|
+
type: string
|
|
6763
|
+
description: Reason for a space to be blocked
|
|
6764
|
+
enum:
|
|
6765
|
+
- DMCA
|
|
6766
|
+
- THREAT_TYPE_UNSPECIFIED
|
|
6767
|
+
- MALWARE
|
|
6768
|
+
- SOCIAL_ENGINEERING
|
|
6769
|
+
- UNWANTED_SOFTWARE
|
|
6630
6770
|
HiveAccessToken:
|
|
6631
6771
|
type: object
|
|
6632
6772
|
description: JWT tokens to authenticate in Hive for all content.
|
|
@@ -6840,6 +6980,8 @@ components:
|
|
|
6840
6980
|
type: string
|
|
6841
6981
|
enum:
|
|
6842
6982
|
- textinput
|
|
6983
|
+
disabled:
|
|
6984
|
+
type: boolean
|
|
6843
6985
|
state:
|
|
6844
6986
|
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
6845
6987
|
type: string
|
|
@@ -7343,6 +7485,8 @@ components:
|
|
|
7343
7485
|
type: string
|
|
7344
7486
|
enum:
|
|
7345
7487
|
- select
|
|
7488
|
+
disabled:
|
|
7489
|
+
type: boolean
|
|
7346
7490
|
state:
|
|
7347
7491
|
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
7348
7492
|
type: string
|
|
@@ -7392,6 +7536,8 @@ components:
|
|
|
7392
7536
|
type: string
|
|
7393
7537
|
enum:
|
|
7394
7538
|
- switch
|
|
7539
|
+
disabled:
|
|
7540
|
+
type: boolean
|
|
7395
7541
|
state:
|
|
7396
7542
|
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
7397
7543
|
type: string
|
|
@@ -7433,6 +7579,8 @@ components:
|
|
|
7433
7579
|
type: string
|
|
7434
7580
|
enum:
|
|
7435
7581
|
- radio
|
|
7582
|
+
disabled:
|
|
7583
|
+
type: boolean
|
|
7436
7584
|
state:
|
|
7437
7585
|
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
7438
7586
|
type: string
|
|
@@ -7547,6 +7695,8 @@ components:
|
|
|
7547
7695
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
7548
7696
|
- $ref: "#/components/schemas/UserOrganizationsChannel"
|
|
7549
7697
|
- $ref: "#/components/schemas/UserProfileChannel"
|
|
7698
|
+
- $ref: "#/components/schemas/ChangeRequestChannel"
|
|
7699
|
+
- $ref: "#/components/schemas/ChangeRequestsChannel"
|
|
7550
7700
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
7551
7701
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
7552
7702
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
@@ -7812,6 +7962,33 @@ components:
|
|
|
7812
7962
|
required:
|
|
7813
7963
|
- channel
|
|
7814
7964
|
- collection
|
|
7965
|
+
ChangeRequestChannel:
|
|
7966
|
+
type: object
|
|
7967
|
+
properties:
|
|
7968
|
+
channel:
|
|
7969
|
+
type: string
|
|
7970
|
+
enum:
|
|
7971
|
+
- space-change-request
|
|
7972
|
+
space:
|
|
7973
|
+
type: string
|
|
7974
|
+
changeRequest:
|
|
7975
|
+
type: string
|
|
7976
|
+
required:
|
|
7977
|
+
- channel
|
|
7978
|
+
- space
|
|
7979
|
+
- changeRequest
|
|
7980
|
+
ChangeRequestsChannel:
|
|
7981
|
+
type: object
|
|
7982
|
+
properties:
|
|
7983
|
+
channel:
|
|
7984
|
+
type: string
|
|
7985
|
+
enum:
|
|
7986
|
+
- space-change-requests
|
|
7987
|
+
space:
|
|
7988
|
+
type: string
|
|
7989
|
+
required:
|
|
7990
|
+
- channel
|
|
7991
|
+
- space
|
|
7815
7992
|
ChangeRequestReviewsChannel:
|
|
7816
7993
|
type: object
|
|
7817
7994
|
properties:
|
|
@@ -8216,6 +8393,8 @@ components:
|
|
|
8216
8393
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
8217
8394
|
font:
|
|
8218
8395
|
$ref: "#/components/schemas/CustomizationFont"
|
|
8396
|
+
background:
|
|
8397
|
+
$ref: "#/components/schemas/CustomizationBackground"
|
|
8219
8398
|
required:
|
|
8220
8399
|
- primaryColor
|
|
8221
8400
|
- corners
|
|
@@ -8454,6 +8633,11 @@ components:
|
|
|
8454
8633
|
enum:
|
|
8455
8634
|
- straight
|
|
8456
8635
|
- rounded
|
|
8636
|
+
CustomizationBackground:
|
|
8637
|
+
type: string
|
|
8638
|
+
enum:
|
|
8639
|
+
- plain
|
|
8640
|
+
- match
|
|
8457
8641
|
CustomizationThemedURL:
|
|
8458
8642
|
type: object
|
|
8459
8643
|
properties:
|
|
@@ -8514,6 +8698,32 @@ components:
|
|
|
8514
8698
|
- bad
|
|
8515
8699
|
- ok
|
|
8516
8700
|
- good
|
|
8701
|
+
ShareLink:
|
|
8702
|
+
type: object
|
|
8703
|
+
properties:
|
|
8704
|
+
object:
|
|
8705
|
+
type: string
|
|
8706
|
+
description: Type of Object, always equals to "share-link"
|
|
8707
|
+
enum:
|
|
8708
|
+
- share-link
|
|
8709
|
+
id:
|
|
8710
|
+
type: string
|
|
8711
|
+
description: Unique identifier for the share-link
|
|
8712
|
+
createdAt:
|
|
8713
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8714
|
+
name:
|
|
8715
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
8716
|
+
active:
|
|
8717
|
+
type: boolean
|
|
8718
|
+
required:
|
|
8719
|
+
- object
|
|
8720
|
+
- id
|
|
8721
|
+
- createdAt
|
|
8722
|
+
ShareLinkName:
|
|
8723
|
+
type: string
|
|
8724
|
+
description: Name of the share link
|
|
8725
|
+
minLength: 0
|
|
8726
|
+
maxLength: 50
|
|
8517
8727
|
responses:
|
|
8518
8728
|
BadRequestError:
|
|
8519
8729
|
description: Bad Request
|
|
@@ -8807,6 +9017,8 @@ paths:
|
|
|
8807
9017
|
visitorAuth:
|
|
8808
9018
|
$ref: "#/components/schemas/Space/properties/visitorAuth"
|
|
8809
9019
|
description: The integration property, if set, is ignored.
|
|
9020
|
+
defaultLevel:
|
|
9021
|
+
$ref: "#/components/schemas/DefaultLevel"
|
|
8810
9022
|
- oneOf:
|
|
8811
9023
|
- type: object
|
|
8812
9024
|
title: Emoji
|
|
@@ -9080,6 +9292,27 @@ paths:
|
|
|
9080
9292
|
$ref: "#/components/schemas/SearchAIAnswer"
|
|
9081
9293
|
default:
|
|
9082
9294
|
$ref: "#/components/responses/UnexpectedError"
|
|
9295
|
+
"/spaces/{spaceId}/search/ask/stream":
|
|
9296
|
+
get:
|
|
9297
|
+
operationId: streamAskInSpace
|
|
9298
|
+
summary: Ask a question to an AI within the context of the space and stream the answer as a Server-Sent Events URL.
|
|
9299
|
+
parameters:
|
|
9300
|
+
- $ref: "#/components/parameters/spaceId"
|
|
9301
|
+
- name: query
|
|
9302
|
+
in: query
|
|
9303
|
+
required: true
|
|
9304
|
+
schema:
|
|
9305
|
+
type: string
|
|
9306
|
+
- $ref: "#/components/parameters/pageFormat"
|
|
9307
|
+
responses:
|
|
9308
|
+
"200":
|
|
9309
|
+
description: OK
|
|
9310
|
+
content:
|
|
9311
|
+
text/event-stream:
|
|
9312
|
+
schema:
|
|
9313
|
+
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
9314
|
+
default:
|
|
9315
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9083
9316
|
"/spaces/{spaceId}/search/questions":
|
|
9084
9317
|
get:
|
|
9085
9318
|
operationId: getRecommendedQuestionsInSpace
|
|
@@ -9448,6 +9681,7 @@ paths:
|
|
|
9448
9681
|
description: ID of the document in the space
|
|
9449
9682
|
schema:
|
|
9450
9683
|
type: string
|
|
9684
|
+
- $ref: "#/components/parameters/documentSchema"
|
|
9451
9685
|
responses:
|
|
9452
9686
|
"200":
|
|
9453
9687
|
description: Document
|
|
@@ -9478,15 +9712,7 @@ paths:
|
|
|
9478
9712
|
content:
|
|
9479
9713
|
application/json:
|
|
9480
9714
|
schema:
|
|
9481
|
-
|
|
9482
|
-
- $ref: "#/components/schemas/ChangeRequest"
|
|
9483
|
-
- type: object
|
|
9484
|
-
properties:
|
|
9485
|
-
changeRequest:
|
|
9486
|
-
type: string
|
|
9487
|
-
deprecated: true
|
|
9488
|
-
required:
|
|
9489
|
-
- changeRequest
|
|
9715
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
9490
9716
|
default:
|
|
9491
9717
|
$ref: "#/components/responses/UnexpectedError"
|
|
9492
9718
|
requestBody:
|
|
@@ -9554,6 +9780,34 @@ paths:
|
|
|
9554
9780
|
$ref: "#/components/responses/NotFoundError"
|
|
9555
9781
|
default:
|
|
9556
9782
|
$ref: "#/components/responses/UnexpectedError"
|
|
9783
|
+
patch:
|
|
9784
|
+
operationId: updateChangeRequestById
|
|
9785
|
+
summary: Update the details of a change request
|
|
9786
|
+
tags:
|
|
9787
|
+
- spaces
|
|
9788
|
+
security:
|
|
9789
|
+
- user: []
|
|
9790
|
+
parameters:
|
|
9791
|
+
- $ref: "#/components/parameters/spaceId"
|
|
9792
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
9793
|
+
requestBody:
|
|
9794
|
+
required: true
|
|
9795
|
+
content:
|
|
9796
|
+
application/json:
|
|
9797
|
+
schema:
|
|
9798
|
+
type: object
|
|
9799
|
+
properties:
|
|
9800
|
+
subject:
|
|
9801
|
+
$ref: "#/components/schemas/ChangeRequestSubject"
|
|
9802
|
+
responses:
|
|
9803
|
+
"200":
|
|
9804
|
+
description: The change request has been updated
|
|
9805
|
+
content:
|
|
9806
|
+
application/json:
|
|
9807
|
+
schema:
|
|
9808
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
9809
|
+
default:
|
|
9810
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9557
9811
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/merge":
|
|
9558
9812
|
post:
|
|
9559
9813
|
operationId: mergeChangeRequest
|
|
@@ -10961,6 +11215,82 @@ paths:
|
|
|
10961
11215
|
- url
|
|
10962
11216
|
default:
|
|
10963
11217
|
$ref: "#/components/responses/UnexpectedError"
|
|
11218
|
+
"/spaces/{spaceId}/share-links":
|
|
11219
|
+
post:
|
|
11220
|
+
operationId: createSpaceShareLink
|
|
11221
|
+
summary: Creates a new space share link
|
|
11222
|
+
tags:
|
|
11223
|
+
- spaces
|
|
11224
|
+
security:
|
|
11225
|
+
- user: []
|
|
11226
|
+
parameters:
|
|
11227
|
+
- $ref: "#/components/parameters/spaceId"
|
|
11228
|
+
requestBody:
|
|
11229
|
+
content:
|
|
11230
|
+
application/json:
|
|
11231
|
+
schema:
|
|
11232
|
+
type: object
|
|
11233
|
+
properties:
|
|
11234
|
+
name:
|
|
11235
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11236
|
+
required:
|
|
11237
|
+
- name
|
|
11238
|
+
responses:
|
|
11239
|
+
"201":
|
|
11240
|
+
description: The space share link has been created
|
|
11241
|
+
content:
|
|
11242
|
+
application/json:
|
|
11243
|
+
schema:
|
|
11244
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11245
|
+
default:
|
|
11246
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11247
|
+
"/spaces/{spaceId}/share-links/{shareLinkId}":
|
|
11248
|
+
patch:
|
|
11249
|
+
operationId: updateSpaceShareLinkById
|
|
11250
|
+
summary: Update the details of a space share link
|
|
11251
|
+
tags:
|
|
11252
|
+
- spaces
|
|
11253
|
+
security:
|
|
11254
|
+
- user: []
|
|
11255
|
+
parameters:
|
|
11256
|
+
- $ref: "#/components/parameters/spaceId"
|
|
11257
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11258
|
+
requestBody:
|
|
11259
|
+
required: true
|
|
11260
|
+
content:
|
|
11261
|
+
application/json:
|
|
11262
|
+
schema:
|
|
11263
|
+
type: object
|
|
11264
|
+
minProperties: 1
|
|
11265
|
+
properties:
|
|
11266
|
+
active:
|
|
11267
|
+
type: boolean
|
|
11268
|
+
name:
|
|
11269
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11270
|
+
responses:
|
|
11271
|
+
"200":
|
|
11272
|
+
description: The space share link has been updated
|
|
11273
|
+
content:
|
|
11274
|
+
application/json:
|
|
11275
|
+
schema:
|
|
11276
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11277
|
+
default:
|
|
11278
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11279
|
+
delete:
|
|
11280
|
+
operationId: deleteSpaceShareLinkById
|
|
11281
|
+
summary: Deletes a space share link
|
|
11282
|
+
tags:
|
|
11283
|
+
- spaces
|
|
11284
|
+
security:
|
|
11285
|
+
- user: []
|
|
11286
|
+
parameters:
|
|
11287
|
+
- $ref: "#/components/parameters/spaceId"
|
|
11288
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11289
|
+
responses:
|
|
11290
|
+
"205":
|
|
11291
|
+
description: Space share link has been deleted
|
|
11292
|
+
default:
|
|
11293
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
10964
11294
|
"/collections/{collectionId}":
|
|
10965
11295
|
get:
|
|
10966
11296
|
operationId: getCollectionById
|
|
@@ -11002,6 +11332,8 @@ paths:
|
|
|
11002
11332
|
$ref: "#/components/schemas/CollectionTitle"
|
|
11003
11333
|
description:
|
|
11004
11334
|
$ref: "#/components/schemas/CollectionDescription"
|
|
11335
|
+
defaultLevel:
|
|
11336
|
+
$ref: "#/components/schemas/DefaultLevel"
|
|
11005
11337
|
responses:
|
|
11006
11338
|
"200":
|
|
11007
11339
|
description: The collection has been updated
|
|
@@ -11265,6 +11597,82 @@ paths:
|
|
|
11265
11597
|
$ref: "#/components/responses/BadRequestError"
|
|
11266
11598
|
default:
|
|
11267
11599
|
$ref: "#/components/responses/UnexpectedError"
|
|
11600
|
+
"/collections/{collectionId}/share-links":
|
|
11601
|
+
post:
|
|
11602
|
+
operationId: createCollectionShareLink
|
|
11603
|
+
summary: Creates a new collection share link
|
|
11604
|
+
tags:
|
|
11605
|
+
- collections
|
|
11606
|
+
security:
|
|
11607
|
+
- user: []
|
|
11608
|
+
parameters:
|
|
11609
|
+
- $ref: "#/components/parameters/collectionId"
|
|
11610
|
+
requestBody:
|
|
11611
|
+
content:
|
|
11612
|
+
application/json:
|
|
11613
|
+
schema:
|
|
11614
|
+
type: object
|
|
11615
|
+
properties:
|
|
11616
|
+
name:
|
|
11617
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11618
|
+
required:
|
|
11619
|
+
- name
|
|
11620
|
+
responses:
|
|
11621
|
+
"201":
|
|
11622
|
+
description: The collection share link has been created
|
|
11623
|
+
content:
|
|
11624
|
+
application/json:
|
|
11625
|
+
schema:
|
|
11626
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11627
|
+
default:
|
|
11628
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11629
|
+
"/collections/{collectionId}/share-links/{shareLinkId}":
|
|
11630
|
+
patch:
|
|
11631
|
+
operationId: updateCollectionShareLinkById
|
|
11632
|
+
summary: Update the details of a collection share link
|
|
11633
|
+
tags:
|
|
11634
|
+
- collections
|
|
11635
|
+
security:
|
|
11636
|
+
- user: []
|
|
11637
|
+
parameters:
|
|
11638
|
+
- $ref: "#/components/parameters/collectionId"
|
|
11639
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11640
|
+
requestBody:
|
|
11641
|
+
required: true
|
|
11642
|
+
content:
|
|
11643
|
+
application/json:
|
|
11644
|
+
schema:
|
|
11645
|
+
type: object
|
|
11646
|
+
minProperties: 1
|
|
11647
|
+
properties:
|
|
11648
|
+
active:
|
|
11649
|
+
type: boolean
|
|
11650
|
+
name:
|
|
11651
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11652
|
+
responses:
|
|
11653
|
+
"200":
|
|
11654
|
+
description: The collection share link has been updated
|
|
11655
|
+
content:
|
|
11656
|
+
application/json:
|
|
11657
|
+
schema:
|
|
11658
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11659
|
+
default:
|
|
11660
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11661
|
+
delete:
|
|
11662
|
+
operationId: deleteCollectionShareLinkById
|
|
11663
|
+
summary: Deletes a collection share link
|
|
11664
|
+
tags:
|
|
11665
|
+
- collections
|
|
11666
|
+
security:
|
|
11667
|
+
- user: []
|
|
11668
|
+
parameters:
|
|
11669
|
+
- $ref: "#/components/parameters/collectionId"
|
|
11670
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11671
|
+
responses:
|
|
11672
|
+
"205":
|
|
11673
|
+
description: Collection share link has been deleted
|
|
11674
|
+
default:
|
|
11675
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11268
11676
|
/integrations:
|
|
11269
11677
|
get:
|
|
11270
11678
|
operationId: listIntegrations
|
|
@@ -11274,6 +11682,7 @@ paths:
|
|
|
11274
11682
|
parameters:
|
|
11275
11683
|
- $ref: "#/components/parameters/listPage"
|
|
11276
11684
|
- $ref: "#/components/parameters/listLimit"
|
|
11685
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
11277
11686
|
- name: category
|
|
11278
11687
|
in: query
|
|
11279
11688
|
description: Filter the integrations by category
|
|
@@ -11989,6 +12398,19 @@ paths:
|
|
|
11989
12398
|
nullable: true
|
|
11990
12399
|
enum:
|
|
11991
12400
|
- null
|
|
12401
|
+
logo:
|
|
12402
|
+
oneOf:
|
|
12403
|
+
- $ref: "#/components/schemas/URL"
|
|
12404
|
+
- type: string
|
|
12405
|
+
nullable: true
|
|
12406
|
+
enum:
|
|
12407
|
+
- null
|
|
12408
|
+
sso:
|
|
12409
|
+
type: boolean
|
|
12410
|
+
ai:
|
|
12411
|
+
type: boolean
|
|
12412
|
+
aiInsights:
|
|
12413
|
+
type: boolean
|
|
11992
12414
|
responses:
|
|
11993
12415
|
"200":
|
|
11994
12416
|
description: The organization has been updated
|
|
@@ -12547,12 +12969,7 @@ paths:
|
|
|
12547
12969
|
- user: []
|
|
12548
12970
|
parameters:
|
|
12549
12971
|
- $ref: "#/components/parameters/organizationId"
|
|
12550
|
-
-
|
|
12551
|
-
in: path
|
|
12552
|
-
required: true
|
|
12553
|
-
description: The unique id of the invite
|
|
12554
|
-
schema:
|
|
12555
|
-
type: string
|
|
12972
|
+
- $ref: "#/components/parameters/inviteId"
|
|
12556
12973
|
responses:
|
|
12557
12974
|
"200":
|
|
12558
12975
|
description: OK
|
|
@@ -12563,6 +12980,51 @@ paths:
|
|
|
12563
12980
|
properties: {}
|
|
12564
12981
|
default:
|
|
12565
12982
|
$ref: "#/components/responses/UnexpectedError"
|
|
12983
|
+
patch:
|
|
12984
|
+
operationId: updateOrganizationInviteById
|
|
12985
|
+
summary: Update an organization invite.
|
|
12986
|
+
tags:
|
|
12987
|
+
- organizations
|
|
12988
|
+
security:
|
|
12989
|
+
- user: []
|
|
12990
|
+
parameters:
|
|
12991
|
+
- $ref: "#/components/parameters/organizationId"
|
|
12992
|
+
- $ref: "#/components/parameters/inviteId"
|
|
12993
|
+
requestBody:
|
|
12994
|
+
required: true
|
|
12995
|
+
content:
|
|
12996
|
+
application/json:
|
|
12997
|
+
schema:
|
|
12998
|
+
type: object
|
|
12999
|
+
properties:
|
|
13000
|
+
role:
|
|
13001
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
13002
|
+
contentLevel:
|
|
13003
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
13004
|
+
responses:
|
|
13005
|
+
"200":
|
|
13006
|
+
description: The organization invite has been updated
|
|
13007
|
+
content:
|
|
13008
|
+
application/json:
|
|
13009
|
+
schema:
|
|
13010
|
+
$ref: "#/components/schemas/OrganizationInvite"
|
|
13011
|
+
default:
|
|
13012
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
13013
|
+
delete:
|
|
13014
|
+
operationId: deleteOrganizationInviteById
|
|
13015
|
+
summary: Deletes an organization invite.
|
|
13016
|
+
tags:
|
|
13017
|
+
- organizations
|
|
13018
|
+
security:
|
|
13019
|
+
- user: []
|
|
13020
|
+
parameters:
|
|
13021
|
+
- $ref: "#/components/parameters/organizationId"
|
|
13022
|
+
- $ref: "#/components/parameters/inviteId"
|
|
13023
|
+
responses:
|
|
13024
|
+
"205":
|
|
13025
|
+
description: The organization invite has been deleted
|
|
13026
|
+
default:
|
|
13027
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
12566
13028
|
"/orgs/{organizationId}/billing":
|
|
12567
13029
|
post:
|
|
12568
13030
|
operationId: upgradeOrganizationPlan
|
|
@@ -13064,6 +13526,7 @@ paths:
|
|
|
13064
13526
|
- $ref: "#/components/parameters/organizationId"
|
|
13065
13527
|
- $ref: "#/components/parameters/listPage"
|
|
13066
13528
|
- $ref: "#/components/parameters/listLimit"
|
|
13529
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
13067
13530
|
responses:
|
|
13068
13531
|
"200":
|
|
13069
13532
|
description: List of integrations.
|
|
@@ -13118,6 +13581,7 @@ paths:
|
|
|
13118
13581
|
- $ref: "#/components/parameters/organizationId"
|
|
13119
13582
|
- $ref: "#/components/parameters/listPage"
|
|
13120
13583
|
- $ref: "#/components/parameters/listLimit"
|
|
13584
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
13121
13585
|
responses:
|
|
13122
13586
|
"200":
|
|
13123
13587
|
description: List of integrations with the associated installations.
|
|
@@ -13471,49 +13935,6 @@ paths:
|
|
|
13471
13935
|
$ref: "#/components/schemas/Capture"
|
|
13472
13936
|
default:
|
|
13473
13937
|
$ref: "#/components/responses/UnexpectedError"
|
|
13474
|
-
delete:
|
|
13475
|
-
operationId: deleteCapture
|
|
13476
|
-
deprecated: true
|
|
13477
|
-
summary: Delete a capture by its ID. Deprecated, use deleteSnippet.
|
|
13478
|
-
tags:
|
|
13479
|
-
- organizations
|
|
13480
|
-
security:
|
|
13481
|
-
- user: []
|
|
13482
|
-
parameters:
|
|
13483
|
-
- $ref: "#/components/parameters/organizationId"
|
|
13484
|
-
- $ref: "#/components/parameters/captureId"
|
|
13485
|
-
responses:
|
|
13486
|
-
"200":
|
|
13487
|
-
description: OK
|
|
13488
|
-
default:
|
|
13489
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
13490
|
-
put:
|
|
13491
|
-
operationId: updateCapture
|
|
13492
|
-
deprecated: true
|
|
13493
|
-
summary: Update an existing capture. Deprecated, use updateSnippet.
|
|
13494
|
-
tags:
|
|
13495
|
-
- organizations
|
|
13496
|
-
security:
|
|
13497
|
-
- user: []
|
|
13498
|
-
parameters:
|
|
13499
|
-
- $ref: "#/components/parameters/organizationId"
|
|
13500
|
-
- $ref: "#/components/parameters/captureId"
|
|
13501
|
-
- $ref: "#/components/parameters/ifUnmodifiedSince"
|
|
13502
|
-
requestBody:
|
|
13503
|
-
required: true
|
|
13504
|
-
content:
|
|
13505
|
-
application/json:
|
|
13506
|
-
schema:
|
|
13507
|
-
$ref: "#/components/schemas/UpdateCaptureSchema"
|
|
13508
|
-
responses:
|
|
13509
|
-
"200":
|
|
13510
|
-
description: OK
|
|
13511
|
-
content:
|
|
13512
|
-
application/json:
|
|
13513
|
-
schema:
|
|
13514
|
-
$ref: "#/components/schemas/Capture"
|
|
13515
|
-
default:
|
|
13516
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
13517
13938
|
"/orgs/{organizationId}/captures/{captureId}/events":
|
|
13518
13939
|
post:
|
|
13519
13940
|
operationId: addEventsToCapture
|
|
@@ -13591,7 +14012,6 @@ paths:
|
|
|
13591
14012
|
- user: []
|
|
13592
14013
|
parameters:
|
|
13593
14014
|
- $ref: "#/components/parameters/organizationId"
|
|
13594
|
-
- $ref: "#/components/parameters/pageFormat"
|
|
13595
14015
|
- $ref: "#/components/parameters/listPage"
|
|
13596
14016
|
- $ref: "#/components/parameters/listLimit"
|
|
13597
14017
|
- name: source
|
|
@@ -13656,7 +14076,6 @@ paths:
|
|
|
13656
14076
|
parameters:
|
|
13657
14077
|
- $ref: "#/components/parameters/organizationId"
|
|
13658
14078
|
- $ref: "#/components/parameters/snippetId"
|
|
13659
|
-
- $ref: "#/components/parameters/pageFormat"
|
|
13660
14079
|
responses:
|
|
13661
14080
|
"200":
|
|
13662
14081
|
description: OK
|
|
@@ -13863,6 +14282,29 @@ paths:
|
|
|
13863
14282
|
$ref: "#/components/schemas/SearchAIRecommendedQuestions"
|
|
13864
14283
|
default:
|
|
13865
14284
|
$ref: "#/components/responses/UnexpectedError"
|
|
14285
|
+
"/orgs/{organizationId}/ask/stream":
|
|
14286
|
+
get:
|
|
14287
|
+
operationId: streamAskInOrganization
|
|
14288
|
+
summary: Ask a question to an AI across spaces that is accessible by the currently authenticated target and stream the answer as a Server-Sent Events URL.
|
|
14289
|
+
security:
|
|
14290
|
+
- user: []
|
|
14291
|
+
parameters:
|
|
14292
|
+
- $ref: "#/components/parameters/organizationId"
|
|
14293
|
+
- name: query
|
|
14294
|
+
in: query
|
|
14295
|
+
required: true
|
|
14296
|
+
schema:
|
|
14297
|
+
type: string
|
|
14298
|
+
- $ref: "#/components/parameters/pageFormat"
|
|
14299
|
+
responses:
|
|
14300
|
+
"200":
|
|
14301
|
+
description: OK
|
|
14302
|
+
content:
|
|
14303
|
+
text/event-stream:
|
|
14304
|
+
schema:
|
|
14305
|
+
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
14306
|
+
default:
|
|
14307
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
13866
14308
|
"/orgs/{organizationId}/insights/audit-relations":
|
|
13867
14309
|
get:
|
|
13868
14310
|
operationId: listContentAuditRelations
|