@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.json
CHANGED
|
@@ -103,6 +103,18 @@
|
|
|
103
103
|
]
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
+
"documentSchema": {
|
|
107
|
+
"name": "schema",
|
|
108
|
+
"in": "query",
|
|
109
|
+
"description": "Version of the schema used for the document.",
|
|
110
|
+
"schema": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"enum": [
|
|
113
|
+
"current",
|
|
114
|
+
"next"
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
106
118
|
"commentStatus": {
|
|
107
119
|
"name": "status",
|
|
108
120
|
"in": "query",
|
|
@@ -314,6 +326,24 @@
|
|
|
314
326
|
"type": "string"
|
|
315
327
|
}
|
|
316
328
|
},
|
|
329
|
+
"inviteId": {
|
|
330
|
+
"name": "inviteId",
|
|
331
|
+
"in": "path",
|
|
332
|
+
"required": true,
|
|
333
|
+
"description": "The unique id of the invite",
|
|
334
|
+
"schema": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"shareLinkId": {
|
|
339
|
+
"name": "shareLinkId",
|
|
340
|
+
"in": "path",
|
|
341
|
+
"required": true,
|
|
342
|
+
"description": "The unique id of the share link",
|
|
343
|
+
"schema": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
317
347
|
"backofficeHostname": {
|
|
318
348
|
"name": "hostname",
|
|
319
349
|
"in": "path",
|
|
@@ -896,6 +926,18 @@
|
|
|
896
926
|
"build"
|
|
897
927
|
]
|
|
898
928
|
},
|
|
929
|
+
"BlockContext": {
|
|
930
|
+
"type": "object",
|
|
931
|
+
"description": "The context to send when blocking/unblocking",
|
|
932
|
+
"properties": {
|
|
933
|
+
"block": {
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"block"
|
|
939
|
+
]
|
|
940
|
+
},
|
|
899
941
|
"RequestPurgeCDNCacheContext": {
|
|
900
942
|
"type": "object",
|
|
901
943
|
"description": "The context to send when purging the CDN Cache",
|
|
@@ -916,18 +958,6 @@
|
|
|
916
958
|
"values"
|
|
917
959
|
]
|
|
918
960
|
},
|
|
919
|
-
"RequestBlockUserContext": {
|
|
920
|
-
"type": "object",
|
|
921
|
-
"description": "The context to send when blocking/unblocking a user",
|
|
922
|
-
"properties": {
|
|
923
|
-
"block": {
|
|
924
|
-
"type": "boolean"
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
"required": [
|
|
928
|
-
"block"
|
|
929
|
-
]
|
|
930
|
-
},
|
|
931
961
|
"TriggerContentIndexingContext": {
|
|
932
962
|
"type": "object",
|
|
933
963
|
"description": "The context to send when triggering a content indexing.",
|
|
@@ -1560,6 +1590,20 @@
|
|
|
1560
1590
|
}
|
|
1561
1591
|
}
|
|
1562
1592
|
},
|
|
1593
|
+
"DefaultLevel": {
|
|
1594
|
+
"description": "Default level for a piece of content",
|
|
1595
|
+
"oneOf": [
|
|
1596
|
+
{
|
|
1597
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"type": "string",
|
|
1601
|
+
"enum": [
|
|
1602
|
+
"inherit"
|
|
1603
|
+
]
|
|
1604
|
+
}
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1563
1607
|
"Document": {
|
|
1564
1608
|
"oneOf": [
|
|
1565
1609
|
{
|
|
@@ -4513,6 +4557,13 @@
|
|
|
4513
4557
|
]
|
|
4514
4558
|
}
|
|
4515
4559
|
]
|
|
4560
|
+
},
|
|
4561
|
+
"revision": {
|
|
4562
|
+
"type": "string",
|
|
4563
|
+
"description": "ID of the active revision in the space."
|
|
4564
|
+
},
|
|
4565
|
+
"defaultLevel": {
|
|
4566
|
+
"$ref": "#/components/schemas/DefaultLevel"
|
|
4516
4567
|
}
|
|
4517
4568
|
},
|
|
4518
4569
|
"required": [
|
|
@@ -4523,9 +4574,11 @@
|
|
|
4523
4574
|
"emoji",
|
|
4524
4575
|
"organization",
|
|
4525
4576
|
"visibility",
|
|
4577
|
+
"revision",
|
|
4526
4578
|
"createdAt",
|
|
4527
4579
|
"updatedAt",
|
|
4528
|
-
"urls"
|
|
4580
|
+
"urls",
|
|
4581
|
+
"defaultLevel"
|
|
4529
4582
|
]
|
|
4530
4583
|
},
|
|
4531
4584
|
"SpaceEditMode": {
|
|
@@ -5689,6 +5742,18 @@
|
|
|
5689
5742
|
"defaultContent": {
|
|
5690
5743
|
"$ref": "#/components/schemas/OrganizationDefaultContent"
|
|
5691
5744
|
},
|
|
5745
|
+
"sso": {
|
|
5746
|
+
"description": "Whether SSO is enforced organization wide",
|
|
5747
|
+
"type": "boolean"
|
|
5748
|
+
},
|
|
5749
|
+
"ai": {
|
|
5750
|
+
"description": "If true, the organization is configured to use all our AI features.",
|
|
5751
|
+
"type": "boolean"
|
|
5752
|
+
},
|
|
5753
|
+
"aiInsights": {
|
|
5754
|
+
"description": "If true, the organization is configured to run content audits on any space update",
|
|
5755
|
+
"type": "boolean"
|
|
5756
|
+
},
|
|
5692
5757
|
"urls": {
|
|
5693
5758
|
"type": "object",
|
|
5694
5759
|
"description": "URLs associated with the object",
|
|
@@ -5702,6 +5767,10 @@
|
|
|
5702
5767
|
"type": "string",
|
|
5703
5768
|
"description": "URL of the organization in the application",
|
|
5704
5769
|
"format": "uri"
|
|
5770
|
+
},
|
|
5771
|
+
"logo": {
|
|
5772
|
+
"description": "URL of the logo of this organization, if defined.",
|
|
5773
|
+
"$ref": "#/components/schemas/URL"
|
|
5705
5774
|
}
|
|
5706
5775
|
},
|
|
5707
5776
|
"required": [
|
|
@@ -5988,6 +6057,105 @@
|
|
|
5988
6057
|
}
|
|
5989
6058
|
]
|
|
5990
6059
|
},
|
|
6060
|
+
"OrganizationInvite": {
|
|
6061
|
+
"oneOf": [
|
|
6062
|
+
{
|
|
6063
|
+
"type": "object",
|
|
6064
|
+
"properties": {
|
|
6065
|
+
"object": {
|
|
6066
|
+
"type": "string",
|
|
6067
|
+
"description": "Type of Object, always equals to \"invite\"",
|
|
6068
|
+
"enum": [
|
|
6069
|
+
"invite"
|
|
6070
|
+
]
|
|
6071
|
+
},
|
|
6072
|
+
"id": {
|
|
6073
|
+
"type": "string",
|
|
6074
|
+
"description": "Unique identifier for the organization invite"
|
|
6075
|
+
},
|
|
6076
|
+
"role": {
|
|
6077
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6078
|
+
"description": "The role of the member in the organization"
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6081
|
+
"required": [
|
|
6082
|
+
"object",
|
|
6083
|
+
"id",
|
|
6084
|
+
"role"
|
|
6085
|
+
]
|
|
6086
|
+
},
|
|
6087
|
+
{
|
|
6088
|
+
"type": "object",
|
|
6089
|
+
"properties": {
|
|
6090
|
+
"object": {
|
|
6091
|
+
"type": "string",
|
|
6092
|
+
"description": "Type of Object, always equals to \"invite\"",
|
|
6093
|
+
"enum": [
|
|
6094
|
+
"invite"
|
|
6095
|
+
]
|
|
6096
|
+
},
|
|
6097
|
+
"id": {
|
|
6098
|
+
"type": "string",
|
|
6099
|
+
"description": "Unique identifier for the organization invite"
|
|
6100
|
+
},
|
|
6101
|
+
"role": {
|
|
6102
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6103
|
+
"description": "The role of the member in the organization"
|
|
6104
|
+
},
|
|
6105
|
+
"contentLevel": {
|
|
6106
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6107
|
+
"description": "The role of the member in the target space"
|
|
6108
|
+
},
|
|
6109
|
+
"space": {
|
|
6110
|
+
"$ref": "#/components/schemas/Space",
|
|
6111
|
+
"description": "The space the member has been invited to"
|
|
6112
|
+
}
|
|
6113
|
+
},
|
|
6114
|
+
"required": [
|
|
6115
|
+
"object",
|
|
6116
|
+
"id",
|
|
6117
|
+
"role",
|
|
6118
|
+
"contentLevel",
|
|
6119
|
+
"space"
|
|
6120
|
+
]
|
|
6121
|
+
},
|
|
6122
|
+
{
|
|
6123
|
+
"type": "object",
|
|
6124
|
+
"properties": {
|
|
6125
|
+
"object": {
|
|
6126
|
+
"type": "string",
|
|
6127
|
+
"description": "Type of Object, always equals to \"invite\"",
|
|
6128
|
+
"enum": [
|
|
6129
|
+
"invite"
|
|
6130
|
+
]
|
|
6131
|
+
},
|
|
6132
|
+
"id": {
|
|
6133
|
+
"type": "string",
|
|
6134
|
+
"description": "Unique identifier for the organization invite"
|
|
6135
|
+
},
|
|
6136
|
+
"role": {
|
|
6137
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6138
|
+
"description": "The role of the member in the organization"
|
|
6139
|
+
},
|
|
6140
|
+
"contentLevel": {
|
|
6141
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6142
|
+
"description": "The role of the member in the target collection"
|
|
6143
|
+
},
|
|
6144
|
+
"collection": {
|
|
6145
|
+
"$ref": "#/components/schemas/Collection",
|
|
6146
|
+
"description": "The collection the member has been invited to"
|
|
6147
|
+
}
|
|
6148
|
+
},
|
|
6149
|
+
"required": [
|
|
6150
|
+
"object",
|
|
6151
|
+
"id",
|
|
6152
|
+
"role",
|
|
6153
|
+
"contentLevel",
|
|
6154
|
+
"collection"
|
|
6155
|
+
]
|
|
6156
|
+
}
|
|
6157
|
+
]
|
|
6158
|
+
},
|
|
5991
6159
|
"Capture": {
|
|
5992
6160
|
"type": "object",
|
|
5993
6161
|
"properties": {
|
|
@@ -6354,123 +6522,103 @@
|
|
|
6354
6522
|
}
|
|
6355
6523
|
]
|
|
6356
6524
|
},
|
|
6357
|
-
"
|
|
6525
|
+
"Snippet": {
|
|
6358
6526
|
"type": "object",
|
|
6359
6527
|
"properties": {
|
|
6360
|
-
"
|
|
6528
|
+
"id": {
|
|
6361
6529
|
"type": "string",
|
|
6362
|
-
"description": "
|
|
6530
|
+
"description": "Unique identifier for the snippet"
|
|
6363
6531
|
},
|
|
6364
|
-
"
|
|
6365
|
-
"
|
|
6366
|
-
"
|
|
6367
|
-
}
|
|
6368
|
-
}
|
|
6369
|
-
},
|
|
6370
|
-
"Snippet": {
|
|
6371
|
-
"allOf": [
|
|
6372
|
-
{
|
|
6373
|
-
"$ref": "#/components/schemas/Document"
|
|
6532
|
+
"organization": {
|
|
6533
|
+
"type": "string",
|
|
6534
|
+
"description": "ID of the organization owning this snippet"
|
|
6374
6535
|
},
|
|
6375
|
-
{
|
|
6536
|
+
"createdAt": {
|
|
6537
|
+
"type": "string",
|
|
6538
|
+
"format": "date-time"
|
|
6539
|
+
},
|
|
6540
|
+
"editedAt": {
|
|
6541
|
+
"type": "string",
|
|
6542
|
+
"format": "date-time",
|
|
6543
|
+
"description": "Timestamp of when the snippet was last edited, if it has been edited since its creation."
|
|
6544
|
+
},
|
|
6545
|
+
"archived": {
|
|
6546
|
+
"type": "boolean",
|
|
6547
|
+
"description": "Whether the snippet is archived. Archived snippets don't appear in search results or in the app."
|
|
6548
|
+
},
|
|
6549
|
+
"title": {
|
|
6550
|
+
"type": "string",
|
|
6551
|
+
"description": "Title describing the snippet.",
|
|
6552
|
+
"maxLength": 100
|
|
6553
|
+
},
|
|
6554
|
+
"source": {
|
|
6555
|
+
"description": "The source of the snippet.",
|
|
6376
6556
|
"type": "object",
|
|
6377
6557
|
"properties": {
|
|
6378
|
-
"
|
|
6379
|
-
"type": "string",
|
|
6380
|
-
"description": "Unique identifier for the snippet"
|
|
6381
|
-
},
|
|
6382
|
-
"organization": {
|
|
6383
|
-
"type": "string",
|
|
6384
|
-
"description": "ID of the organization owning this snippet"
|
|
6385
|
-
},
|
|
6386
|
-
"createdAt": {
|
|
6558
|
+
"sourceId": {
|
|
6387
6559
|
"type": "string",
|
|
6388
|
-
"
|
|
6560
|
+
"description": "An ID identifying the source, unique across all sources."
|
|
6389
6561
|
},
|
|
6390
|
-
"
|
|
6562
|
+
"name": {
|
|
6391
6563
|
"type": "string",
|
|
6392
|
-
"
|
|
6393
|
-
"description": "Timestamp of when the snippet was last edited, if it has been edited since its creation."
|
|
6564
|
+
"description": "A display name for the source."
|
|
6394
6565
|
},
|
|
6395
|
-
"
|
|
6396
|
-
"type": "boolean",
|
|
6397
|
-
"description": "Whether the snippet is archived. Archived snippets don't appear in search results or in the app."
|
|
6398
|
-
},
|
|
6399
|
-
"title": {
|
|
6566
|
+
"externalId": {
|
|
6400
6567
|
"type": "string",
|
|
6401
|
-
"description": "
|
|
6402
|
-
"maxLength": 100
|
|
6568
|
+
"description": "An ID identifying the snippet in the source system, if available."
|
|
6403
6569
|
},
|
|
6404
|
-
"
|
|
6405
|
-
"description": "
|
|
6406
|
-
"
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
"$ref": "#/components/schemas/URL"
|
|
6423
|
-
}
|
|
6570
|
+
"externalUrl": {
|
|
6571
|
+
"description": "URL of the snippet in the source system, if available.",
|
|
6572
|
+
"$ref": "#/components/schemas/URL"
|
|
6573
|
+
}
|
|
6574
|
+
},
|
|
6575
|
+
"required": [
|
|
6576
|
+
"sourceId",
|
|
6577
|
+
"name"
|
|
6578
|
+
]
|
|
6579
|
+
},
|
|
6580
|
+
"contributors": {
|
|
6581
|
+
"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.",
|
|
6582
|
+
"type": "array",
|
|
6583
|
+
"minItems": 1,
|
|
6584
|
+
"items": {
|
|
6585
|
+
"oneOf": [
|
|
6586
|
+
{
|
|
6587
|
+
"$ref": "#/components/schemas/Integration"
|
|
6424
6588
|
},
|
|
6425
|
-
|
|
6426
|
-
"
|
|
6427
|
-
"name"
|
|
6428
|
-
]
|
|
6429
|
-
},
|
|
6430
|
-
"contributors": {
|
|
6431
|
-
"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.",
|
|
6432
|
-
"type": "array",
|
|
6433
|
-
"minItems": 1,
|
|
6434
|
-
"items": {
|
|
6435
|
-
"oneOf": [
|
|
6436
|
-
{
|
|
6437
|
-
"$ref": "#/components/schemas/Integration"
|
|
6438
|
-
},
|
|
6439
|
-
{
|
|
6440
|
-
"$ref": "#/components/schemas/User"
|
|
6441
|
-
}
|
|
6442
|
-
]
|
|
6589
|
+
{
|
|
6590
|
+
"$ref": "#/components/schemas/User"
|
|
6443
6591
|
}
|
|
6592
|
+
]
|
|
6593
|
+
}
|
|
6594
|
+
},
|
|
6595
|
+
"urls": {
|
|
6596
|
+
"type": "object",
|
|
6597
|
+
"description": "URLs associated with the object",
|
|
6598
|
+
"properties": {
|
|
6599
|
+
"location": {
|
|
6600
|
+
"description": "URL of the snippet in the API",
|
|
6601
|
+
"$ref": "#/components/schemas/URL"
|
|
6444
6602
|
},
|
|
6445
|
-
"
|
|
6446
|
-
"
|
|
6447
|
-
"
|
|
6448
|
-
"properties": {
|
|
6449
|
-
"location": {
|
|
6450
|
-
"description": "URL of the snippet in the API",
|
|
6451
|
-
"$ref": "#/components/schemas/URL"
|
|
6452
|
-
},
|
|
6453
|
-
"app": {
|
|
6454
|
-
"description": "URL of the snippet in the app",
|
|
6455
|
-
"$ref": "#/components/schemas/URL"
|
|
6456
|
-
}
|
|
6457
|
-
},
|
|
6458
|
-
"required": [
|
|
6459
|
-
"location",
|
|
6460
|
-
"app"
|
|
6461
|
-
]
|
|
6603
|
+
"app": {
|
|
6604
|
+
"description": "URL of the snippet in the app",
|
|
6605
|
+
"$ref": "#/components/schemas/URL"
|
|
6462
6606
|
}
|
|
6463
6607
|
},
|
|
6464
6608
|
"required": [
|
|
6465
|
-
"
|
|
6466
|
-
"
|
|
6467
|
-
"source",
|
|
6468
|
-
"createdAt",
|
|
6469
|
-
"archived",
|
|
6470
|
-
"contributors",
|
|
6471
|
-
"urls"
|
|
6609
|
+
"location",
|
|
6610
|
+
"app"
|
|
6472
6611
|
]
|
|
6473
6612
|
}
|
|
6613
|
+
},
|
|
6614
|
+
"required": [
|
|
6615
|
+
"id",
|
|
6616
|
+
"organization",
|
|
6617
|
+
"source",
|
|
6618
|
+
"createdAt",
|
|
6619
|
+
"archived",
|
|
6620
|
+
"contributors",
|
|
6621
|
+
"urls"
|
|
6474
6622
|
]
|
|
6475
6623
|
},
|
|
6476
6624
|
"UpdateSnippetSchema": {
|
|
@@ -6479,10 +6627,6 @@
|
|
|
6479
6627
|
"title": {
|
|
6480
6628
|
"type": "string",
|
|
6481
6629
|
"description": "A new title for the snippet."
|
|
6482
|
-
},
|
|
6483
|
-
"body": {
|
|
6484
|
-
"description": "Content of the snippet.",
|
|
6485
|
-
"$ref": "#/components/schemas/Document"
|
|
6486
6630
|
}
|
|
6487
6631
|
}
|
|
6488
6632
|
},
|
|
@@ -6608,10 +6752,7 @@
|
|
|
6608
6752
|
"$ref": "#/components/schemas/ChangeRequestStatus"
|
|
6609
6753
|
},
|
|
6610
6754
|
"subject": {
|
|
6611
|
-
"
|
|
6612
|
-
"description": "Subject of the change request",
|
|
6613
|
-
"minLength": 0,
|
|
6614
|
-
"maxLength": 100
|
|
6755
|
+
"$ref": "#/components/schemas/ChangeRequestSubject"
|
|
6615
6756
|
},
|
|
6616
6757
|
"createdBy": {
|
|
6617
6758
|
"$ref": "#/components/schemas/User"
|
|
@@ -6622,6 +6763,10 @@
|
|
|
6622
6763
|
"updatedAt": {
|
|
6623
6764
|
"$ref": "#/components/schemas/Timestamp"
|
|
6624
6765
|
},
|
|
6766
|
+
"revision": {
|
|
6767
|
+
"type": "string",
|
|
6768
|
+
"description": "ID of the active revision in the change request."
|
|
6769
|
+
},
|
|
6625
6770
|
"urls": {
|
|
6626
6771
|
"type": "object",
|
|
6627
6772
|
"description": "URLs associated with the object",
|
|
@@ -6646,6 +6791,7 @@
|
|
|
6646
6791
|
"createdBy",
|
|
6647
6792
|
"createdAt",
|
|
6648
6793
|
"updatedAt",
|
|
6794
|
+
"revision",
|
|
6649
6795
|
"urls"
|
|
6650
6796
|
]
|
|
6651
6797
|
},
|
|
@@ -6793,6 +6939,12 @@
|
|
|
6793
6939
|
}
|
|
6794
6940
|
]
|
|
6795
6941
|
},
|
|
6942
|
+
"ChangeRequestSubject": {
|
|
6943
|
+
"type": "string",
|
|
6944
|
+
"description": "Subject of the change request",
|
|
6945
|
+
"minLength": 0,
|
|
6946
|
+
"maxLength": 100
|
|
6947
|
+
},
|
|
6796
6948
|
"UpdateCommentSchema": {
|
|
6797
6949
|
"type": "object",
|
|
6798
6950
|
"properties": {
|
|
@@ -7093,6 +7245,23 @@
|
|
|
7093
7245
|
"followupQuestions"
|
|
7094
7246
|
]
|
|
7095
7247
|
},
|
|
7248
|
+
"SearchAIAnswerStream": {
|
|
7249
|
+
"type": "object",
|
|
7250
|
+
"properties": {
|
|
7251
|
+
"type": {
|
|
7252
|
+
"type": "string",
|
|
7253
|
+
"enum": [
|
|
7254
|
+
"answer"
|
|
7255
|
+
]
|
|
7256
|
+
},
|
|
7257
|
+
"answer": {
|
|
7258
|
+
"$ref": "#/components/schemas/SearchAIAnswer"
|
|
7259
|
+
}
|
|
7260
|
+
},
|
|
7261
|
+
"required": [
|
|
7262
|
+
"type"
|
|
7263
|
+
]
|
|
7264
|
+
},
|
|
7096
7265
|
"SearchAIAnswerSource": {
|
|
7097
7266
|
"allOf": [
|
|
7098
7267
|
{
|
|
@@ -7442,6 +7611,9 @@
|
|
|
7442
7611
|
"deprecated": true,
|
|
7443
7612
|
"description": "ID of the parent collection, if any"
|
|
7444
7613
|
},
|
|
7614
|
+
"defaultLevel": {
|
|
7615
|
+
"$ref": "#/components/schemas/DefaultLevel"
|
|
7616
|
+
},
|
|
7445
7617
|
"urls": {
|
|
7446
7618
|
"type": "object",
|
|
7447
7619
|
"description": "URLs associated with the object",
|
|
@@ -7469,7 +7641,8 @@
|
|
|
7469
7641
|
"title",
|
|
7470
7642
|
"organization",
|
|
7471
7643
|
"visibility",
|
|
7472
|
-
"urls"
|
|
7644
|
+
"urls",
|
|
7645
|
+
"defaultLevel"
|
|
7473
7646
|
]
|
|
7474
7647
|
},
|
|
7475
7648
|
"CollectionTitle": {
|
|
@@ -7656,6 +7829,14 @@
|
|
|
7656
7829
|
"space:visitor:auth"
|
|
7657
7830
|
]
|
|
7658
7831
|
},
|
|
7832
|
+
"IntegrationSearchQuery": {
|
|
7833
|
+
"name": "search",
|
|
7834
|
+
"in": "query",
|
|
7835
|
+
"description": "A search string to filter integrations by name\n",
|
|
7836
|
+
"schema": {
|
|
7837
|
+
"type": "string"
|
|
7838
|
+
}
|
|
7839
|
+
},
|
|
7659
7840
|
"IntegrationCategories": {
|
|
7660
7841
|
"type": "array",
|
|
7661
7842
|
"description": "Categories for which the integration is listed in the marketplace",
|
|
@@ -9967,6 +10148,17 @@
|
|
|
9967
10148
|
"activeDaysRemaining"
|
|
9968
10149
|
]
|
|
9969
10150
|
},
|
|
10151
|
+
"SpaceBlockReason": {
|
|
10152
|
+
"type": "string",
|
|
10153
|
+
"description": "Reason for a space to be blocked",
|
|
10154
|
+
"enum": [
|
|
10155
|
+
"DMCA",
|
|
10156
|
+
"THREAT_TYPE_UNSPECIFIED",
|
|
10157
|
+
"MALWARE",
|
|
10158
|
+
"SOCIAL_ENGINEERING",
|
|
10159
|
+
"UNWANTED_SOFTWARE"
|
|
10160
|
+
]
|
|
10161
|
+
},
|
|
9970
10162
|
"HiveAccessToken": {
|
|
9971
10163
|
"type": "object",
|
|
9972
10164
|
"description": "JWT tokens to authenticate in Hive for all content.",
|
|
@@ -10296,6 +10488,9 @@
|
|
|
10296
10488
|
"textinput"
|
|
10297
10489
|
]
|
|
10298
10490
|
},
|
|
10491
|
+
"disabled": {
|
|
10492
|
+
"type": "boolean"
|
|
10493
|
+
},
|
|
10299
10494
|
"state": {
|
|
10300
10495
|
"description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
|
|
10301
10496
|
"type": "string"
|
|
@@ -11090,6 +11285,9 @@
|
|
|
11090
11285
|
"select"
|
|
11091
11286
|
]
|
|
11092
11287
|
},
|
|
11288
|
+
"disabled": {
|
|
11289
|
+
"type": "boolean"
|
|
11290
|
+
},
|
|
11093
11291
|
"state": {
|
|
11094
11292
|
"description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
|
|
11095
11293
|
"type": "string"
|
|
@@ -11171,6 +11369,9 @@
|
|
|
11171
11369
|
"switch"
|
|
11172
11370
|
]
|
|
11173
11371
|
},
|
|
11372
|
+
"disabled": {
|
|
11373
|
+
"type": "boolean"
|
|
11374
|
+
},
|
|
11174
11375
|
"state": {
|
|
11175
11376
|
"description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
|
|
11176
11377
|
"type": "string"
|
|
@@ -11234,6 +11435,9 @@
|
|
|
11234
11435
|
"radio"
|
|
11235
11436
|
]
|
|
11236
11437
|
},
|
|
11438
|
+
"disabled": {
|
|
11439
|
+
"type": "boolean"
|
|
11440
|
+
},
|
|
11237
11441
|
"state": {
|
|
11238
11442
|
"description": "State binding. The value of the input will be stored as a property in the state named after this ID.",
|
|
11239
11443
|
"type": "string"
|
|
@@ -11460,6 +11664,12 @@
|
|
|
11460
11664
|
{
|
|
11461
11665
|
"$ref": "#/components/schemas/UserProfileChannel"
|
|
11462
11666
|
},
|
|
11667
|
+
{
|
|
11668
|
+
"$ref": "#/components/schemas/ChangeRequestChannel"
|
|
11669
|
+
},
|
|
11670
|
+
{
|
|
11671
|
+
"$ref": "#/components/schemas/ChangeRequestsChannel"
|
|
11672
|
+
},
|
|
11463
11673
|
{
|
|
11464
11674
|
"$ref": "#/components/schemas/ChangeRequestReviewsChannel"
|
|
11465
11675
|
},
|
|
@@ -11898,6 +12108,46 @@
|
|
|
11898
12108
|
"collection"
|
|
11899
12109
|
]
|
|
11900
12110
|
},
|
|
12111
|
+
"ChangeRequestChannel": {
|
|
12112
|
+
"type": "object",
|
|
12113
|
+
"properties": {
|
|
12114
|
+
"channel": {
|
|
12115
|
+
"type": "string",
|
|
12116
|
+
"enum": [
|
|
12117
|
+
"space-change-request"
|
|
12118
|
+
]
|
|
12119
|
+
},
|
|
12120
|
+
"space": {
|
|
12121
|
+
"type": "string"
|
|
12122
|
+
},
|
|
12123
|
+
"changeRequest": {
|
|
12124
|
+
"type": "string"
|
|
12125
|
+
}
|
|
12126
|
+
},
|
|
12127
|
+
"required": [
|
|
12128
|
+
"channel",
|
|
12129
|
+
"space",
|
|
12130
|
+
"changeRequest"
|
|
12131
|
+
]
|
|
12132
|
+
},
|
|
12133
|
+
"ChangeRequestsChannel": {
|
|
12134
|
+
"type": "object",
|
|
12135
|
+
"properties": {
|
|
12136
|
+
"channel": {
|
|
12137
|
+
"type": "string",
|
|
12138
|
+
"enum": [
|
|
12139
|
+
"space-change-requests"
|
|
12140
|
+
]
|
|
12141
|
+
},
|
|
12142
|
+
"space": {
|
|
12143
|
+
"type": "string"
|
|
12144
|
+
}
|
|
12145
|
+
},
|
|
12146
|
+
"required": [
|
|
12147
|
+
"channel",
|
|
12148
|
+
"space"
|
|
12149
|
+
]
|
|
12150
|
+
},
|
|
11901
12151
|
"ChangeRequestReviewsChannel": {
|
|
11902
12152
|
"type": "object",
|
|
11903
12153
|
"properties": {
|
|
@@ -12486,6 +12736,9 @@
|
|
|
12486
12736
|
},
|
|
12487
12737
|
"font": {
|
|
12488
12738
|
"$ref": "#/components/schemas/CustomizationFont"
|
|
12739
|
+
},
|
|
12740
|
+
"background": {
|
|
12741
|
+
"$ref": "#/components/schemas/CustomizationBackground"
|
|
12489
12742
|
}
|
|
12490
12743
|
},
|
|
12491
12744
|
"required": [
|
|
@@ -12842,6 +13095,13 @@
|
|
|
12842
13095
|
"rounded"
|
|
12843
13096
|
]
|
|
12844
13097
|
},
|
|
13098
|
+
"CustomizationBackground": {
|
|
13099
|
+
"type": "string",
|
|
13100
|
+
"enum": [
|
|
13101
|
+
"plain",
|
|
13102
|
+
"match"
|
|
13103
|
+
]
|
|
13104
|
+
},
|
|
12845
13105
|
"CustomizationThemedURL": {
|
|
12846
13106
|
"type": "object",
|
|
12847
13107
|
"properties": {
|
|
@@ -12926,6 +13186,42 @@
|
|
|
12926
13186
|
"ok",
|
|
12927
13187
|
"good"
|
|
12928
13188
|
]
|
|
13189
|
+
},
|
|
13190
|
+
"ShareLink": {
|
|
13191
|
+
"type": "object",
|
|
13192
|
+
"properties": {
|
|
13193
|
+
"object": {
|
|
13194
|
+
"type": "string",
|
|
13195
|
+
"description": "Type of Object, always equals to \"share-link\"",
|
|
13196
|
+
"enum": [
|
|
13197
|
+
"share-link"
|
|
13198
|
+
]
|
|
13199
|
+
},
|
|
13200
|
+
"id": {
|
|
13201
|
+
"type": "string",
|
|
13202
|
+
"description": "Unique identifier for the share-link"
|
|
13203
|
+
},
|
|
13204
|
+
"createdAt": {
|
|
13205
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
13206
|
+
},
|
|
13207
|
+
"name": {
|
|
13208
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
13209
|
+
},
|
|
13210
|
+
"active": {
|
|
13211
|
+
"type": "boolean"
|
|
13212
|
+
}
|
|
13213
|
+
},
|
|
13214
|
+
"required": [
|
|
13215
|
+
"object",
|
|
13216
|
+
"id",
|
|
13217
|
+
"createdAt"
|
|
13218
|
+
]
|
|
13219
|
+
},
|
|
13220
|
+
"ShareLinkName": {
|
|
13221
|
+
"type": "string",
|
|
13222
|
+
"description": "Name of the share link",
|
|
13223
|
+
"minLength": 0,
|
|
13224
|
+
"maxLength": 50
|
|
12929
13225
|
}
|
|
12930
13226
|
},
|
|
12931
13227
|
"responses": {
|
|
@@ -13408,6 +13704,9 @@
|
|
|
13408
13704
|
"visitorAuth": {
|
|
13409
13705
|
"$ref": "#/components/schemas/Space/properties/visitorAuth",
|
|
13410
13706
|
"description": "The integration property, if set, is ignored."
|
|
13707
|
+
},
|
|
13708
|
+
"defaultLevel": {
|
|
13709
|
+
"$ref": "#/components/schemas/DefaultLevel"
|
|
13411
13710
|
}
|
|
13412
13711
|
}
|
|
13413
13712
|
},
|
|
@@ -13888,6 +14187,43 @@
|
|
|
13888
14187
|
}
|
|
13889
14188
|
}
|
|
13890
14189
|
},
|
|
14190
|
+
"/spaces/{spaceId}/search/ask/stream": {
|
|
14191
|
+
"get": {
|
|
14192
|
+
"operationId": "streamAskInSpace",
|
|
14193
|
+
"summary": "Ask a question to an AI within the context of the space and stream the answer as a Server-Sent Events URL.",
|
|
14194
|
+
"parameters": [
|
|
14195
|
+
{
|
|
14196
|
+
"$ref": "#/components/parameters/spaceId"
|
|
14197
|
+
},
|
|
14198
|
+
{
|
|
14199
|
+
"name": "query",
|
|
14200
|
+
"in": "query",
|
|
14201
|
+
"required": true,
|
|
14202
|
+
"schema": {
|
|
14203
|
+
"type": "string"
|
|
14204
|
+
}
|
|
14205
|
+
},
|
|
14206
|
+
{
|
|
14207
|
+
"$ref": "#/components/parameters/pageFormat"
|
|
14208
|
+
}
|
|
14209
|
+
],
|
|
14210
|
+
"responses": {
|
|
14211
|
+
"200": {
|
|
14212
|
+
"description": "OK",
|
|
14213
|
+
"content": {
|
|
14214
|
+
"text/event-stream": {
|
|
14215
|
+
"schema": {
|
|
14216
|
+
"$ref": "#/components/schemas/SearchAIAnswerStream"
|
|
14217
|
+
}
|
|
14218
|
+
}
|
|
14219
|
+
}
|
|
14220
|
+
},
|
|
14221
|
+
"default": {
|
|
14222
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14223
|
+
}
|
|
14224
|
+
}
|
|
14225
|
+
}
|
|
14226
|
+
},
|
|
13891
14227
|
"/spaces/{spaceId}/search/questions": {
|
|
13892
14228
|
"get": {
|
|
13893
14229
|
"operationId": "getRecommendedQuestionsInSpace",
|
|
@@ -14546,6 +14882,9 @@
|
|
|
14546
14882
|
"schema": {
|
|
14547
14883
|
"type": "string"
|
|
14548
14884
|
}
|
|
14885
|
+
},
|
|
14886
|
+
{
|
|
14887
|
+
"$ref": "#/components/parameters/documentSchema"
|
|
14549
14888
|
}
|
|
14550
14889
|
],
|
|
14551
14890
|
"responses": {
|
|
@@ -14596,23 +14935,7 @@
|
|
|
14596
14935
|
"content": {
|
|
14597
14936
|
"application/json": {
|
|
14598
14937
|
"schema": {
|
|
14599
|
-
"
|
|
14600
|
-
{
|
|
14601
|
-
"$ref": "#/components/schemas/ChangeRequest"
|
|
14602
|
-
},
|
|
14603
|
-
{
|
|
14604
|
-
"type": "object",
|
|
14605
|
-
"properties": {
|
|
14606
|
-
"changeRequest": {
|
|
14607
|
-
"type": "string",
|
|
14608
|
-
"deprecated": true
|
|
14609
|
-
}
|
|
14610
|
-
},
|
|
14611
|
-
"required": [
|
|
14612
|
-
"changeRequest"
|
|
14613
|
-
]
|
|
14614
|
-
}
|
|
14615
|
-
]
|
|
14938
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
14616
14939
|
}
|
|
14617
14940
|
}
|
|
14618
14941
|
}
|
|
@@ -14738,6 +15061,56 @@
|
|
|
14738
15061
|
"$ref": "#/components/responses/UnexpectedError"
|
|
14739
15062
|
}
|
|
14740
15063
|
}
|
|
15064
|
+
},
|
|
15065
|
+
"patch": {
|
|
15066
|
+
"operationId": "updateChangeRequestById",
|
|
15067
|
+
"summary": "Update the details of a change request",
|
|
15068
|
+
"tags": [
|
|
15069
|
+
"spaces"
|
|
15070
|
+
],
|
|
15071
|
+
"security": [
|
|
15072
|
+
{
|
|
15073
|
+
"user": []
|
|
15074
|
+
}
|
|
15075
|
+
],
|
|
15076
|
+
"parameters": [
|
|
15077
|
+
{
|
|
15078
|
+
"$ref": "#/components/parameters/spaceId"
|
|
15079
|
+
},
|
|
15080
|
+
{
|
|
15081
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
15082
|
+
}
|
|
15083
|
+
],
|
|
15084
|
+
"requestBody": {
|
|
15085
|
+
"required": true,
|
|
15086
|
+
"content": {
|
|
15087
|
+
"application/json": {
|
|
15088
|
+
"schema": {
|
|
15089
|
+
"type": "object",
|
|
15090
|
+
"properties": {
|
|
15091
|
+
"subject": {
|
|
15092
|
+
"$ref": "#/components/schemas/ChangeRequestSubject"
|
|
15093
|
+
}
|
|
15094
|
+
}
|
|
15095
|
+
}
|
|
15096
|
+
}
|
|
15097
|
+
}
|
|
15098
|
+
},
|
|
15099
|
+
"responses": {
|
|
15100
|
+
"200": {
|
|
15101
|
+
"description": "The change request has been updated",
|
|
15102
|
+
"content": {
|
|
15103
|
+
"application/json": {
|
|
15104
|
+
"schema": {
|
|
15105
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
15106
|
+
}
|
|
15107
|
+
}
|
|
15108
|
+
}
|
|
15109
|
+
},
|
|
15110
|
+
"default": {
|
|
15111
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15112
|
+
}
|
|
15113
|
+
}
|
|
14741
15114
|
}
|
|
14742
15115
|
},
|
|
14743
15116
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/merge": {
|
|
@@ -17355,12 +17728,12 @@
|
|
|
17355
17728
|
}
|
|
17356
17729
|
}
|
|
17357
17730
|
},
|
|
17358
|
-
"/
|
|
17359
|
-
"
|
|
17360
|
-
"operationId": "
|
|
17361
|
-
"summary": "
|
|
17731
|
+
"/spaces/{spaceId}/share-links": {
|
|
17732
|
+
"post": {
|
|
17733
|
+
"operationId": "createSpaceShareLink",
|
|
17734
|
+
"summary": "Creates a new space share link",
|
|
17362
17735
|
"tags": [
|
|
17363
|
-
"
|
|
17736
|
+
"spaces"
|
|
17364
17737
|
],
|
|
17365
17738
|
"security": [
|
|
17366
17739
|
{
|
|
@@ -17369,16 +17742,33 @@
|
|
|
17369
17742
|
],
|
|
17370
17743
|
"parameters": [
|
|
17371
17744
|
{
|
|
17372
|
-
"$ref": "#/components/parameters/
|
|
17745
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17373
17746
|
}
|
|
17374
17747
|
],
|
|
17748
|
+
"requestBody": {
|
|
17749
|
+
"content": {
|
|
17750
|
+
"application/json": {
|
|
17751
|
+
"schema": {
|
|
17752
|
+
"type": "object",
|
|
17753
|
+
"properties": {
|
|
17754
|
+
"name": {
|
|
17755
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
17756
|
+
}
|
|
17757
|
+
},
|
|
17758
|
+
"required": [
|
|
17759
|
+
"name"
|
|
17760
|
+
]
|
|
17761
|
+
}
|
|
17762
|
+
}
|
|
17763
|
+
}
|
|
17764
|
+
},
|
|
17375
17765
|
"responses": {
|
|
17376
|
-
"
|
|
17377
|
-
"description": "
|
|
17766
|
+
"201": {
|
|
17767
|
+
"description": "The space share link has been created",
|
|
17378
17768
|
"content": {
|
|
17379
17769
|
"application/json": {
|
|
17380
17770
|
"schema": {
|
|
17381
|
-
"$ref": "#/components/schemas/
|
|
17771
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
17382
17772
|
}
|
|
17383
17773
|
}
|
|
17384
17774
|
}
|
|
@@ -17387,12 +17777,130 @@
|
|
|
17387
17777
|
"$ref": "#/components/responses/UnexpectedError"
|
|
17388
17778
|
}
|
|
17389
17779
|
}
|
|
17390
|
-
}
|
|
17780
|
+
}
|
|
17781
|
+
},
|
|
17782
|
+
"/spaces/{spaceId}/share-links/{shareLinkId}": {
|
|
17391
17783
|
"patch": {
|
|
17392
|
-
"operationId": "
|
|
17393
|
-
"summary": "Update the details of a
|
|
17784
|
+
"operationId": "updateSpaceShareLinkById",
|
|
17785
|
+
"summary": "Update the details of a space share link",
|
|
17394
17786
|
"tags": [
|
|
17395
|
-
"
|
|
17787
|
+
"spaces"
|
|
17788
|
+
],
|
|
17789
|
+
"security": [
|
|
17790
|
+
{
|
|
17791
|
+
"user": []
|
|
17792
|
+
}
|
|
17793
|
+
],
|
|
17794
|
+
"parameters": [
|
|
17795
|
+
{
|
|
17796
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17797
|
+
},
|
|
17798
|
+
{
|
|
17799
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
17800
|
+
}
|
|
17801
|
+
],
|
|
17802
|
+
"requestBody": {
|
|
17803
|
+
"required": true,
|
|
17804
|
+
"content": {
|
|
17805
|
+
"application/json": {
|
|
17806
|
+
"schema": {
|
|
17807
|
+
"type": "object",
|
|
17808
|
+
"minProperties": 1,
|
|
17809
|
+
"properties": {
|
|
17810
|
+
"active": {
|
|
17811
|
+
"type": "boolean"
|
|
17812
|
+
},
|
|
17813
|
+
"name": {
|
|
17814
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
17815
|
+
}
|
|
17816
|
+
}
|
|
17817
|
+
}
|
|
17818
|
+
}
|
|
17819
|
+
}
|
|
17820
|
+
},
|
|
17821
|
+
"responses": {
|
|
17822
|
+
"200": {
|
|
17823
|
+
"description": "The space share link has been updated",
|
|
17824
|
+
"content": {
|
|
17825
|
+
"application/json": {
|
|
17826
|
+
"schema": {
|
|
17827
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
17828
|
+
}
|
|
17829
|
+
}
|
|
17830
|
+
}
|
|
17831
|
+
},
|
|
17832
|
+
"default": {
|
|
17833
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17834
|
+
}
|
|
17835
|
+
}
|
|
17836
|
+
},
|
|
17837
|
+
"delete": {
|
|
17838
|
+
"operationId": "deleteSpaceShareLinkById",
|
|
17839
|
+
"summary": "Deletes a space share link",
|
|
17840
|
+
"tags": [
|
|
17841
|
+
"spaces"
|
|
17842
|
+
],
|
|
17843
|
+
"security": [
|
|
17844
|
+
{
|
|
17845
|
+
"user": []
|
|
17846
|
+
}
|
|
17847
|
+
],
|
|
17848
|
+
"parameters": [
|
|
17849
|
+
{
|
|
17850
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17851
|
+
},
|
|
17852
|
+
{
|
|
17853
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
17854
|
+
}
|
|
17855
|
+
],
|
|
17856
|
+
"responses": {
|
|
17857
|
+
"205": {
|
|
17858
|
+
"description": "Space share link has been deleted"
|
|
17859
|
+
},
|
|
17860
|
+
"default": {
|
|
17861
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17862
|
+
}
|
|
17863
|
+
}
|
|
17864
|
+
}
|
|
17865
|
+
},
|
|
17866
|
+
"/collections/{collectionId}": {
|
|
17867
|
+
"get": {
|
|
17868
|
+
"operationId": "getCollectionById",
|
|
17869
|
+
"summary": "Get the details about a collection using its ID",
|
|
17870
|
+
"tags": [
|
|
17871
|
+
"collections"
|
|
17872
|
+
],
|
|
17873
|
+
"security": [
|
|
17874
|
+
{
|
|
17875
|
+
"user": []
|
|
17876
|
+
}
|
|
17877
|
+
],
|
|
17878
|
+
"parameters": [
|
|
17879
|
+
{
|
|
17880
|
+
"$ref": "#/components/parameters/collectionId"
|
|
17881
|
+
}
|
|
17882
|
+
],
|
|
17883
|
+
"responses": {
|
|
17884
|
+
"200": {
|
|
17885
|
+
"description": "OK",
|
|
17886
|
+
"content": {
|
|
17887
|
+
"application/json": {
|
|
17888
|
+
"schema": {
|
|
17889
|
+
"$ref": "#/components/schemas/Collection"
|
|
17890
|
+
}
|
|
17891
|
+
}
|
|
17892
|
+
}
|
|
17893
|
+
},
|
|
17894
|
+
"default": {
|
|
17895
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17896
|
+
}
|
|
17897
|
+
}
|
|
17898
|
+
},
|
|
17899
|
+
"patch": {
|
|
17900
|
+
"operationId": "updateCollectionById",
|
|
17901
|
+
"summary": "Update the details of a collection",
|
|
17902
|
+
"tags": [
|
|
17903
|
+
"collections"
|
|
17396
17904
|
],
|
|
17397
17905
|
"security": [
|
|
17398
17906
|
{
|
|
@@ -17419,6 +17927,9 @@
|
|
|
17419
17927
|
},
|
|
17420
17928
|
"description": {
|
|
17421
17929
|
"$ref": "#/components/schemas/CollectionDescription"
|
|
17930
|
+
},
|
|
17931
|
+
"defaultLevel": {
|
|
17932
|
+
"$ref": "#/components/schemas/DefaultLevel"
|
|
17422
17933
|
}
|
|
17423
17934
|
}
|
|
17424
17935
|
}
|
|
@@ -17885,6 +18396,141 @@
|
|
|
17885
18396
|
}
|
|
17886
18397
|
}
|
|
17887
18398
|
},
|
|
18399
|
+
"/collections/{collectionId}/share-links": {
|
|
18400
|
+
"post": {
|
|
18401
|
+
"operationId": "createCollectionShareLink",
|
|
18402
|
+
"summary": "Creates a new collection share link",
|
|
18403
|
+
"tags": [
|
|
18404
|
+
"collections"
|
|
18405
|
+
],
|
|
18406
|
+
"security": [
|
|
18407
|
+
{
|
|
18408
|
+
"user": []
|
|
18409
|
+
}
|
|
18410
|
+
],
|
|
18411
|
+
"parameters": [
|
|
18412
|
+
{
|
|
18413
|
+
"$ref": "#/components/parameters/collectionId"
|
|
18414
|
+
}
|
|
18415
|
+
],
|
|
18416
|
+
"requestBody": {
|
|
18417
|
+
"content": {
|
|
18418
|
+
"application/json": {
|
|
18419
|
+
"schema": {
|
|
18420
|
+
"type": "object",
|
|
18421
|
+
"properties": {
|
|
18422
|
+
"name": {
|
|
18423
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
18424
|
+
}
|
|
18425
|
+
},
|
|
18426
|
+
"required": [
|
|
18427
|
+
"name"
|
|
18428
|
+
]
|
|
18429
|
+
}
|
|
18430
|
+
}
|
|
18431
|
+
}
|
|
18432
|
+
},
|
|
18433
|
+
"responses": {
|
|
18434
|
+
"201": {
|
|
18435
|
+
"description": "The collection share link has been created",
|
|
18436
|
+
"content": {
|
|
18437
|
+
"application/json": {
|
|
18438
|
+
"schema": {
|
|
18439
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
18440
|
+
}
|
|
18441
|
+
}
|
|
18442
|
+
}
|
|
18443
|
+
},
|
|
18444
|
+
"default": {
|
|
18445
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18446
|
+
}
|
|
18447
|
+
}
|
|
18448
|
+
}
|
|
18449
|
+
},
|
|
18450
|
+
"/collections/{collectionId}/share-links/{shareLinkId}": {
|
|
18451
|
+
"patch": {
|
|
18452
|
+
"operationId": "updateCollectionShareLinkById",
|
|
18453
|
+
"summary": "Update the details of a collection share link",
|
|
18454
|
+
"tags": [
|
|
18455
|
+
"collections"
|
|
18456
|
+
],
|
|
18457
|
+
"security": [
|
|
18458
|
+
{
|
|
18459
|
+
"user": []
|
|
18460
|
+
}
|
|
18461
|
+
],
|
|
18462
|
+
"parameters": [
|
|
18463
|
+
{
|
|
18464
|
+
"$ref": "#/components/parameters/collectionId"
|
|
18465
|
+
},
|
|
18466
|
+
{
|
|
18467
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
18468
|
+
}
|
|
18469
|
+
],
|
|
18470
|
+
"requestBody": {
|
|
18471
|
+
"required": true,
|
|
18472
|
+
"content": {
|
|
18473
|
+
"application/json": {
|
|
18474
|
+
"schema": {
|
|
18475
|
+
"type": "object",
|
|
18476
|
+
"minProperties": 1,
|
|
18477
|
+
"properties": {
|
|
18478
|
+
"active": {
|
|
18479
|
+
"type": "boolean"
|
|
18480
|
+
},
|
|
18481
|
+
"name": {
|
|
18482
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
18483
|
+
}
|
|
18484
|
+
}
|
|
18485
|
+
}
|
|
18486
|
+
}
|
|
18487
|
+
}
|
|
18488
|
+
},
|
|
18489
|
+
"responses": {
|
|
18490
|
+
"200": {
|
|
18491
|
+
"description": "The collection share link has been updated",
|
|
18492
|
+
"content": {
|
|
18493
|
+
"application/json": {
|
|
18494
|
+
"schema": {
|
|
18495
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
18496
|
+
}
|
|
18497
|
+
}
|
|
18498
|
+
}
|
|
18499
|
+
},
|
|
18500
|
+
"default": {
|
|
18501
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18502
|
+
}
|
|
18503
|
+
}
|
|
18504
|
+
},
|
|
18505
|
+
"delete": {
|
|
18506
|
+
"operationId": "deleteCollectionShareLinkById",
|
|
18507
|
+
"summary": "Deletes a collection share link",
|
|
18508
|
+
"tags": [
|
|
18509
|
+
"collections"
|
|
18510
|
+
],
|
|
18511
|
+
"security": [
|
|
18512
|
+
{
|
|
18513
|
+
"user": []
|
|
18514
|
+
}
|
|
18515
|
+
],
|
|
18516
|
+
"parameters": [
|
|
18517
|
+
{
|
|
18518
|
+
"$ref": "#/components/parameters/collectionId"
|
|
18519
|
+
},
|
|
18520
|
+
{
|
|
18521
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
18522
|
+
}
|
|
18523
|
+
],
|
|
18524
|
+
"responses": {
|
|
18525
|
+
"205": {
|
|
18526
|
+
"description": "Collection share link has been deleted"
|
|
18527
|
+
},
|
|
18528
|
+
"default": {
|
|
18529
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18530
|
+
}
|
|
18531
|
+
}
|
|
18532
|
+
}
|
|
18533
|
+
},
|
|
17888
18534
|
"/integrations": {
|
|
17889
18535
|
"get": {
|
|
17890
18536
|
"operationId": "listIntegrations",
|
|
@@ -17899,6 +18545,9 @@
|
|
|
17899
18545
|
{
|
|
17900
18546
|
"$ref": "#/components/parameters/listLimit"
|
|
17901
18547
|
},
|
|
18548
|
+
{
|
|
18549
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
18550
|
+
},
|
|
17902
18551
|
{
|
|
17903
18552
|
"name": "category",
|
|
17904
18553
|
"in": "query",
|
|
@@ -19153,6 +19802,29 @@
|
|
|
19153
19802
|
]
|
|
19154
19803
|
}
|
|
19155
19804
|
]
|
|
19805
|
+
},
|
|
19806
|
+
"logo": {
|
|
19807
|
+
"oneOf": [
|
|
19808
|
+
{
|
|
19809
|
+
"$ref": "#/components/schemas/URL"
|
|
19810
|
+
},
|
|
19811
|
+
{
|
|
19812
|
+
"type": "string",
|
|
19813
|
+
"nullable": true,
|
|
19814
|
+
"enum": [
|
|
19815
|
+
null
|
|
19816
|
+
]
|
|
19817
|
+
}
|
|
19818
|
+
]
|
|
19819
|
+
},
|
|
19820
|
+
"sso": {
|
|
19821
|
+
"type": "boolean"
|
|
19822
|
+
},
|
|
19823
|
+
"ai": {
|
|
19824
|
+
"type": "boolean"
|
|
19825
|
+
},
|
|
19826
|
+
"aiInsights": {
|
|
19827
|
+
"type": "boolean"
|
|
19156
19828
|
}
|
|
19157
19829
|
}
|
|
19158
19830
|
}
|
|
@@ -20135,13 +20807,7 @@
|
|
|
20135
20807
|
"$ref": "#/components/parameters/organizationId"
|
|
20136
20808
|
},
|
|
20137
20809
|
{
|
|
20138
|
-
"
|
|
20139
|
-
"in": "path",
|
|
20140
|
-
"required": true,
|
|
20141
|
-
"description": "The unique id of the invite",
|
|
20142
|
-
"schema": {
|
|
20143
|
-
"type": "string"
|
|
20144
|
-
}
|
|
20810
|
+
"$ref": "#/components/parameters/inviteId"
|
|
20145
20811
|
}
|
|
20146
20812
|
],
|
|
20147
20813
|
"responses": {
|
|
@@ -20160,6 +20826,87 @@
|
|
|
20160
20826
|
"$ref": "#/components/responses/UnexpectedError"
|
|
20161
20827
|
}
|
|
20162
20828
|
}
|
|
20829
|
+
},
|
|
20830
|
+
"patch": {
|
|
20831
|
+
"operationId": "updateOrganizationInviteById",
|
|
20832
|
+
"summary": "Update an organization invite.",
|
|
20833
|
+
"tags": [
|
|
20834
|
+
"organizations"
|
|
20835
|
+
],
|
|
20836
|
+
"security": [
|
|
20837
|
+
{
|
|
20838
|
+
"user": []
|
|
20839
|
+
}
|
|
20840
|
+
],
|
|
20841
|
+
"parameters": [
|
|
20842
|
+
{
|
|
20843
|
+
"$ref": "#/components/parameters/organizationId"
|
|
20844
|
+
},
|
|
20845
|
+
{
|
|
20846
|
+
"$ref": "#/components/parameters/inviteId"
|
|
20847
|
+
}
|
|
20848
|
+
],
|
|
20849
|
+
"requestBody": {
|
|
20850
|
+
"required": true,
|
|
20851
|
+
"content": {
|
|
20852
|
+
"application/json": {
|
|
20853
|
+
"schema": {
|
|
20854
|
+
"type": "object",
|
|
20855
|
+
"properties": {
|
|
20856
|
+
"role": {
|
|
20857
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
20858
|
+
},
|
|
20859
|
+
"contentLevel": {
|
|
20860
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
20861
|
+
}
|
|
20862
|
+
}
|
|
20863
|
+
}
|
|
20864
|
+
}
|
|
20865
|
+
}
|
|
20866
|
+
},
|
|
20867
|
+
"responses": {
|
|
20868
|
+
"200": {
|
|
20869
|
+
"description": "The organization invite has been updated",
|
|
20870
|
+
"content": {
|
|
20871
|
+
"application/json": {
|
|
20872
|
+
"schema": {
|
|
20873
|
+
"$ref": "#/components/schemas/OrganizationInvite"
|
|
20874
|
+
}
|
|
20875
|
+
}
|
|
20876
|
+
}
|
|
20877
|
+
},
|
|
20878
|
+
"default": {
|
|
20879
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
20880
|
+
}
|
|
20881
|
+
}
|
|
20882
|
+
},
|
|
20883
|
+
"delete": {
|
|
20884
|
+
"operationId": "deleteOrganizationInviteById",
|
|
20885
|
+
"summary": "Deletes an organization invite.",
|
|
20886
|
+
"tags": [
|
|
20887
|
+
"organizations"
|
|
20888
|
+
],
|
|
20889
|
+
"security": [
|
|
20890
|
+
{
|
|
20891
|
+
"user": []
|
|
20892
|
+
}
|
|
20893
|
+
],
|
|
20894
|
+
"parameters": [
|
|
20895
|
+
{
|
|
20896
|
+
"$ref": "#/components/parameters/organizationId"
|
|
20897
|
+
},
|
|
20898
|
+
{
|
|
20899
|
+
"$ref": "#/components/parameters/inviteId"
|
|
20900
|
+
}
|
|
20901
|
+
],
|
|
20902
|
+
"responses": {
|
|
20903
|
+
"205": {
|
|
20904
|
+
"description": "The organization invite has been deleted"
|
|
20905
|
+
},
|
|
20906
|
+
"default": {
|
|
20907
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
20908
|
+
}
|
|
20909
|
+
}
|
|
20163
20910
|
}
|
|
20164
20911
|
},
|
|
20165
20912
|
"/orgs/{organizationId}/billing": {
|
|
@@ -21036,6 +21783,9 @@
|
|
|
21036
21783
|
},
|
|
21037
21784
|
{
|
|
21038
21785
|
"$ref": "#/components/parameters/listLimit"
|
|
21786
|
+
},
|
|
21787
|
+
{
|
|
21788
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
21039
21789
|
}
|
|
21040
21790
|
],
|
|
21041
21791
|
"responses": {
|
|
@@ -21136,6 +21886,9 @@
|
|
|
21136
21886
|
},
|
|
21137
21887
|
{
|
|
21138
21888
|
"$ref": "#/components/parameters/listLimit"
|
|
21889
|
+
},
|
|
21890
|
+
{
|
|
21891
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
21139
21892
|
}
|
|
21140
21893
|
],
|
|
21141
21894
|
"responses": {
|
|
@@ -21775,84 +22528,6 @@
|
|
|
21775
22528
|
"$ref": "#/components/responses/UnexpectedError"
|
|
21776
22529
|
}
|
|
21777
22530
|
}
|
|
21778
|
-
},
|
|
21779
|
-
"delete": {
|
|
21780
|
-
"operationId": "deleteCapture",
|
|
21781
|
-
"deprecated": true,
|
|
21782
|
-
"summary": "Delete a capture by its ID. Deprecated, use deleteSnippet.",
|
|
21783
|
-
"tags": [
|
|
21784
|
-
"organizations"
|
|
21785
|
-
],
|
|
21786
|
-
"security": [
|
|
21787
|
-
{
|
|
21788
|
-
"user": []
|
|
21789
|
-
}
|
|
21790
|
-
],
|
|
21791
|
-
"parameters": [
|
|
21792
|
-
{
|
|
21793
|
-
"$ref": "#/components/parameters/organizationId"
|
|
21794
|
-
},
|
|
21795
|
-
{
|
|
21796
|
-
"$ref": "#/components/parameters/captureId"
|
|
21797
|
-
}
|
|
21798
|
-
],
|
|
21799
|
-
"responses": {
|
|
21800
|
-
"200": {
|
|
21801
|
-
"description": "OK"
|
|
21802
|
-
},
|
|
21803
|
-
"default": {
|
|
21804
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
21805
|
-
}
|
|
21806
|
-
}
|
|
21807
|
-
},
|
|
21808
|
-
"put": {
|
|
21809
|
-
"operationId": "updateCapture",
|
|
21810
|
-
"deprecated": true,
|
|
21811
|
-
"summary": "Update an existing capture. Deprecated, use updateSnippet.",
|
|
21812
|
-
"tags": [
|
|
21813
|
-
"organizations"
|
|
21814
|
-
],
|
|
21815
|
-
"security": [
|
|
21816
|
-
{
|
|
21817
|
-
"user": []
|
|
21818
|
-
}
|
|
21819
|
-
],
|
|
21820
|
-
"parameters": [
|
|
21821
|
-
{
|
|
21822
|
-
"$ref": "#/components/parameters/organizationId"
|
|
21823
|
-
},
|
|
21824
|
-
{
|
|
21825
|
-
"$ref": "#/components/parameters/captureId"
|
|
21826
|
-
},
|
|
21827
|
-
{
|
|
21828
|
-
"$ref": "#/components/parameters/ifUnmodifiedSince"
|
|
21829
|
-
}
|
|
21830
|
-
],
|
|
21831
|
-
"requestBody": {
|
|
21832
|
-
"required": true,
|
|
21833
|
-
"content": {
|
|
21834
|
-
"application/json": {
|
|
21835
|
-
"schema": {
|
|
21836
|
-
"$ref": "#/components/schemas/UpdateCaptureSchema"
|
|
21837
|
-
}
|
|
21838
|
-
}
|
|
21839
|
-
}
|
|
21840
|
-
},
|
|
21841
|
-
"responses": {
|
|
21842
|
-
"200": {
|
|
21843
|
-
"description": "OK",
|
|
21844
|
-
"content": {
|
|
21845
|
-
"application/json": {
|
|
21846
|
-
"schema": {
|
|
21847
|
-
"$ref": "#/components/schemas/Capture"
|
|
21848
|
-
}
|
|
21849
|
-
}
|
|
21850
|
-
}
|
|
21851
|
-
},
|
|
21852
|
-
"default": {
|
|
21853
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
21854
|
-
}
|
|
21855
|
-
}
|
|
21856
22531
|
}
|
|
21857
22532
|
},
|
|
21858
22533
|
"/orgs/{organizationId}/captures/{captureId}/events": {
|
|
@@ -21987,9 +22662,6 @@
|
|
|
21987
22662
|
{
|
|
21988
22663
|
"$ref": "#/components/parameters/organizationId"
|
|
21989
22664
|
},
|
|
21990
|
-
{
|
|
21991
|
-
"$ref": "#/components/parameters/pageFormat"
|
|
21992
|
-
},
|
|
21993
22665
|
{
|
|
21994
22666
|
"$ref": "#/components/parameters/listPage"
|
|
21995
22667
|
},
|
|
@@ -22107,9 +22779,6 @@
|
|
|
22107
22779
|
},
|
|
22108
22780
|
{
|
|
22109
22781
|
"$ref": "#/components/parameters/snippetId"
|
|
22110
|
-
},
|
|
22111
|
-
{
|
|
22112
|
-
"$ref": "#/components/parameters/pageFormat"
|
|
22113
22782
|
}
|
|
22114
22783
|
],
|
|
22115
22784
|
"responses": {
|
|
@@ -22480,6 +23149,48 @@
|
|
|
22480
23149
|
}
|
|
22481
23150
|
}
|
|
22482
23151
|
},
|
|
23152
|
+
"/orgs/{organizationId}/ask/stream": {
|
|
23153
|
+
"get": {
|
|
23154
|
+
"operationId": "streamAskInOrganization",
|
|
23155
|
+
"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.",
|
|
23156
|
+
"security": [
|
|
23157
|
+
{
|
|
23158
|
+
"user": []
|
|
23159
|
+
}
|
|
23160
|
+
],
|
|
23161
|
+
"parameters": [
|
|
23162
|
+
{
|
|
23163
|
+
"$ref": "#/components/parameters/organizationId"
|
|
23164
|
+
},
|
|
23165
|
+
{
|
|
23166
|
+
"name": "query",
|
|
23167
|
+
"in": "query",
|
|
23168
|
+
"required": true,
|
|
23169
|
+
"schema": {
|
|
23170
|
+
"type": "string"
|
|
23171
|
+
}
|
|
23172
|
+
},
|
|
23173
|
+
{
|
|
23174
|
+
"$ref": "#/components/parameters/pageFormat"
|
|
23175
|
+
}
|
|
23176
|
+
],
|
|
23177
|
+
"responses": {
|
|
23178
|
+
"200": {
|
|
23179
|
+
"description": "OK",
|
|
23180
|
+
"content": {
|
|
23181
|
+
"text/event-stream": {
|
|
23182
|
+
"schema": {
|
|
23183
|
+
"$ref": "#/components/schemas/SearchAIAnswerStream"
|
|
23184
|
+
}
|
|
23185
|
+
}
|
|
23186
|
+
}
|
|
23187
|
+
},
|
|
23188
|
+
"default": {
|
|
23189
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
23190
|
+
}
|
|
23191
|
+
}
|
|
23192
|
+
}
|
|
23193
|
+
},
|
|
22483
23194
|
"/orgs/{organizationId}/insights/audit-relations": {
|
|
22484
23195
|
"get": {
|
|
22485
23196
|
"operationId": "listContentAuditRelations",
|