@gitbook/api 0.28.0 → 0.29.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 +221 -53
- package/dist/index.cjs +91 -18
- package/dist/index.js +89 -18
- package/package.json +1 -1
- package/spec/openapi.json +788 -228
- package/spec/openapi.yaml +500 -148
package/spec/openapi.json
CHANGED
|
@@ -314,6 +314,24 @@
|
|
|
314
314
|
"type": "string"
|
|
315
315
|
}
|
|
316
316
|
},
|
|
317
|
+
"inviteId": {
|
|
318
|
+
"name": "inviteId",
|
|
319
|
+
"in": "path",
|
|
320
|
+
"required": true,
|
|
321
|
+
"description": "The unique id of the invite",
|
|
322
|
+
"schema": {
|
|
323
|
+
"type": "string"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"shareLinkId": {
|
|
327
|
+
"name": "shareLinkId",
|
|
328
|
+
"in": "path",
|
|
329
|
+
"required": true,
|
|
330
|
+
"description": "The unique id of the share link",
|
|
331
|
+
"schema": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
317
335
|
"backofficeHostname": {
|
|
318
336
|
"name": "hostname",
|
|
319
337
|
"in": "path",
|
|
@@ -896,6 +914,18 @@
|
|
|
896
914
|
"build"
|
|
897
915
|
]
|
|
898
916
|
},
|
|
917
|
+
"BlockContext": {
|
|
918
|
+
"type": "object",
|
|
919
|
+
"description": "The context to send when blocking/unblocking",
|
|
920
|
+
"properties": {
|
|
921
|
+
"block": {
|
|
922
|
+
"type": "boolean"
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
"required": [
|
|
926
|
+
"block"
|
|
927
|
+
]
|
|
928
|
+
},
|
|
899
929
|
"RequestPurgeCDNCacheContext": {
|
|
900
930
|
"type": "object",
|
|
901
931
|
"description": "The context to send when purging the CDN Cache",
|
|
@@ -916,18 +946,6 @@
|
|
|
916
946
|
"values"
|
|
917
947
|
]
|
|
918
948
|
},
|
|
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
949
|
"TriggerContentIndexingContext": {
|
|
932
950
|
"type": "object",
|
|
933
951
|
"description": "The context to send when triggering a content indexing.",
|
|
@@ -4513,6 +4531,10 @@
|
|
|
4513
4531
|
]
|
|
4514
4532
|
}
|
|
4515
4533
|
]
|
|
4534
|
+
},
|
|
4535
|
+
"revision": {
|
|
4536
|
+
"type": "string",
|
|
4537
|
+
"description": "ID of the active revision in the space."
|
|
4516
4538
|
}
|
|
4517
4539
|
},
|
|
4518
4540
|
"required": [
|
|
@@ -4523,6 +4545,7 @@
|
|
|
4523
4545
|
"emoji",
|
|
4524
4546
|
"organization",
|
|
4525
4547
|
"visibility",
|
|
4548
|
+
"revision",
|
|
4526
4549
|
"createdAt",
|
|
4527
4550
|
"updatedAt",
|
|
4528
4551
|
"urls"
|
|
@@ -5689,6 +5712,18 @@
|
|
|
5689
5712
|
"defaultContent": {
|
|
5690
5713
|
"$ref": "#/components/schemas/OrganizationDefaultContent"
|
|
5691
5714
|
},
|
|
5715
|
+
"sso": {
|
|
5716
|
+
"description": "Whether SSO is enforced organization wide",
|
|
5717
|
+
"type": "boolean"
|
|
5718
|
+
},
|
|
5719
|
+
"aiSearch": {
|
|
5720
|
+
"description": "If true, the organization is configured to use our AI-powered natural language search",
|
|
5721
|
+
"type": "boolean"
|
|
5722
|
+
},
|
|
5723
|
+
"aiInsights": {
|
|
5724
|
+
"description": "If true, the organization is configured to run content audits on any space update",
|
|
5725
|
+
"type": "boolean"
|
|
5726
|
+
},
|
|
5692
5727
|
"urls": {
|
|
5693
5728
|
"type": "object",
|
|
5694
5729
|
"description": "URLs associated with the object",
|
|
@@ -5702,6 +5737,10 @@
|
|
|
5702
5737
|
"type": "string",
|
|
5703
5738
|
"description": "URL of the organization in the application",
|
|
5704
5739
|
"format": "uri"
|
|
5740
|
+
},
|
|
5741
|
+
"logo": {
|
|
5742
|
+
"description": "URL of the logo of this organization, if defined.",
|
|
5743
|
+
"$ref": "#/components/schemas/URL"
|
|
5705
5744
|
}
|
|
5706
5745
|
},
|
|
5707
5746
|
"required": [
|
|
@@ -5988,6 +6027,105 @@
|
|
|
5988
6027
|
}
|
|
5989
6028
|
]
|
|
5990
6029
|
},
|
|
6030
|
+
"OrganizationInvite": {
|
|
6031
|
+
"oneOf": [
|
|
6032
|
+
{
|
|
6033
|
+
"type": "object",
|
|
6034
|
+
"properties": {
|
|
6035
|
+
"object": {
|
|
6036
|
+
"type": "string",
|
|
6037
|
+
"description": "Type of Object, always equals to \"invite\"",
|
|
6038
|
+
"enum": [
|
|
6039
|
+
"invite"
|
|
6040
|
+
]
|
|
6041
|
+
},
|
|
6042
|
+
"id": {
|
|
6043
|
+
"type": "string",
|
|
6044
|
+
"description": "Unique identifier for the organization invite"
|
|
6045
|
+
},
|
|
6046
|
+
"role": {
|
|
6047
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6048
|
+
"description": "The role of the member in the organization"
|
|
6049
|
+
}
|
|
6050
|
+
},
|
|
6051
|
+
"required": [
|
|
6052
|
+
"object",
|
|
6053
|
+
"id",
|
|
6054
|
+
"role"
|
|
6055
|
+
]
|
|
6056
|
+
},
|
|
6057
|
+
{
|
|
6058
|
+
"type": "object",
|
|
6059
|
+
"properties": {
|
|
6060
|
+
"object": {
|
|
6061
|
+
"type": "string",
|
|
6062
|
+
"description": "Type of Object, always equals to \"invite\"",
|
|
6063
|
+
"enum": [
|
|
6064
|
+
"invite"
|
|
6065
|
+
]
|
|
6066
|
+
},
|
|
6067
|
+
"id": {
|
|
6068
|
+
"type": "string",
|
|
6069
|
+
"description": "Unique identifier for the organization invite"
|
|
6070
|
+
},
|
|
6071
|
+
"role": {
|
|
6072
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6073
|
+
"description": "The role of the member in the organization"
|
|
6074
|
+
},
|
|
6075
|
+
"contentLevel": {
|
|
6076
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6077
|
+
"description": "The role of the member in the target space"
|
|
6078
|
+
},
|
|
6079
|
+
"space": {
|
|
6080
|
+
"$ref": "#/components/schemas/Space",
|
|
6081
|
+
"description": "The space the member has been invited to"
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
"required": [
|
|
6085
|
+
"object",
|
|
6086
|
+
"id",
|
|
6087
|
+
"role",
|
|
6088
|
+
"contentLevel",
|
|
6089
|
+
"space"
|
|
6090
|
+
]
|
|
6091
|
+
},
|
|
6092
|
+
{
|
|
6093
|
+
"type": "object",
|
|
6094
|
+
"properties": {
|
|
6095
|
+
"object": {
|
|
6096
|
+
"type": "string",
|
|
6097
|
+
"description": "Type of Object, always equals to \"invite\"",
|
|
6098
|
+
"enum": [
|
|
6099
|
+
"invite"
|
|
6100
|
+
]
|
|
6101
|
+
},
|
|
6102
|
+
"id": {
|
|
6103
|
+
"type": "string",
|
|
6104
|
+
"description": "Unique identifier for the organization invite"
|
|
6105
|
+
},
|
|
6106
|
+
"role": {
|
|
6107
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6108
|
+
"description": "The role of the member in the organization"
|
|
6109
|
+
},
|
|
6110
|
+
"contentLevel": {
|
|
6111
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest",
|
|
6112
|
+
"description": "The role of the member in the target collection"
|
|
6113
|
+
},
|
|
6114
|
+
"collection": {
|
|
6115
|
+
"$ref": "#/components/schemas/Collection",
|
|
6116
|
+
"description": "The collection the member has been invited to"
|
|
6117
|
+
}
|
|
6118
|
+
},
|
|
6119
|
+
"required": [
|
|
6120
|
+
"object",
|
|
6121
|
+
"id",
|
|
6122
|
+
"role",
|
|
6123
|
+
"contentLevel",
|
|
6124
|
+
"collection"
|
|
6125
|
+
]
|
|
6126
|
+
}
|
|
6127
|
+
]
|
|
6128
|
+
},
|
|
5991
6129
|
"Capture": {
|
|
5992
6130
|
"type": "object",
|
|
5993
6131
|
"properties": {
|
|
@@ -6354,123 +6492,103 @@
|
|
|
6354
6492
|
}
|
|
6355
6493
|
]
|
|
6356
6494
|
},
|
|
6357
|
-
"
|
|
6495
|
+
"Snippet": {
|
|
6358
6496
|
"type": "object",
|
|
6359
6497
|
"properties": {
|
|
6360
|
-
"
|
|
6498
|
+
"id": {
|
|
6361
6499
|
"type": "string",
|
|
6362
|
-
"description": "
|
|
6500
|
+
"description": "Unique identifier for the snippet"
|
|
6363
6501
|
},
|
|
6364
|
-
"
|
|
6365
|
-
"
|
|
6366
|
-
"
|
|
6367
|
-
}
|
|
6368
|
-
}
|
|
6369
|
-
},
|
|
6370
|
-
"Snippet": {
|
|
6371
|
-
"allOf": [
|
|
6372
|
-
{
|
|
6373
|
-
"$ref": "#/components/schemas/Document"
|
|
6502
|
+
"organization": {
|
|
6503
|
+
"type": "string",
|
|
6504
|
+
"description": "ID of the organization owning this snippet"
|
|
6374
6505
|
},
|
|
6375
|
-
{
|
|
6506
|
+
"createdAt": {
|
|
6507
|
+
"type": "string",
|
|
6508
|
+
"format": "date-time"
|
|
6509
|
+
},
|
|
6510
|
+
"editedAt": {
|
|
6511
|
+
"type": "string",
|
|
6512
|
+
"format": "date-time",
|
|
6513
|
+
"description": "Timestamp of when the snippet was last edited, if it has been edited since its creation."
|
|
6514
|
+
},
|
|
6515
|
+
"archived": {
|
|
6516
|
+
"type": "boolean",
|
|
6517
|
+
"description": "Whether the snippet is archived. Archived snippets don't appear in search results or in the app."
|
|
6518
|
+
},
|
|
6519
|
+
"title": {
|
|
6520
|
+
"type": "string",
|
|
6521
|
+
"description": "Title describing the snippet.",
|
|
6522
|
+
"maxLength": 100
|
|
6523
|
+
},
|
|
6524
|
+
"source": {
|
|
6525
|
+
"description": "The source of the snippet.",
|
|
6376
6526
|
"type": "object",
|
|
6377
6527
|
"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": {
|
|
6528
|
+
"sourceId": {
|
|
6387
6529
|
"type": "string",
|
|
6388
|
-
"
|
|
6530
|
+
"description": "An ID identifying the source, unique across all sources."
|
|
6389
6531
|
},
|
|
6390
|
-
"
|
|
6532
|
+
"name": {
|
|
6391
6533
|
"type": "string",
|
|
6392
|
-
"
|
|
6393
|
-
"description": "Timestamp of when the snippet was last edited, if it has been edited since its creation."
|
|
6394
|
-
},
|
|
6395
|
-
"archived": {
|
|
6396
|
-
"type": "boolean",
|
|
6397
|
-
"description": "Whether the snippet is archived. Archived snippets don't appear in search results or in the app."
|
|
6534
|
+
"description": "A display name for the source."
|
|
6398
6535
|
},
|
|
6399
|
-
"
|
|
6536
|
+
"externalId": {
|
|
6400
6537
|
"type": "string",
|
|
6401
|
-
"description": "
|
|
6402
|
-
"maxLength": 100
|
|
6538
|
+
"description": "An ID identifying the snippet in the source system, if available."
|
|
6403
6539
|
},
|
|
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
|
-
}
|
|
6540
|
+
"externalUrl": {
|
|
6541
|
+
"description": "URL of the snippet in the source system, if available.",
|
|
6542
|
+
"$ref": "#/components/schemas/URL"
|
|
6543
|
+
}
|
|
6544
|
+
},
|
|
6545
|
+
"required": [
|
|
6546
|
+
"sourceId",
|
|
6547
|
+
"name"
|
|
6548
|
+
]
|
|
6549
|
+
},
|
|
6550
|
+
"contributors": {
|
|
6551
|
+
"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.",
|
|
6552
|
+
"type": "array",
|
|
6553
|
+
"minItems": 1,
|
|
6554
|
+
"items": {
|
|
6555
|
+
"oneOf": [
|
|
6556
|
+
{
|
|
6557
|
+
"$ref": "#/components/schemas/Integration"
|
|
6424
6558
|
},
|
|
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
|
-
]
|
|
6559
|
+
{
|
|
6560
|
+
"$ref": "#/components/schemas/User"
|
|
6443
6561
|
}
|
|
6562
|
+
]
|
|
6563
|
+
}
|
|
6564
|
+
},
|
|
6565
|
+
"urls": {
|
|
6566
|
+
"type": "object",
|
|
6567
|
+
"description": "URLs associated with the object",
|
|
6568
|
+
"properties": {
|
|
6569
|
+
"location": {
|
|
6570
|
+
"description": "URL of the snippet in the API",
|
|
6571
|
+
"$ref": "#/components/schemas/URL"
|
|
6444
6572
|
},
|
|
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
|
-
]
|
|
6573
|
+
"app": {
|
|
6574
|
+
"description": "URL of the snippet in the app",
|
|
6575
|
+
"$ref": "#/components/schemas/URL"
|
|
6462
6576
|
}
|
|
6463
6577
|
},
|
|
6464
6578
|
"required": [
|
|
6465
|
-
"
|
|
6466
|
-
"
|
|
6467
|
-
"source",
|
|
6468
|
-
"createdAt",
|
|
6469
|
-
"archived",
|
|
6470
|
-
"contributors",
|
|
6471
|
-
"urls"
|
|
6579
|
+
"location",
|
|
6580
|
+
"app"
|
|
6472
6581
|
]
|
|
6473
6582
|
}
|
|
6583
|
+
},
|
|
6584
|
+
"required": [
|
|
6585
|
+
"id",
|
|
6586
|
+
"organization",
|
|
6587
|
+
"source",
|
|
6588
|
+
"createdAt",
|
|
6589
|
+
"archived",
|
|
6590
|
+
"contributors",
|
|
6591
|
+
"urls"
|
|
6474
6592
|
]
|
|
6475
6593
|
},
|
|
6476
6594
|
"UpdateSnippetSchema": {
|
|
@@ -6479,10 +6597,6 @@
|
|
|
6479
6597
|
"title": {
|
|
6480
6598
|
"type": "string",
|
|
6481
6599
|
"description": "A new title for the snippet."
|
|
6482
|
-
},
|
|
6483
|
-
"body": {
|
|
6484
|
-
"description": "Content of the snippet.",
|
|
6485
|
-
"$ref": "#/components/schemas/Document"
|
|
6486
6600
|
}
|
|
6487
6601
|
}
|
|
6488
6602
|
},
|
|
@@ -6608,10 +6722,7 @@
|
|
|
6608
6722
|
"$ref": "#/components/schemas/ChangeRequestStatus"
|
|
6609
6723
|
},
|
|
6610
6724
|
"subject": {
|
|
6611
|
-
"
|
|
6612
|
-
"description": "Subject of the change request",
|
|
6613
|
-
"minLength": 0,
|
|
6614
|
-
"maxLength": 100
|
|
6725
|
+
"$ref": "#/components/schemas/ChangeRequestSubject"
|
|
6615
6726
|
},
|
|
6616
6727
|
"createdBy": {
|
|
6617
6728
|
"$ref": "#/components/schemas/User"
|
|
@@ -6622,6 +6733,10 @@
|
|
|
6622
6733
|
"updatedAt": {
|
|
6623
6734
|
"$ref": "#/components/schemas/Timestamp"
|
|
6624
6735
|
},
|
|
6736
|
+
"revision": {
|
|
6737
|
+
"type": "string",
|
|
6738
|
+
"description": "ID of the active revision in the change request."
|
|
6739
|
+
},
|
|
6625
6740
|
"urls": {
|
|
6626
6741
|
"type": "object",
|
|
6627
6742
|
"description": "URLs associated with the object",
|
|
@@ -6646,6 +6761,7 @@
|
|
|
6646
6761
|
"createdBy",
|
|
6647
6762
|
"createdAt",
|
|
6648
6763
|
"updatedAt",
|
|
6764
|
+
"revision",
|
|
6649
6765
|
"urls"
|
|
6650
6766
|
]
|
|
6651
6767
|
},
|
|
@@ -6793,6 +6909,12 @@
|
|
|
6793
6909
|
}
|
|
6794
6910
|
]
|
|
6795
6911
|
},
|
|
6912
|
+
"ChangeRequestSubject": {
|
|
6913
|
+
"type": "string",
|
|
6914
|
+
"description": "Subject of the change request",
|
|
6915
|
+
"minLength": 0,
|
|
6916
|
+
"maxLength": 100
|
|
6917
|
+
},
|
|
6796
6918
|
"UpdateCommentSchema": {
|
|
6797
6919
|
"type": "object",
|
|
6798
6920
|
"properties": {
|
|
@@ -7656,6 +7778,14 @@
|
|
|
7656
7778
|
"space:visitor:auth"
|
|
7657
7779
|
]
|
|
7658
7780
|
},
|
|
7781
|
+
"IntegrationSearchQuery": {
|
|
7782
|
+
"name": "search",
|
|
7783
|
+
"in": "query",
|
|
7784
|
+
"description": "A search string to filter integrations by name\n",
|
|
7785
|
+
"schema": {
|
|
7786
|
+
"type": "string"
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7659
7789
|
"IntegrationCategories": {
|
|
7660
7790
|
"type": "array",
|
|
7661
7791
|
"description": "Categories for which the integration is listed in the marketplace",
|
|
@@ -9967,6 +10097,17 @@
|
|
|
9967
10097
|
"activeDaysRemaining"
|
|
9968
10098
|
]
|
|
9969
10099
|
},
|
|
10100
|
+
"SpaceBlockReason": {
|
|
10101
|
+
"type": "string",
|
|
10102
|
+
"description": "Reason for a space to be blocked",
|
|
10103
|
+
"enum": [
|
|
10104
|
+
"DMCA",
|
|
10105
|
+
"THREAT_TYPE_UNSPECIFIED",
|
|
10106
|
+
"MALWARE",
|
|
10107
|
+
"SOCIAL_ENGINEERING",
|
|
10108
|
+
"UNWANTED_SOFTWARE"
|
|
10109
|
+
]
|
|
10110
|
+
},
|
|
9970
10111
|
"HiveAccessToken": {
|
|
9971
10112
|
"type": "object",
|
|
9972
10113
|
"description": "JWT tokens to authenticate in Hive for all content.",
|
|
@@ -11461,7 +11602,13 @@
|
|
|
11461
11602
|
"$ref": "#/components/schemas/UserProfileChannel"
|
|
11462
11603
|
},
|
|
11463
11604
|
{
|
|
11464
|
-
"$ref": "#/components/schemas/
|
|
11605
|
+
"$ref": "#/components/schemas/ChangeRequestChannel"
|
|
11606
|
+
},
|
|
11607
|
+
{
|
|
11608
|
+
"$ref": "#/components/schemas/ChangeRequestsChannel"
|
|
11609
|
+
},
|
|
11610
|
+
{
|
|
11611
|
+
"$ref": "#/components/schemas/ChangeRequestReviewsChannel"
|
|
11465
11612
|
},
|
|
11466
11613
|
{
|
|
11467
11614
|
"$ref": "#/components/schemas/CollectionChannel"
|
|
@@ -11898,6 +12045,46 @@
|
|
|
11898
12045
|
"collection"
|
|
11899
12046
|
]
|
|
11900
12047
|
},
|
|
12048
|
+
"ChangeRequestChannel": {
|
|
12049
|
+
"type": "object",
|
|
12050
|
+
"properties": {
|
|
12051
|
+
"channel": {
|
|
12052
|
+
"type": "string",
|
|
12053
|
+
"enum": [
|
|
12054
|
+
"space-change-request"
|
|
12055
|
+
]
|
|
12056
|
+
},
|
|
12057
|
+
"space": {
|
|
12058
|
+
"type": "string"
|
|
12059
|
+
},
|
|
12060
|
+
"changeRequest": {
|
|
12061
|
+
"type": "string"
|
|
12062
|
+
}
|
|
12063
|
+
},
|
|
12064
|
+
"required": [
|
|
12065
|
+
"channel",
|
|
12066
|
+
"space",
|
|
12067
|
+
"changeRequest"
|
|
12068
|
+
]
|
|
12069
|
+
},
|
|
12070
|
+
"ChangeRequestsChannel": {
|
|
12071
|
+
"type": "object",
|
|
12072
|
+
"properties": {
|
|
12073
|
+
"channel": {
|
|
12074
|
+
"type": "string",
|
|
12075
|
+
"enum": [
|
|
12076
|
+
"space-change-requests"
|
|
12077
|
+
]
|
|
12078
|
+
},
|
|
12079
|
+
"space": {
|
|
12080
|
+
"type": "string"
|
|
12081
|
+
}
|
|
12082
|
+
},
|
|
12083
|
+
"required": [
|
|
12084
|
+
"channel",
|
|
12085
|
+
"space"
|
|
12086
|
+
]
|
|
12087
|
+
},
|
|
11901
12088
|
"ChangeRequestReviewsChannel": {
|
|
11902
12089
|
"type": "object",
|
|
11903
12090
|
"properties": {
|
|
@@ -12486,6 +12673,9 @@
|
|
|
12486
12673
|
},
|
|
12487
12674
|
"font": {
|
|
12488
12675
|
"$ref": "#/components/schemas/CustomizationFont"
|
|
12676
|
+
},
|
|
12677
|
+
"background": {
|
|
12678
|
+
"$ref": "#/components/schemas/CustomizationBackground"
|
|
12489
12679
|
}
|
|
12490
12680
|
},
|
|
12491
12681
|
"required": [
|
|
@@ -12842,6 +13032,13 @@
|
|
|
12842
13032
|
"rounded"
|
|
12843
13033
|
]
|
|
12844
13034
|
},
|
|
13035
|
+
"CustomizationBackground": {
|
|
13036
|
+
"type": "string",
|
|
13037
|
+
"enum": [
|
|
13038
|
+
"plain",
|
|
13039
|
+
"match"
|
|
13040
|
+
]
|
|
13041
|
+
},
|
|
12845
13042
|
"CustomizationThemedURL": {
|
|
12846
13043
|
"type": "object",
|
|
12847
13044
|
"properties": {
|
|
@@ -12926,6 +13123,42 @@
|
|
|
12926
13123
|
"ok",
|
|
12927
13124
|
"good"
|
|
12928
13125
|
]
|
|
13126
|
+
},
|
|
13127
|
+
"ShareLink": {
|
|
13128
|
+
"type": "object",
|
|
13129
|
+
"properties": {
|
|
13130
|
+
"object": {
|
|
13131
|
+
"type": "string",
|
|
13132
|
+
"description": "Type of Object, always equals to \"share-link\"",
|
|
13133
|
+
"enum": [
|
|
13134
|
+
"share-link"
|
|
13135
|
+
]
|
|
13136
|
+
},
|
|
13137
|
+
"id": {
|
|
13138
|
+
"type": "string",
|
|
13139
|
+
"description": "Unique identifier for the share-link"
|
|
13140
|
+
},
|
|
13141
|
+
"createdAt": {
|
|
13142
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
13143
|
+
},
|
|
13144
|
+
"name": {
|
|
13145
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
13146
|
+
},
|
|
13147
|
+
"active": {
|
|
13148
|
+
"type": "boolean"
|
|
13149
|
+
}
|
|
13150
|
+
},
|
|
13151
|
+
"required": [
|
|
13152
|
+
"object",
|
|
13153
|
+
"id",
|
|
13154
|
+
"createdAt"
|
|
13155
|
+
]
|
|
13156
|
+
},
|
|
13157
|
+
"ShareLinkName": {
|
|
13158
|
+
"type": "string",
|
|
13159
|
+
"description": "Name of the share link",
|
|
13160
|
+
"minLength": 0,
|
|
13161
|
+
"maxLength": 50
|
|
12929
13162
|
}
|
|
12930
13163
|
},
|
|
12931
13164
|
"responses": {
|
|
@@ -14596,23 +14829,7 @@
|
|
|
14596
14829
|
"content": {
|
|
14597
14830
|
"application/json": {
|
|
14598
14831
|
"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
|
-
]
|
|
14832
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
14616
14833
|
}
|
|
14617
14834
|
}
|
|
14618
14835
|
}
|
|
@@ -14738,6 +14955,56 @@
|
|
|
14738
14955
|
"$ref": "#/components/responses/UnexpectedError"
|
|
14739
14956
|
}
|
|
14740
14957
|
}
|
|
14958
|
+
},
|
|
14959
|
+
"patch": {
|
|
14960
|
+
"operationId": "updateChangeRequestById",
|
|
14961
|
+
"summary": "Update the details of a change request",
|
|
14962
|
+
"tags": [
|
|
14963
|
+
"spaces"
|
|
14964
|
+
],
|
|
14965
|
+
"security": [
|
|
14966
|
+
{
|
|
14967
|
+
"user": []
|
|
14968
|
+
}
|
|
14969
|
+
],
|
|
14970
|
+
"parameters": [
|
|
14971
|
+
{
|
|
14972
|
+
"$ref": "#/components/parameters/spaceId"
|
|
14973
|
+
},
|
|
14974
|
+
{
|
|
14975
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
14976
|
+
}
|
|
14977
|
+
],
|
|
14978
|
+
"requestBody": {
|
|
14979
|
+
"required": true,
|
|
14980
|
+
"content": {
|
|
14981
|
+
"application/json": {
|
|
14982
|
+
"schema": {
|
|
14983
|
+
"type": "object",
|
|
14984
|
+
"properties": {
|
|
14985
|
+
"subject": {
|
|
14986
|
+
"$ref": "#/components/schemas/ChangeRequestSubject"
|
|
14987
|
+
}
|
|
14988
|
+
}
|
|
14989
|
+
}
|
|
14990
|
+
}
|
|
14991
|
+
}
|
|
14992
|
+
},
|
|
14993
|
+
"responses": {
|
|
14994
|
+
"200": {
|
|
14995
|
+
"description": "The change request has been updated",
|
|
14996
|
+
"content": {
|
|
14997
|
+
"application/json": {
|
|
14998
|
+
"schema": {
|
|
14999
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
15000
|
+
}
|
|
15001
|
+
}
|
|
15002
|
+
}
|
|
15003
|
+
},
|
|
15004
|
+
"default": {
|
|
15005
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15006
|
+
}
|
|
15007
|
+
}
|
|
14741
15008
|
}
|
|
14742
15009
|
},
|
|
14743
15010
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/merge": {
|
|
@@ -17355,6 +17622,141 @@
|
|
|
17355
17622
|
}
|
|
17356
17623
|
}
|
|
17357
17624
|
},
|
|
17625
|
+
"/spaces/{spaceId}/share-links": {
|
|
17626
|
+
"post": {
|
|
17627
|
+
"operationId": "createSpaceShareLink",
|
|
17628
|
+
"summary": "Creates a new space share link",
|
|
17629
|
+
"tags": [
|
|
17630
|
+
"spaces"
|
|
17631
|
+
],
|
|
17632
|
+
"security": [
|
|
17633
|
+
{
|
|
17634
|
+
"user": []
|
|
17635
|
+
}
|
|
17636
|
+
],
|
|
17637
|
+
"parameters": [
|
|
17638
|
+
{
|
|
17639
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17640
|
+
}
|
|
17641
|
+
],
|
|
17642
|
+
"requestBody": {
|
|
17643
|
+
"content": {
|
|
17644
|
+
"application/json": {
|
|
17645
|
+
"schema": {
|
|
17646
|
+
"type": "object",
|
|
17647
|
+
"properties": {
|
|
17648
|
+
"name": {
|
|
17649
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
17650
|
+
}
|
|
17651
|
+
},
|
|
17652
|
+
"required": [
|
|
17653
|
+
"name"
|
|
17654
|
+
]
|
|
17655
|
+
}
|
|
17656
|
+
}
|
|
17657
|
+
}
|
|
17658
|
+
},
|
|
17659
|
+
"responses": {
|
|
17660
|
+
"201": {
|
|
17661
|
+
"description": "The space share link has been created",
|
|
17662
|
+
"content": {
|
|
17663
|
+
"application/json": {
|
|
17664
|
+
"schema": {
|
|
17665
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
17666
|
+
}
|
|
17667
|
+
}
|
|
17668
|
+
}
|
|
17669
|
+
},
|
|
17670
|
+
"default": {
|
|
17671
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17672
|
+
}
|
|
17673
|
+
}
|
|
17674
|
+
}
|
|
17675
|
+
},
|
|
17676
|
+
"/spaces/{spaceId}/share-links/{shareLinkId}": {
|
|
17677
|
+
"patch": {
|
|
17678
|
+
"operationId": "updateSpaceShareLinkById",
|
|
17679
|
+
"summary": "Update the details of a space share link",
|
|
17680
|
+
"tags": [
|
|
17681
|
+
"spaces"
|
|
17682
|
+
],
|
|
17683
|
+
"security": [
|
|
17684
|
+
{
|
|
17685
|
+
"user": []
|
|
17686
|
+
}
|
|
17687
|
+
],
|
|
17688
|
+
"parameters": [
|
|
17689
|
+
{
|
|
17690
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17691
|
+
},
|
|
17692
|
+
{
|
|
17693
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
17694
|
+
}
|
|
17695
|
+
],
|
|
17696
|
+
"requestBody": {
|
|
17697
|
+
"required": true,
|
|
17698
|
+
"content": {
|
|
17699
|
+
"application/json": {
|
|
17700
|
+
"schema": {
|
|
17701
|
+
"type": "object",
|
|
17702
|
+
"minProperties": 1,
|
|
17703
|
+
"properties": {
|
|
17704
|
+
"active": {
|
|
17705
|
+
"type": "boolean"
|
|
17706
|
+
},
|
|
17707
|
+
"name": {
|
|
17708
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
17709
|
+
}
|
|
17710
|
+
}
|
|
17711
|
+
}
|
|
17712
|
+
}
|
|
17713
|
+
}
|
|
17714
|
+
},
|
|
17715
|
+
"responses": {
|
|
17716
|
+
"200": {
|
|
17717
|
+
"description": "The space share link has been updated",
|
|
17718
|
+
"content": {
|
|
17719
|
+
"application/json": {
|
|
17720
|
+
"schema": {
|
|
17721
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
17722
|
+
}
|
|
17723
|
+
}
|
|
17724
|
+
}
|
|
17725
|
+
},
|
|
17726
|
+
"default": {
|
|
17727
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17728
|
+
}
|
|
17729
|
+
}
|
|
17730
|
+
},
|
|
17731
|
+
"delete": {
|
|
17732
|
+
"operationId": "deleteSpaceShareLinkById",
|
|
17733
|
+
"summary": "Deletes a space share link",
|
|
17734
|
+
"tags": [
|
|
17735
|
+
"spaces"
|
|
17736
|
+
],
|
|
17737
|
+
"security": [
|
|
17738
|
+
{
|
|
17739
|
+
"user": []
|
|
17740
|
+
}
|
|
17741
|
+
],
|
|
17742
|
+
"parameters": [
|
|
17743
|
+
{
|
|
17744
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17745
|
+
},
|
|
17746
|
+
{
|
|
17747
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
17748
|
+
}
|
|
17749
|
+
],
|
|
17750
|
+
"responses": {
|
|
17751
|
+
"205": {
|
|
17752
|
+
"description": "Space share link has been deleted"
|
|
17753
|
+
},
|
|
17754
|
+
"default": {
|
|
17755
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17756
|
+
}
|
|
17757
|
+
}
|
|
17758
|
+
}
|
|
17759
|
+
},
|
|
17358
17760
|
"/collections/{collectionId}": {
|
|
17359
17761
|
"get": {
|
|
17360
17762
|
"operationId": "getCollectionById",
|
|
@@ -17885,9 +18287,144 @@
|
|
|
17885
18287
|
}
|
|
17886
18288
|
}
|
|
17887
18289
|
},
|
|
17888
|
-
"/
|
|
17889
|
-
"
|
|
17890
|
-
"operationId": "
|
|
18290
|
+
"/collections/{collectionId}/share-links": {
|
|
18291
|
+
"post": {
|
|
18292
|
+
"operationId": "createCollectionShareLink",
|
|
18293
|
+
"summary": "Creates a new collection share link",
|
|
18294
|
+
"tags": [
|
|
18295
|
+
"collections"
|
|
18296
|
+
],
|
|
18297
|
+
"security": [
|
|
18298
|
+
{
|
|
18299
|
+
"user": []
|
|
18300
|
+
}
|
|
18301
|
+
],
|
|
18302
|
+
"parameters": [
|
|
18303
|
+
{
|
|
18304
|
+
"$ref": "#/components/parameters/collectionId"
|
|
18305
|
+
}
|
|
18306
|
+
],
|
|
18307
|
+
"requestBody": {
|
|
18308
|
+
"content": {
|
|
18309
|
+
"application/json": {
|
|
18310
|
+
"schema": {
|
|
18311
|
+
"type": "object",
|
|
18312
|
+
"properties": {
|
|
18313
|
+
"name": {
|
|
18314
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
18315
|
+
}
|
|
18316
|
+
},
|
|
18317
|
+
"required": [
|
|
18318
|
+
"name"
|
|
18319
|
+
]
|
|
18320
|
+
}
|
|
18321
|
+
}
|
|
18322
|
+
}
|
|
18323
|
+
},
|
|
18324
|
+
"responses": {
|
|
18325
|
+
"201": {
|
|
18326
|
+
"description": "The collection share link has been created",
|
|
18327
|
+
"content": {
|
|
18328
|
+
"application/json": {
|
|
18329
|
+
"schema": {
|
|
18330
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
18331
|
+
}
|
|
18332
|
+
}
|
|
18333
|
+
}
|
|
18334
|
+
},
|
|
18335
|
+
"default": {
|
|
18336
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18337
|
+
}
|
|
18338
|
+
}
|
|
18339
|
+
}
|
|
18340
|
+
},
|
|
18341
|
+
"/collections/{collectionId}/share-links/{shareLinkId}": {
|
|
18342
|
+
"patch": {
|
|
18343
|
+
"operationId": "updateCollectionShareLinkById",
|
|
18344
|
+
"summary": "Update the details of a collection share link",
|
|
18345
|
+
"tags": [
|
|
18346
|
+
"collections"
|
|
18347
|
+
],
|
|
18348
|
+
"security": [
|
|
18349
|
+
{
|
|
18350
|
+
"user": []
|
|
18351
|
+
}
|
|
18352
|
+
],
|
|
18353
|
+
"parameters": [
|
|
18354
|
+
{
|
|
18355
|
+
"$ref": "#/components/parameters/collectionId"
|
|
18356
|
+
},
|
|
18357
|
+
{
|
|
18358
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
18359
|
+
}
|
|
18360
|
+
],
|
|
18361
|
+
"requestBody": {
|
|
18362
|
+
"required": true,
|
|
18363
|
+
"content": {
|
|
18364
|
+
"application/json": {
|
|
18365
|
+
"schema": {
|
|
18366
|
+
"type": "object",
|
|
18367
|
+
"minProperties": 1,
|
|
18368
|
+
"properties": {
|
|
18369
|
+
"active": {
|
|
18370
|
+
"type": "boolean"
|
|
18371
|
+
},
|
|
18372
|
+
"name": {
|
|
18373
|
+
"$ref": "#/components/schemas/ShareLinkName"
|
|
18374
|
+
}
|
|
18375
|
+
}
|
|
18376
|
+
}
|
|
18377
|
+
}
|
|
18378
|
+
}
|
|
18379
|
+
},
|
|
18380
|
+
"responses": {
|
|
18381
|
+
"200": {
|
|
18382
|
+
"description": "The collection share link has been updated",
|
|
18383
|
+
"content": {
|
|
18384
|
+
"application/json": {
|
|
18385
|
+
"schema": {
|
|
18386
|
+
"$ref": "#/components/schemas/ShareLink"
|
|
18387
|
+
}
|
|
18388
|
+
}
|
|
18389
|
+
}
|
|
18390
|
+
},
|
|
18391
|
+
"default": {
|
|
18392
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18393
|
+
}
|
|
18394
|
+
}
|
|
18395
|
+
},
|
|
18396
|
+
"delete": {
|
|
18397
|
+
"operationId": "deleteCollectionShareLinkById",
|
|
18398
|
+
"summary": "Deletes a collection share link",
|
|
18399
|
+
"tags": [
|
|
18400
|
+
"collections"
|
|
18401
|
+
],
|
|
18402
|
+
"security": [
|
|
18403
|
+
{
|
|
18404
|
+
"user": []
|
|
18405
|
+
}
|
|
18406
|
+
],
|
|
18407
|
+
"parameters": [
|
|
18408
|
+
{
|
|
18409
|
+
"$ref": "#/components/parameters/collectionId"
|
|
18410
|
+
},
|
|
18411
|
+
{
|
|
18412
|
+
"$ref": "#/components/parameters/shareLinkId"
|
|
18413
|
+
}
|
|
18414
|
+
],
|
|
18415
|
+
"responses": {
|
|
18416
|
+
"205": {
|
|
18417
|
+
"description": "Collection share link has been deleted"
|
|
18418
|
+
},
|
|
18419
|
+
"default": {
|
|
18420
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
18421
|
+
}
|
|
18422
|
+
}
|
|
18423
|
+
}
|
|
18424
|
+
},
|
|
18425
|
+
"/integrations": {
|
|
18426
|
+
"get": {
|
|
18427
|
+
"operationId": "listIntegrations",
|
|
17891
18428
|
"summary": "List all public integrations",
|
|
17892
18429
|
"tags": [
|
|
17893
18430
|
"integrations"
|
|
@@ -17899,6 +18436,9 @@
|
|
|
17899
18436
|
{
|
|
17900
18437
|
"$ref": "#/components/parameters/listLimit"
|
|
17901
18438
|
},
|
|
18439
|
+
{
|
|
18440
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
18441
|
+
},
|
|
17902
18442
|
{
|
|
17903
18443
|
"name": "category",
|
|
17904
18444
|
"in": "query",
|
|
@@ -19153,6 +19693,29 @@
|
|
|
19153
19693
|
]
|
|
19154
19694
|
}
|
|
19155
19695
|
]
|
|
19696
|
+
},
|
|
19697
|
+
"logo": {
|
|
19698
|
+
"oneOf": [
|
|
19699
|
+
{
|
|
19700
|
+
"$ref": "#/components/schemas/URL"
|
|
19701
|
+
},
|
|
19702
|
+
{
|
|
19703
|
+
"type": "string",
|
|
19704
|
+
"nullable": true,
|
|
19705
|
+
"enum": [
|
|
19706
|
+
null
|
|
19707
|
+
]
|
|
19708
|
+
}
|
|
19709
|
+
]
|
|
19710
|
+
},
|
|
19711
|
+
"sso": {
|
|
19712
|
+
"type": "boolean"
|
|
19713
|
+
},
|
|
19714
|
+
"aiSearch": {
|
|
19715
|
+
"type": "boolean"
|
|
19716
|
+
},
|
|
19717
|
+
"aiInsights": {
|
|
19718
|
+
"type": "boolean"
|
|
19156
19719
|
}
|
|
19157
19720
|
}
|
|
19158
19721
|
}
|
|
@@ -20135,13 +20698,7 @@
|
|
|
20135
20698
|
"$ref": "#/components/parameters/organizationId"
|
|
20136
20699
|
},
|
|
20137
20700
|
{
|
|
20138
|
-
"
|
|
20139
|
-
"in": "path",
|
|
20140
|
-
"required": true,
|
|
20141
|
-
"description": "The unique id of the invite",
|
|
20142
|
-
"schema": {
|
|
20143
|
-
"type": "string"
|
|
20144
|
-
}
|
|
20701
|
+
"$ref": "#/components/parameters/inviteId"
|
|
20145
20702
|
}
|
|
20146
20703
|
],
|
|
20147
20704
|
"responses": {
|
|
@@ -20160,6 +20717,87 @@
|
|
|
20160
20717
|
"$ref": "#/components/responses/UnexpectedError"
|
|
20161
20718
|
}
|
|
20162
20719
|
}
|
|
20720
|
+
},
|
|
20721
|
+
"patch": {
|
|
20722
|
+
"operationId": "updateOrganizationInviteById",
|
|
20723
|
+
"summary": "Update an organization invite.",
|
|
20724
|
+
"tags": [
|
|
20725
|
+
"organizations"
|
|
20726
|
+
],
|
|
20727
|
+
"security": [
|
|
20728
|
+
{
|
|
20729
|
+
"user": []
|
|
20730
|
+
}
|
|
20731
|
+
],
|
|
20732
|
+
"parameters": [
|
|
20733
|
+
{
|
|
20734
|
+
"$ref": "#/components/parameters/organizationId"
|
|
20735
|
+
},
|
|
20736
|
+
{
|
|
20737
|
+
"$ref": "#/components/parameters/inviteId"
|
|
20738
|
+
}
|
|
20739
|
+
],
|
|
20740
|
+
"requestBody": {
|
|
20741
|
+
"required": true,
|
|
20742
|
+
"content": {
|
|
20743
|
+
"application/json": {
|
|
20744
|
+
"schema": {
|
|
20745
|
+
"type": "object",
|
|
20746
|
+
"properties": {
|
|
20747
|
+
"role": {
|
|
20748
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
20749
|
+
},
|
|
20750
|
+
"contentLevel": {
|
|
20751
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
20752
|
+
}
|
|
20753
|
+
}
|
|
20754
|
+
}
|
|
20755
|
+
}
|
|
20756
|
+
}
|
|
20757
|
+
},
|
|
20758
|
+
"responses": {
|
|
20759
|
+
"200": {
|
|
20760
|
+
"description": "The organization invite has been updated",
|
|
20761
|
+
"content": {
|
|
20762
|
+
"application/json": {
|
|
20763
|
+
"schema": {
|
|
20764
|
+
"$ref": "#/components/schemas/OrganizationInvite"
|
|
20765
|
+
}
|
|
20766
|
+
}
|
|
20767
|
+
}
|
|
20768
|
+
},
|
|
20769
|
+
"default": {
|
|
20770
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
20771
|
+
}
|
|
20772
|
+
}
|
|
20773
|
+
},
|
|
20774
|
+
"delete": {
|
|
20775
|
+
"operationId": "deleteOrganizationInviteById",
|
|
20776
|
+
"summary": "Deletes an organization invite.",
|
|
20777
|
+
"tags": [
|
|
20778
|
+
"organizations"
|
|
20779
|
+
],
|
|
20780
|
+
"security": [
|
|
20781
|
+
{
|
|
20782
|
+
"user": []
|
|
20783
|
+
}
|
|
20784
|
+
],
|
|
20785
|
+
"parameters": [
|
|
20786
|
+
{
|
|
20787
|
+
"$ref": "#/components/parameters/organizationId"
|
|
20788
|
+
},
|
|
20789
|
+
{
|
|
20790
|
+
"$ref": "#/components/parameters/inviteId"
|
|
20791
|
+
}
|
|
20792
|
+
],
|
|
20793
|
+
"responses": {
|
|
20794
|
+
"205": {
|
|
20795
|
+
"description": "The organization invite has been deleted"
|
|
20796
|
+
},
|
|
20797
|
+
"default": {
|
|
20798
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
20799
|
+
}
|
|
20800
|
+
}
|
|
20163
20801
|
}
|
|
20164
20802
|
},
|
|
20165
20803
|
"/orgs/{organizationId}/billing": {
|
|
@@ -21036,6 +21674,9 @@
|
|
|
21036
21674
|
},
|
|
21037
21675
|
{
|
|
21038
21676
|
"$ref": "#/components/parameters/listLimit"
|
|
21677
|
+
},
|
|
21678
|
+
{
|
|
21679
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
21039
21680
|
}
|
|
21040
21681
|
],
|
|
21041
21682
|
"responses": {
|
|
@@ -21136,6 +21777,9 @@
|
|
|
21136
21777
|
},
|
|
21137
21778
|
{
|
|
21138
21779
|
"$ref": "#/components/parameters/listLimit"
|
|
21780
|
+
},
|
|
21781
|
+
{
|
|
21782
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
21139
21783
|
}
|
|
21140
21784
|
],
|
|
21141
21785
|
"responses": {
|
|
@@ -21775,84 +22419,6 @@
|
|
|
21775
22419
|
"$ref": "#/components/responses/UnexpectedError"
|
|
21776
22420
|
}
|
|
21777
22421
|
}
|
|
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
22422
|
}
|
|
21857
22423
|
},
|
|
21858
22424
|
"/orgs/{organizationId}/captures/{captureId}/events": {
|
|
@@ -21987,9 +22553,6 @@
|
|
|
21987
22553
|
{
|
|
21988
22554
|
"$ref": "#/components/parameters/organizationId"
|
|
21989
22555
|
},
|
|
21990
|
-
{
|
|
21991
|
-
"$ref": "#/components/parameters/pageFormat"
|
|
21992
|
-
},
|
|
21993
22556
|
{
|
|
21994
22557
|
"$ref": "#/components/parameters/listPage"
|
|
21995
22558
|
},
|
|
@@ -22107,9 +22670,6 @@
|
|
|
22107
22670
|
},
|
|
22108
22671
|
{
|
|
22109
22672
|
"$ref": "#/components/parameters/snippetId"
|
|
22110
|
-
},
|
|
22111
|
-
{
|
|
22112
|
-
"$ref": "#/components/parameters/pageFormat"
|
|
22113
22673
|
}
|
|
22114
22674
|
],
|
|
22115
22675
|
"responses": {
|