@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.yaml
CHANGED
|
@@ -229,6 +229,20 @@ components:
|
|
|
229
229
|
description: The id of the visitor
|
|
230
230
|
schema:
|
|
231
231
|
type: string
|
|
232
|
+
inviteId:
|
|
233
|
+
name: inviteId
|
|
234
|
+
in: path
|
|
235
|
+
required: true
|
|
236
|
+
description: The unique id of the invite
|
|
237
|
+
schema:
|
|
238
|
+
type: string
|
|
239
|
+
shareLinkId:
|
|
240
|
+
name: shareLinkId
|
|
241
|
+
in: path
|
|
242
|
+
required: true
|
|
243
|
+
description: The unique id of the share link
|
|
244
|
+
schema:
|
|
245
|
+
type: string
|
|
232
246
|
backofficeHostname:
|
|
233
247
|
name: hostname
|
|
234
248
|
in: path
|
|
@@ -649,6 +663,14 @@ components:
|
|
|
649
663
|
required:
|
|
650
664
|
- version
|
|
651
665
|
- build
|
|
666
|
+
BlockContext:
|
|
667
|
+
type: object
|
|
668
|
+
description: The context to send when blocking/unblocking
|
|
669
|
+
properties:
|
|
670
|
+
block:
|
|
671
|
+
type: boolean
|
|
672
|
+
required:
|
|
673
|
+
- block
|
|
652
674
|
RequestPurgeCDNCacheContext:
|
|
653
675
|
type: object
|
|
654
676
|
description: The context to send when purging the CDN Cache
|
|
@@ -663,14 +685,6 @@ components:
|
|
|
663
685
|
required:
|
|
664
686
|
- type
|
|
665
687
|
- 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
688
|
TriggerContentIndexingContext:
|
|
675
689
|
type: object
|
|
676
690
|
description: The context to send when triggering a content indexing.
|
|
@@ -2956,6 +2970,9 @@ components:
|
|
|
2956
2970
|
required:
|
|
2957
2971
|
- backend
|
|
2958
2972
|
- integration
|
|
2973
|
+
revision:
|
|
2974
|
+
type: string
|
|
2975
|
+
description: ID of the active revision in the space.
|
|
2959
2976
|
required:
|
|
2960
2977
|
- object
|
|
2961
2978
|
- id
|
|
@@ -2964,6 +2981,7 @@ components:
|
|
|
2964
2981
|
- emoji
|
|
2965
2982
|
- organization
|
|
2966
2983
|
- visibility
|
|
2984
|
+
- revision
|
|
2967
2985
|
- createdAt
|
|
2968
2986
|
- updatedAt
|
|
2969
2987
|
- urls
|
|
@@ -3730,6 +3748,15 @@ components:
|
|
|
3730
3748
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
3731
3749
|
defaultContent:
|
|
3732
3750
|
$ref: "#/components/schemas/OrganizationDefaultContent"
|
|
3751
|
+
sso:
|
|
3752
|
+
description: Whether SSO is enforced organization wide
|
|
3753
|
+
type: boolean
|
|
3754
|
+
aiSearch:
|
|
3755
|
+
description: If true, the organization is configured to use our AI-powered natural language search
|
|
3756
|
+
type: boolean
|
|
3757
|
+
aiInsights:
|
|
3758
|
+
description: If true, the organization is configured to run content audits on any space update
|
|
3759
|
+
type: boolean
|
|
3733
3760
|
urls:
|
|
3734
3761
|
type: object
|
|
3735
3762
|
description: URLs associated with the object
|
|
@@ -3742,6 +3769,9 @@ components:
|
|
|
3742
3769
|
type: string
|
|
3743
3770
|
description: URL of the organization in the application
|
|
3744
3771
|
format: uri
|
|
3772
|
+
logo:
|
|
3773
|
+
description: URL of the logo of this organization, if defined.
|
|
3774
|
+
$ref: "#/components/schemas/URL"
|
|
3745
3775
|
required:
|
|
3746
3776
|
- app
|
|
3747
3777
|
- location
|
|
@@ -3953,6 +3983,75 @@ components:
|
|
|
3953
3983
|
oneOf:
|
|
3954
3984
|
- $ref: "#/components/schemas/SpacePointer"
|
|
3955
3985
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
3986
|
+
OrganizationInvite:
|
|
3987
|
+
oneOf:
|
|
3988
|
+
- type: object
|
|
3989
|
+
properties:
|
|
3990
|
+
object:
|
|
3991
|
+
type: string
|
|
3992
|
+
description: Type of Object, always equals to "invite"
|
|
3993
|
+
enum:
|
|
3994
|
+
- invite
|
|
3995
|
+
id:
|
|
3996
|
+
type: string
|
|
3997
|
+
description: Unique identifier for the organization invite
|
|
3998
|
+
role:
|
|
3999
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4000
|
+
description: The role of the member in the organization
|
|
4001
|
+
required:
|
|
4002
|
+
- object
|
|
4003
|
+
- id
|
|
4004
|
+
- role
|
|
4005
|
+
- type: object
|
|
4006
|
+
properties:
|
|
4007
|
+
object:
|
|
4008
|
+
type: string
|
|
4009
|
+
description: Type of Object, always equals to "invite"
|
|
4010
|
+
enum:
|
|
4011
|
+
- invite
|
|
4012
|
+
id:
|
|
4013
|
+
type: string
|
|
4014
|
+
description: Unique identifier for the organization invite
|
|
4015
|
+
role:
|
|
4016
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4017
|
+
description: The role of the member in the organization
|
|
4018
|
+
contentLevel:
|
|
4019
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4020
|
+
description: The role of the member in the target space
|
|
4021
|
+
space:
|
|
4022
|
+
$ref: "#/components/schemas/Space"
|
|
4023
|
+
description: The space the member has been invited to
|
|
4024
|
+
required:
|
|
4025
|
+
- object
|
|
4026
|
+
- id
|
|
4027
|
+
- role
|
|
4028
|
+
- contentLevel
|
|
4029
|
+
- space
|
|
4030
|
+
- type: object
|
|
4031
|
+
properties:
|
|
4032
|
+
object:
|
|
4033
|
+
type: string
|
|
4034
|
+
description: Type of Object, always equals to "invite"
|
|
4035
|
+
enum:
|
|
4036
|
+
- invite
|
|
4037
|
+
id:
|
|
4038
|
+
type: string
|
|
4039
|
+
description: Unique identifier for the organization invite
|
|
4040
|
+
role:
|
|
4041
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4042
|
+
description: The role of the member in the organization
|
|
4043
|
+
contentLevel:
|
|
4044
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
4045
|
+
description: The role of the member in the target collection
|
|
4046
|
+
collection:
|
|
4047
|
+
$ref: "#/components/schemas/Collection"
|
|
4048
|
+
description: The collection the member has been invited to
|
|
4049
|
+
required:
|
|
4050
|
+
- object
|
|
4051
|
+
- id
|
|
4052
|
+
- role
|
|
4053
|
+
- contentLevel
|
|
4054
|
+
- collection
|
|
3956
4055
|
Capture:
|
|
3957
4056
|
type: object
|
|
3958
4057
|
properties:
|
|
@@ -4177,97 +4276,83 @@ components:
|
|
|
4177
4276
|
- type
|
|
4178
4277
|
- filename
|
|
4179
4278
|
- fileSnapshot
|
|
4180
|
-
|
|
4279
|
+
Snippet:
|
|
4181
4280
|
type: object
|
|
4182
4281
|
properties:
|
|
4282
|
+
id:
|
|
4283
|
+
type: string
|
|
4284
|
+
description: Unique identifier for the snippet
|
|
4285
|
+
organization:
|
|
4286
|
+
type: string
|
|
4287
|
+
description: ID of the organization owning this snippet
|
|
4288
|
+
createdAt:
|
|
4289
|
+
type: string
|
|
4290
|
+
format: date-time
|
|
4291
|
+
editedAt:
|
|
4292
|
+
type: string
|
|
4293
|
+
format: date-time
|
|
4294
|
+
description: Timestamp of when the snippet was last edited, if it has been edited since its creation.
|
|
4295
|
+
archived:
|
|
4296
|
+
type: boolean
|
|
4297
|
+
description: Whether the snippet is archived. Archived snippets don't appear in search results or in the app.
|
|
4183
4298
|
title:
|
|
4184
4299
|
type: string
|
|
4185
|
-
description:
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
allOf:
|
|
4191
|
-
- $ref: "#/components/schemas/Document"
|
|
4192
|
-
- type: object
|
|
4300
|
+
description: Title describing the snippet.
|
|
4301
|
+
maxLength: 100
|
|
4302
|
+
source:
|
|
4303
|
+
description: The source of the snippet.
|
|
4304
|
+
type: object
|
|
4193
4305
|
properties:
|
|
4194
|
-
|
|
4195
|
-
type: string
|
|
4196
|
-
description: Unique identifier for the snippet
|
|
4197
|
-
organization:
|
|
4198
|
-
type: string
|
|
4199
|
-
description: ID of the organization owning this snippet
|
|
4200
|
-
createdAt:
|
|
4306
|
+
sourceId:
|
|
4201
4307
|
type: string
|
|
4202
|
-
|
|
4203
|
-
|
|
4308
|
+
description: An ID identifying the source, unique across all sources.
|
|
4309
|
+
name:
|
|
4204
4310
|
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:
|
|
4311
|
+
description: A display name for the source.
|
|
4312
|
+
externalId:
|
|
4211
4313
|
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
|
|
4314
|
+
description: An ID identifying the snippet in the source system, if available.
|
|
4315
|
+
externalUrl:
|
|
4316
|
+
description: URL of the snippet in the source system, if available.
|
|
4317
|
+
$ref: "#/components/schemas/URL"
|
|
4254
4318
|
required:
|
|
4255
|
-
-
|
|
4256
|
-
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4319
|
+
- sourceId
|
|
4320
|
+
- name
|
|
4321
|
+
contributors:
|
|
4322
|
+
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.
|
|
4323
|
+
type: array
|
|
4324
|
+
minItems: 1
|
|
4325
|
+
items:
|
|
4326
|
+
oneOf:
|
|
4327
|
+
- $ref: "#/components/schemas/Integration"
|
|
4328
|
+
- $ref: "#/components/schemas/User"
|
|
4329
|
+
urls:
|
|
4330
|
+
type: object
|
|
4331
|
+
description: URLs associated with the object
|
|
4332
|
+
properties:
|
|
4333
|
+
location:
|
|
4334
|
+
description: URL of the snippet in the API
|
|
4335
|
+
$ref: "#/components/schemas/URL"
|
|
4336
|
+
app:
|
|
4337
|
+
description: URL of the snippet in the app
|
|
4338
|
+
$ref: "#/components/schemas/URL"
|
|
4339
|
+
required:
|
|
4340
|
+
- location
|
|
4341
|
+
- app
|
|
4342
|
+
required:
|
|
4343
|
+
- id
|
|
4344
|
+
- organization
|
|
4345
|
+
- source
|
|
4346
|
+
- createdAt
|
|
4347
|
+
- archived
|
|
4348
|
+
- contributors
|
|
4349
|
+
- urls
|
|
4262
4350
|
UpdateSnippetSchema:
|
|
4263
4351
|
type: object
|
|
4264
4352
|
properties:
|
|
4265
4353
|
title:
|
|
4266
4354
|
type: string
|
|
4267
4355
|
description: A new title for the snippet.
|
|
4268
|
-
body:
|
|
4269
|
-
description: Content of the snippet.
|
|
4270
|
-
$ref: "#/components/schemas/Document"
|
|
4271
4356
|
ContentAuditRelation:
|
|
4272
4357
|
type: object
|
|
4273
4358
|
description: Content audit relation
|
|
@@ -4355,16 +4440,16 @@ components:
|
|
|
4355
4440
|
status:
|
|
4356
4441
|
$ref: "#/components/schemas/ChangeRequestStatus"
|
|
4357
4442
|
subject:
|
|
4358
|
-
|
|
4359
|
-
description: Subject of the change request
|
|
4360
|
-
minLength: 0
|
|
4361
|
-
maxLength: 100
|
|
4443
|
+
$ref: "#/components/schemas/ChangeRequestSubject"
|
|
4362
4444
|
createdBy:
|
|
4363
4445
|
$ref: "#/components/schemas/User"
|
|
4364
4446
|
createdAt:
|
|
4365
4447
|
$ref: "#/components/schemas/Timestamp"
|
|
4366
4448
|
updatedAt:
|
|
4367
4449
|
$ref: "#/components/schemas/Timestamp"
|
|
4450
|
+
revision:
|
|
4451
|
+
type: string
|
|
4452
|
+
description: ID of the active revision in the change request.
|
|
4368
4453
|
urls:
|
|
4369
4454
|
type: object
|
|
4370
4455
|
description: URLs associated with the object
|
|
@@ -4384,6 +4469,7 @@ components:
|
|
|
4384
4469
|
- createdBy
|
|
4385
4470
|
- createdAt
|
|
4386
4471
|
- updatedAt
|
|
4472
|
+
- revision
|
|
4387
4473
|
- urls
|
|
4388
4474
|
ChangeRequestStatus:
|
|
4389
4475
|
type: string
|
|
@@ -4484,6 +4570,11 @@ components:
|
|
|
4484
4570
|
required:
|
|
4485
4571
|
- kind
|
|
4486
4572
|
- team
|
|
4573
|
+
ChangeRequestSubject:
|
|
4574
|
+
type: string
|
|
4575
|
+
description: Subject of the change request
|
|
4576
|
+
minLength: 0
|
|
4577
|
+
maxLength: 100
|
|
4487
4578
|
UpdateCommentSchema:
|
|
4488
4579
|
type: object
|
|
4489
4580
|
properties:
|
|
@@ -5102,6 +5193,13 @@ components:
|
|
|
5102
5193
|
- space:script:cookies
|
|
5103
5194
|
- space:git:sync
|
|
5104
5195
|
- space:visitor:auth
|
|
5196
|
+
IntegrationSearchQuery:
|
|
5197
|
+
name: search
|
|
5198
|
+
in: query
|
|
5199
|
+
description: |
|
|
5200
|
+
A search string to filter integrations by name
|
|
5201
|
+
schema:
|
|
5202
|
+
type: string
|
|
5105
5203
|
IntegrationCategories:
|
|
5106
5204
|
type: array
|
|
5107
5205
|
description: Categories for which the integration is listed in the marketplace
|
|
@@ -6627,6 +6725,15 @@ components:
|
|
|
6627
6725
|
- githubLogin
|
|
6628
6726
|
- emailVerified
|
|
6629
6727
|
- activeDaysRemaining
|
|
6728
|
+
SpaceBlockReason:
|
|
6729
|
+
type: string
|
|
6730
|
+
description: Reason for a space to be blocked
|
|
6731
|
+
enum:
|
|
6732
|
+
- DMCA
|
|
6733
|
+
- THREAT_TYPE_UNSPECIFIED
|
|
6734
|
+
- MALWARE
|
|
6735
|
+
- SOCIAL_ENGINEERING
|
|
6736
|
+
- UNWANTED_SOFTWARE
|
|
6630
6737
|
HiveAccessToken:
|
|
6631
6738
|
type: object
|
|
6632
6739
|
description: JWT tokens to authenticate in Hive for all content.
|
|
@@ -7547,6 +7654,8 @@ components:
|
|
|
7547
7654
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
7548
7655
|
- $ref: "#/components/schemas/UserOrganizationsChannel"
|
|
7549
7656
|
- $ref: "#/components/schemas/UserProfileChannel"
|
|
7657
|
+
- $ref: "#/components/schemas/ChangeRequestChannel"
|
|
7658
|
+
- $ref: "#/components/schemas/ChangeRequestsChannel"
|
|
7550
7659
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
7551
7660
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
7552
7661
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
@@ -7812,6 +7921,33 @@ components:
|
|
|
7812
7921
|
required:
|
|
7813
7922
|
- channel
|
|
7814
7923
|
- collection
|
|
7924
|
+
ChangeRequestChannel:
|
|
7925
|
+
type: object
|
|
7926
|
+
properties:
|
|
7927
|
+
channel:
|
|
7928
|
+
type: string
|
|
7929
|
+
enum:
|
|
7930
|
+
- space-change-request
|
|
7931
|
+
space:
|
|
7932
|
+
type: string
|
|
7933
|
+
changeRequest:
|
|
7934
|
+
type: string
|
|
7935
|
+
required:
|
|
7936
|
+
- channel
|
|
7937
|
+
- space
|
|
7938
|
+
- changeRequest
|
|
7939
|
+
ChangeRequestsChannel:
|
|
7940
|
+
type: object
|
|
7941
|
+
properties:
|
|
7942
|
+
channel:
|
|
7943
|
+
type: string
|
|
7944
|
+
enum:
|
|
7945
|
+
- space-change-requests
|
|
7946
|
+
space:
|
|
7947
|
+
type: string
|
|
7948
|
+
required:
|
|
7949
|
+
- channel
|
|
7950
|
+
- space
|
|
7815
7951
|
ChangeRequestReviewsChannel:
|
|
7816
7952
|
type: object
|
|
7817
7953
|
properties:
|
|
@@ -8216,6 +8352,8 @@ components:
|
|
|
8216
8352
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
8217
8353
|
font:
|
|
8218
8354
|
$ref: "#/components/schemas/CustomizationFont"
|
|
8355
|
+
background:
|
|
8356
|
+
$ref: "#/components/schemas/CustomizationBackground"
|
|
8219
8357
|
required:
|
|
8220
8358
|
- primaryColor
|
|
8221
8359
|
- corners
|
|
@@ -8454,6 +8592,11 @@ components:
|
|
|
8454
8592
|
enum:
|
|
8455
8593
|
- straight
|
|
8456
8594
|
- rounded
|
|
8595
|
+
CustomizationBackground:
|
|
8596
|
+
type: string
|
|
8597
|
+
enum:
|
|
8598
|
+
- plain
|
|
8599
|
+
- match
|
|
8457
8600
|
CustomizationThemedURL:
|
|
8458
8601
|
type: object
|
|
8459
8602
|
properties:
|
|
@@ -8514,6 +8657,32 @@ components:
|
|
|
8514
8657
|
- bad
|
|
8515
8658
|
- ok
|
|
8516
8659
|
- good
|
|
8660
|
+
ShareLink:
|
|
8661
|
+
type: object
|
|
8662
|
+
properties:
|
|
8663
|
+
object:
|
|
8664
|
+
type: string
|
|
8665
|
+
description: Type of Object, always equals to "share-link"
|
|
8666
|
+
enum:
|
|
8667
|
+
- share-link
|
|
8668
|
+
id:
|
|
8669
|
+
type: string
|
|
8670
|
+
description: Unique identifier for the share-link
|
|
8671
|
+
createdAt:
|
|
8672
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8673
|
+
name:
|
|
8674
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
8675
|
+
active:
|
|
8676
|
+
type: boolean
|
|
8677
|
+
required:
|
|
8678
|
+
- object
|
|
8679
|
+
- id
|
|
8680
|
+
- createdAt
|
|
8681
|
+
ShareLinkName:
|
|
8682
|
+
type: string
|
|
8683
|
+
description: Name of the share link
|
|
8684
|
+
minLength: 0
|
|
8685
|
+
maxLength: 50
|
|
8517
8686
|
responses:
|
|
8518
8687
|
BadRequestError:
|
|
8519
8688
|
description: Bad Request
|
|
@@ -9478,15 +9647,7 @@ paths:
|
|
|
9478
9647
|
content:
|
|
9479
9648
|
application/json:
|
|
9480
9649
|
schema:
|
|
9481
|
-
|
|
9482
|
-
- $ref: "#/components/schemas/ChangeRequest"
|
|
9483
|
-
- type: object
|
|
9484
|
-
properties:
|
|
9485
|
-
changeRequest:
|
|
9486
|
-
type: string
|
|
9487
|
-
deprecated: true
|
|
9488
|
-
required:
|
|
9489
|
-
- changeRequest
|
|
9650
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
9490
9651
|
default:
|
|
9491
9652
|
$ref: "#/components/responses/UnexpectedError"
|
|
9492
9653
|
requestBody:
|
|
@@ -9554,6 +9715,34 @@ paths:
|
|
|
9554
9715
|
$ref: "#/components/responses/NotFoundError"
|
|
9555
9716
|
default:
|
|
9556
9717
|
$ref: "#/components/responses/UnexpectedError"
|
|
9718
|
+
patch:
|
|
9719
|
+
operationId: updateChangeRequestById
|
|
9720
|
+
summary: Update the details of a change request
|
|
9721
|
+
tags:
|
|
9722
|
+
- spaces
|
|
9723
|
+
security:
|
|
9724
|
+
- user: []
|
|
9725
|
+
parameters:
|
|
9726
|
+
- $ref: "#/components/parameters/spaceId"
|
|
9727
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
9728
|
+
requestBody:
|
|
9729
|
+
required: true
|
|
9730
|
+
content:
|
|
9731
|
+
application/json:
|
|
9732
|
+
schema:
|
|
9733
|
+
type: object
|
|
9734
|
+
properties:
|
|
9735
|
+
subject:
|
|
9736
|
+
$ref: "#/components/schemas/ChangeRequestSubject"
|
|
9737
|
+
responses:
|
|
9738
|
+
"200":
|
|
9739
|
+
description: The change request has been updated
|
|
9740
|
+
content:
|
|
9741
|
+
application/json:
|
|
9742
|
+
schema:
|
|
9743
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
9744
|
+
default:
|
|
9745
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9557
9746
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/merge":
|
|
9558
9747
|
post:
|
|
9559
9748
|
operationId: mergeChangeRequest
|
|
@@ -10961,6 +11150,82 @@ paths:
|
|
|
10961
11150
|
- url
|
|
10962
11151
|
default:
|
|
10963
11152
|
$ref: "#/components/responses/UnexpectedError"
|
|
11153
|
+
"/spaces/{spaceId}/share-links":
|
|
11154
|
+
post:
|
|
11155
|
+
operationId: createSpaceShareLink
|
|
11156
|
+
summary: Creates a new space share link
|
|
11157
|
+
tags:
|
|
11158
|
+
- spaces
|
|
11159
|
+
security:
|
|
11160
|
+
- user: []
|
|
11161
|
+
parameters:
|
|
11162
|
+
- $ref: "#/components/parameters/spaceId"
|
|
11163
|
+
requestBody:
|
|
11164
|
+
content:
|
|
11165
|
+
application/json:
|
|
11166
|
+
schema:
|
|
11167
|
+
type: object
|
|
11168
|
+
properties:
|
|
11169
|
+
name:
|
|
11170
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11171
|
+
required:
|
|
11172
|
+
- name
|
|
11173
|
+
responses:
|
|
11174
|
+
"201":
|
|
11175
|
+
description: The space share link has been created
|
|
11176
|
+
content:
|
|
11177
|
+
application/json:
|
|
11178
|
+
schema:
|
|
11179
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11180
|
+
default:
|
|
11181
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11182
|
+
"/spaces/{spaceId}/share-links/{shareLinkId}":
|
|
11183
|
+
patch:
|
|
11184
|
+
operationId: updateSpaceShareLinkById
|
|
11185
|
+
summary: Update the details of a space share link
|
|
11186
|
+
tags:
|
|
11187
|
+
- spaces
|
|
11188
|
+
security:
|
|
11189
|
+
- user: []
|
|
11190
|
+
parameters:
|
|
11191
|
+
- $ref: "#/components/parameters/spaceId"
|
|
11192
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11193
|
+
requestBody:
|
|
11194
|
+
required: true
|
|
11195
|
+
content:
|
|
11196
|
+
application/json:
|
|
11197
|
+
schema:
|
|
11198
|
+
type: object
|
|
11199
|
+
minProperties: 1
|
|
11200
|
+
properties:
|
|
11201
|
+
active:
|
|
11202
|
+
type: boolean
|
|
11203
|
+
name:
|
|
11204
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11205
|
+
responses:
|
|
11206
|
+
"200":
|
|
11207
|
+
description: The space share link has been updated
|
|
11208
|
+
content:
|
|
11209
|
+
application/json:
|
|
11210
|
+
schema:
|
|
11211
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11212
|
+
default:
|
|
11213
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11214
|
+
delete:
|
|
11215
|
+
operationId: deleteSpaceShareLinkById
|
|
11216
|
+
summary: Deletes a space share link
|
|
11217
|
+
tags:
|
|
11218
|
+
- spaces
|
|
11219
|
+
security:
|
|
11220
|
+
- user: []
|
|
11221
|
+
parameters:
|
|
11222
|
+
- $ref: "#/components/parameters/spaceId"
|
|
11223
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11224
|
+
responses:
|
|
11225
|
+
"205":
|
|
11226
|
+
description: Space share link has been deleted
|
|
11227
|
+
default:
|
|
11228
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
10964
11229
|
"/collections/{collectionId}":
|
|
10965
11230
|
get:
|
|
10966
11231
|
operationId: getCollectionById
|
|
@@ -11265,6 +11530,82 @@ paths:
|
|
|
11265
11530
|
$ref: "#/components/responses/BadRequestError"
|
|
11266
11531
|
default:
|
|
11267
11532
|
$ref: "#/components/responses/UnexpectedError"
|
|
11533
|
+
"/collections/{collectionId}/share-links":
|
|
11534
|
+
post:
|
|
11535
|
+
operationId: createCollectionShareLink
|
|
11536
|
+
summary: Creates a new collection share link
|
|
11537
|
+
tags:
|
|
11538
|
+
- collections
|
|
11539
|
+
security:
|
|
11540
|
+
- user: []
|
|
11541
|
+
parameters:
|
|
11542
|
+
- $ref: "#/components/parameters/collectionId"
|
|
11543
|
+
requestBody:
|
|
11544
|
+
content:
|
|
11545
|
+
application/json:
|
|
11546
|
+
schema:
|
|
11547
|
+
type: object
|
|
11548
|
+
properties:
|
|
11549
|
+
name:
|
|
11550
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11551
|
+
required:
|
|
11552
|
+
- name
|
|
11553
|
+
responses:
|
|
11554
|
+
"201":
|
|
11555
|
+
description: The collection share link has been created
|
|
11556
|
+
content:
|
|
11557
|
+
application/json:
|
|
11558
|
+
schema:
|
|
11559
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11560
|
+
default:
|
|
11561
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11562
|
+
"/collections/{collectionId}/share-links/{shareLinkId}":
|
|
11563
|
+
patch:
|
|
11564
|
+
operationId: updateCollectionShareLinkById
|
|
11565
|
+
summary: Update the details of a collection share link
|
|
11566
|
+
tags:
|
|
11567
|
+
- collections
|
|
11568
|
+
security:
|
|
11569
|
+
- user: []
|
|
11570
|
+
parameters:
|
|
11571
|
+
- $ref: "#/components/parameters/collectionId"
|
|
11572
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11573
|
+
requestBody:
|
|
11574
|
+
required: true
|
|
11575
|
+
content:
|
|
11576
|
+
application/json:
|
|
11577
|
+
schema:
|
|
11578
|
+
type: object
|
|
11579
|
+
minProperties: 1
|
|
11580
|
+
properties:
|
|
11581
|
+
active:
|
|
11582
|
+
type: boolean
|
|
11583
|
+
name:
|
|
11584
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
11585
|
+
responses:
|
|
11586
|
+
"200":
|
|
11587
|
+
description: The collection share link has been updated
|
|
11588
|
+
content:
|
|
11589
|
+
application/json:
|
|
11590
|
+
schema:
|
|
11591
|
+
$ref: "#/components/schemas/ShareLink"
|
|
11592
|
+
default:
|
|
11593
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11594
|
+
delete:
|
|
11595
|
+
operationId: deleteCollectionShareLinkById
|
|
11596
|
+
summary: Deletes a collection share link
|
|
11597
|
+
tags:
|
|
11598
|
+
- collections
|
|
11599
|
+
security:
|
|
11600
|
+
- user: []
|
|
11601
|
+
parameters:
|
|
11602
|
+
- $ref: "#/components/parameters/collectionId"
|
|
11603
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
11604
|
+
responses:
|
|
11605
|
+
"205":
|
|
11606
|
+
description: Collection share link has been deleted
|
|
11607
|
+
default:
|
|
11608
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11268
11609
|
/integrations:
|
|
11269
11610
|
get:
|
|
11270
11611
|
operationId: listIntegrations
|
|
@@ -11274,6 +11615,7 @@ paths:
|
|
|
11274
11615
|
parameters:
|
|
11275
11616
|
- $ref: "#/components/parameters/listPage"
|
|
11276
11617
|
- $ref: "#/components/parameters/listLimit"
|
|
11618
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
11277
11619
|
- name: category
|
|
11278
11620
|
in: query
|
|
11279
11621
|
description: Filter the integrations by category
|
|
@@ -11989,6 +12331,19 @@ paths:
|
|
|
11989
12331
|
nullable: true
|
|
11990
12332
|
enum:
|
|
11991
12333
|
- null
|
|
12334
|
+
logo:
|
|
12335
|
+
oneOf:
|
|
12336
|
+
- $ref: "#/components/schemas/URL"
|
|
12337
|
+
- type: string
|
|
12338
|
+
nullable: true
|
|
12339
|
+
enum:
|
|
12340
|
+
- null
|
|
12341
|
+
sso:
|
|
12342
|
+
type: boolean
|
|
12343
|
+
aiSearch:
|
|
12344
|
+
type: boolean
|
|
12345
|
+
aiInsights:
|
|
12346
|
+
type: boolean
|
|
11992
12347
|
responses:
|
|
11993
12348
|
"200":
|
|
11994
12349
|
description: The organization has been updated
|
|
@@ -12547,12 +12902,7 @@ paths:
|
|
|
12547
12902
|
- user: []
|
|
12548
12903
|
parameters:
|
|
12549
12904
|
- $ref: "#/components/parameters/organizationId"
|
|
12550
|
-
-
|
|
12551
|
-
in: path
|
|
12552
|
-
required: true
|
|
12553
|
-
description: The unique id of the invite
|
|
12554
|
-
schema:
|
|
12555
|
-
type: string
|
|
12905
|
+
- $ref: "#/components/parameters/inviteId"
|
|
12556
12906
|
responses:
|
|
12557
12907
|
"200":
|
|
12558
12908
|
description: OK
|
|
@@ -12563,6 +12913,51 @@ paths:
|
|
|
12563
12913
|
properties: {}
|
|
12564
12914
|
default:
|
|
12565
12915
|
$ref: "#/components/responses/UnexpectedError"
|
|
12916
|
+
patch:
|
|
12917
|
+
operationId: updateOrganizationInviteById
|
|
12918
|
+
summary: Update an organization invite.
|
|
12919
|
+
tags:
|
|
12920
|
+
- organizations
|
|
12921
|
+
security:
|
|
12922
|
+
- user: []
|
|
12923
|
+
parameters:
|
|
12924
|
+
- $ref: "#/components/parameters/organizationId"
|
|
12925
|
+
- $ref: "#/components/parameters/inviteId"
|
|
12926
|
+
requestBody:
|
|
12927
|
+
required: true
|
|
12928
|
+
content:
|
|
12929
|
+
application/json:
|
|
12930
|
+
schema:
|
|
12931
|
+
type: object
|
|
12932
|
+
properties:
|
|
12933
|
+
role:
|
|
12934
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
12935
|
+
contentLevel:
|
|
12936
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
12937
|
+
responses:
|
|
12938
|
+
"200":
|
|
12939
|
+
description: The organization invite has been updated
|
|
12940
|
+
content:
|
|
12941
|
+
application/json:
|
|
12942
|
+
schema:
|
|
12943
|
+
$ref: "#/components/schemas/OrganizationInvite"
|
|
12944
|
+
default:
|
|
12945
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
12946
|
+
delete:
|
|
12947
|
+
operationId: deleteOrganizationInviteById
|
|
12948
|
+
summary: Deletes an organization invite.
|
|
12949
|
+
tags:
|
|
12950
|
+
- organizations
|
|
12951
|
+
security:
|
|
12952
|
+
- user: []
|
|
12953
|
+
parameters:
|
|
12954
|
+
- $ref: "#/components/parameters/organizationId"
|
|
12955
|
+
- $ref: "#/components/parameters/inviteId"
|
|
12956
|
+
responses:
|
|
12957
|
+
"205":
|
|
12958
|
+
description: The organization invite has been deleted
|
|
12959
|
+
default:
|
|
12960
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
12566
12961
|
"/orgs/{organizationId}/billing":
|
|
12567
12962
|
post:
|
|
12568
12963
|
operationId: upgradeOrganizationPlan
|
|
@@ -13064,6 +13459,7 @@ paths:
|
|
|
13064
13459
|
- $ref: "#/components/parameters/organizationId"
|
|
13065
13460
|
- $ref: "#/components/parameters/listPage"
|
|
13066
13461
|
- $ref: "#/components/parameters/listLimit"
|
|
13462
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
13067
13463
|
responses:
|
|
13068
13464
|
"200":
|
|
13069
13465
|
description: List of integrations.
|
|
@@ -13118,6 +13514,7 @@ paths:
|
|
|
13118
13514
|
- $ref: "#/components/parameters/organizationId"
|
|
13119
13515
|
- $ref: "#/components/parameters/listPage"
|
|
13120
13516
|
- $ref: "#/components/parameters/listLimit"
|
|
13517
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
13121
13518
|
responses:
|
|
13122
13519
|
"200":
|
|
13123
13520
|
description: List of integrations with the associated installations.
|
|
@@ -13471,49 +13868,6 @@ paths:
|
|
|
13471
13868
|
$ref: "#/components/schemas/Capture"
|
|
13472
13869
|
default:
|
|
13473
13870
|
$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
13871
|
"/orgs/{organizationId}/captures/{captureId}/events":
|
|
13518
13872
|
post:
|
|
13519
13873
|
operationId: addEventsToCapture
|
|
@@ -13591,7 +13945,6 @@ paths:
|
|
|
13591
13945
|
- user: []
|
|
13592
13946
|
parameters:
|
|
13593
13947
|
- $ref: "#/components/parameters/organizationId"
|
|
13594
|
-
- $ref: "#/components/parameters/pageFormat"
|
|
13595
13948
|
- $ref: "#/components/parameters/listPage"
|
|
13596
13949
|
- $ref: "#/components/parameters/listLimit"
|
|
13597
13950
|
- name: source
|
|
@@ -13656,7 +14009,6 @@ paths:
|
|
|
13656
14009
|
parameters:
|
|
13657
14010
|
- $ref: "#/components/parameters/organizationId"
|
|
13658
14011
|
- $ref: "#/components/parameters/snippetId"
|
|
13659
|
-
- $ref: "#/components/parameters/pageFormat"
|
|
13660
14012
|
responses:
|
|
13661
14013
|
"200":
|
|
13662
14014
|
description: OK
|