@gitbook/api 0.139.0 → 0.141.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/spec/openapi.yaml CHANGED
@@ -315,10 +315,6 @@ tags:
315
315
  x-page-description: Configure multi-language support and translation options for your documentation.
316
316
  description: |
317
317
  The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.
318
-
319
- {% openapi-schemas spec="gitbook" schemas="TranslationSettings" grouped="false" %}
320
- The TranslationSettings object
321
- {% endopenapi-schemas %}
322
318
  - name: translation-languages
323
319
  x-page-title: Translations languages
324
320
  x-page-description: Manage the individual language configurations for your docs translation setup.
@@ -329,6 +325,12 @@ tags:
329
325
  {% openapi-schemas spec="gitbook" schemas="TranslationLanguageSettings" grouped="false" %}
330
326
  The TranslationLanguageSettings object
331
327
  {% endopenapi-schemas %}
328
+ - name: imports
329
+ x-page-icon: cloud-arrow-up
330
+ x-page-title: Imports
331
+ x-page-description: Import content into GitBook.
332
+ description: |
333
+ The Imports API provides allows you to import content into GitBook.
332
334
  - name: glossary
333
335
  x-page-title: Glossary
334
336
  x-page-description: Manage custom terms translations used by the translation feature.
@@ -614,6 +616,8 @@ paths:
614
616
  $ref: "#/components/schemas/DefaultLevel"
615
617
  language:
616
618
  $ref: "#/components/schemas/TranslationLanguage"
619
+ mergeRules:
620
+ $ref: "#/components/schemas/MergeRulesSpaceConfiguration"
617
621
  - oneOf:
618
622
  - type: object
619
623
  title: Emoji
@@ -1586,6 +1590,12 @@ paths:
1586
1590
  $ref: "#/components/schemas/ChangeRequestStatus"
1587
1591
  default: open
1588
1592
  description: If defined, only change requests matching this status will be returned.
1593
+ - name: creator
1594
+ in: query
1595
+ required: false
1596
+ schema:
1597
+ type: string
1598
+ description: If defined, only change requests created by this user will be returned.
1589
1599
  - name: contributor
1590
1600
  in: query
1591
1601
  required: false
@@ -3178,27 +3188,6 @@ paths:
3178
3188
  $ref: "#/components/schemas/SpaceIntegrationBlocks"
3179
3189
  "404":
3180
3190
  $ref: "#/components/responses/NotFoundError"
3181
- "/spaces/{spaceId}/integration-scripts":
3182
- get:
3183
- operationId: listSpaceIntegrationScripts
3184
- summary: List all the scripts to embed in published content for a space
3185
- tags:
3186
- - space-integrations
3187
- security:
3188
- - user: []
3189
- parameters:
3190
- - $ref: "#/components/parameters/spaceId"
3191
- responses:
3192
- "200":
3193
- description: OK
3194
- content:
3195
- application/json:
3196
- schema:
3197
- type: array
3198
- items:
3199
- $ref: "#/components/schemas/SpaceIntegrationScript"
3200
- "400":
3201
- $ref: "#/components/responses/BadRequestError"
3202
3191
  "/spaces/{spaceId}/pdf":
3203
3192
  get:
3204
3193
  operationId: getSpacePDF
@@ -4502,6 +4491,8 @@ paths:
4502
4491
  type: boolean
4503
4492
  inviteLinks:
4504
4493
  type: boolean
4494
+ mergeRules:
4495
+ $ref: "#/components/schemas/MergeRulesStandaloneConfiguration"
4505
4496
  responses:
4506
4497
  "200":
4507
4498
  description: The organization has been updated
@@ -5217,6 +5208,12 @@ paths:
5217
5208
  $ref: "#/components/schemas/ChangeRequestStatus"
5218
5209
  default: open
5219
5210
  description: If defined, only change requests matching this status will be returned.
5211
+ - name: creator
5212
+ in: query
5213
+ required: false
5214
+ schema:
5215
+ type: string
5216
+ description: If defined, only change requests created by this user will be returned.
5220
5217
  - name: contributor
5221
5218
  in: query
5222
5219
  required: false
@@ -5464,10 +5461,19 @@ paths:
5464
5461
  - $ref: "#/components/parameters/organizationId"
5465
5462
  - $ref: "#/components/parameters/listPage"
5466
5463
  - $ref: "#/components/parameters/listLimit"
5467
- - $ref: "#/components/parameters/integrationSearchQuery"
5464
+ - name: target
5465
+ in: query
5466
+ description: Filter installations by their target (organization, space, or site). When not provided, defaults to organization-level installations for backwards compatibility
5467
+ schema:
5468
+ type: string
5469
+ default: organization
5470
+ enum:
5471
+ - organization
5472
+ - space
5473
+ - site
5468
5474
  responses:
5469
5475
  "200":
5470
- description: List of integrations.
5476
+ description: List of installed integrations and their statuses
5471
5477
  content:
5472
5478
  application/json:
5473
5479
  schema:
@@ -5480,15 +5486,7 @@ paths:
5480
5486
  items:
5481
5487
  type: array
5482
5488
  items:
5483
- type: object
5484
- required:
5485
- - status
5486
- - integration
5487
- properties:
5488
- status:
5489
- $ref: "#/components/schemas/IntegrationInstallationStatus"
5490
- integration:
5491
- $ref: "#/components/schemas/Integration"
5489
+ $ref: "#/components/schemas/InstalledIntegration"
5492
5490
  "/orgs/{organizationId}/saml":
5493
5491
  get:
5494
5492
  operationId: listSAMLProvidersInOrganizationById
@@ -6703,6 +6701,42 @@ paths:
6703
6701
  description: Organization or font not found.
6704
6702
  "205":
6705
6703
  description: Custom font deleted successfully.
6704
+ "/org/{organizationId}/imports":
6705
+ post:
6706
+ operationId: startImportRun
6707
+ summary: Import content into a space from a website
6708
+ tags:
6709
+ - imports
6710
+ x-internal: true
6711
+ security:
6712
+ - user-internal: []
6713
+ parameters:
6714
+ - $ref: "#/components/parameters/organizationId"
6715
+ requestBody:
6716
+ required: true
6717
+ content:
6718
+ application/json:
6719
+ schema:
6720
+ type: object
6721
+ properties:
6722
+ source:
6723
+ $ref: "#/components/schemas/ContentImportSource"
6724
+ target:
6725
+ $ref: "#/components/schemas/ContentImportTarget"
6726
+ required:
6727
+ - source
6728
+ - target
6729
+ responses:
6730
+ "201":
6731
+ description: Import run created successfully.
6732
+ content:
6733
+ application/json:
6734
+ schema:
6735
+ $ref: "#/components/schemas/ContentImportRun"
6736
+ "400":
6737
+ $ref: "#/components/responses/BadRequestError"
6738
+ "404":
6739
+ $ref: "#/components/responses/NotFoundError"
6706
6740
  "/orgs/{organizationId}/sites":
6707
6741
  get:
6708
6742
  operationId: listSites
@@ -7773,7 +7807,7 @@ paths:
7773
7807
  condition:
7774
7808
  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.
7775
7809
  oneOf:
7776
- - $ref: "#/components/schemas/Condition"
7810
+ - $ref: "#/components/schemas/Expression"
7777
7811
  - type: string
7778
7812
  nullable: true
7779
7813
  enum:
@@ -7999,7 +8033,7 @@ paths:
7999
8033
  condition:
8000
8034
  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.
8001
8035
  oneOf:
8002
- - $ref: "#/components/schemas/Condition"
8036
+ - $ref: "#/components/schemas/Expression"
8003
8037
  - type: string
8004
8038
  nullable: true
8005
8039
  enum:
@@ -9967,6 +10001,123 @@ components:
9967
10001
  enum:
9968
10002
  - live
9969
10003
  - locked
10004
+ MergeRulesConfigurationInherit:
10005
+ type: object
10006
+ description: The merge rules inherits from the organization configuration.
10007
+ properties:
10008
+ type:
10009
+ type: string
10010
+ enum:
10011
+ - inherit
10012
+ required:
10013
+ - type
10014
+ Expression:
10015
+ type: string
10016
+ description: Expression to evaluate
10017
+ minLength: 0
10018
+ maxLength: 1024
10019
+ MergeRule:
10020
+ oneOf:
10021
+ - type: object
10022
+ properties:
10023
+ rule:
10024
+ type: string
10025
+ enum:
10026
+ - require_specific_reviewers
10027
+ users:
10028
+ type: array
10029
+ description: List of user IDs.
10030
+ items:
10031
+ type: string
10032
+ required:
10033
+ - rule
10034
+ - users
10035
+ - type: object
10036
+ properties:
10037
+ rule:
10038
+ type: string
10039
+ enum:
10040
+ - require_one_of_specific_reviewers
10041
+ users:
10042
+ type: array
10043
+ description: List of user IDs.
10044
+ items:
10045
+ type: string
10046
+ required:
10047
+ - rule
10048
+ - users
10049
+ - type: object
10050
+ properties:
10051
+ rule:
10052
+ type: string
10053
+ enum:
10054
+ - allow_bypass
10055
+ users:
10056
+ type: array
10057
+ description: List of user IDs.
10058
+ items:
10059
+ type: string
10060
+ required:
10061
+ - rule
10062
+ - users
10063
+ - type: object
10064
+ properties:
10065
+ rule:
10066
+ type: string
10067
+ enum:
10068
+ - require_at_least_one_review
10069
+ - require_all_reviews_approved
10070
+ - require_agent_review
10071
+ - require_up_to_date_change_request
10072
+ - require_change_request_subject
10073
+ - require_change_request_description
10074
+ required:
10075
+ - rule
10076
+ - type: object
10077
+ description: The merge rule is written in the advanced custom expression syntax.
10078
+ properties:
10079
+ rule:
10080
+ type: string
10081
+ enum:
10082
+ - custom
10083
+ expression:
10084
+ $ref: "#/components/schemas/Expression"
10085
+ required:
10086
+ - rule
10087
+ - expression
10088
+ MergeRulesConfigurationRules:
10089
+ type: object
10090
+ description: The merge rules are composed of individual rules that must all pass.
10091
+ properties:
10092
+ type:
10093
+ type: string
10094
+ enum:
10095
+ - rules
10096
+ rules:
10097
+ type: array
10098
+ items:
10099
+ $ref: "#/components/schemas/MergeRule"
10100
+ required:
10101
+ - type
10102
+ - rules
10103
+ MergeRulesConfigurationNone:
10104
+ type: object
10105
+ description: The merge rules are disabled, change requests can be merged without review.
10106
+ properties:
10107
+ type:
10108
+ type: string
10109
+ enum:
10110
+ - none
10111
+ required:
10112
+ - type
10113
+ MergeRulesStandaloneConfiguration:
10114
+ oneOf:
10115
+ - $ref: "#/components/schemas/MergeRulesConfigurationRules"
10116
+ - $ref: "#/components/schemas/MergeRulesConfigurationNone"
10117
+ MergeRulesSpaceConfiguration:
10118
+ oneOf:
10119
+ - $ref: "#/components/schemas/MergeRulesConfigurationInherit"
10120
+ - $ref: "#/components/schemas/MergeRulesStandaloneConfiguration"
9970
10121
  TranslationLanguage:
9971
10122
  type: string
9972
10123
  enum:
@@ -10124,6 +10275,8 @@ components:
10124
10275
  $ref: "#/components/schemas/Timestamp"
10125
10276
  editMode:
10126
10277
  $ref: "#/components/schemas/SpaceEditMode"
10278
+ mergeRules:
10279
+ $ref: "#/components/schemas/MergeRulesSpaceConfiguration"
10127
10280
  urls:
10128
10281
  type: object
10129
10282
  description: URLs associated with the object
@@ -10238,6 +10391,7 @@ components:
10238
10391
  - changeRequests
10239
10392
  - changeRequestsOpen
10240
10393
  - changeRequestsDraft
10394
+ - mergeRules
10241
10395
  - urls
10242
10396
  - defaultLevel
10243
10397
  - permissions
@@ -14235,6 +14389,8 @@ components:
14235
14389
  billing:
14236
14390
  description: Billing details, only available for org members.
14237
14391
  $ref: "#/components/schemas/OrganizationBilling"
14392
+ mergeRules:
14393
+ $ref: "#/components/schemas/MergeRulesStandaloneConfiguration"
14238
14394
  urls:
14239
14395
  type: object
14240
14396
  description: URLs associated with the object
@@ -14359,6 +14515,7 @@ components:
14359
14515
  - inviteLinks
14360
14516
  - type
14361
14517
  - emailDomains
14518
+ - mergeRules
14362
14519
  - urls
14363
14520
  - trial
14364
14521
  - permissions
@@ -14639,6 +14796,18 @@ components:
14639
14796
  - FETCH_TIMEOUT
14640
14797
  - FETCH_ERROR
14641
14798
  - PARSE_ERROR
14799
+ OpenAPIErrorObject:
14800
+ type: object
14801
+ description: OpenAPI error object.
14802
+ properties:
14803
+ message:
14804
+ type: string
14805
+ description: Description of the error.
14806
+ code:
14807
+ type: string
14808
+ description: Unique code of the error.
14809
+ required:
14810
+ - message
14642
14811
  OpenAPISpec:
14643
14812
  type: object
14644
14813
  properties:
@@ -14672,6 +14841,10 @@ components:
14672
14841
  $ref: "#/components/schemas/Timestamp"
14673
14842
  lastProcessErrorCode:
14674
14843
  $ref: "#/components/schemas/OpenAPISpecProcessingErrorCode"
14844
+ lastProcessedErrors:
14845
+ type: array
14846
+ items:
14847
+ $ref: "#/components/schemas/OpenAPIErrorObject"
14675
14848
  permissions:
14676
14849
  type: object
14677
14850
  description: The set of permissions for the OpenAPI specification.
@@ -15206,10 +15379,16 @@ components:
15206
15379
  type: integer
15207
15380
  user:
15208
15381
  $ref: "#/components/schemas/User"
15382
+ actionType:
15383
+ type: string
15384
+ enum:
15385
+ - edit
15386
+ - comment
15209
15387
  required:
15210
15388
  - updatedAt
15211
15389
  - count
15212
15390
  - user
15391
+ - actionType
15213
15392
  RevisionPageType:
15214
15393
  type: string
15215
15394
  enum:
@@ -15668,15 +15847,11 @@ components:
15668
15847
  IntegrationScope:
15669
15848
  type: string
15670
15849
  enum:
15671
- - space:views:read
15672
15850
  - space:content:read
15673
15851
  - space:content:write
15674
15852
  - space:metadata:read
15675
15853
  - space:metadata:write
15676
- - space:script:inject
15677
- - space:script:cookies
15678
15854
  - space:git:sync
15679
- - space:visitor:auth
15680
15855
  - site:metadata:read
15681
15856
  - site:views:read
15682
15857
  - site:script:inject
@@ -15684,7 +15859,6 @@ components:
15684
15859
  - site:visitor:auth
15685
15860
  - site:adaptive:read
15686
15861
  - site:adaptive:write
15687
- - site:ai:ask
15688
15862
  - openapi:read
15689
15863
  - openapi:write
15690
15864
  - conversations:ingest
@@ -16038,21 +16212,6 @@ components:
16038
16212
  type: array
16039
16213
  items:
16040
16214
  $ref: "#/components/schemas/IntegrationBlock"
16041
- SpaceIntegrationScript:
16042
- type: object
16043
- properties:
16044
- script:
16045
- description: Script URL to load.
16046
- $ref: "#/components/schemas/URL"
16047
- contentSecurityPolicy:
16048
- description: Content Security Policy to secure the loading of this script.
16049
- type: string
16050
- cookies:
16051
- type: boolean
16052
- description: If true, the script will potentially load use cookies and visitors should be aware.
16053
- required:
16054
- - script
16055
- - cookies
16056
16215
  IntegrationSecrets:
16057
16216
  type: object
16058
16217
  description: Secrets stored on the integration and passed at runtime.
@@ -16402,56 +16561,6 @@ components:
16402
16561
  required:
16403
16562
  - type
16404
16563
  - previous
16405
- SpaceViewEvent:
16406
- allOf:
16407
- - $ref: "#/components/schemas/SpaceEvent"
16408
- - type: object
16409
- description: Event received when a page has been visited.
16410
- properties:
16411
- type:
16412
- type: string
16413
- enum:
16414
- - space_view
16415
- pageId:
16416
- type: string
16417
- description: Unique identifier of the visited page.
16418
- visitor:
16419
- type: object
16420
- description: Analytics info on the GitBook's content visitor.
16421
- properties:
16422
- anonymousId:
16423
- type: string
16424
- description: GitBook's unique identifier of the visitor.
16425
- cookies:
16426
- type: object
16427
- description: The visitors cookies.
16428
- additionalProperties:
16429
- type: string
16430
- userAgent:
16431
- type: string
16432
- description: User-agent of the visitor.
16433
- ip:
16434
- type: string
16435
- description: IP address of the visitor.
16436
- language:
16437
- type: string
16438
- description: Language of the visitor.
16439
- required:
16440
- - anonymousId
16441
- - cookies
16442
- - userAgent
16443
- - ip
16444
- url:
16445
- type: string
16446
- description: The GitBook content's URL visited (including URL params).
16447
- referrer:
16448
- type: string
16449
- description: The URL of referrer that linked to the page.
16450
- required:
16451
- - type
16452
- - visitor
16453
- - url
16454
- - referrer
16455
16564
  SiteViewEvent:
16456
16565
  allOf:
16457
16566
  - $ref: "#/components/schemas/SiteEvent"
@@ -16643,9 +16752,7 @@ components:
16643
16752
  - request
16644
16753
  FetchPublishedScriptEvent:
16645
16754
  allOf:
16646
- - oneOf:
16647
- - $ref: "#/components/schemas/SpaceEvent"
16648
- - $ref: "#/components/schemas/SiteEvent"
16755
+ - $ref: "#/components/schemas/SiteEvent"
16649
16756
  - type: object
16650
16757
  description: Common properties for all events related to fetching a published script from an installation
16651
16758
  properties:
@@ -16657,9 +16764,7 @@ components:
16657
16764
  - type
16658
16765
  FetchVisitorAuthenticationEvent:
16659
16766
  allOf:
16660
- - oneOf:
16661
- - $ref: "#/components/schemas/SpaceEvent"
16662
- - $ref: "#/components/schemas/SiteEvent"
16767
+ - $ref: "#/components/schemas/SiteEvent"
16663
16768
  - type: object
16664
16769
  description: Common properties for all events related to authenticated access from an installation
16665
16770
  properties:
@@ -16871,7 +16976,6 @@ components:
16871
16976
  - $ref: "#/components/schemas/SpaceInstallationDeletedEvent"
16872
16977
  - $ref: "#/components/schemas/SiteInstallationSetupEvent"
16873
16978
  - $ref: "#/components/schemas/SiteInstallationDeletedEvent"
16874
- - $ref: "#/components/schemas/SpaceViewEvent"
16875
16979
  - $ref: "#/components/schemas/SiteViewEvent"
16876
16980
  - $ref: "#/components/schemas/SpaceContentUpdatedEvent"
16877
16981
  - $ref: "#/components/schemas/SpaceGitSyncCompletedEvent"
@@ -18205,10 +18309,6 @@ components:
18205
18309
  description: Path to the section on the site
18206
18310
  minLength: 1
18207
18311
  maxLength: 100
18208
- Condition:
18209
- type: string
18210
- minLength: 1
18211
- maxLength: 1024
18212
18312
  SiteSpacePath:
18213
18313
  type: string
18214
18314
  description: Path to the space on the site
@@ -18239,7 +18339,7 @@ components:
18239
18339
  description: Whether this is the default space for the site
18240
18340
  condition:
18241
18341
  description: Conditional expression used to evaluate whether the site space should be shown to the site's visitor.
18242
- $ref: "#/components/schemas/Condition"
18342
+ $ref: "#/components/schemas/Expression"
18243
18343
  hasAdvancedCustomizationFeature:
18244
18344
  type: boolean
18245
18345
  description: Whether the space has advanced customization feature enabled
@@ -18280,7 +18380,7 @@ components:
18280
18380
  $ref: "#/components/schemas/SiteSectionPath"
18281
18381
  condition:
18282
18382
  description: Conditional expression used to evaluate whether the site section should be shown to the site's visitor.
18283
- $ref: "#/components/schemas/Condition"
18383
+ $ref: "#/components/schemas/Expression"
18284
18384
  sectionGroup:
18285
18385
  type: string
18286
18386
  description: ID of the section group the section belongs to in the site
@@ -18977,6 +19077,17 @@ components:
18977
19077
  properties:
18978
19078
  computedSource:
18979
19079
  $ref: "#/components/schemas/ComputedContentSourceRevision"
19080
+ InstalledIntegration:
19081
+ type: object
19082
+ description: An installed integration with its current status
19083
+ required:
19084
+ - status
19085
+ - integration
19086
+ properties:
19087
+ status:
19088
+ $ref: "#/components/schemas/IntegrationInstallationStatus"
19089
+ integration:
19090
+ $ref: "#/components/schemas/Integration"
18980
19091
  SAMLProviderLabel:
18981
19092
  type: string
18982
19093
  minLength: 1
@@ -20070,6 +20181,68 @@ components:
20070
20181
  description: The path of the file in the storage bucket
20071
20182
  minLength: 1
20072
20183
  maxLength: 512
20184
+ ContentImportSource:
20185
+ type: object
20186
+ properties:
20187
+ type:
20188
+ type: string
20189
+ enum:
20190
+ - website
20191
+ url:
20192
+ $ref: "#/components/schemas/URL"
20193
+ required:
20194
+ - type
20195
+ - url
20196
+ ChangeRequestPointer:
20197
+ type: object
20198
+ properties:
20199
+ type:
20200
+ type: string
20201
+ enum:
20202
+ - change-request
20203
+ space:
20204
+ type: string
20205
+ description: Unique identifier for the space
20206
+ changeRequest:
20207
+ type: string
20208
+ description: Unique identifier for the change request
20209
+ required:
20210
+ - type
20211
+ - space
20212
+ - changeRequest
20213
+ ContentImportTarget:
20214
+ oneOf:
20215
+ - $ref: "#/components/schemas/SpacePointer"
20216
+ - $ref: "#/components/schemas/ChangeRequestPointer"
20217
+ ContentImportRun:
20218
+ type: object
20219
+ properties:
20220
+ id:
20221
+ description: Unique ID of the import
20222
+ type: string
20223
+ startedAt:
20224
+ description: Date when the import has started
20225
+ $ref: "#/components/schemas/Timestamp"
20226
+ completedAt:
20227
+ description: Filled when the imported is in status "completed"
20228
+ $ref: "#/components/schemas/Timestamp"
20229
+ status:
20230
+ description: Status of the import
20231
+ type: string
20232
+ enum:
20233
+ - pending
20234
+ - in-progress
20235
+ - completed
20236
+ - failed
20237
+ - cancelled
20238
+ pages:
20239
+ description: Ids of the imported pages
20240
+ type: array
20241
+ items:
20242
+ type: string
20243
+ required:
20244
+ - id
20245
+ - status
20073
20246
  BillingOperationPreviewResponse:
20074
20247
  description: |
20075
20248
  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.
@@ -20479,7 +20652,7 @@ components:
20479
20652
  $ref: "#/components/schemas/CustomizationContentLink"
20480
20653
  condition:
20481
20654
  description: Conditional expression used to evaluate whether the header item should be shown to the site's visitor.
20482
- $ref: "#/components/schemas/Condition"
20655
+ $ref: "#/components/schemas/Expression"
20483
20656
  required:
20484
20657
  - title
20485
20658
  - links
@@ -20535,7 +20708,6 @@ components:
20535
20708
  - none
20536
20709
  - search
20537
20710
  - assistant
20538
- - integration
20539
20711
  SiteExternalLinksTarget:
20540
20712
  type: string
20541
20713
  description: |
@@ -20693,9 +20865,6 @@ components:
20693
20865
  properties:
20694
20866
  mode:
20695
20867
  $ref: "#/components/schemas/CustomizationAIMode"
20696
- integrationId:
20697
- type: string
20698
- description: The integration to use for the AI features on the site. Only required if mode is set to "integration".
20699
20868
  required:
20700
20869
  - mode
20701
20870
  advancedCustomization:
@@ -20723,9 +20892,13 @@ components:
20723
20892
  markdown:
20724
20893
  type: boolean
20725
20894
  description: Whether the copy and open the markdown version of the page should be available in the page menu.
20895
+ mcp:
20896
+ type: boolean
20897
+ description: Whether an action to connect to the docs using the MCP server should be available in the page menu.
20726
20898
  required:
20727
20899
  - externalAI
20728
20900
  - markdown
20901
+ - mcp
20729
20902
  externalLinks:
20730
20903
  type: object
20731
20904
  properties:
@@ -20965,8 +21138,15 @@ components:
20965
21138
  type: string
20966
21139
  enum:
20967
21140
  - default
21141
+ currentSiteSpace:
21142
+ type: string
21143
+ description: |
21144
+ 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.
20968
21145
  includedSiteSpaces:
20969
21146
  type: array
21147
+ deprecated: true
21148
+ description: |
21149
+ 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.
20970
21150
  items:
20971
21151
  type: string
20972
21152
  - type: object
@@ -24385,6 +24565,21 @@ components:
24385
24565
  - integration
24386
24566
  - signingSecrets
24387
24567
  - secrets
24568
+ SpaceIntegrationScript:
24569
+ type: object
24570
+ properties:
24571
+ script:
24572
+ description: Script URL to load.
24573
+ $ref: "#/components/schemas/URL"
24574
+ contentSecurityPolicy:
24575
+ description: Content Security Policy to secure the loading of this script.
24576
+ type: string
24577
+ cookies:
24578
+ type: boolean
24579
+ description: If true, the script will potentially load use cookies and visitors should be aware.
24580
+ required:
24581
+ - script
24582
+ - cookies
24388
24583
  ContentComputeDocumentEventResponse:
24389
24584
  type: object
24390
24585
  description: Response expected for an event of type `content_compute_document`.
@@ -25435,6 +25630,18 @@ components:
25435
25630
  required:
25436
25631
  - channel
25437
25632
  - organization
25633
+ ImportRunChannel:
25634
+ type: object
25635
+ properties:
25636
+ channel:
25637
+ type: string
25638
+ enum:
25639
+ - import-run
25640
+ runId:
25641
+ type: string
25642
+ required:
25643
+ - channel
25644
+ - runId
25438
25645
  SubscriptionChannel:
25439
25646
  description: Channel to subscribe to for realtime updates.
25440
25647
  oneOf:
@@ -25508,6 +25715,7 @@ components:
25508
25715
  - $ref: "#/components/schemas/TranslationRunChannel"
25509
25716
  - $ref: "#/components/schemas/AgentTaskChannel"
25510
25717
  - $ref: "#/components/schemas/AgentTasksChannel"
25718
+ - $ref: "#/components/schemas/ImportRunChannel"
25511
25719
  discriminator:
25512
25720
  propertyName: channel
25513
25721
  TranslationRunChannelData:
@@ -25534,6 +25742,18 @@ components:
25534
25742
  required:
25535
25743
  - channel
25536
25744
  - data
25745
+ ImportRunChannelData:
25746
+ type: object
25747
+ properties:
25748
+ channel:
25749
+ type: string
25750
+ enum:
25751
+ - import-run
25752
+ data:
25753
+ $ref: "#/components/schemas/ContentImportRun"
25754
+ required:
25755
+ - channel
25756
+ - data
25537
25757
  GitSyncOperationChannelData:
25538
25758
  type: object
25539
25759
  properties:
@@ -25635,6 +25855,7 @@ components:
25635
25855
  - $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
25636
25856
  - $ref: "#/components/schemas/OrganizationAIIndexationChannelData"
25637
25857
  - $ref: "#/components/schemas/TranslationRunChannelData"
25858
+ - $ref: "#/components/schemas/ImportRunChannelData"
25638
25859
  - $ref: "#/components/schemas/APIChannelMutationData"
25639
25860
  discriminator:
25640
25861
  propertyName: channel
@@ -25837,6 +26058,27 @@ components:
25837
26058
  - $ref: "#/components/schemas/AgentStreamMessages"
25838
26059
  - $ref: "#/components/schemas/AgentStreamMessageResponse"
25839
26060
  - $ref: "#/components/schemas/AgentStreamState"
26061
+ MergeRulesEvaluationContext:
26062
+ type: object
26063
+ description: Context available when evaluating merge rules expressions.
26064
+ properties:
26065
+ space:
26066
+ $ref: "#/components/schemas/Space"
26067
+ changeRequest:
26068
+ $ref: "#/components/schemas/ChangeRequest"
26069
+ reviews:
26070
+ description: The reviews posted on the change request.
26071
+ type: array
26072
+ items:
26073
+ $ref: "#/components/schemas/ChangeRequestReview"
26074
+ actor:
26075
+ description: The user who is attempting to merge the change request.
26076
+ $ref: "#/components/schemas/User"
26077
+ required:
26078
+ - space
26079
+ - changeRequest
26080
+ - reviews
26081
+ - actor
25840
26082
  RequestSpaceTrackPageView:
25841
26083
  $ref: "#/components/schemas/SpaceTrackPageView"
25842
26084
  RequestSiteTrackPageView: