@gitbook/api 0.138.0 → 0.140.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 +246 -79
- package/dist/index.cjs +34 -14
- package/dist/index.js +33 -14
- package/package.json +1 -1
- package/spec/openapi.json +764 -186
- package/spec/openapi.yaml +497 -122
package/spec/openapi.json
CHANGED
|
@@ -308,6 +308,13 @@
|
|
|
308
308
|
"x-parent": "translations",
|
|
309
309
|
"description": "Enable or disable specific languages, configure default text direction, or adjust advanced translation settings to ensure clarity for your global audience.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"TranslationLanguageSettings\" grouped=\"false\" %}\n The TranslationLanguageSettings object\n{% endopenapi-schemas %}\n"
|
|
310
310
|
},
|
|
311
|
+
{
|
|
312
|
+
"name": "imports",
|
|
313
|
+
"x-page-icon": "cloud-arrow-up",
|
|
314
|
+
"x-page-title": "Imports",
|
|
315
|
+
"x-page-description": "Import content into GitBook.",
|
|
316
|
+
"description": "The Imports API provides allows you to import content into GitBook.\n"
|
|
317
|
+
},
|
|
311
318
|
{
|
|
312
319
|
"name": "glossary",
|
|
313
320
|
"x-page-title": "Glossary",
|
|
@@ -646,6 +653,9 @@
|
|
|
646
653
|
},
|
|
647
654
|
"language": {
|
|
648
655
|
"$ref": "#/components/schemas/TranslationLanguage"
|
|
656
|
+
},
|
|
657
|
+
"mergeRules": {
|
|
658
|
+
"$ref": "#/components/schemas/MergeRulesSpaceConfiguration"
|
|
649
659
|
}
|
|
650
660
|
}
|
|
651
661
|
},
|
|
@@ -2413,6 +2423,15 @@
|
|
|
2413
2423
|
},
|
|
2414
2424
|
"description": "If defined, only change requests matching this status will be returned."
|
|
2415
2425
|
},
|
|
2426
|
+
{
|
|
2427
|
+
"name": "creator",
|
|
2428
|
+
"in": "query",
|
|
2429
|
+
"required": false,
|
|
2430
|
+
"schema": {
|
|
2431
|
+
"type": "string"
|
|
2432
|
+
},
|
|
2433
|
+
"description": "If defined, only change requests created by this user will be returned."
|
|
2434
|
+
},
|
|
2416
2435
|
{
|
|
2417
2436
|
"name": "contributor",
|
|
2418
2437
|
"in": "query",
|
|
@@ -2521,6 +2540,9 @@
|
|
|
2521
2540
|
"subject": {
|
|
2522
2541
|
"$ref": "#/components/schemas/ChangeRequestSubject"
|
|
2523
2542
|
},
|
|
2543
|
+
"description": {
|
|
2544
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
2545
|
+
},
|
|
2524
2546
|
"status": {
|
|
2525
2547
|
"type": "string",
|
|
2526
2548
|
"enum": [
|
|
@@ -2892,6 +2914,10 @@
|
|
|
2892
2914
|
"subject": {
|
|
2893
2915
|
"type": "string",
|
|
2894
2916
|
"description": "Optionally, update the subject of the change request when requesting reviewers."
|
|
2917
|
+
},
|
|
2918
|
+
"description": {
|
|
2919
|
+
"$ref": "#/components/schemas/JSONDocument",
|
|
2920
|
+
"description": "Optionally, update the description of the change request when requesting reviewers."
|
|
2895
2921
|
}
|
|
2896
2922
|
},
|
|
2897
2923
|
"required": [
|
|
@@ -5467,43 +5493,6 @@
|
|
|
5467
5493
|
}
|
|
5468
5494
|
}
|
|
5469
5495
|
},
|
|
5470
|
-
"/spaces/{spaceId}/integration-scripts": {
|
|
5471
|
-
"get": {
|
|
5472
|
-
"operationId": "listSpaceIntegrationScripts",
|
|
5473
|
-
"summary": "List all the scripts to embed in published content for a space",
|
|
5474
|
-
"tags": [
|
|
5475
|
-
"space-integrations"
|
|
5476
|
-
],
|
|
5477
|
-
"security": [
|
|
5478
|
-
{
|
|
5479
|
-
"user": []
|
|
5480
|
-
}
|
|
5481
|
-
],
|
|
5482
|
-
"parameters": [
|
|
5483
|
-
{
|
|
5484
|
-
"$ref": "#/components/parameters/spaceId"
|
|
5485
|
-
}
|
|
5486
|
-
],
|
|
5487
|
-
"responses": {
|
|
5488
|
-
"200": {
|
|
5489
|
-
"description": "OK",
|
|
5490
|
-
"content": {
|
|
5491
|
-
"application/json": {
|
|
5492
|
-
"schema": {
|
|
5493
|
-
"type": "array",
|
|
5494
|
-
"items": {
|
|
5495
|
-
"$ref": "#/components/schemas/SpaceIntegrationScript"
|
|
5496
|
-
}
|
|
5497
|
-
}
|
|
5498
|
-
}
|
|
5499
|
-
}
|
|
5500
|
-
},
|
|
5501
|
-
"400": {
|
|
5502
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
5503
|
-
}
|
|
5504
|
-
}
|
|
5505
|
-
}
|
|
5506
|
-
},
|
|
5507
5496
|
"/spaces/{spaceId}/pdf": {
|
|
5508
5497
|
"get": {
|
|
5509
5498
|
"operationId": "getSpacePDF",
|
|
@@ -7816,6 +7805,9 @@
|
|
|
7816
7805
|
},
|
|
7817
7806
|
"inviteLinks": {
|
|
7818
7807
|
"type": "boolean"
|
|
7808
|
+
},
|
|
7809
|
+
"mergeRules": {
|
|
7810
|
+
"$ref": "#/components/schemas/MergeRulesStandaloneConfiguration"
|
|
7819
7811
|
}
|
|
7820
7812
|
}
|
|
7821
7813
|
}
|
|
@@ -8992,6 +8984,39 @@
|
|
|
8992
8984
|
}
|
|
8993
8985
|
}
|
|
8994
8986
|
},
|
|
8987
|
+
"/orgs/{organizationId}/join": {
|
|
8988
|
+
"post": {
|
|
8989
|
+
"operationId": "joinOrganization",
|
|
8990
|
+
"summary": "Join an organization",
|
|
8991
|
+
"description": "Join an organization if the user's verified email domain matches one of the organization's allowed email domains.\nThis endpoint allows existing users to join organizations they're eligible for based on their email domain.\n",
|
|
8992
|
+
"tags": [
|
|
8993
|
+
"organizations"
|
|
8994
|
+
],
|
|
8995
|
+
"security": [
|
|
8996
|
+
{
|
|
8997
|
+
"user": []
|
|
8998
|
+
}
|
|
8999
|
+
],
|
|
9000
|
+
"parameters": [
|
|
9001
|
+
{
|
|
9002
|
+
"$ref": "#/components/parameters/organizationId"
|
|
9003
|
+
}
|
|
9004
|
+
],
|
|
9005
|
+
"responses": {
|
|
9006
|
+
"204": {
|
|
9007
|
+
"description": "Successfully joined the organization"
|
|
9008
|
+
},
|
|
9009
|
+
"400": {
|
|
9010
|
+
"description": "User's email domain is not valid",
|
|
9011
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
9012
|
+
},
|
|
9013
|
+
"404": {
|
|
9014
|
+
"description": "Organization not found",
|
|
9015
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
9016
|
+
}
|
|
9017
|
+
}
|
|
9018
|
+
}
|
|
9019
|
+
},
|
|
8995
9020
|
"/orgs/{organizationId}/search": {
|
|
8996
9021
|
"get": {
|
|
8997
9022
|
"operationId": "searchOrganizationContent",
|
|
@@ -9056,6 +9081,89 @@
|
|
|
9056
9081
|
}
|
|
9057
9082
|
}
|
|
9058
9083
|
},
|
|
9084
|
+
"/orgs/{organizationId}/change-requests": {
|
|
9085
|
+
"get": {
|
|
9086
|
+
"operationId": "listChangeRequestsForOrganization",
|
|
9087
|
+
"summary": "List all change requests in an organization",
|
|
9088
|
+
"tags": [
|
|
9089
|
+
"change-requests"
|
|
9090
|
+
],
|
|
9091
|
+
"security": [
|
|
9092
|
+
{
|
|
9093
|
+
"user": []
|
|
9094
|
+
}
|
|
9095
|
+
],
|
|
9096
|
+
"parameters": [
|
|
9097
|
+
{
|
|
9098
|
+
"$ref": "#/components/parameters/listPage"
|
|
9099
|
+
},
|
|
9100
|
+
{
|
|
9101
|
+
"$ref": "#/components/parameters/listLimit"
|
|
9102
|
+
},
|
|
9103
|
+
{
|
|
9104
|
+
"$ref": "#/components/parameters/organizationId"
|
|
9105
|
+
},
|
|
9106
|
+
{
|
|
9107
|
+
"name": "status",
|
|
9108
|
+
"in": "query",
|
|
9109
|
+
"required": false,
|
|
9110
|
+
"schema": {
|
|
9111
|
+
"$ref": "#/components/schemas/ChangeRequestStatus",
|
|
9112
|
+
"default": "open"
|
|
9113
|
+
},
|
|
9114
|
+
"description": "If defined, only change requests matching this status will be returned."
|
|
9115
|
+
},
|
|
9116
|
+
{
|
|
9117
|
+
"name": "creator",
|
|
9118
|
+
"in": "query",
|
|
9119
|
+
"required": false,
|
|
9120
|
+
"schema": {
|
|
9121
|
+
"type": "string"
|
|
9122
|
+
},
|
|
9123
|
+
"description": "If defined, only change requests created by this user will be returned."
|
|
9124
|
+
},
|
|
9125
|
+
{
|
|
9126
|
+
"name": "contributor",
|
|
9127
|
+
"in": "query",
|
|
9128
|
+
"required": false,
|
|
9129
|
+
"schema": {
|
|
9130
|
+
"type": "string"
|
|
9131
|
+
},
|
|
9132
|
+
"description": "If defined, only change requests with contributions from this user will be returned."
|
|
9133
|
+
}
|
|
9134
|
+
],
|
|
9135
|
+
"responses": {
|
|
9136
|
+
"200": {
|
|
9137
|
+
"description": "List of the organization's change requests",
|
|
9138
|
+
"content": {
|
|
9139
|
+
"application/json": {
|
|
9140
|
+
"schema": {
|
|
9141
|
+
"allOf": [
|
|
9142
|
+
{
|
|
9143
|
+
"$ref": "#/components/schemas/List"
|
|
9144
|
+
},
|
|
9145
|
+
{
|
|
9146
|
+
"type": "object",
|
|
9147
|
+
"required": [
|
|
9148
|
+
"items"
|
|
9149
|
+
],
|
|
9150
|
+
"properties": {
|
|
9151
|
+
"items": {
|
|
9152
|
+
"type": "array",
|
|
9153
|
+
"items": {
|
|
9154
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
9155
|
+
}
|
|
9156
|
+
}
|
|
9157
|
+
}
|
|
9158
|
+
}
|
|
9159
|
+
]
|
|
9160
|
+
}
|
|
9161
|
+
}
|
|
9162
|
+
}
|
|
9163
|
+
}
|
|
9164
|
+
}
|
|
9165
|
+
}
|
|
9166
|
+
},
|
|
9059
9167
|
"/orgs/{organizationId}/spaces": {
|
|
9060
9168
|
"get": {
|
|
9061
9169
|
"operationId": "listSpacesInOrganizationById",
|
|
@@ -9479,12 +9587,23 @@
|
|
|
9479
9587
|
"$ref": "#/components/parameters/listLimit"
|
|
9480
9588
|
},
|
|
9481
9589
|
{
|
|
9482
|
-
"
|
|
9590
|
+
"name": "target",
|
|
9591
|
+
"in": "query",
|
|
9592
|
+
"description": "Filter installations by their target (organization, space, or site). When not provided, defaults to organization-level installations for backwards compatibility",
|
|
9593
|
+
"schema": {
|
|
9594
|
+
"type": "string",
|
|
9595
|
+
"default": "organization",
|
|
9596
|
+
"enum": [
|
|
9597
|
+
"organization",
|
|
9598
|
+
"space",
|
|
9599
|
+
"site"
|
|
9600
|
+
]
|
|
9601
|
+
}
|
|
9483
9602
|
}
|
|
9484
9603
|
],
|
|
9485
9604
|
"responses": {
|
|
9486
9605
|
"200": {
|
|
9487
|
-
"description": "List of integrations
|
|
9606
|
+
"description": "List of installed integrations and their statuses",
|
|
9488
9607
|
"content": {
|
|
9489
9608
|
"application/json": {
|
|
9490
9609
|
"schema": {
|
|
@@ -9501,19 +9620,7 @@
|
|
|
9501
9620
|
"items": {
|
|
9502
9621
|
"type": "array",
|
|
9503
9622
|
"items": {
|
|
9504
|
-
"
|
|
9505
|
-
"required": [
|
|
9506
|
-
"status",
|
|
9507
|
-
"integration"
|
|
9508
|
-
],
|
|
9509
|
-
"properties": {
|
|
9510
|
-
"status": {
|
|
9511
|
-
"$ref": "#/components/schemas/IntegrationInstallationStatus"
|
|
9512
|
-
},
|
|
9513
|
-
"integration": {
|
|
9514
|
-
"$ref": "#/components/schemas/Integration"
|
|
9515
|
-
}
|
|
9516
|
-
}
|
|
9623
|
+
"$ref": "#/components/schemas/InstalledIntegration"
|
|
9517
9624
|
}
|
|
9518
9625
|
}
|
|
9519
9626
|
}
|
|
@@ -11689,6 +11796,66 @@
|
|
|
11689
11796
|
}
|
|
11690
11797
|
}
|
|
11691
11798
|
},
|
|
11799
|
+
"/org/{organizationId}/imports": {
|
|
11800
|
+
"post": {
|
|
11801
|
+
"operationId": "startImportRun",
|
|
11802
|
+
"summary": "Import content into a space from a website",
|
|
11803
|
+
"tags": [
|
|
11804
|
+
"imports"
|
|
11805
|
+
],
|
|
11806
|
+
"x-internal": true,
|
|
11807
|
+
"security": [
|
|
11808
|
+
{
|
|
11809
|
+
"user-internal": []
|
|
11810
|
+
}
|
|
11811
|
+
],
|
|
11812
|
+
"parameters": [
|
|
11813
|
+
{
|
|
11814
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11815
|
+
}
|
|
11816
|
+
],
|
|
11817
|
+
"requestBody": {
|
|
11818
|
+
"required": true,
|
|
11819
|
+
"content": {
|
|
11820
|
+
"application/json": {
|
|
11821
|
+
"schema": {
|
|
11822
|
+
"type": "object",
|
|
11823
|
+
"properties": {
|
|
11824
|
+
"source": {
|
|
11825
|
+
"$ref": "#/components/schemas/ContentImportSource"
|
|
11826
|
+
},
|
|
11827
|
+
"target": {
|
|
11828
|
+
"$ref": "#/components/schemas/ContentImportTarget"
|
|
11829
|
+
}
|
|
11830
|
+
},
|
|
11831
|
+
"required": [
|
|
11832
|
+
"source",
|
|
11833
|
+
"target"
|
|
11834
|
+
]
|
|
11835
|
+
}
|
|
11836
|
+
}
|
|
11837
|
+
}
|
|
11838
|
+
},
|
|
11839
|
+
"responses": {
|
|
11840
|
+
"201": {
|
|
11841
|
+
"description": "Import run created successfully.",
|
|
11842
|
+
"content": {
|
|
11843
|
+
"application/json": {
|
|
11844
|
+
"schema": {
|
|
11845
|
+
"$ref": "#/components/schemas/ContentImportRun"
|
|
11846
|
+
}
|
|
11847
|
+
}
|
|
11848
|
+
}
|
|
11849
|
+
},
|
|
11850
|
+
"400": {
|
|
11851
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11852
|
+
},
|
|
11853
|
+
"404": {
|
|
11854
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11855
|
+
}
|
|
11856
|
+
}
|
|
11857
|
+
}
|
|
11858
|
+
},
|
|
11692
11859
|
"/orgs/{organizationId}/sites": {
|
|
11693
11860
|
"get": {
|
|
11694
11861
|
"operationId": "listSites",
|
|
@@ -13617,7 +13784,7 @@
|
|
|
13617
13784
|
"description": "Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.",
|
|
13618
13785
|
"oneOf": [
|
|
13619
13786
|
{
|
|
13620
|
-
"$ref": "#/components/schemas/
|
|
13787
|
+
"$ref": "#/components/schemas/Expression"
|
|
13621
13788
|
},
|
|
13622
13789
|
{
|
|
13623
13790
|
"type": "string",
|
|
@@ -14021,7 +14188,7 @@
|
|
|
14021
14188
|
"description": "Conditional expression used to evaluate whether the site space should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.",
|
|
14022
14189
|
"oneOf": [
|
|
14023
14190
|
{
|
|
14024
|
-
"$ref": "#/components/schemas/
|
|
14191
|
+
"$ref": "#/components/schemas/Expression"
|
|
14025
14192
|
},
|
|
14026
14193
|
{
|
|
14027
14194
|
"type": "string",
|
|
@@ -17208,6 +17375,192 @@
|
|
|
17208
17375
|
"locked"
|
|
17209
17376
|
]
|
|
17210
17377
|
},
|
|
17378
|
+
"MergeRulesConfigurationInherit": {
|
|
17379
|
+
"type": "object",
|
|
17380
|
+
"description": "The merge rules inherits from the organization configuration.",
|
|
17381
|
+
"properties": {
|
|
17382
|
+
"type": {
|
|
17383
|
+
"type": "string",
|
|
17384
|
+
"enum": [
|
|
17385
|
+
"inherit"
|
|
17386
|
+
]
|
|
17387
|
+
}
|
|
17388
|
+
},
|
|
17389
|
+
"required": [
|
|
17390
|
+
"type"
|
|
17391
|
+
]
|
|
17392
|
+
},
|
|
17393
|
+
"Expression": {
|
|
17394
|
+
"type": "string",
|
|
17395
|
+
"description": "Expression to evaluate",
|
|
17396
|
+
"minLength": 0,
|
|
17397
|
+
"maxLength": 1024
|
|
17398
|
+
},
|
|
17399
|
+
"MergeRule": {
|
|
17400
|
+
"oneOf": [
|
|
17401
|
+
{
|
|
17402
|
+
"type": "object",
|
|
17403
|
+
"properties": {
|
|
17404
|
+
"rule": {
|
|
17405
|
+
"type": "string",
|
|
17406
|
+
"enum": [
|
|
17407
|
+
"require_specific_reviewers"
|
|
17408
|
+
]
|
|
17409
|
+
},
|
|
17410
|
+
"users": {
|
|
17411
|
+
"type": "array",
|
|
17412
|
+
"description": "List of user IDs.",
|
|
17413
|
+
"items": {
|
|
17414
|
+
"type": "string"
|
|
17415
|
+
}
|
|
17416
|
+
}
|
|
17417
|
+
},
|
|
17418
|
+
"required": [
|
|
17419
|
+
"rule",
|
|
17420
|
+
"users"
|
|
17421
|
+
]
|
|
17422
|
+
},
|
|
17423
|
+
{
|
|
17424
|
+
"type": "object",
|
|
17425
|
+
"properties": {
|
|
17426
|
+
"rule": {
|
|
17427
|
+
"type": "string",
|
|
17428
|
+
"enum": [
|
|
17429
|
+
"require_one_of_specific_reviewers"
|
|
17430
|
+
]
|
|
17431
|
+
},
|
|
17432
|
+
"users": {
|
|
17433
|
+
"type": "array",
|
|
17434
|
+
"description": "List of user IDs.",
|
|
17435
|
+
"items": {
|
|
17436
|
+
"type": "string"
|
|
17437
|
+
}
|
|
17438
|
+
}
|
|
17439
|
+
},
|
|
17440
|
+
"required": [
|
|
17441
|
+
"rule",
|
|
17442
|
+
"users"
|
|
17443
|
+
]
|
|
17444
|
+
},
|
|
17445
|
+
{
|
|
17446
|
+
"type": "object",
|
|
17447
|
+
"properties": {
|
|
17448
|
+
"rule": {
|
|
17449
|
+
"type": "string",
|
|
17450
|
+
"enum": [
|
|
17451
|
+
"allow_bypass"
|
|
17452
|
+
]
|
|
17453
|
+
},
|
|
17454
|
+
"users": {
|
|
17455
|
+
"type": "array",
|
|
17456
|
+
"description": "List of user IDs.",
|
|
17457
|
+
"items": {
|
|
17458
|
+
"type": "string"
|
|
17459
|
+
}
|
|
17460
|
+
}
|
|
17461
|
+
},
|
|
17462
|
+
"required": [
|
|
17463
|
+
"rule",
|
|
17464
|
+
"users"
|
|
17465
|
+
]
|
|
17466
|
+
},
|
|
17467
|
+
{
|
|
17468
|
+
"type": "object",
|
|
17469
|
+
"properties": {
|
|
17470
|
+
"rule": {
|
|
17471
|
+
"type": "string",
|
|
17472
|
+
"enum": [
|
|
17473
|
+
"require_at_least_one_review",
|
|
17474
|
+
"require_all_reviews_approved",
|
|
17475
|
+
"require_agent_review",
|
|
17476
|
+
"require_up_to_date_change_request",
|
|
17477
|
+
"require_change_request_subject",
|
|
17478
|
+
"require_change_request_description"
|
|
17479
|
+
]
|
|
17480
|
+
}
|
|
17481
|
+
},
|
|
17482
|
+
"required": [
|
|
17483
|
+
"rule"
|
|
17484
|
+
]
|
|
17485
|
+
},
|
|
17486
|
+
{
|
|
17487
|
+
"type": "object",
|
|
17488
|
+
"description": "The merge rule is written in the advanced custom expression syntax.",
|
|
17489
|
+
"properties": {
|
|
17490
|
+
"rule": {
|
|
17491
|
+
"type": "string",
|
|
17492
|
+
"enum": [
|
|
17493
|
+
"custom"
|
|
17494
|
+
]
|
|
17495
|
+
},
|
|
17496
|
+
"expression": {
|
|
17497
|
+
"$ref": "#/components/schemas/Expression"
|
|
17498
|
+
}
|
|
17499
|
+
},
|
|
17500
|
+
"required": [
|
|
17501
|
+
"rule",
|
|
17502
|
+
"expression"
|
|
17503
|
+
]
|
|
17504
|
+
}
|
|
17505
|
+
]
|
|
17506
|
+
},
|
|
17507
|
+
"MergeRulesConfigurationRules": {
|
|
17508
|
+
"type": "object",
|
|
17509
|
+
"description": "The merge rules are composed of individual rules that must all pass.",
|
|
17510
|
+
"properties": {
|
|
17511
|
+
"type": {
|
|
17512
|
+
"type": "string",
|
|
17513
|
+
"enum": [
|
|
17514
|
+
"rules"
|
|
17515
|
+
]
|
|
17516
|
+
},
|
|
17517
|
+
"rules": {
|
|
17518
|
+
"type": "array",
|
|
17519
|
+
"items": {
|
|
17520
|
+
"$ref": "#/components/schemas/MergeRule"
|
|
17521
|
+
}
|
|
17522
|
+
}
|
|
17523
|
+
},
|
|
17524
|
+
"required": [
|
|
17525
|
+
"type",
|
|
17526
|
+
"rules"
|
|
17527
|
+
]
|
|
17528
|
+
},
|
|
17529
|
+
"MergeRulesConfigurationNone": {
|
|
17530
|
+
"type": "object",
|
|
17531
|
+
"description": "The merge rules are disabled, change requests can be merged without review.",
|
|
17532
|
+
"properties": {
|
|
17533
|
+
"type": {
|
|
17534
|
+
"type": "string",
|
|
17535
|
+
"enum": [
|
|
17536
|
+
"none"
|
|
17537
|
+
]
|
|
17538
|
+
}
|
|
17539
|
+
},
|
|
17540
|
+
"required": [
|
|
17541
|
+
"type"
|
|
17542
|
+
]
|
|
17543
|
+
},
|
|
17544
|
+
"MergeRulesStandaloneConfiguration": {
|
|
17545
|
+
"oneOf": [
|
|
17546
|
+
{
|
|
17547
|
+
"$ref": "#/components/schemas/MergeRulesConfigurationRules"
|
|
17548
|
+
},
|
|
17549
|
+
{
|
|
17550
|
+
"$ref": "#/components/schemas/MergeRulesConfigurationNone"
|
|
17551
|
+
}
|
|
17552
|
+
]
|
|
17553
|
+
},
|
|
17554
|
+
"MergeRulesSpaceConfiguration": {
|
|
17555
|
+
"oneOf": [
|
|
17556
|
+
{
|
|
17557
|
+
"$ref": "#/components/schemas/MergeRulesConfigurationInherit"
|
|
17558
|
+
},
|
|
17559
|
+
{
|
|
17560
|
+
"$ref": "#/components/schemas/MergeRulesStandaloneConfiguration"
|
|
17561
|
+
}
|
|
17562
|
+
]
|
|
17563
|
+
},
|
|
17211
17564
|
"TranslationLanguage": {
|
|
17212
17565
|
"type": "string",
|
|
17213
17566
|
"enum": [
|
|
@@ -17419,6 +17772,9 @@
|
|
|
17419
17772
|
"editMode": {
|
|
17420
17773
|
"$ref": "#/components/schemas/SpaceEditMode"
|
|
17421
17774
|
},
|
|
17775
|
+
"mergeRules": {
|
|
17776
|
+
"$ref": "#/components/schemas/MergeRulesSpaceConfiguration"
|
|
17777
|
+
},
|
|
17422
17778
|
"urls": {
|
|
17423
17779
|
"type": "object",
|
|
17424
17780
|
"description": "URLs associated with the object",
|
|
@@ -17566,6 +17922,7 @@
|
|
|
17566
17922
|
"changeRequests",
|
|
17567
17923
|
"changeRequestsOpen",
|
|
17568
17924
|
"changeRequestsDraft",
|
|
17925
|
+
"mergeRules",
|
|
17569
17926
|
"urls",
|
|
17570
17927
|
"defaultLevel",
|
|
17571
17928
|
"permissions"
|
|
@@ -19571,6 +19928,47 @@
|
|
|
19571
19928
|
"cardSize"
|
|
19572
19929
|
]
|
|
19573
19930
|
},
|
|
19931
|
+
"CardsImageObjectFit": {
|
|
19932
|
+
"type": "string",
|
|
19933
|
+
"description": "Object fit for image display in card views",
|
|
19934
|
+
"enum": [
|
|
19935
|
+
"contain",
|
|
19936
|
+
"fill",
|
|
19937
|
+
"cover"
|
|
19938
|
+
]
|
|
19939
|
+
},
|
|
19940
|
+
"DocumentTableImageRecord": {
|
|
19941
|
+
"description": "A table record value for image columns, supporting both direct ContentRefs and the additional format with record-level settings.",
|
|
19942
|
+
"oneOf": [
|
|
19943
|
+
{
|
|
19944
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
19945
|
+
},
|
|
19946
|
+
{
|
|
19947
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
19948
|
+
},
|
|
19949
|
+
{
|
|
19950
|
+
"type": "object",
|
|
19951
|
+
"properties": {
|
|
19952
|
+
"ref": {
|
|
19953
|
+
"oneOf": [
|
|
19954
|
+
{
|
|
19955
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
19956
|
+
},
|
|
19957
|
+
{
|
|
19958
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
19959
|
+
}
|
|
19960
|
+
]
|
|
19961
|
+
},
|
|
19962
|
+
"objectFit": {
|
|
19963
|
+
"$ref": "#/components/schemas/CardsImageObjectFit"
|
|
19964
|
+
}
|
|
19965
|
+
},
|
|
19966
|
+
"required": [
|
|
19967
|
+
"ref"
|
|
19968
|
+
]
|
|
19969
|
+
}
|
|
19970
|
+
]
|
|
19971
|
+
},
|
|
19574
19972
|
"DocumentTableRecord": {
|
|
19575
19973
|
"type": "object",
|
|
19576
19974
|
"properties": {
|
|
@@ -19599,6 +19997,9 @@
|
|
|
19599
19997
|
},
|
|
19600
19998
|
{
|
|
19601
19999
|
"$ref": "#/components/schemas/ContentRef"
|
|
20000
|
+
},
|
|
20001
|
+
{
|
|
20002
|
+
"$ref": "#/components/schemas/DocumentTableImageRecord"
|
|
19602
20003
|
}
|
|
19603
20004
|
]
|
|
19604
20005
|
}
|
|
@@ -23281,6 +23682,9 @@
|
|
|
23281
23682
|
"subject": {
|
|
23282
23683
|
"$ref": "#/components/schemas/ChangeRequestSubject"
|
|
23283
23684
|
},
|
|
23685
|
+
"description": {
|
|
23686
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
23687
|
+
},
|
|
23284
23688
|
"createdBy": {
|
|
23285
23689
|
"$ref": "#/components/schemas/User"
|
|
23286
23690
|
},
|
|
@@ -23290,6 +23694,10 @@
|
|
|
23290
23694
|
"updatedAt": {
|
|
23291
23695
|
"$ref": "#/components/schemas/Timestamp"
|
|
23292
23696
|
},
|
|
23697
|
+
"space": {
|
|
23698
|
+
"type": "string",
|
|
23699
|
+
"description": "ID of the space in which the change request was created."
|
|
23700
|
+
},
|
|
23293
23701
|
"revision": {
|
|
23294
23702
|
"type": "string",
|
|
23295
23703
|
"description": "ID of the active revision in the change request."
|
|
@@ -23344,6 +23752,7 @@
|
|
|
23344
23752
|
"createdBy",
|
|
23345
23753
|
"createdAt",
|
|
23346
23754
|
"updatedAt",
|
|
23755
|
+
"space",
|
|
23347
23756
|
"revision",
|
|
23348
23757
|
"revisionInitial",
|
|
23349
23758
|
"comments",
|
|
@@ -23834,6 +24243,9 @@
|
|
|
23834
24243
|
"description": "Billing details, only available for org members.",
|
|
23835
24244
|
"$ref": "#/components/schemas/OrganizationBilling"
|
|
23836
24245
|
},
|
|
24246
|
+
"mergeRules": {
|
|
24247
|
+
"$ref": "#/components/schemas/MergeRulesStandaloneConfiguration"
|
|
24248
|
+
},
|
|
23837
24249
|
"urls": {
|
|
23838
24250
|
"type": "object",
|
|
23839
24251
|
"description": "URLs associated with the object",
|
|
@@ -23999,6 +24411,7 @@
|
|
|
23999
24411
|
"inviteLinks",
|
|
24000
24412
|
"type",
|
|
24001
24413
|
"emailDomains",
|
|
24414
|
+
"mergeRules",
|
|
24002
24415
|
"urls",
|
|
24003
24416
|
"trial",
|
|
24004
24417
|
"permissions"
|
|
@@ -24408,6 +24821,24 @@
|
|
|
24408
24821
|
"PARSE_ERROR"
|
|
24409
24822
|
]
|
|
24410
24823
|
},
|
|
24824
|
+
"OpenAPIErrorObject": {
|
|
24825
|
+
"type": "object",
|
|
24826
|
+
"description": "OpenAPI error object.",
|
|
24827
|
+
"properties": {
|
|
24828
|
+
"message": {
|
|
24829
|
+
"type": "string",
|
|
24830
|
+
"description": "Description of the error."
|
|
24831
|
+
},
|
|
24832
|
+
"error": {
|
|
24833
|
+
"type": "string",
|
|
24834
|
+
"description": "Unique code of the error."
|
|
24835
|
+
}
|
|
24836
|
+
},
|
|
24837
|
+
"required": [
|
|
24838
|
+
"message",
|
|
24839
|
+
"code"
|
|
24840
|
+
]
|
|
24841
|
+
},
|
|
24411
24842
|
"OpenAPISpec": {
|
|
24412
24843
|
"type": "object",
|
|
24413
24844
|
"properties": {
|
|
@@ -24453,6 +24884,12 @@
|
|
|
24453
24884
|
"lastProcessErrorCode": {
|
|
24454
24885
|
"$ref": "#/components/schemas/OpenAPISpecProcessingErrorCode"
|
|
24455
24886
|
},
|
|
24887
|
+
"lastProcessedErrors": {
|
|
24888
|
+
"type": "array",
|
|
24889
|
+
"items": {
|
|
24890
|
+
"$ref": "#/components/schemas/OpenAPIErrorObject"
|
|
24891
|
+
}
|
|
24892
|
+
},
|
|
24456
24893
|
"permissions": {
|
|
24457
24894
|
"type": "object",
|
|
24458
24895
|
"description": "The set of permissions for the OpenAPI specification.",
|
|
@@ -25217,12 +25654,20 @@
|
|
|
25217
25654
|
},
|
|
25218
25655
|
"user": {
|
|
25219
25656
|
"$ref": "#/components/schemas/User"
|
|
25657
|
+
},
|
|
25658
|
+
"actionType": {
|
|
25659
|
+
"type": "string",
|
|
25660
|
+
"enum": [
|
|
25661
|
+
"edit",
|
|
25662
|
+
"comment"
|
|
25663
|
+
]
|
|
25220
25664
|
}
|
|
25221
25665
|
},
|
|
25222
25666
|
"required": [
|
|
25223
25667
|
"updatedAt",
|
|
25224
25668
|
"count",
|
|
25225
|
-
"user"
|
|
25669
|
+
"user",
|
|
25670
|
+
"actionType"
|
|
25226
25671
|
]
|
|
25227
25672
|
},
|
|
25228
25673
|
"RevisionPageType": {
|
|
@@ -25921,15 +26366,11 @@
|
|
|
25921
26366
|
"IntegrationScope": {
|
|
25922
26367
|
"type": "string",
|
|
25923
26368
|
"enum": [
|
|
25924
|
-
"space:views:read",
|
|
25925
26369
|
"space:content:read",
|
|
25926
26370
|
"space:content:write",
|
|
25927
26371
|
"space:metadata:read",
|
|
25928
26372
|
"space:metadata:write",
|
|
25929
|
-
"space:script:inject",
|
|
25930
|
-
"space:script:cookies",
|
|
25931
26373
|
"space:git:sync",
|
|
25932
|
-
"space:visitor:auth",
|
|
25933
26374
|
"site:metadata:read",
|
|
25934
26375
|
"site:views:read",
|
|
25935
26376
|
"site:script:inject",
|
|
@@ -25937,7 +26378,6 @@
|
|
|
25937
26378
|
"site:visitor:auth",
|
|
25938
26379
|
"site:adaptive:read",
|
|
25939
26380
|
"site:adaptive:write",
|
|
25940
|
-
"site:ai:ask",
|
|
25941
26381
|
"openapi:read",
|
|
25942
26382
|
"openapi:write",
|
|
25943
26383
|
"conversations:ingest"
|
|
@@ -26457,27 +26897,6 @@
|
|
|
26457
26897
|
}
|
|
26458
26898
|
}
|
|
26459
26899
|
},
|
|
26460
|
-
"SpaceIntegrationScript": {
|
|
26461
|
-
"type": "object",
|
|
26462
|
-
"properties": {
|
|
26463
|
-
"script": {
|
|
26464
|
-
"description": "Script URL to load.",
|
|
26465
|
-
"$ref": "#/components/schemas/URL"
|
|
26466
|
-
},
|
|
26467
|
-
"contentSecurityPolicy": {
|
|
26468
|
-
"description": "Content Security Policy to secure the loading of this script.",
|
|
26469
|
-
"type": "string"
|
|
26470
|
-
},
|
|
26471
|
-
"cookies": {
|
|
26472
|
-
"type": "boolean",
|
|
26473
|
-
"description": "If true, the script will potentially load use cookies and visitors should be aware."
|
|
26474
|
-
}
|
|
26475
|
-
},
|
|
26476
|
-
"required": [
|
|
26477
|
-
"script",
|
|
26478
|
-
"cookies"
|
|
26479
|
-
]
|
|
26480
|
-
},
|
|
26481
26900
|
"IntegrationSecrets": {
|
|
26482
26901
|
"type": "object",
|
|
26483
26902
|
"description": "Secrets stored on the integration and passed at runtime.",
|
|
@@ -27008,78 +27427,6 @@
|
|
|
27008
27427
|
}
|
|
27009
27428
|
]
|
|
27010
27429
|
},
|
|
27011
|
-
"SpaceViewEvent": {
|
|
27012
|
-
"allOf": [
|
|
27013
|
-
{
|
|
27014
|
-
"$ref": "#/components/schemas/SpaceEvent"
|
|
27015
|
-
},
|
|
27016
|
-
{
|
|
27017
|
-
"type": "object",
|
|
27018
|
-
"description": "Event received when a page has been visited.",
|
|
27019
|
-
"properties": {
|
|
27020
|
-
"type": {
|
|
27021
|
-
"type": "string",
|
|
27022
|
-
"enum": [
|
|
27023
|
-
"space_view"
|
|
27024
|
-
]
|
|
27025
|
-
},
|
|
27026
|
-
"pageId": {
|
|
27027
|
-
"type": "string",
|
|
27028
|
-
"description": "Unique identifier of the visited page."
|
|
27029
|
-
},
|
|
27030
|
-
"visitor": {
|
|
27031
|
-
"type": "object",
|
|
27032
|
-
"description": "Analytics info on the GitBook's content visitor.",
|
|
27033
|
-
"properties": {
|
|
27034
|
-
"anonymousId": {
|
|
27035
|
-
"type": "string",
|
|
27036
|
-
"description": "GitBook's unique identifier of the visitor."
|
|
27037
|
-
},
|
|
27038
|
-
"cookies": {
|
|
27039
|
-
"type": "object",
|
|
27040
|
-
"description": "The visitors cookies.",
|
|
27041
|
-
"additionalProperties": {
|
|
27042
|
-
"type": "string"
|
|
27043
|
-
}
|
|
27044
|
-
},
|
|
27045
|
-
"userAgent": {
|
|
27046
|
-
"type": "string",
|
|
27047
|
-
"description": "User-agent of the visitor."
|
|
27048
|
-
},
|
|
27049
|
-
"ip": {
|
|
27050
|
-
"type": "string",
|
|
27051
|
-
"description": "IP address of the visitor."
|
|
27052
|
-
},
|
|
27053
|
-
"language": {
|
|
27054
|
-
"type": "string",
|
|
27055
|
-
"description": "Language of the visitor."
|
|
27056
|
-
}
|
|
27057
|
-
},
|
|
27058
|
-
"required": [
|
|
27059
|
-
"anonymousId",
|
|
27060
|
-
"cookies",
|
|
27061
|
-
"userAgent",
|
|
27062
|
-
"ip"
|
|
27063
|
-
]
|
|
27064
|
-
},
|
|
27065
|
-
"url": {
|
|
27066
|
-
"type": "string",
|
|
27067
|
-
"description": "The GitBook content's URL visited (including URL params)."
|
|
27068
|
-
},
|
|
27069
|
-
"referrer": {
|
|
27070
|
-
"type": "string",
|
|
27071
|
-
"description": "The URL of referrer that linked to the page."
|
|
27072
|
-
}
|
|
27073
|
-
},
|
|
27074
|
-
"required": [
|
|
27075
|
-
"type",
|
|
27076
|
-
"visitor",
|
|
27077
|
-
"url",
|
|
27078
|
-
"referrer"
|
|
27079
|
-
]
|
|
27080
|
-
}
|
|
27081
|
-
]
|
|
27082
|
-
},
|
|
27083
27430
|
"SiteViewEvent": {
|
|
27084
27431
|
"allOf": [
|
|
27085
27432
|
{
|
|
@@ -27371,14 +27718,7 @@
|
|
|
27371
27718
|
"FetchPublishedScriptEvent": {
|
|
27372
27719
|
"allOf": [
|
|
27373
27720
|
{
|
|
27374
|
-
"
|
|
27375
|
-
{
|
|
27376
|
-
"$ref": "#/components/schemas/SpaceEvent"
|
|
27377
|
-
},
|
|
27378
|
-
{
|
|
27379
|
-
"$ref": "#/components/schemas/SiteEvent"
|
|
27380
|
-
}
|
|
27381
|
-
]
|
|
27721
|
+
"$ref": "#/components/schemas/SiteEvent"
|
|
27382
27722
|
},
|
|
27383
27723
|
{
|
|
27384
27724
|
"type": "object",
|
|
@@ -27400,14 +27740,7 @@
|
|
|
27400
27740
|
"FetchVisitorAuthenticationEvent": {
|
|
27401
27741
|
"allOf": [
|
|
27402
27742
|
{
|
|
27403
|
-
"
|
|
27404
|
-
{
|
|
27405
|
-
"$ref": "#/components/schemas/SpaceEvent"
|
|
27406
|
-
},
|
|
27407
|
-
{
|
|
27408
|
-
"$ref": "#/components/schemas/SiteEvent"
|
|
27409
|
-
}
|
|
27410
|
-
]
|
|
27743
|
+
"$ref": "#/components/schemas/SiteEvent"
|
|
27411
27744
|
},
|
|
27412
27745
|
{
|
|
27413
27746
|
"type": "object",
|
|
@@ -27769,9 +28102,6 @@
|
|
|
27769
28102
|
{
|
|
27770
28103
|
"$ref": "#/components/schemas/SiteInstallationDeletedEvent"
|
|
27771
28104
|
},
|
|
27772
|
-
{
|
|
27773
|
-
"$ref": "#/components/schemas/SpaceViewEvent"
|
|
27774
|
-
},
|
|
27775
28105
|
{
|
|
27776
28106
|
"$ref": "#/components/schemas/SiteViewEvent"
|
|
27777
28107
|
},
|
|
@@ -29825,11 +30155,6 @@
|
|
|
29825
30155
|
"minLength": 1,
|
|
29826
30156
|
"maxLength": 100
|
|
29827
30157
|
},
|
|
29828
|
-
"Condition": {
|
|
29829
|
-
"type": "string",
|
|
29830
|
-
"minLength": 1,
|
|
29831
|
-
"maxLength": 1024
|
|
29832
|
-
},
|
|
29833
30158
|
"SiteSpacePath": {
|
|
29834
30159
|
"type": "string",
|
|
29835
30160
|
"description": "Path to the space on the site",
|
|
@@ -29869,7 +30194,7 @@
|
|
|
29869
30194
|
},
|
|
29870
30195
|
"condition": {
|
|
29871
30196
|
"description": "Conditional expression used to evaluate whether the site space should be shown to the site's visitor.",
|
|
29872
|
-
"$ref": "#/components/schemas/
|
|
30197
|
+
"$ref": "#/components/schemas/Expression"
|
|
29873
30198
|
},
|
|
29874
30199
|
"hasAdvancedCustomizationFeature": {
|
|
29875
30200
|
"type": "boolean",
|
|
@@ -29925,7 +30250,7 @@
|
|
|
29925
30250
|
},
|
|
29926
30251
|
"condition": {
|
|
29927
30252
|
"description": "Conditional expression used to evaluate whether the site section should be shown to the site's visitor.",
|
|
29928
|
-
"$ref": "#/components/schemas/
|
|
30253
|
+
"$ref": "#/components/schemas/Expression"
|
|
29929
30254
|
},
|
|
29930
30255
|
"sectionGroup": {
|
|
29931
30256
|
"type": "string",
|
|
@@ -30966,6 +31291,22 @@
|
|
|
30966
31291
|
}
|
|
30967
31292
|
]
|
|
30968
31293
|
},
|
|
31294
|
+
"InstalledIntegration": {
|
|
31295
|
+
"type": "object",
|
|
31296
|
+
"description": "An installed integration with its current status",
|
|
31297
|
+
"required": [
|
|
31298
|
+
"status",
|
|
31299
|
+
"integration"
|
|
31300
|
+
],
|
|
31301
|
+
"properties": {
|
|
31302
|
+
"status": {
|
|
31303
|
+
"$ref": "#/components/schemas/IntegrationInstallationStatus"
|
|
31304
|
+
},
|
|
31305
|
+
"integration": {
|
|
31306
|
+
"$ref": "#/components/schemas/Integration"
|
|
31307
|
+
}
|
|
31308
|
+
}
|
|
31309
|
+
},
|
|
30969
31310
|
"SAMLProviderLabel": {
|
|
30970
31311
|
"type": "string",
|
|
30971
31312
|
"minLength": 1,
|
|
@@ -32481,6 +32822,97 @@
|
|
|
32481
32822
|
"minLength": 1,
|
|
32482
32823
|
"maxLength": 512
|
|
32483
32824
|
},
|
|
32825
|
+
"ContentImportSource": {
|
|
32826
|
+
"type": "object",
|
|
32827
|
+
"properties": {
|
|
32828
|
+
"type": {
|
|
32829
|
+
"type": "string",
|
|
32830
|
+
"enum": [
|
|
32831
|
+
"website"
|
|
32832
|
+
]
|
|
32833
|
+
},
|
|
32834
|
+
"url": {
|
|
32835
|
+
"$ref": "#/components/schemas/URL"
|
|
32836
|
+
}
|
|
32837
|
+
},
|
|
32838
|
+
"required": [
|
|
32839
|
+
"type",
|
|
32840
|
+
"url"
|
|
32841
|
+
]
|
|
32842
|
+
},
|
|
32843
|
+
"ChangeRequestPointer": {
|
|
32844
|
+
"type": "object",
|
|
32845
|
+
"properties": {
|
|
32846
|
+
"type": {
|
|
32847
|
+
"type": "string",
|
|
32848
|
+
"enum": [
|
|
32849
|
+
"change-request"
|
|
32850
|
+
]
|
|
32851
|
+
},
|
|
32852
|
+
"space": {
|
|
32853
|
+
"type": "string",
|
|
32854
|
+
"description": "Unique identifier for the space"
|
|
32855
|
+
},
|
|
32856
|
+
"changeRequest": {
|
|
32857
|
+
"type": "string",
|
|
32858
|
+
"description": "Unique identifier for the change request"
|
|
32859
|
+
}
|
|
32860
|
+
},
|
|
32861
|
+
"required": [
|
|
32862
|
+
"type",
|
|
32863
|
+
"space",
|
|
32864
|
+
"changeRequest"
|
|
32865
|
+
]
|
|
32866
|
+
},
|
|
32867
|
+
"ContentImportTarget": {
|
|
32868
|
+
"oneOf": [
|
|
32869
|
+
{
|
|
32870
|
+
"$ref": "#/components/schemas/SpacePointer"
|
|
32871
|
+
},
|
|
32872
|
+
{
|
|
32873
|
+
"$ref": "#/components/schemas/ChangeRequestPointer"
|
|
32874
|
+
}
|
|
32875
|
+
]
|
|
32876
|
+
},
|
|
32877
|
+
"ContentImportRun": {
|
|
32878
|
+
"type": "object",
|
|
32879
|
+
"properties": {
|
|
32880
|
+
"id": {
|
|
32881
|
+
"description": "Unique ID of the import",
|
|
32882
|
+
"type": "string"
|
|
32883
|
+
},
|
|
32884
|
+
"startedAt": {
|
|
32885
|
+
"description": "Date when the import has started",
|
|
32886
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32887
|
+
},
|
|
32888
|
+
"completedAt": {
|
|
32889
|
+
"description": "Filled when the imported is in status \"completed\"",
|
|
32890
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32891
|
+
},
|
|
32892
|
+
"status": {
|
|
32893
|
+
"description": "Status of the import",
|
|
32894
|
+
"type": "string",
|
|
32895
|
+
"enum": [
|
|
32896
|
+
"pending",
|
|
32897
|
+
"in-progress",
|
|
32898
|
+
"completed",
|
|
32899
|
+
"failed",
|
|
32900
|
+
"cancelled"
|
|
32901
|
+
]
|
|
32902
|
+
},
|
|
32903
|
+
"pages": {
|
|
32904
|
+
"description": "Ids of the imported pages",
|
|
32905
|
+
"type": "array",
|
|
32906
|
+
"items": {
|
|
32907
|
+
"type": "string"
|
|
32908
|
+
}
|
|
32909
|
+
}
|
|
32910
|
+
},
|
|
32911
|
+
"required": [
|
|
32912
|
+
"id",
|
|
32913
|
+
"status"
|
|
32914
|
+
]
|
|
32915
|
+
},
|
|
32484
32916
|
"BillingOperationPreviewResponse": {
|
|
32485
32917
|
"description": "A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.\n",
|
|
32486
32918
|
"oneOf": [
|
|
@@ -33051,7 +33483,7 @@
|
|
|
33051
33483
|
},
|
|
33052
33484
|
"condition": {
|
|
33053
33485
|
"description": "Conditional expression used to evaluate whether the header item should be shown to the site's visitor.",
|
|
33054
|
-
"$ref": "#/components/schemas/
|
|
33486
|
+
"$ref": "#/components/schemas/Expression"
|
|
33055
33487
|
}
|
|
33056
33488
|
},
|
|
33057
33489
|
"required": [
|
|
@@ -33127,8 +33559,7 @@
|
|
|
33127
33559
|
"enum": [
|
|
33128
33560
|
"none",
|
|
33129
33561
|
"search",
|
|
33130
|
-
"assistant"
|
|
33131
|
-
"integration"
|
|
33562
|
+
"assistant"
|
|
33132
33563
|
]
|
|
33133
33564
|
},
|
|
33134
33565
|
"SiteExternalLinksTarget": {
|
|
@@ -33345,10 +33776,6 @@
|
|
|
33345
33776
|
"properties": {
|
|
33346
33777
|
"mode": {
|
|
33347
33778
|
"$ref": "#/components/schemas/CustomizationAIMode"
|
|
33348
|
-
},
|
|
33349
|
-
"integrationId": {
|
|
33350
|
-
"type": "string",
|
|
33351
|
-
"description": "The integration to use for the AI features on the site. Only required if mode is set to \"integration\"."
|
|
33352
33779
|
}
|
|
33353
33780
|
},
|
|
33354
33781
|
"required": [
|
|
@@ -33749,8 +34176,14 @@
|
|
|
33749
34176
|
"default"
|
|
33750
34177
|
]
|
|
33751
34178
|
},
|
|
34179
|
+
"currentSiteSpace": {
|
|
34180
|
+
"type": "string",
|
|
34181
|
+
"description": "The ID of the site space that must always be included in the search results. The language of this site space will be used to match other site spaces with the same language, if applicable.\n"
|
|
34182
|
+
},
|
|
33752
34183
|
"includedSiteSpaces": {
|
|
33753
34184
|
"type": "array",
|
|
34185
|
+
"deprecated": true,
|
|
34186
|
+
"description": "Site spaces to include in search results in addition to default site spaces. This is deprecated and will be removed soon. Please use 'currentSiteSpace' instead.\n",
|
|
33754
34187
|
"items": {
|
|
33755
34188
|
"type": "string"
|
|
33756
34189
|
}
|
|
@@ -34594,6 +35027,34 @@
|
|
|
34594
35027
|
"task"
|
|
34595
35028
|
]
|
|
34596
35029
|
},
|
|
35030
|
+
"AIToolCallComment": {
|
|
35031
|
+
"type": "object",
|
|
35032
|
+
"properties": {
|
|
35033
|
+
"tool": {
|
|
35034
|
+
"type": "string",
|
|
35035
|
+
"enum": [
|
|
35036
|
+
"comment"
|
|
35037
|
+
]
|
|
35038
|
+
},
|
|
35039
|
+
"spaceId": {
|
|
35040
|
+
"type": "string",
|
|
35041
|
+
"description": "The ID of the space being commented."
|
|
35042
|
+
},
|
|
35043
|
+
"page": {
|
|
35044
|
+
"description": "The page being commented.",
|
|
35045
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
35046
|
+
},
|
|
35047
|
+
"commentId": {
|
|
35048
|
+
"type": "string",
|
|
35049
|
+
"description": "The ID of the comment being posted."
|
|
35050
|
+
}
|
|
35051
|
+
},
|
|
35052
|
+
"required": [
|
|
35053
|
+
"tool",
|
|
35054
|
+
"spaceId",
|
|
35055
|
+
"commentId"
|
|
35056
|
+
]
|
|
35057
|
+
},
|
|
34597
35058
|
"AIToolCallMCP": {
|
|
34598
35059
|
"type": "object",
|
|
34599
35060
|
"description": "Tool called from an MCP server",
|
|
@@ -34677,6 +35138,9 @@
|
|
|
34677
35138
|
{
|
|
34678
35139
|
"$ref": "#/components/schemas/AIToolCallCreateAgentTask"
|
|
34679
35140
|
},
|
|
35141
|
+
{
|
|
35142
|
+
"$ref": "#/components/schemas/AIToolCallComment"
|
|
35143
|
+
},
|
|
34680
35144
|
{
|
|
34681
35145
|
"$ref": "#/components/schemas/AIToolCallMCP"
|
|
34682
35146
|
},
|
|
@@ -38931,6 +39395,27 @@
|
|
|
38931
39395
|
"secrets"
|
|
38932
39396
|
]
|
|
38933
39397
|
},
|
|
39398
|
+
"SpaceIntegrationScript": {
|
|
39399
|
+
"type": "object",
|
|
39400
|
+
"properties": {
|
|
39401
|
+
"script": {
|
|
39402
|
+
"description": "Script URL to load.",
|
|
39403
|
+
"$ref": "#/components/schemas/URL"
|
|
39404
|
+
},
|
|
39405
|
+
"contentSecurityPolicy": {
|
|
39406
|
+
"description": "Content Security Policy to secure the loading of this script.",
|
|
39407
|
+
"type": "string"
|
|
39408
|
+
},
|
|
39409
|
+
"cookies": {
|
|
39410
|
+
"type": "boolean",
|
|
39411
|
+
"description": "If true, the script will potentially load use cookies and visitors should be aware."
|
|
39412
|
+
}
|
|
39413
|
+
},
|
|
39414
|
+
"required": [
|
|
39415
|
+
"script",
|
|
39416
|
+
"cookies"
|
|
39417
|
+
]
|
|
39418
|
+
},
|
|
38934
39419
|
"ContentComputeDocumentEventResponse": {
|
|
38935
39420
|
"type": "object",
|
|
38936
39421
|
"description": "Response expected for an event of type `content_compute_document`.",
|
|
@@ -39786,6 +40271,25 @@
|
|
|
39786
40271
|
"organization"
|
|
39787
40272
|
]
|
|
39788
40273
|
},
|
|
40274
|
+
"OrganizationChangeRequestsChannel": {
|
|
40275
|
+
"type": "object",
|
|
40276
|
+
"description": "Subscription channel for all change requests in an organization.",
|
|
40277
|
+
"properties": {
|
|
40278
|
+
"channel": {
|
|
40279
|
+
"type": "string",
|
|
40280
|
+
"enum": [
|
|
40281
|
+
"organization-change-requests"
|
|
40282
|
+
]
|
|
40283
|
+
},
|
|
40284
|
+
"organization": {
|
|
40285
|
+
"type": "string"
|
|
40286
|
+
}
|
|
40287
|
+
},
|
|
40288
|
+
"required": [
|
|
40289
|
+
"channel",
|
|
40290
|
+
"organization"
|
|
40291
|
+
]
|
|
40292
|
+
},
|
|
39789
40293
|
"SpaceCommentsChannel": {
|
|
39790
40294
|
"type": "object",
|
|
39791
40295
|
"properties": {
|
|
@@ -40478,6 +40982,24 @@
|
|
|
40478
40982
|
"organization"
|
|
40479
40983
|
]
|
|
40480
40984
|
},
|
|
40985
|
+
"ImportRunChannel": {
|
|
40986
|
+
"type": "object",
|
|
40987
|
+
"properties": {
|
|
40988
|
+
"channel": {
|
|
40989
|
+
"type": "string",
|
|
40990
|
+
"enum": [
|
|
40991
|
+
"import-run"
|
|
40992
|
+
]
|
|
40993
|
+
},
|
|
40994
|
+
"runId": {
|
|
40995
|
+
"type": "string"
|
|
40996
|
+
}
|
|
40997
|
+
},
|
|
40998
|
+
"required": [
|
|
40999
|
+
"channel",
|
|
41000
|
+
"runId"
|
|
41001
|
+
]
|
|
41002
|
+
},
|
|
40481
41003
|
"SubscriptionChannel": {
|
|
40482
41004
|
"description": "Channel to subscribe to for realtime updates.",
|
|
40483
41005
|
"oneOf": [
|
|
@@ -40586,6 +41108,9 @@
|
|
|
40586
41108
|
{
|
|
40587
41109
|
"$ref": "#/components/schemas/OrganizationCustomFontsChannel"
|
|
40588
41110
|
},
|
|
41111
|
+
{
|
|
41112
|
+
"$ref": "#/components/schemas/OrganizationChangeRequestsChannel"
|
|
41113
|
+
},
|
|
40589
41114
|
{
|
|
40590
41115
|
"$ref": "#/components/schemas/SpaceCommentsChannel"
|
|
40591
41116
|
},
|
|
@@ -40687,6 +41212,9 @@
|
|
|
40687
41212
|
},
|
|
40688
41213
|
{
|
|
40689
41214
|
"$ref": "#/components/schemas/AgentTasksChannel"
|
|
41215
|
+
},
|
|
41216
|
+
{
|
|
41217
|
+
"$ref": "#/components/schemas/ImportRunChannel"
|
|
40690
41218
|
}
|
|
40691
41219
|
],
|
|
40692
41220
|
"discriminator": {
|
|
@@ -40728,6 +41256,24 @@
|
|
|
40728
41256
|
"data"
|
|
40729
41257
|
]
|
|
40730
41258
|
},
|
|
41259
|
+
"ImportRunChannelData": {
|
|
41260
|
+
"type": "object",
|
|
41261
|
+
"properties": {
|
|
41262
|
+
"channel": {
|
|
41263
|
+
"type": "string",
|
|
41264
|
+
"enum": [
|
|
41265
|
+
"import-run"
|
|
41266
|
+
]
|
|
41267
|
+
},
|
|
41268
|
+
"data": {
|
|
41269
|
+
"$ref": "#/components/schemas/ContentImportRun"
|
|
41270
|
+
}
|
|
41271
|
+
},
|
|
41272
|
+
"required": [
|
|
41273
|
+
"channel",
|
|
41274
|
+
"data"
|
|
41275
|
+
]
|
|
41276
|
+
},
|
|
40731
41277
|
"GitSyncOperationChannelData": {
|
|
40732
41278
|
"type": "object",
|
|
40733
41279
|
"properties": {
|
|
@@ -40883,6 +41429,9 @@
|
|
|
40883
41429
|
{
|
|
40884
41430
|
"$ref": "#/components/schemas/TranslationRunChannelData"
|
|
40885
41431
|
},
|
|
41432
|
+
{
|
|
41433
|
+
"$ref": "#/components/schemas/ImportRunChannelData"
|
|
41434
|
+
},
|
|
40886
41435
|
{
|
|
40887
41436
|
"$ref": "#/components/schemas/APIChannelMutationData"
|
|
40888
41437
|
}
|
|
@@ -41180,6 +41729,35 @@
|
|
|
41180
41729
|
}
|
|
41181
41730
|
]
|
|
41182
41731
|
},
|
|
41732
|
+
"MergeRulesEvaluationContext": {
|
|
41733
|
+
"type": "object",
|
|
41734
|
+
"description": "Context available when evaluating merge rules expressions.",
|
|
41735
|
+
"properties": {
|
|
41736
|
+
"space": {
|
|
41737
|
+
"$ref": "#/components/schemas/Space"
|
|
41738
|
+
},
|
|
41739
|
+
"changeRequest": {
|
|
41740
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
41741
|
+
},
|
|
41742
|
+
"reviews": {
|
|
41743
|
+
"description": "The reviews posted on the change request.",
|
|
41744
|
+
"type": "array",
|
|
41745
|
+
"items": {
|
|
41746
|
+
"$ref": "#/components/schemas/ChangeRequestReview"
|
|
41747
|
+
}
|
|
41748
|
+
},
|
|
41749
|
+
"actor": {
|
|
41750
|
+
"description": "The user who is attempting to merge the change request.",
|
|
41751
|
+
"$ref": "#/components/schemas/User"
|
|
41752
|
+
}
|
|
41753
|
+
},
|
|
41754
|
+
"required": [
|
|
41755
|
+
"space",
|
|
41756
|
+
"changeRequest",
|
|
41757
|
+
"reviews",
|
|
41758
|
+
"actor"
|
|
41759
|
+
]
|
|
41760
|
+
},
|
|
41183
41761
|
"RequestSpaceTrackPageView": {
|
|
41184
41762
|
"$ref": "#/components/schemas/SpaceTrackPageView"
|
|
41185
41763
|
},
|