@gitbook/api 0.165.0 → 0.167.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
@@ -1,4 +1,4 @@
1
- openapi: 3.0.3
1
+ openapi: 3.1.0
2
2
  info:
3
3
  title: GitBook API
4
4
  description: The GitBook API
@@ -155,6 +155,16 @@ tags:
155
155
  {% openapi-schemas spec="gitbook" schemas="SiteMcpServer" grouped="false" %}
156
156
  The SiteMcpServer object
157
157
  {% endopenapi-schemas %}
158
+ - name: site-channels
159
+ x-page-title: Site channels
160
+ x-page-description: Configure site channels for your docs site.
161
+ x-parent: sites
162
+ description: |
163
+ Manage the channels used as origins for questions and answers in your site ask data.
164
+
165
+ {% openapi-schemas spec="gitbook" schemas="SiteChannel" grouped="false" %}
166
+ The SiteChannel object
167
+ {% endopenapi-schemas %}
158
168
  - name: site-ads
159
169
  x-page-title: Site ads
160
170
  x-page-description: Control and customize ad placements on your docs site.
@@ -192,7 +202,7 @@ tags:
192
202
  description: |
193
203
  Manage the contextual records and topics used by your site to power AI experiences and insights.
194
204
 
195
- {% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic" grouped="false" %}
205
+ {% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic,SiteIssue,SiteIssuePage" grouped="false" %}
196
206
  The Site Context objects
197
207
  {% endopenapi-schemas %}
198
208
  - name: site-questions
@@ -642,15 +652,9 @@ paths:
642
652
  title: Remove icon or emoji
643
653
  properties:
644
654
  emoji:
645
- type: string
646
- nullable: true
647
- enum:
648
- - null
655
+ type: "null"
649
656
  icon:
650
- type: string
651
- nullable: true
652
- enum:
653
- - null
657
+ type: "null"
654
658
  responses:
655
659
  "200":
656
660
  description: The space has been updated
@@ -733,8 +737,9 @@ paths:
733
737
  properties:
734
738
  parent:
735
739
  description: The unique id of the parent collection
736
- type: string
737
- nullable: true
740
+ type:
741
+ - string
742
+ - "null"
738
743
  position:
739
744
  description: Where to move the space. By default, it will be moved at the end.
740
745
  $ref: "#/components/schemas/ContentPosition"
@@ -1582,6 +1587,12 @@ paths:
1582
1587
  schema:
1583
1588
  type: string
1584
1589
  description: If defined, only change requests with a requested reviewer for this user will be returned.
1590
+ - name: topic
1591
+ in: query
1592
+ required: false
1593
+ schema:
1594
+ type: string
1595
+ description: If defined, only change requests linked to this site topic will be returned.
1585
1596
  - name: orderBy
1586
1597
  in: query
1587
1598
  required: false
@@ -3367,8 +3378,9 @@ paths:
3367
3378
  properties:
3368
3379
  parent:
3369
3380
  description: The unique id of the parent collection
3370
- type: string
3371
- nullable: true
3381
+ type:
3382
+ - string
3383
+ - "null"
3372
3384
  position:
3373
3385
  description: Where to move the collection. By default, it will be moved at the end.
3374
3386
  $ref: "#/components/schemas/ContentPosition"
@@ -4472,17 +4484,11 @@ paths:
4472
4484
  defaultContent:
4473
4485
  oneOf:
4474
4486
  - $ref: "#/components/schemas/OrganizationDefaultContent"
4475
- - type: string
4476
- nullable: true
4477
- enum:
4478
- - null
4487
+ - type: "null"
4479
4488
  logo:
4480
4489
  oneOf:
4481
4490
  - $ref: "#/components/schemas/URL"
4482
- - type: string
4483
- nullable: true
4484
- enum:
4485
- - null
4491
+ - type: "null"
4486
4492
  sso:
4487
4493
  type: boolean
4488
4494
  ai:
@@ -5227,6 +5233,12 @@ paths:
5227
5233
  schema:
5228
5234
  type: string
5229
5235
  description: If defined, only change requests with a requested reviewer for this user will be returned.
5236
+ - name: topic
5237
+ in: query
5238
+ required: false
5239
+ schema:
5240
+ type: string
5241
+ description: If defined, only change requests linked to this site topic will be returned.
5230
5242
  - name: orderBy
5231
5243
  in: query
5232
5244
  required: false
@@ -6481,10 +6493,7 @@ paths:
6481
6493
  storageKey:
6482
6494
  oneOf:
6483
6495
  - $ref: "#/components/schemas/StorageFileKey"
6484
- - type: string
6485
- nullable: true
6486
- enum:
6487
- - null
6496
+ - type: "null"
6488
6497
  required:
6489
6498
  - weight
6490
6499
  - storageKey
@@ -6728,10 +6737,7 @@ paths:
6728
6737
  Use `null` to remove the proxy.
6729
6738
  oneOf:
6730
6739
  - $ref: "#/components/schemas/SiteProxyOrigin"
6731
- - type: string
6732
- nullable: true
6733
- enum:
6734
- - null
6740
+ - type: "null"
6735
6741
  responses:
6736
6742
  "200":
6737
6743
  description: OK
@@ -7172,6 +7178,12 @@ paths:
7172
7178
  description: Rison encoded string of attributes/assertions about the visitor for which we want to preview the site.
7173
7179
  schema:
7174
7180
  type: string
7181
+ - name: draft
7182
+ in: query
7183
+ description: Whether to include draft content in the preview. Defaults to true
7184
+ schema:
7185
+ type: boolean
7186
+ default: true
7175
7187
  responses:
7176
7188
  "200":
7177
7189
  description: OK
@@ -7408,10 +7420,7 @@ paths:
7408
7420
  icon:
7409
7421
  oneOf:
7410
7422
  - $ref: "#/components/schemas/Icon"
7411
- - type: string
7412
- nullable: true
7413
- enum:
7414
- - null
7423
+ - type: "null"
7415
7424
  sections:
7416
7425
  type: array
7417
7426
  items:
@@ -7458,10 +7467,7 @@ paths:
7458
7467
  icon:
7459
7468
  oneOf:
7460
7469
  - $ref: "#/components/schemas/Icon"
7461
- - type: string
7462
- nullable: true
7463
- enum:
7464
- - null
7470
+ - type: "null"
7465
7471
  responses:
7466
7472
  "200":
7467
7473
  description: OK
@@ -7563,17 +7569,11 @@ paths:
7563
7569
  title:
7564
7570
  oneOf:
7565
7571
  - $ref: "#/components/schemas/SiteSectionTitle"
7566
- - type: string
7567
- nullable: true
7568
- enum:
7569
- - null
7572
+ - type: "null"
7570
7573
  icon:
7571
7574
  oneOf:
7572
7575
  - $ref: "#/components/schemas/Icon"
7573
- - type: string
7574
- nullable: true
7575
- enum:
7576
- - null
7576
+ - type: "null"
7577
7577
  required:
7578
7578
  - spaceId
7579
7579
  responses:
@@ -7638,6 +7638,8 @@ paths:
7638
7638
  properties:
7639
7639
  title:
7640
7640
  $ref: "#/components/schemas/SiteSectionTitle"
7641
+ localizedTitle:
7642
+ $ref: "#/components/schemas/LocalizedString"
7641
7643
  path:
7642
7644
  $ref: "#/components/schemas/SiteSectionPath"
7643
7645
  defaultSiteSpace:
@@ -7647,24 +7649,15 @@ paths:
7647
7649
  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.
7648
7650
  oneOf:
7649
7651
  - $ref: "#/components/schemas/Expression"
7650
- - type: string
7651
- nullable: true
7652
- enum:
7653
- - null
7652
+ - type: "null"
7654
7653
  icon:
7655
7654
  oneOf:
7656
7655
  - $ref: "#/components/schemas/Icon"
7657
- - type: string
7658
- nullable: true
7659
- enum:
7660
- - null
7656
+ - type: "null"
7661
7657
  description:
7662
7658
  oneOf:
7663
7659
  - $ref: "#/components/schemas/SiteSectionDescription"
7664
- - type: string
7665
- nullable: true
7666
- enum:
7667
- - null
7660
+ - type: "null"
7668
7661
  responses:
7669
7662
  "200":
7670
7663
  description: OK
@@ -7941,6 +7934,240 @@ paths:
7941
7934
  application/json:
7942
7935
  schema:
7943
7936
  $ref: "#/components/schemas/ContextRecord"
7937
+ "/orgs/{organizationId}/sites/{siteId}/issues":
7938
+ get:
7939
+ operationId: listSiteIssues
7940
+ summary: List all site context issues
7941
+ tags:
7942
+ - site-context
7943
+ security:
7944
+ - user: []
7945
+ parameters:
7946
+ - $ref: "#/components/parameters/organizationId"
7947
+ - $ref: "#/components/parameters/siteId"
7948
+ - $ref: "#/components/parameters/listPage"
7949
+ - $ref: "#/components/parameters/listLimit"
7950
+ - name: topic
7951
+ in: query
7952
+ description: Filter issues by associated site topic ID.
7953
+ schema:
7954
+ type: string
7955
+ - name: status
7956
+ in: query
7957
+ description: Filter issues by status.
7958
+ schema:
7959
+ $ref: "#/components/schemas/SiteIssueStatus"
7960
+ - name: type
7961
+ in: query
7962
+ description: Filter issues by type.
7963
+ schema:
7964
+ $ref: "#/components/schemas/SiteIssueType"
7965
+ - name: priority
7966
+ in: query
7967
+ description: Filter issues by estimated priority.
7968
+ schema:
7969
+ $ref: "#/components/schemas/SiteIssuePriority"
7970
+ responses:
7971
+ "200":
7972
+ description: OK
7973
+ content:
7974
+ application/json:
7975
+ schema:
7976
+ allOf:
7977
+ - $ref: "#/components/schemas/List"
7978
+ - type: object
7979
+ required:
7980
+ - items
7981
+ properties:
7982
+ items:
7983
+ type: array
7984
+ items:
7985
+ $ref: "#/components/schemas/SiteIssue"
7986
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}":
7987
+ get:
7988
+ operationId: getSiteIssueById
7989
+ summary: Get a site issue by ID
7990
+ tags:
7991
+ - site-context
7992
+ security:
7993
+ - user: []
7994
+ parameters:
7995
+ - $ref: "#/components/parameters/organizationId"
7996
+ - $ref: "#/components/parameters/siteId"
7997
+ - $ref: "#/components/parameters/siteIssueId"
7998
+ responses:
7999
+ "200":
8000
+ description: OK
8001
+ content:
8002
+ application/json:
8003
+ schema:
8004
+ $ref: "#/components/schemas/SiteIssue"
8005
+ patch:
8006
+ operationId: updateSiteIssueById
8007
+ summary: Update a site issue
8008
+ tags:
8009
+ - site-context
8010
+ security:
8011
+ - user: []
8012
+ parameters:
8013
+ - $ref: "#/components/parameters/organizationId"
8014
+ - $ref: "#/components/parameters/siteId"
8015
+ - $ref: "#/components/parameters/siteIssueId"
8016
+ requestBody:
8017
+ required: true
8018
+ content:
8019
+ application/json:
8020
+ schema:
8021
+ type: object
8022
+ properties:
8023
+ status:
8024
+ type: string
8025
+ enum:
8026
+ - open
8027
+ - canceled
8028
+ required:
8029
+ - status
8030
+ responses:
8031
+ "200":
8032
+ description: OK
8033
+ content:
8034
+ application/json:
8035
+ schema:
8036
+ $ref: "#/components/schemas/SiteIssue"
8037
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests":
8038
+ get:
8039
+ operationId: listChangeRequestsForSiteIssue
8040
+ summary: List change requests linked to a site issue
8041
+ tags:
8042
+ - site-context
8043
+ security:
8044
+ - user: []
8045
+ parameters:
8046
+ - $ref: "#/components/parameters/listPage"
8047
+ - $ref: "#/components/parameters/listLimit"
8048
+ - $ref: "#/components/parameters/organizationId"
8049
+ - $ref: "#/components/parameters/siteId"
8050
+ - $ref: "#/components/parameters/siteIssueId"
8051
+ responses:
8052
+ "200":
8053
+ description: List of change requests linked to the site issue
8054
+ content:
8055
+ application/json:
8056
+ schema:
8057
+ allOf:
8058
+ - $ref: "#/components/schemas/List"
8059
+ - type: object
8060
+ required:
8061
+ - items
8062
+ properties:
8063
+ items:
8064
+ type: array
8065
+ items:
8066
+ $ref: "#/components/schemas/ChangeRequest"
8067
+ post:
8068
+ operationId: triggerChangeRequestsForSiteIssue
8069
+ summary: Process a site issue into change requests
8070
+ tags:
8071
+ - site-context
8072
+ security:
8073
+ - user: []
8074
+ parameters:
8075
+ - $ref: "#/components/parameters/organizationId"
8076
+ - $ref: "#/components/parameters/siteId"
8077
+ - $ref: "#/components/parameters/siteIssueId"
8078
+ responses:
8079
+ "202":
8080
+ description: Site issue processing has been started
8081
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/pages":
8082
+ get:
8083
+ operationId: listPagesForSiteIssue
8084
+ summary: List pages linked to a site issue
8085
+ tags:
8086
+ - site-context
8087
+ security:
8088
+ - user: []
8089
+ parameters:
8090
+ - $ref: "#/components/parameters/listPage"
8091
+ - $ref: "#/components/parameters/listLimit"
8092
+ - $ref: "#/components/parameters/organizationId"
8093
+ - $ref: "#/components/parameters/siteId"
8094
+ - $ref: "#/components/parameters/siteIssueId"
8095
+ responses:
8096
+ "200":
8097
+ description: List of pages linked to the site issue
8098
+ content:
8099
+ application/json:
8100
+ schema:
8101
+ allOf:
8102
+ - $ref: "#/components/schemas/List"
8103
+ - type: object
8104
+ required:
8105
+ - items
8106
+ properties:
8107
+ items:
8108
+ type: array
8109
+ items:
8110
+ $ref: "#/components/schemas/SiteIssuePage"
8111
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/questions":
8112
+ get:
8113
+ operationId: listQuestionsForSiteIssue
8114
+ summary: List questions linked to a site issue
8115
+ tags:
8116
+ - site-context
8117
+ security:
8118
+ - user: []
8119
+ parameters:
8120
+ - $ref: "#/components/parameters/listPage"
8121
+ - $ref: "#/components/parameters/listLimit"
8122
+ - $ref: "#/components/parameters/organizationId"
8123
+ - $ref: "#/components/parameters/siteId"
8124
+ - $ref: "#/components/parameters/siteIssueId"
8125
+ responses:
8126
+ "200":
8127
+ description: List of questions linked to the site issue
8128
+ content:
8129
+ application/json:
8130
+ schema:
8131
+ allOf:
8132
+ - $ref: "#/components/schemas/List"
8133
+ - type: object
8134
+ required:
8135
+ - items
8136
+ properties:
8137
+ items:
8138
+ type: array
8139
+ items:
8140
+ $ref: "#/components/schemas/SiteQuestion"
8141
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/records":
8142
+ get:
8143
+ operationId: listRecordsForSiteIssue
8144
+ summary: List records linked to a site issue
8145
+ tags:
8146
+ - site-context
8147
+ security:
8148
+ - user: []
8149
+ parameters:
8150
+ - $ref: "#/components/parameters/listPage"
8151
+ - $ref: "#/components/parameters/listLimit"
8152
+ - $ref: "#/components/parameters/organizationId"
8153
+ - $ref: "#/components/parameters/siteId"
8154
+ - $ref: "#/components/parameters/siteIssueId"
8155
+ responses:
8156
+ "200":
8157
+ description: List of records linked to the site issue
8158
+ content:
8159
+ application/json:
8160
+ schema:
8161
+ allOf:
8162
+ - $ref: "#/components/schemas/List"
8163
+ - type: object
8164
+ required:
8165
+ - items
8166
+ properties:
8167
+ items:
8168
+ type: array
8169
+ items:
8170
+ $ref: "#/components/schemas/ContextRecord"
7944
8171
  "/orgs/{organizationId}/sites/{siteId}/context-connections":
7945
8172
  get:
7946
8173
  operationId: listSiteContextConnections
@@ -8093,6 +8320,16 @@ paths:
8093
8320
  parameters:
8094
8321
  - $ref: "#/components/parameters/organizationId"
8095
8322
  - $ref: "#/components/parameters/siteId"
8323
+ - name: from
8324
+ in: query
8325
+ description: Filter stats to answers created at or after this timestamp.
8326
+ schema:
8327
+ $ref: "#/components/schemas/Timestamp"
8328
+ - name: to
8329
+ in: query
8330
+ description: Filter stats to answers created at or before this timestamp.
8331
+ schema:
8332
+ $ref: "#/components/schemas/Timestamp"
8096
8333
  responses:
8097
8334
  "200":
8098
8335
  description: OK
@@ -8145,7 +8382,7 @@ paths:
8145
8382
  type: object
8146
8383
  properties:
8147
8384
  usageSettings:
8148
- $ref: "#/components/schemas/ContextUsageSettings"
8385
+ $ref: "#/components/schemas/SiteTopicUsageSettings"
8149
8386
  required:
8150
8387
  - usageSettings
8151
8388
  responses:
@@ -8155,6 +8392,23 @@ paths:
8155
8392
  application/json:
8156
8393
  schema:
8157
8394
  $ref: "#/components/schemas/SiteTopic"
8395
+ "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/issues":
8396
+ delete:
8397
+ operationId: deleteSiteTopicIssues
8398
+ summary: Delete all issues for a topic
8399
+ tags:
8400
+ - site-context
8401
+ security:
8402
+ - user: []
8403
+ parameters:
8404
+ - $ref: "#/components/parameters/organizationId"
8405
+ - $ref: "#/components/parameters/siteId"
8406
+ - $ref: "#/components/parameters/siteTopicId"
8407
+ responses:
8408
+ "204":
8409
+ description: Topic had no issues or did not exist
8410
+ "205":
8411
+ description: Topic issues deleted
8158
8412
  "/orgs/{organizationId}/sites/{siteId}/questions":
8159
8413
  get:
8160
8414
  operationId: listSiteQuestions
@@ -8166,14 +8420,29 @@ paths:
8166
8420
  parameters:
8167
8421
  - $ref: "#/components/parameters/organizationId"
8168
8422
  - $ref: "#/components/parameters/siteId"
8423
+ - name: from
8424
+ in: query
8425
+ description: Filter stats to answers created at or after this timestamp.
8426
+ schema:
8427
+ $ref: "#/components/schemas/Timestamp"
8428
+ - name: to
8429
+ in: query
8430
+ description: Filter stats to answers created at or before this timestamp.
8431
+ schema:
8432
+ $ref: "#/components/schemas/Timestamp"
8169
8433
  - name: type
8170
8434
  in: query
8171
8435
  description: Filter questions by question type.
8172
8436
  schema:
8173
8437
  $ref: "#/components/schemas/SiteQuestionType"
8174
- - $ref: "#/components/parameters/listPage"
8175
- - $ref: "#/components/parameters/listLimit"
8176
- responses:
8438
+ - name: answered
8439
+ in: query
8440
+ description: Filter questions by answer resolution.
8441
+ schema:
8442
+ $ref: "#/components/schemas/SiteQuestionAnswerResolution"
8443
+ - $ref: "#/components/parameters/listPage"
8444
+ - $ref: "#/components/parameters/listLimit"
8445
+ responses:
8177
8446
  "200":
8178
8447
  description: OK
8179
8448
  content:
@@ -8219,6 +8488,30 @@ paths:
8219
8488
  parameters:
8220
8489
  - $ref: "#/components/parameters/organizationId"
8221
8490
  - $ref: "#/components/parameters/siteId"
8491
+ - name: from
8492
+ in: query
8493
+ description: Filter stats to answers created at or after this timestamp.
8494
+ schema:
8495
+ $ref: "#/components/schemas/Timestamp"
8496
+ - name: to
8497
+ in: query
8498
+ description: Filter stats to answers created at or before this timestamp.
8499
+ schema:
8500
+ $ref: "#/components/schemas/Timestamp"
8501
+ - name: topic
8502
+ in: query
8503
+ description: Filter stats by associated site topic IDs.
8504
+ schema:
8505
+ type: array
8506
+ items:
8507
+ type: string
8508
+ - name: relevance
8509
+ in: query
8510
+ description: Filter stats by question relevance.
8511
+ schema:
8512
+ type: array
8513
+ items:
8514
+ $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8222
8515
  responses:
8223
8516
  "200":
8224
8517
  description: OK
@@ -8252,11 +8545,11 @@ paths:
8252
8545
  description: Filter answers by answered resolution.
8253
8546
  schema:
8254
8547
  $ref: "#/components/schemas/SiteQuestionAnswerResolution"
8255
- - name: confidence
8548
+ - name: helpfulness
8256
8549
  in: query
8257
- description: Filter answers by answered confidence.
8550
+ description: Filter answers by answered helpfulness.
8258
8551
  schema:
8259
- $ref: "#/components/schemas/SiteQuestionAnswerConfidence"
8552
+ $ref: "#/components/schemas/SiteQuestionAnswerHelpfulness"
8260
8553
  - name: relevance
8261
8554
  in: query
8262
8555
  description: Filter answers by question relevance.
@@ -8369,10 +8662,7 @@ paths:
8369
8662
  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.
8370
8663
  oneOf:
8371
8664
  - $ref: "#/components/schemas/Expression"
8372
- - type: string
8373
- nullable: true
8374
- enum:
8375
- - null
8665
+ - type: "null"
8376
8666
  spaceId:
8377
8667
  type: string
8378
8668
  description: The content that this site space points to. If not set, the space will remain unchanged.
@@ -8447,10 +8737,7 @@ paths:
8447
8737
  description: Title to use for the published site variant. If not defined, the title will not be changed. If set to null, the title will be unset and will fallback to the content title.
8448
8738
  oneOf:
8449
8739
  - $ref: "#/components/schemas/SiteTitle"
8450
- - type: string
8451
- nullable: true
8452
- enum:
8453
- - null
8740
+ - type: "null"
8454
8741
  styling:
8455
8742
  type: object
8456
8743
  properties:
@@ -8458,90 +8745,57 @@ paths:
8458
8745
  description: The site theme. Set to null to reset the override.
8459
8746
  oneOf:
8460
8747
  - $ref: "#/components/schemas/CustomizationTheme"
8461
- - type: string
8462
- nullable: true
8463
- enum:
8464
- - null
8748
+ - type: "null"
8465
8749
  primaryColor:
8466
8750
  description: The primary color used for links and UI text. Set to null to reset the override.
8467
8751
  oneOf:
8468
8752
  - $ref: "#/components/schemas/CustomizationThemedColor"
8469
- - type: string
8470
- nullable: true
8471
- enum:
8472
- - null
8753
+ - type: "null"
8473
8754
  infoColor:
8474
8755
  description: Used for informational messages and neutral alerts. Set to null to reset the override.
8475
8756
  oneOf:
8476
8757
  - $ref: "#/components/schemas/CustomizationThemedColor"
8477
- - type: string
8478
- nullable: true
8479
- enum:
8480
- - null
8758
+ - type: "null"
8481
8759
  successColor:
8482
8760
  description: Used for showing positive actions or achievements. Set to null to reset the override.
8483
8761
  oneOf:
8484
8762
  - $ref: "#/components/schemas/CustomizationThemedColor"
8485
- - type: string
8486
- nullable: true
8487
- enum:
8488
- - null
8763
+ - type: "null"
8489
8764
  warningColor:
8490
8765
  description: Used for showing important information or non-critical warnings. Set to null to reset the override.
8491
8766
  oneOf:
8492
8767
  - $ref: "#/components/schemas/CustomizationThemedColor"
8493
- - type: string
8494
- nullable: true
8495
- enum:
8496
- - null
8768
+ - type: "null"
8497
8769
  dangerColor:
8498
8770
  description: Used for destructive actions or raising attention to critical information. Set to null to reset the override.
8499
8771
  oneOf:
8500
8772
  - $ref: "#/components/schemas/CustomizationThemedColor"
8501
- - type: string
8502
- nullable: true
8503
- enum:
8504
- - null
8773
+ - type: "null"
8505
8774
  tint:
8506
8775
  description: The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.
8507
8776
  oneOf:
8508
8777
  - $ref: "#/components/schemas/CustomizationTint"
8509
- - type: string
8510
- nullable: true
8511
- enum:
8512
- - null
8778
+ - type: "null"
8513
8779
  corners:
8514
8780
  description: The style of the corners to use. Set to null to reset the override.
8515
8781
  oneOf:
8516
8782
  - $ref: "#/components/schemas/CustomizationCorners"
8517
- - type: string
8518
- nullable: true
8519
- enum:
8520
- - null
8783
+ - type: "null"
8521
8784
  depth:
8522
8785
  description: The depth of elements on the site. Set to null to reset the override.
8523
8786
  oneOf:
8524
8787
  - $ref: "#/components/schemas/CustomizationDepth"
8525
- - type: string
8526
- nullable: true
8527
- enum:
8528
- - null
8788
+ - type: "null"
8529
8789
  links:
8530
8790
  description: The style for links to use. Set to null to reset the override.
8531
8791
  oneOf:
8532
8792
  - $ref: "#/components/schemas/CustomizationLinksStyle"
8533
- - type: string
8534
- nullable: true
8535
- enum:
8536
- - null
8793
+ - type: "null"
8537
8794
  icons:
8538
8795
  description: The icons style to use for the content. Set to null to reset the override.
8539
8796
  oneOf:
8540
8797
  - $ref: "#/components/schemas/CustomizationIconsStyle"
8541
- - type: string
8542
- nullable: true
8543
- enum:
8544
- - null
8798
+ - type: "null"
8545
8799
  sidebar:
8546
8800
  description: Various styles for the sidebar. Each can be Set to null to reset the override.
8547
8801
  type: object
@@ -8549,33 +8803,21 @@ paths:
8549
8803
  background:
8550
8804
  oneOf:
8551
8805
  - $ref: "#/components/schemas/CustomizationSidebarBackgroundStyle"
8552
- - type: string
8553
- nullable: true
8554
- enum:
8555
- - null
8806
+ - type: "null"
8556
8807
  list:
8557
8808
  oneOf:
8558
8809
  - $ref: "#/components/schemas/CustomizationSidebarListStyle"
8559
- - type: string
8560
- nullable: true
8561
- enum:
8562
- - null
8810
+ - type: "null"
8563
8811
  search:
8564
8812
  description: Styling for the search button at the top of the site.
8565
8813
  oneOf:
8566
8814
  - $ref: "#/components/schemas/CustomizationSearchStyle"
8567
- - type: string
8568
- nullable: true
8569
- enum:
8570
- - null
8815
+ - type: "null"
8571
8816
  background:
8572
8817
  description: The style of background to use. Set to null to reset the override.
8573
8818
  oneOf:
8574
8819
  - $ref: "#/components/schemas/CustomizationBackground"
8575
- - type: string
8576
- nullable: true
8577
- enum:
8578
- - null
8820
+ - type: "null"
8579
8821
  codeTheme:
8580
8822
  description: The code theme to use. Set to null to reset the override.
8581
8823
  type: object
@@ -8583,17 +8825,11 @@ paths:
8583
8825
  default:
8584
8826
  oneOf:
8585
8827
  - $ref: "#/components/schemas/CustomizationThemedCodeTheme"
8586
- - type: string
8587
- nullable: true
8588
- enum:
8589
- - null
8828
+ - type: "null"
8590
8829
  openapi:
8591
8830
  oneOf:
8592
8831
  - $ref: "#/components/schemas/CustomizationThemedCodeTheme"
8593
- - type: string
8594
- nullable: true
8595
- enum:
8596
- - null
8832
+ - type: "null"
8597
8833
  internationalization:
8598
8834
  type: object
8599
8835
  deprecated: true
@@ -8602,20 +8838,14 @@ paths:
8602
8838
  description: The locale to use for the non-custom elements of the UI. Set to null to reset the override.
8603
8839
  oneOf:
8604
8840
  - $ref: "#/components/schemas/CustomizationLocale"
8605
- - type: string
8606
- nullable: true
8607
- enum:
8608
- - null
8841
+ - type: "null"
8609
8842
  required:
8610
8843
  - locale
8611
8844
  favicon:
8612
8845
  description: The favicon to use. Set to null to reset the override.
8613
8846
  oneOf:
8614
8847
  - $ref: "#/components/schemas/CustomizationFavicon"
8615
- - type: string
8616
- nullable: true
8617
- enum:
8618
- - null
8848
+ - type: "null"
8619
8849
  announcement:
8620
8850
  $ref: "#/components/schemas/CustomizationAnnouncement"
8621
8851
  header:
@@ -8625,46 +8855,32 @@ paths:
8625
8855
  description: The theme preset to use. Set to null to reset the override.
8626
8856
  oneOf:
8627
8857
  - $ref: "#/components/schemas/CustomizationHeaderPreset"
8628
- - type: string
8629
- nullable: true
8630
- enum:
8631
- - null
8858
+ - type: "null"
8632
8859
  logo:
8633
8860
  description: The header logo to use. Set to null to reset the override.
8634
8861
  oneOf:
8635
8862
  - $ref: "#/components/schemas/CustomizationThemedURL"
8636
- - type: string
8637
- nullable: true
8638
- enum:
8639
- - null
8863
+ - type: "null"
8640
8864
  primaryLink:
8641
8865
  description: The destination to open when visitors click the site title/logo in the header. Set to null to reset the override.
8642
8866
  oneOf:
8643
8867
  - $ref: "#/components/schemas/ContentRef"
8644
- - type: string
8645
- nullable: true
8646
- enum:
8647
- - null
8868
+ - type: "null"
8648
8869
  backgroundColor:
8649
8870
  description: The background color used in the header. Set to null to reset the override.
8650
8871
  oneOf:
8651
8872
  - $ref: "#/components/schemas/CustomizationThemedColor"
8652
- - type: string
8653
- nullable: true
8654
- enum:
8655
- - null
8873
+ - type: "null"
8656
8874
  linkColor:
8657
8875
  description: The color used by the links in the header. Set to null to reset the override.
8658
8876
  oneOf:
8659
8877
  - $ref: "#/components/schemas/CustomizationThemedColor"
8660
- - type: string
8661
- nullable: true
8662
- enum:
8663
- - null
8878
+ - type: "null"
8664
8879
  links:
8665
- type: array
8880
+ type:
8881
+ - array
8882
+ - "null"
8666
8883
  description: The links that are displayed in the header. Set to null to reset the override.
8667
- nullable: true
8668
8884
  items:
8669
8885
  $ref: "#/components/schemas/CustomizationHeaderItem"
8670
8886
  footer:
@@ -8674,20 +8890,19 @@ paths:
8674
8890
  description: The logo displayed in the footer. Set to null to reset the override.
8675
8891
  oneOf:
8676
8892
  - $ref: "#/components/schemas/CustomizationThemedURL"
8677
- - type: string
8678
- nullable: true
8679
- enum:
8680
- - null
8893
+ - type: "null"
8681
8894
  groups:
8682
- type: array
8895
+ type:
8896
+ - array
8897
+ - "null"
8683
8898
  description: The links groups that are displayed in the footer. Set to null to reset the override.
8684
- nullable: true
8685
8899
  items:
8686
8900
  $ref: "#/components/schemas/CustomizationFooterGroup"
8687
8901
  copyright:
8688
- type: string
8902
+ type:
8903
+ - string
8904
+ - "null"
8689
8905
  description: The copyright text that is displayed in the footer. Set to null to reset the override.
8690
- nullable: true
8691
8906
  maxLength: 300
8692
8907
  themes:
8693
8908
  type: object
@@ -8696,39 +8911,40 @@ paths:
8696
8911
  description: The theme mode default value. Set to null to reset the override.
8697
8912
  oneOf:
8698
8913
  - $ref: "#/components/schemas/CustomizationThemeMode"
8699
- - type: string
8700
- nullable: true
8701
- enum:
8702
- - null
8914
+ - type: "null"
8703
8915
  toggeable:
8704
8916
  description: Should the reader be able to switch between dark and light mode. Set to null to reset the override.
8705
- type: boolean
8706
- nullable: true
8917
+ type:
8918
+ - boolean
8919
+ - "null"
8707
8920
  pdf:
8708
8921
  type: object
8709
8922
  properties:
8710
8923
  enabled:
8711
- type: boolean
8924
+ type:
8925
+ - boolean
8926
+ - "null"
8712
8927
  description: If true, PDF export is enabled for the published site. Set to null to reset the override.
8713
- nullable: true
8714
8928
  required:
8715
8929
  - enabled
8716
8930
  feedback:
8717
8931
  type: object
8718
8932
  properties:
8719
8933
  enabled:
8720
- type: boolean
8934
+ type:
8935
+ - boolean
8936
+ - "null"
8721
8937
  description: If true, feedback gathering is enabled. Set to null to reset the override.
8722
- nullable: true
8723
8938
  required:
8724
8939
  - enabled
8725
8940
  git:
8726
8941
  type: object
8727
8942
  properties:
8728
8943
  showEditLink:
8729
- type: boolean
8944
+ type:
8945
+ - boolean
8946
+ - "null"
8730
8947
  description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override.
8731
- nullable: true
8732
8948
  required:
8733
8949
  - showEditLink
8734
8950
  externalLinks:
@@ -8738,28 +8954,27 @@ paths:
8738
8954
  description: How external links should open. Set to null to reset the override.
8739
8955
  oneOf:
8740
8956
  - $ref: "#/components/schemas/SiteExternalLinksTarget"
8741
- - type: string
8742
- nullable: true
8743
- enum:
8744
- - null
8957
+ - type: "null"
8745
8958
  required:
8746
8959
  - target
8747
8960
  pagination:
8748
8961
  type: object
8749
8962
  properties:
8750
8963
  enabled:
8751
- type: boolean
8964
+ type:
8965
+ - boolean
8966
+ - "null"
8752
8967
  description: Whether the pagination navigation should be displayed on pages. Set to null to reset the override.
8753
- nullable: true
8754
8968
  required:
8755
8969
  - enabled
8756
8970
  trademark:
8757
8971
  type: object
8758
8972
  properties:
8759
8973
  enabled:
8760
- type: boolean
8974
+ type:
8975
+ - boolean
8976
+ - "null"
8761
8977
  description: Whether the GitBook trademark ("Powered by GitBook") should be visible. Set to null to reset the override.
8762
- nullable: true
8763
8978
  required:
8764
8979
  - enabled
8765
8980
  privacyPolicy:
@@ -8769,10 +8984,7 @@ paths:
8769
8984
  description: The custom link to the privacy policy. Set to null to reset the override.
8770
8985
  oneOf:
8771
8986
  - $ref: "#/components/schemas/URL"
8772
- - type: string
8773
- nullable: true
8774
- enum:
8775
- - null
8987
+ - type: "null"
8776
8988
  socialPreview:
8777
8989
  type: object
8778
8990
  properties:
@@ -8780,10 +8992,7 @@ paths:
8780
8992
  description: The URL for the social preview image. Set to null to reset the override.
8781
8993
  oneOf:
8782
8994
  - $ref: "#/components/schemas/URL"
8783
- - type: string
8784
- nullable: true
8785
- enum:
8786
- - null
8995
+ - type: "null"
8787
8996
  responses:
8788
8997
  "200":
8789
8998
  description: OK
@@ -9159,6 +9368,14 @@ paths:
9159
9368
  $ref: "#/components/schemas/AIToolCallResult"
9160
9369
  session:
9161
9370
  $ref: "#/components/schemas/SiteInsightsSession"
9371
+ channel:
9372
+ type: object
9373
+ description: The channel from which the question was asked, if applicable.
9374
+ required:
9375
+ - type
9376
+ properties:
9377
+ type:
9378
+ $ref: "#/components/schemas/SiteCoreChannelType"
9162
9379
  responses:
9163
9380
  "200":
9164
9381
  description: OK
@@ -9292,6 +9509,10 @@ paths:
9292
9509
  type: boolean
9293
9510
  default: false
9294
9511
  description: Capture and append the wildcard-matched suffix to the destination URL.
9512
+ draft:
9513
+ type: boolean
9514
+ default: false
9515
+ description: Whether the redirect is draft and not live.
9295
9516
  destination:
9296
9517
  $ref: "#/components/schemas/SiteRedirectInputDestination"
9297
9518
  required:
@@ -9326,19 +9547,46 @@ paths:
9326
9547
  minItems: 1
9327
9548
  maxItems: 500
9328
9549
  items:
9329
- type: object
9330
- properties:
9331
- source:
9332
- $ref: "#/components/schemas/SiteRedirectSourcePath"
9333
- captureWildcard:
9334
- type: boolean
9335
- default: false
9336
- description: Capture and append the wildcard-matched suffix to the destination URL.
9337
- destination:
9338
- $ref: "#/components/schemas/SiteRedirectInputDestination"
9339
- required:
9340
- - source
9341
- - destination
9550
+ oneOf:
9551
+ - type: object
9552
+ properties:
9553
+ source:
9554
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9555
+ intent:
9556
+ type: string
9557
+ enum:
9558
+ - publish
9559
+ description: |
9560
+ Publish a draft redirect to live and remove the draft redirect.
9561
+ required:
9562
+ - source
9563
+ - intent
9564
+ - type: object
9565
+ properties:
9566
+ source:
9567
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9568
+ intent:
9569
+ type: string
9570
+ enum:
9571
+ - live
9572
+ - draft
9573
+ default: live
9574
+ description: |
9575
+ Redirect operation intent.
9576
+ - live: upsert/delete a live redirect (draft=false)
9577
+ - draft: upsert/delete a draft redirect (draft=true)
9578
+ captureWildcard:
9579
+ type: boolean
9580
+ default: false
9581
+ description: Capture and append the wildcard-matched suffix to the destination URL.
9582
+ destination:
9583
+ description: If set to null, the redirect matching the source+intent target will be deleted.
9584
+ oneOf:
9585
+ - $ref: "#/components/schemas/SiteRedirectInputDestination"
9586
+ - type: "null"
9587
+ required:
9588
+ - source
9589
+ - destination
9342
9590
  required:
9343
9591
  - redirects
9344
9592
  responses:
@@ -9362,12 +9610,16 @@ paths:
9362
9610
  description: The redirect was created.
9363
9611
  source:
9364
9612
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9613
+ draft:
9614
+ type: boolean
9615
+ description: Whether the redirect is draft and not live.
9365
9616
  id:
9366
9617
  type: string
9367
9618
  description: The ID of the created redirect.
9368
9619
  required:
9369
9620
  - status
9370
9621
  - source
9622
+ - draft
9371
9623
  - id
9372
9624
  - type: object
9373
9625
  properties:
@@ -9378,12 +9630,52 @@ paths:
9378
9630
  description: The redirect was updated.
9379
9631
  source:
9380
9632
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9633
+ draft:
9634
+ type: boolean
9635
+ description: Whether the redirect is draft and not live.
9381
9636
  id:
9382
9637
  type: string
9383
9638
  description: The ID of the updated redirect.
9384
9639
  required:
9385
9640
  - status
9386
9641
  - source
9642
+ - draft
9643
+ - id
9644
+ - type: object
9645
+ properties:
9646
+ status:
9647
+ type: string
9648
+ enum:
9649
+ - deleted
9650
+ description: The redirect was deleted.
9651
+ source:
9652
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9653
+ draft:
9654
+ type: boolean
9655
+ description: Whether the deleted redirect was draft.
9656
+ required:
9657
+ - status
9658
+ - source
9659
+ - draft
9660
+ - type: object
9661
+ properties:
9662
+ status:
9663
+ type: string
9664
+ enum:
9665
+ - published
9666
+ description: The draft redirect was published to live and removed from draft.
9667
+ source:
9668
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9669
+ draft:
9670
+ type: boolean
9671
+ description: Always false for published redirects.
9672
+ id:
9673
+ type: string
9674
+ description: The ID of the resulting live redirect.
9675
+ required:
9676
+ - status
9677
+ - source
9678
+ - draft
9387
9679
  - id
9388
9680
  - type: object
9389
9681
  properties:
@@ -9394,12 +9686,16 @@ paths:
9394
9686
  description: There was an error processing the redirect.
9395
9687
  source:
9396
9688
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9689
+ draft:
9690
+ type: boolean
9691
+ description: Whether the redirect is draft and not live.
9397
9692
  error:
9398
9693
  type: string
9399
9694
  description: The error message.
9400
9695
  required:
9401
9696
  - status
9402
9697
  - source
9698
+ - draft
9403
9699
  - error
9404
9700
  required:
9405
9701
  - results
@@ -9420,6 +9716,12 @@ paths:
9420
9716
  description: Search for a redirect by path
9421
9717
  schema:
9422
9718
  type: string
9719
+ - name: draft
9720
+ in: query
9721
+ description: Filter redirects by draft mode.
9722
+ schema:
9723
+ type: boolean
9724
+ default: false
9423
9725
  responses:
9424
9726
  "200":
9425
9727
  description: The list of redirects for the site.
@@ -9460,6 +9762,9 @@ paths:
9460
9762
  captureWildcard:
9461
9763
  type: boolean
9462
9764
  description: Capture and append the wildcard-matched suffix to the destination URL.
9765
+ draft:
9766
+ type: boolean
9767
+ description: When true, it can be used to promote a draft redirect to live.
9463
9768
  destination:
9464
9769
  $ref: "#/components/schemas/SiteRedirectDestination"
9465
9770
  responses:
@@ -9652,6 +9957,98 @@ paths:
9652
9957
  description: MCP server did not exist
9653
9958
  "205":
9654
9959
  description: MCP server deleted
9960
+ "/orgs/{organizationId}/sites/{siteId}/channels":
9961
+ get:
9962
+ operationId: listSiteChannels
9963
+ summary: List all site channels for a site
9964
+ tags:
9965
+ - site-channels
9966
+ security:
9967
+ - user: []
9968
+ parameters:
9969
+ - $ref: "#/components/parameters/organizationId"
9970
+ - $ref: "#/components/parameters/siteId"
9971
+ - $ref: "#/components/parameters/listPage"
9972
+ - $ref: "#/components/parameters/listLimit"
9973
+ responses:
9974
+ "200":
9975
+ description: OK
9976
+ content:
9977
+ application/json:
9978
+ schema:
9979
+ allOf:
9980
+ - $ref: "#/components/schemas/List"
9981
+ - type: object
9982
+ required:
9983
+ - items
9984
+ properties:
9985
+ items:
9986
+ type: array
9987
+ items:
9988
+ $ref: "#/components/schemas/SiteChannel"
9989
+ post:
9990
+ operationId: createSiteChannel
9991
+ summary: Create a site channel
9992
+ tags:
9993
+ - site-channels
9994
+ security:
9995
+ - user: []
9996
+ parameters:
9997
+ - $ref: "#/components/parameters/organizationId"
9998
+ - $ref: "#/components/parameters/siteId"
9999
+ requestBody:
10000
+ required: true
10001
+ content:
10002
+ application/json:
10003
+ schema:
10004
+ allOf:
10005
+ - $ref: "#/components/schemas/SiteChannelSetup"
10006
+ - type: object
10007
+ properties:
10008
+ usageSettings:
10009
+ $ref: "#/components/schemas/SiteChannelUsageSettings"
10010
+ responses:
10011
+ "201":
10012
+ description: Site channel created
10013
+ content:
10014
+ application/json:
10015
+ schema:
10016
+ $ref: "#/components/schemas/SiteChannel"
10017
+ "/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}":
10018
+ get:
10019
+ operationId: getSiteChannelById
10020
+ summary: Get a site channel
10021
+ tags:
10022
+ - site-channels
10023
+ security:
10024
+ - user: []
10025
+ parameters:
10026
+ - $ref: "#/components/parameters/organizationId"
10027
+ - $ref: "#/components/parameters/siteId"
10028
+ - $ref: "#/components/parameters/siteChannelId"
10029
+ responses:
10030
+ "200":
10031
+ description: OK
10032
+ content:
10033
+ application/json:
10034
+ schema:
10035
+ $ref: "#/components/schemas/SiteChannel"
10036
+ delete:
10037
+ operationId: deleteSiteChannelById
10038
+ summary: Delete a site channel
10039
+ tags:
10040
+ - site-channels
10041
+ security:
10042
+ - user: []
10043
+ parameters:
10044
+ - $ref: "#/components/parameters/organizationId"
10045
+ - $ref: "#/components/parameters/siteId"
10046
+ - $ref: "#/components/parameters/siteChannelId"
10047
+ responses:
10048
+ "204":
10049
+ description: Site channel did not exist
10050
+ "205":
10051
+ description: Site channel deleted
9655
10052
  "/subdomains/{subdomain}":
9656
10053
  get:
9657
10054
  operationId: getSubdomain
@@ -10069,7 +10466,7 @@ components:
10069
10466
  required: true
10070
10467
  description: The unique id of the space
10071
10468
  schema:
10072
- type: string
10469
+ $ref: "#/components/schemas/EntityId"
10073
10470
  siteShareKey:
10074
10471
  name: shareKey
10075
10472
  in: query
@@ -10082,7 +10479,7 @@ components:
10082
10479
  required: true
10083
10480
  description: The unique ID of the Team
10084
10481
  schema:
10085
- type: string
10482
+ $ref: "#/components/schemas/EntityId"
10086
10483
  revisionMetadata:
10087
10484
  name: metadata
10088
10485
  in: query
@@ -10103,14 +10500,14 @@ components:
10103
10500
  required: true
10104
10501
  description: The unique id of the file
10105
10502
  schema:
10106
- type: string
10503
+ $ref: "#/components/schemas/EntityId"
10107
10504
  pageId:
10108
10505
  name: pageId
10109
10506
  in: path
10110
10507
  required: true
10111
10508
  description: The unique id of the page
10112
10509
  schema:
10113
- type: string
10510
+ $ref: "#/components/schemas/EntityId"
10114
10511
  documentFormat:
10115
10512
  name: format
10116
10513
  in: query
@@ -10162,7 +10559,7 @@ components:
10162
10559
  required: true
10163
10560
  description: The unique id of the reusable content
10164
10561
  schema:
10165
- type: string
10562
+ $ref: "#/components/schemas/EntityId"
10166
10563
  documentSchema:
10167
10564
  name: schema
10168
10565
  in: query
@@ -10178,7 +10575,7 @@ components:
10178
10575
  required: true
10179
10576
  description: The unique ID of the change request or its number identifier in the space
10180
10577
  schema:
10181
- type: string
10578
+ $ref: "#/components/schemas/EntityId"
10182
10579
  reviewId:
10183
10580
  name: reviewId
10184
10581
  in: path
@@ -10228,21 +10625,21 @@ components:
10228
10625
  required: true
10229
10626
  description: The unique id of the comment
10230
10627
  schema:
10231
- type: string
10628
+ $ref: "#/components/schemas/EntityId"
10232
10629
  commentReplyId:
10233
10630
  name: commentReplyId
10234
10631
  in: path
10235
10632
  required: true
10236
10633
  description: The unique id of the comment reply
10237
10634
  schema:
10238
- type: string
10635
+ $ref: "#/components/schemas/EntityId"
10239
10636
  revisionId:
10240
10637
  name: revisionId
10241
10638
  in: path
10242
10639
  required: true
10243
10640
  description: The unique id of the revision
10244
10641
  schema:
10245
- type: string
10642
+ $ref: "#/components/schemas/EntityId"
10246
10643
  integrationSearchQuery:
10247
10644
  name: search
10248
10645
  in: query
@@ -10256,7 +10653,7 @@ components:
10256
10653
  required: true
10257
10654
  description: The unique id of the collection
10258
10655
  schema:
10259
- type: string
10656
+ $ref: "#/components/schemas/EntityId"
10260
10657
  integrationSearchCategory:
10261
10658
  name: category
10262
10659
  in: query
@@ -10337,14 +10734,14 @@ components:
10337
10734
  required: true
10338
10735
  description: The unique id of the organization
10339
10736
  schema:
10340
- type: string
10737
+ $ref: "#/components/schemas/EntityId"
10341
10738
  inviteId:
10342
10739
  name: inviteId
10343
10740
  in: path
10344
10741
  required: true
10345
10742
  description: The unique id of the invite
10346
10743
  schema:
10347
- type: string
10744
+ $ref: "#/components/schemas/EntityId"
10348
10745
  successReturnURL:
10349
10746
  name: successReturnURL
10350
10747
  in: query
@@ -10449,6 +10846,13 @@ components:
10449
10846
  description: The unique id of the context record
10450
10847
  schema:
10451
10848
  type: string
10849
+ siteIssueId:
10850
+ name: siteIssueId
10851
+ in: path
10852
+ required: true
10853
+ description: The unique id of the site issue
10854
+ schema:
10855
+ type: string
10452
10856
  siteContextConnectionId:
10453
10857
  name: siteContextConnectionId
10454
10858
  in: path
@@ -10498,6 +10902,13 @@ components:
10498
10902
  description: The unique id of the MCP server
10499
10903
  schema:
10500
10904
  type: string
10905
+ siteChannelId:
10906
+ name: siteChannelId
10907
+ in: path
10908
+ required: true
10909
+ description: The unique id of the site channel
10910
+ schema:
10911
+ type: string
10501
10912
  subdomain:
10502
10913
  name: subdomain
10503
10914
  in: path
@@ -10641,6 +11052,10 @@ components:
10641
11052
  type: string
10642
11053
  format: uri
10643
11054
  maxLength: 2048
11055
+ EntityId:
11056
+ type: string
11057
+ pattern: ^[a-zA-Z0-9_-]+$
11058
+ description: A unique entity identifier
10644
11059
  SpaceTitle:
10645
11060
  type: string
10646
11061
  description: Title of the space
@@ -10916,10 +11331,7 @@ components:
10916
11331
  description: The role of a member in an organization, null for guests
10917
11332
  oneOf:
10918
11333
  - $ref: "#/components/schemas/MemberRole"
10919
- - type: string
10920
- nullable: true
10921
- enum:
10922
- - null
11334
+ - type: "null"
10923
11335
  DefaultLevel:
10924
11336
  description: Default level for a piece of content
10925
11337
  oneOf:
@@ -11211,6 +11623,10 @@ components:
11211
11623
  - type
11212
11624
  - integration
11213
11625
  - block
11626
+ SearchResultScore:
11627
+ type: number
11628
+ minimum: 0
11629
+ description: Relevance score for a search result. Higher is better and the score is unbounded.
11214
11630
  SearchSectionResult:
11215
11631
  type: object
11216
11632
  description: Search result representing a section in a page.
@@ -11221,6 +11637,8 @@ components:
11221
11637
  type: string
11222
11638
  path:
11223
11639
  type: string
11640
+ score:
11641
+ $ref: "#/components/schemas/SearchResultScore"
11224
11642
  body:
11225
11643
  type: string
11226
11644
  urls:
@@ -11237,6 +11655,7 @@ components:
11237
11655
  - id
11238
11656
  - title
11239
11657
  - path
11658
+ - score
11240
11659
  - body
11241
11660
  - urls
11242
11661
  SearchPageResult:
@@ -11250,8 +11669,7 @@ components:
11250
11669
  path:
11251
11670
  type: string
11252
11671
  score:
11253
- type: number
11254
- description: Aggregated relevance score for the page.
11672
+ $ref: "#/components/schemas/SearchResultScore"
11255
11673
  sections:
11256
11674
  type: array
11257
11675
  items:
@@ -12481,8 +12899,9 @@ components:
12481
12899
  additionalProperties:
12482
12900
  oneOf:
12483
12901
  - type: number
12484
- - type: string
12485
- nullable: true
12902
+ - type:
12903
+ - string
12904
+ - "null"
12486
12905
  - type: boolean
12487
12906
  - type: array
12488
12907
  items:
@@ -13171,146 +13590,25 @@ components:
13171
13590
  - type
13172
13591
  - data
13173
13592
  - isVoid
13174
- DocumentBlockExpandable:
13175
- type: object
13176
- properties:
13177
- object:
13178
- type: string
13179
- enum:
13180
- - block
13181
- type:
13182
- type: string
13183
- enum:
13184
- - expandable
13185
- key:
13186
- type: string
13187
- isVoid:
13188
- type: boolean
13189
- enum:
13190
- - true
13191
- data:
13192
- type: object
13193
- properties:
13194
- defaultExpanded:
13195
- type: boolean
13196
- additionalProperties: false
13197
- fragments:
13198
- type: array
13199
- items:
13200
- oneOf:
13201
- - allOf:
13202
- - $ref: "#/components/schemas/DocumentFragment"
13203
- - type: object
13204
- properties:
13205
- fragment:
13206
- type: string
13207
- enum:
13208
- - expandable-title
13209
- type:
13210
- type: string
13211
- enum:
13212
- - expandable-title
13213
- nodes:
13214
- type: array
13215
- items:
13216
- $ref: "#/components/schemas/DocumentBlockParagraph"
13217
- minItems: 1
13218
- maxItems: 1
13219
- required:
13220
- - nodes
13221
- - fragment
13222
- - type
13223
- - allOf:
13224
- - $ref: "#/components/schemas/DocumentFragment"
13225
- - type: object
13226
- properties:
13227
- fragment:
13228
- type: string
13229
- enum:
13230
- - expandable-body
13231
- type:
13232
- type: string
13233
- enum:
13234
- - expandable-body
13235
- nodes:
13236
- type: array
13237
- items:
13238
- oneOf:
13239
- - $ref: "#/components/schemas/DocumentBlocksEssentials"
13240
- - $ref: "#/components/schemas/DocumentBlockFile"
13241
- - $ref: "#/components/schemas/DocumentBlockImages"
13242
- - $ref: "#/components/schemas/DocumentBlockCode"
13243
- - $ref: "#/components/schemas/DocumentBlockTable"
13244
- - $ref: "#/components/schemas/DocumentBlockHint"
13245
- - $ref: "#/components/schemas/DocumentBlockQuote"
13246
- - $ref: "#/components/schemas/DocumentBlockReusableContent"
13247
- minItems: 1
13248
- required:
13249
- - nodes
13250
- - fragment
13251
- - type
13252
- meta:
13253
- type: object
13254
- properties:
13255
- id:
13256
- description: Unique ID to be used in an URL for the block.
13257
- type: string
13258
- required:
13259
- - id
13260
- required:
13261
- - object
13262
- - type
13263
- - isVoid
13264
- - fragments
13265
- - data
13266
- DocumentBlockContentRef:
13267
- type: object
13268
- properties:
13269
- object:
13270
- type: string
13271
- enum:
13272
- - block
13273
- type:
13274
- type: string
13275
- enum:
13276
- - content-ref
13277
- key:
13278
- type: string
13279
- data:
13280
- type: object
13281
- properties:
13282
- ref:
13283
- $ref: "#/components/schemas/ContentRef"
13284
- required:
13285
- - ref
13286
- isVoid:
13287
- type: boolean
13288
- enum:
13289
- - true
13290
- required:
13291
- - object
13292
- - type
13293
- - data
13294
- - isVoid
13295
- PlainObject:
13296
- properties: {}
13297
- additionalProperties:
13298
- oneOf:
13299
- - $ref: "#/components/schemas/PlainObject"
13300
- - type: string
13301
- - type: boolean
13302
- - type: number
13303
- - type: array
13304
- items:
13305
- oneOf:
13306
- - type: string
13307
- - type: boolean
13308
- - type: number
13309
- - $ref: "#/components/schemas/PlainObject"
13310
- ContentKitDefaultAction:
13311
- oneOf:
13312
- - type: object
13313
- description: Action to open an overlay modal defined by "componentId".
13593
+ PlainObject:
13594
+ properties: {}
13595
+ additionalProperties:
13596
+ oneOf:
13597
+ - $ref: "#/components/schemas/PlainObject"
13598
+ - type: string
13599
+ - type: boolean
13600
+ - type: number
13601
+ - type: array
13602
+ items:
13603
+ oneOf:
13604
+ - type: string
13605
+ - type: boolean
13606
+ - type: number
13607
+ - $ref: "#/components/schemas/PlainObject"
13608
+ ContentKitDefaultAction:
13609
+ oneOf:
13610
+ - type: object
13611
+ description: Action to open an overlay modal defined by "componentId".
13314
13612
  properties:
13315
13613
  action:
13316
13614
  type: string
@@ -13431,6 +13729,128 @@ components:
13431
13729
  - type
13432
13730
  - data
13433
13731
  - isVoid
13732
+ DocumentBlockExpandable:
13733
+ type: object
13734
+ properties:
13735
+ object:
13736
+ type: string
13737
+ enum:
13738
+ - block
13739
+ type:
13740
+ type: string
13741
+ enum:
13742
+ - expandable
13743
+ key:
13744
+ type: string
13745
+ isVoid:
13746
+ type: boolean
13747
+ enum:
13748
+ - true
13749
+ data:
13750
+ type: object
13751
+ properties:
13752
+ defaultExpanded:
13753
+ type: boolean
13754
+ additionalProperties: false
13755
+ fragments:
13756
+ type: array
13757
+ items:
13758
+ oneOf:
13759
+ - allOf:
13760
+ - $ref: "#/components/schemas/DocumentFragment"
13761
+ - type: object
13762
+ properties:
13763
+ fragment:
13764
+ type: string
13765
+ enum:
13766
+ - expandable-title
13767
+ type:
13768
+ type: string
13769
+ enum:
13770
+ - expandable-title
13771
+ nodes:
13772
+ type: array
13773
+ items:
13774
+ $ref: "#/components/schemas/DocumentBlockParagraph"
13775
+ minItems: 1
13776
+ maxItems: 1
13777
+ required:
13778
+ - nodes
13779
+ - fragment
13780
+ - type
13781
+ - allOf:
13782
+ - $ref: "#/components/schemas/DocumentFragment"
13783
+ - type: object
13784
+ properties:
13785
+ fragment:
13786
+ type: string
13787
+ enum:
13788
+ - expandable-body
13789
+ type:
13790
+ type: string
13791
+ enum:
13792
+ - expandable-body
13793
+ nodes:
13794
+ type: array
13795
+ items:
13796
+ oneOf:
13797
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
13798
+ - $ref: "#/components/schemas/DocumentBlockFile"
13799
+ - $ref: "#/components/schemas/DocumentBlockImages"
13800
+ - $ref: "#/components/schemas/DocumentBlockCode"
13801
+ - $ref: "#/components/schemas/DocumentBlockTable"
13802
+ - $ref: "#/components/schemas/DocumentBlockHint"
13803
+ - $ref: "#/components/schemas/DocumentBlockQuote"
13804
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
13805
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
13806
+ minItems: 1
13807
+ required:
13808
+ - nodes
13809
+ - fragment
13810
+ - type
13811
+ meta:
13812
+ type: object
13813
+ properties:
13814
+ id:
13815
+ description: Unique ID to be used in an URL for the block.
13816
+ type: string
13817
+ required:
13818
+ - id
13819
+ required:
13820
+ - object
13821
+ - type
13822
+ - isVoid
13823
+ - fragments
13824
+ - data
13825
+ DocumentBlockContentRef:
13826
+ type: object
13827
+ properties:
13828
+ object:
13829
+ type: string
13830
+ enum:
13831
+ - block
13832
+ type:
13833
+ type: string
13834
+ enum:
13835
+ - content-ref
13836
+ key:
13837
+ type: string
13838
+ data:
13839
+ type: object
13840
+ properties:
13841
+ ref:
13842
+ $ref: "#/components/schemas/ContentRef"
13843
+ required:
13844
+ - ref
13845
+ isVoid:
13846
+ type: boolean
13847
+ enum:
13848
+ - true
13849
+ required:
13850
+ - object
13851
+ - type
13852
+ - data
13853
+ - isVoid
13434
13854
  DocumentBlockTabsItem:
13435
13855
  type: object
13436
13856
  properties:
@@ -13623,6 +14043,9 @@ components:
13623
14043
  description: List of schemas name from the OpenAPI spec.
13624
14044
  items:
13625
14045
  type: string
14046
+ title:
14047
+ type: string
14048
+ description: Custom title for the schemas block. When not provided, defaults to "The <SchemaName> object".
13626
14049
  required:
13627
14050
  - schemas
13628
14051
  DocumentBlockOpenAPISchemas:
@@ -14283,8 +14706,9 @@ components:
14283
14706
  ref:
14284
14707
  $ref: "#/components/schemas/ContentRefOpenAPI"
14285
14708
  value:
14286
- type: object
14287
- nullable: true
14709
+ type:
14710
+ - object
14711
+ - "null"
14288
14712
  description: See `OpenAPI` schema component.
14289
14713
  properties:
14290
14714
  object:
@@ -14384,11 +14808,8 @@ components:
14384
14808
  value:
14385
14809
  oneOf:
14386
14810
  - $ref: "#/components/schemas/TranslationResult"
14387
- - type: string
14811
+ - type: "null"
14388
14812
  description: Translation has not been run yet
14389
- nullable: true
14390
- enum:
14391
- - null
14392
14813
  required:
14393
14814
  - ref
14394
14815
  - value
@@ -14441,8 +14862,9 @@ components:
14441
14862
  ref:
14442
14863
  $ref: "#/components/schemas/ContentRefSpace"
14443
14864
  value:
14444
- type: object
14445
- nullable: true
14865
+ type:
14866
+ - object
14867
+ - "null"
14446
14868
  description: See `Space` schema component.
14447
14869
  properties:
14448
14870
  object:
@@ -14818,9 +15240,12 @@ components:
14818
15240
  label:
14819
15241
  type: string
14820
15242
  description: Display label for the tag. Can be renamed and differ from the slug.
15243
+ color:
15244
+ $ref: "#/components/schemas/DocumentTextColor"
14821
15245
  required:
14822
15246
  - slug
14823
15247
  - label
15248
+ - color
14824
15249
  - oneOf:
14825
15250
  - type: object
14826
15251
  properties:
@@ -15235,8 +15660,9 @@ components:
15235
15660
  interval:
15236
15661
  $ref: "#/components/schemas/BillingInterval"
15237
15662
  endDate:
15238
- $ref: "#/components/schemas/Timestamp"
15239
- nullable: true
15663
+ oneOf:
15664
+ - $ref: "#/components/schemas/Timestamp"
15665
+ - type: "null"
15240
15666
  hasPaymentFailed:
15241
15667
  description: If true, we were unable to collect the last payment
15242
15668
  type: boolean
@@ -15803,6 +16229,10 @@ components:
15803
16229
  type: array
15804
16230
  items:
15805
16231
  $ref: "#/components/schemas/OpenAPIErrorObject"
16232
+ lastProcessedErrorCount:
16233
+ type: integer
16234
+ minimum: 0
16235
+ description: Total number of processing errors before truncation of lastProcessedErrors.
15806
16236
  permissions:
15807
16237
  type: object
15808
16238
  description: The set of permissions for the OpenAPI specification.
@@ -15840,6 +16270,7 @@ components:
15840
16270
  - updatedAt
15841
16271
  - slug
15842
16272
  - processingState
16273
+ - lastProcessedErrorCount
15843
16274
  - permissions
15844
16275
  - urls
15845
16276
  ContentLocationOpenAPI:
@@ -18461,10 +18892,7 @@ components:
18461
18892
  icon:
18462
18893
  oneOf:
18463
18894
  - $ref: "#/components/schemas/CustomizationFavicon"
18464
- - type: string
18465
- nullable: true
18466
- enum:
18467
- - null
18895
+ - type: "null"
18468
18896
  hostname:
18469
18897
  $ref: "#/components/schemas/SiteHostname"
18470
18898
  basename:
@@ -19428,6 +19856,15 @@ components:
19428
19856
  description: Title of the site section
19429
19857
  minLength: 2
19430
19858
  maxLength: 128
19859
+ LocalizedString:
19860
+ type: object
19861
+ description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
19862
+ x-typescript: Partial<Record<TranslationLanguage, string>>
19863
+ additionalProperties:
19864
+ type: string
19865
+ maxLength: 128
19866
+ propertyNames:
19867
+ $ref: "#/components/schemas/TranslationLanguage"
19431
19868
  SiteSectionDescription:
19432
19869
  type: string
19433
19870
  description: Description of the site section
@@ -19503,6 +19940,8 @@ components:
19503
19940
  description: Unique identifier of the site section
19504
19941
  title:
19505
19942
  $ref: "#/components/schemas/SiteSectionTitle"
19943
+ localizedTitle:
19944
+ $ref: "#/components/schemas/LocalizedString"
19506
19945
  description:
19507
19946
  $ref: "#/components/schemas/SiteSectionDescription"
19508
19947
  default:
@@ -19729,6 +20168,11 @@ components:
19729
20168
  items:
19730
20169
  type: string
19731
20170
  description: A user to remove. It can either be a user ID or an email.
20171
+ Email:
20172
+ type: string
20173
+ format: email
20174
+ description: User email
20175
+ example: contact@gitbook.com
19732
20176
  InviteUsersToOrganization:
19733
20177
  type: object
19734
20178
  properties:
@@ -19736,13 +20180,13 @@ components:
19736
20180
  type: array
19737
20181
  items:
19738
20182
  oneOf:
19739
- - type: string
20183
+ - $ref: "#/components/schemas/Email"
19740
20184
  description: The email address of the user to invite as a member
19741
20185
  - type: object
19742
20186
  properties:
19743
20187
  email:
19744
- type: string
19745
20188
  description: The email address of the user to invite as a member
20189
+ $ref: "#/components/schemas/Email"
19746
20190
  role:
19747
20191
  $ref: "#/components/schemas/MemberRoleOrGuest"
19748
20192
  required:
@@ -20194,8 +20638,7 @@ components:
20194
20638
  title:
20195
20639
  type: string
20196
20640
  score:
20197
- type: number
20198
- description: Aggregated relevance score for the space.
20641
+ $ref: "#/components/schemas/SearchResultScore"
20199
20642
  pages:
20200
20643
  type: array
20201
20644
  items:
@@ -20707,11 +21150,23 @@ components:
20707
21150
  filesystem:
20708
21151
  description: Filesystem containing all specifications.
20709
21152
  type: object
20710
- url:
20711
- $ref: "#/components/schemas/URL"
21153
+ urls:
21154
+ description: URLs associated with the specification content.
21155
+ type: object
21156
+ properties:
21157
+ source:
21158
+ $ref: "#/components/schemas/URL"
21159
+ public:
21160
+ description: Publicly accessible URL for the specification. Available for public specs (proxy URL for stored specs, source URL for external specs). Null for private specs. Can be used for the "Try it" feature.
21161
+ oneOf:
21162
+ - type: "null"
21163
+ - $ref: "#/components/schemas/URL"
21164
+ required:
21165
+ - source
21166
+ - public
20712
21167
  required:
20713
21168
  - filesystem
20714
- - url
21169
+ - urls
20715
21170
  OrganizationAgentInstructions:
20716
21171
  type: object
20717
21172
  properties:
@@ -21634,10 +22089,7 @@ components:
21634
22089
  to:
21635
22090
  oneOf:
21636
22091
  - $ref: "#/components/schemas/ContentRef"
21637
- - type: string
21638
- nullable: true
21639
- enum:
21640
- - null
22092
+ - type: "null"
21641
22093
  links:
21642
22094
  type: array
21643
22095
  items:
@@ -22235,10 +22687,11 @@ components:
22235
22687
  - type: object
22236
22688
  properties:
22237
22689
  fallbackURL:
22238
- type: string
22690
+ type:
22691
+ - string
22692
+ - "null"
22239
22693
  format: uri
22240
22694
  description: A fallback URL that will be used if authentication fails. If not provided, the fallback URL will not be changed. If set to null, the fallback URL will be unset.
22241
- nullable: true
22242
22695
  SiteCustomizationSettingsInput:
22243
22696
  allOf:
22244
22697
  - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
@@ -22297,8 +22750,7 @@ components:
22297
22750
  type: string
22298
22751
  description: The title of the record.
22299
22752
  score:
22300
- type: number
22301
- description: Relevance score for the record.
22753
+ $ref: "#/components/schemas/SearchResultScore"
22302
22754
  description:
22303
22755
  type: string
22304
22756
  description: The description of the record.
@@ -22330,6 +22782,9 @@ components:
22330
22782
  - builtin:api
22331
22783
  - builtin:website
22332
22784
  - builtin:youtube
22785
+ - builtin:github-discussions
22786
+ - builtin:github-issues
22787
+ - builtin:intercom
22333
22788
  ContextRecordTitle:
22334
22789
  type: string
22335
22790
  description: Title for the context record
@@ -22413,15 +22868,300 @@ components:
22413
22868
  type: string
22414
22869
  description: URL of the record
22415
22870
  format: uri
22871
+ createdAt:
22872
+ $ref: "#/components/schemas/Timestamp"
22873
+ description: Date of the record creation in the original source
22416
22874
  metadata:
22417
22875
  type: object
22418
22876
  additionalProperties:
22419
- type: string
22877
+ oneOf:
22878
+ - type: string
22879
+ - type: number
22420
22880
  required:
22421
22881
  - id
22422
22882
  - title
22423
22883
  - body
22424
22884
  - type
22885
+ SiteIssueStatus:
22886
+ type: string
22887
+ description: Status of a site issue.
22888
+ enum:
22889
+ - open
22890
+ - done
22891
+ - canceled
22892
+ SiteIssueType:
22893
+ type: string
22894
+ description: |-
22895
+ Classification of a site issue:
22896
+ - Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
22897
+ - Incoherent content: The content contains information that is inconsistent or contradictory.
22898
+ - Content gap: The content is missing important information that should be present to answer user questions effectively.
22899
+ - Other: Any other type of issue not covered by the above categories.
22900
+ enum:
22901
+ - content-outdated
22902
+ - incoherence
22903
+ - content-gap
22904
+ - other
22905
+ SiteIssuePriority:
22906
+ type: string
22907
+ description: Estimated end-user priority of a site issue.
22908
+ enum:
22909
+ - low
22910
+ - medium
22911
+ - high
22912
+ SiteIssueTitle:
22913
+ type: string
22914
+ description: Short issue title
22915
+ maxLength: 256
22916
+ SiteIssue:
22917
+ type: object
22918
+ properties:
22919
+ object:
22920
+ type: string
22921
+ enum:
22922
+ - site-issue
22923
+ id:
22924
+ type: string
22925
+ description: The ID of the issue
22926
+ topic:
22927
+ type: string
22928
+ description: The site topic ID associated with the issue
22929
+ title:
22930
+ $ref: "#/components/schemas/SiteIssueTitle"
22931
+ changeRequests:
22932
+ type: number
22933
+ description: Number of change requests linked to the issue
22934
+ pages:
22935
+ type: number
22936
+ description: Number of pages linked to the issue
22937
+ records:
22938
+ type: number
22939
+ description: Number of records linked to the issue
22940
+ questions:
22941
+ type: number
22942
+ description: Number of questions linked to the issue
22943
+ status:
22944
+ $ref: "#/components/schemas/SiteIssueStatus"
22945
+ type:
22946
+ $ref: "#/components/schemas/SiteIssueType"
22947
+ priority:
22948
+ $ref: "#/components/schemas/SiteIssuePriority"
22949
+ description:
22950
+ $ref: "#/components/schemas/JSONDocument"
22951
+ autoFixable:
22952
+ type: boolean
22953
+ description: Whether an AI agent should be able to fix this issue directly
22954
+ createdAt:
22955
+ $ref: "#/components/schemas/Timestamp"
22956
+ updatedAt:
22957
+ $ref: "#/components/schemas/Timestamp"
22958
+ urls:
22959
+ type: object
22960
+ description: URLs associated with the issue
22961
+ properties:
22962
+ location:
22963
+ type: string
22964
+ description: URL of the issue list endpoint in the API
22965
+ format: uri
22966
+ required:
22967
+ - location
22968
+ required:
22969
+ - object
22970
+ - id
22971
+ - topic
22972
+ - title
22973
+ - changeRequests
22974
+ - pages
22975
+ - records
22976
+ - questions
22977
+ - status
22978
+ - type
22979
+ - priority
22980
+ - description
22981
+ - autoFixable
22982
+ - createdAt
22983
+ - updatedAt
22984
+ - urls
22985
+ SiteIssuePage:
22986
+ type: object
22987
+ properties:
22988
+ object:
22989
+ type: string
22990
+ enum:
22991
+ - site-issue-page
22992
+ spaceId:
22993
+ type: string
22994
+ description: The space ID containing the linked page.
22995
+ page:
22996
+ $ref: "#/components/schemas/ChangedRevisionPage"
22997
+ required:
22998
+ - object
22999
+ - spaceId
23000
+ - page
23001
+ SiteQuestionType:
23002
+ type: string
23003
+ description: Type classification of the user question.
23004
+ enum:
23005
+ - exploring
23006
+ - how-to
23007
+ - troubleshooting
23008
+ - reference
23009
+ - unknown
23010
+ SiteQuestionStatsFeedback:
23011
+ type: object
23012
+ description: Aggregated feedback for answers linked to a site question.
23013
+ properties:
23014
+ positive:
23015
+ type: number
23016
+ description: Count of answers with positive feedback.
23017
+ negative:
23018
+ type: number
23019
+ description: Count of answers with negative feedback.
23020
+ unrated:
23021
+ type: number
23022
+ description: Count of answers without feedback.
23023
+ required:
23024
+ - positive
23025
+ - negative
23026
+ - unrated
23027
+ SiteQuestionStatsAnswered:
23028
+ type: object
23029
+ description: Aggregated answered assessment for answers linked to a site question.
23030
+ properties:
23031
+ yes:
23032
+ type: number
23033
+ description: Count of answers assessed as fully answered.
23034
+ partially:
23035
+ type: number
23036
+ description: Count of answers assessed as partially answered.
23037
+ no:
23038
+ type: number
23039
+ description: Count of answers assessed as not answered.
23040
+ required:
23041
+ - yes
23042
+ - partially
23043
+ - no
23044
+ SiteQuestionStatsRelevance:
23045
+ type: object
23046
+ properties:
23047
+ relevant:
23048
+ type: number
23049
+ spam:
23050
+ type: number
23051
+ off-topic:
23052
+ type: number
23053
+ unclear:
23054
+ type: number
23055
+ required:
23056
+ - relevant
23057
+ - spam
23058
+ - off-topic
23059
+ - unclear
23060
+ SiteQuestionStatsTypes:
23061
+ type: object
23062
+ properties:
23063
+ exploring:
23064
+ type: number
23065
+ how-to:
23066
+ type: number
23067
+ troubleshooting:
23068
+ type: number
23069
+ reference:
23070
+ type: number
23071
+ unknown:
23072
+ type: number
23073
+ required:
23074
+ - exploring
23075
+ - how-to
23076
+ - troubleshooting
23077
+ - reference
23078
+ - unknown
23079
+ SiteQuestionStatsChannelTypes:
23080
+ type: object
23081
+ description: Count of answers by site channel type, including core channels.
23082
+ additionalProperties:
23083
+ type: number
23084
+ SiteQuestionStatsChannels:
23085
+ type: object
23086
+ description: Count of answers by site channel ID.
23087
+ additionalProperties:
23088
+ type: number
23089
+ SiteQuestionStats:
23090
+ type: object
23091
+ description: Aggregated stats for questions and linked answers.
23092
+ properties:
23093
+ total:
23094
+ type: number
23095
+ description: Total count of questions included in the aggregation.
23096
+ answers:
23097
+ type: number
23098
+ description: Total count of answers linked to the questions.
23099
+ feedback:
23100
+ $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23101
+ answered:
23102
+ $ref: "#/components/schemas/SiteQuestionStatsAnswered"
23103
+ relevance:
23104
+ $ref: "#/components/schemas/SiteQuestionStatsRelevance"
23105
+ types:
23106
+ $ref: "#/components/schemas/SiteQuestionStatsTypes"
23107
+ channelTypes:
23108
+ $ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
23109
+ channels:
23110
+ $ref: "#/components/schemas/SiteQuestionStatsChannels"
23111
+ weeklyPulse:
23112
+ type: array
23113
+ minItems: 13
23114
+ maxItems: 13
23115
+ description: Weekly count of related question answers for the past 3 months.
23116
+ items:
23117
+ type: number
23118
+ required:
23119
+ - total
23120
+ - answers
23121
+ - feedback
23122
+ - answered
23123
+ - relevance
23124
+ - types
23125
+ - channelTypes
23126
+ - channels
23127
+ - weeklyPulse
23128
+ SiteQuestion:
23129
+ type: object
23130
+ properties:
23131
+ object:
23132
+ type: string
23133
+ enum:
23134
+ - site-question
23135
+ id:
23136
+ type: string
23137
+ description: The ID of the site question.
23138
+ question:
23139
+ type: string
23140
+ description: Canonical text for the unique site question.
23141
+ type:
23142
+ $ref: "#/components/schemas/SiteQuestionType"
23143
+ createdAt:
23144
+ $ref: "#/components/schemas/Timestamp"
23145
+ stats:
23146
+ $ref: "#/components/schemas/SiteQuestionStats"
23147
+ urls:
23148
+ type: object
23149
+ description: URLs associated with the site question.
23150
+ properties:
23151
+ location:
23152
+ type: string
23153
+ format: uri
23154
+ description: URL of the site question in the API.
23155
+ required:
23156
+ - location
23157
+ required:
23158
+ - object
23159
+ - id
23160
+ - question
23161
+ - type
23162
+ - createdAt
23163
+ - stats
23164
+ - urls
22425
23165
  ContextConnectionLabel:
22426
23166
  type: string
22427
23167
  description: Optional label for the connection
@@ -22434,6 +23174,13 @@ components:
22434
23174
  - syncing
22435
23175
  - succeeded
22436
23176
  - failed
23177
+ ContextSearchBoost:
23178
+ type: string
23179
+ description: Relative score adjustment applied to records from a connection when searching.
23180
+ enum:
23181
+ - x0.8
23182
+ - x1.0
23183
+ - x1.2
22437
23184
  ContextUsageSettings:
22438
23185
  type: object
22439
23186
  properties:
@@ -22443,9 +23190,12 @@ components:
22443
23190
  search:
22444
23191
  type: boolean
22445
23192
  description: Whether to expose records in search results
23193
+ searchBoost:
23194
+ $ref: "#/components/schemas/ContextSearchBoost"
22446
23195
  required:
22447
23196
  - changeRequests
22448
23197
  - search
23198
+ - searchBoost
22449
23199
  ContextConnectorSetup:
22450
23200
  oneOf:
22451
23201
  - type: object
@@ -22454,6 +23204,13 @@ components:
22454
23204
  type: string
22455
23205
  enum:
22456
23206
  - builtin:email
23207
+ required:
23208
+ - connector
23209
+ - type: object
23210
+ properties:
23211
+ connector:
23212
+ type: string
23213
+ enum:
22457
23214
  - builtin:api
22458
23215
  required:
22459
23216
  - connector
@@ -22499,162 +23256,127 @@ components:
22499
23256
  required:
22500
23257
  - connector
22501
23258
  - setupSettings
22502
- ContextConnection:
22503
- allOf:
22504
23259
  - type: object
22505
23260
  properties:
22506
- object:
23261
+ connector:
22507
23262
  type: string
22508
23263
  enum:
22509
- - context-connection
22510
- id:
22511
- type: string
22512
- description: The ID of the connection
22513
- createdAt:
22514
- $ref: "#/components/schemas/Timestamp"
22515
- syncedAt:
22516
- $ref: "#/components/schemas/Timestamp"
22517
- label:
22518
- $ref: "#/components/schemas/ContextConnectionLabel"
22519
- status:
22520
- $ref: "#/components/schemas/ContextConnectionStatus"
22521
- records:
22522
- type: integer
22523
- description: Number of records ingested from this connection
22524
- failureMessage:
23264
+ - builtin:github-discussions
23265
+ setupSettings:
23266
+ type: object
23267
+ properties:
23268
+ repository:
23269
+ type: string
23270
+ pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
23271
+ token:
23272
+ type: string
23273
+ minLength: 1
23274
+ required:
23275
+ - repository
23276
+ - token
23277
+ required:
23278
+ - connector
23279
+ - setupSettings
23280
+ - type: object
23281
+ properties:
23282
+ connector:
22525
23283
  type: string
22526
- description: Failure message when synchronization fails
22527
- email:
23284
+ enum:
23285
+ - builtin:github-issues
23286
+ setupSettings:
22528
23287
  type: object
22529
- description: Parameters associated with the connection when it is an email connection
22530
23288
  properties:
22531
- ingestionAddress:
23289
+ repository:
22532
23290
  type: string
22533
- description: Inbound email address for the connection
22534
- format: email
22535
- usageSettings:
22536
- $ref: "#/components/schemas/ContextUsageSettings"
22537
- urls:
23291
+ pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
23292
+ token:
23293
+ type: string
23294
+ minLength: 1
23295
+ required:
23296
+ - repository
23297
+ - token
23298
+ required:
23299
+ - connector
23300
+ - setupSettings
23301
+ - type: object
23302
+ properties:
23303
+ connector:
23304
+ type: string
23305
+ enum:
23306
+ - builtin:intercom
23307
+ setupSettings:
22538
23308
  type: object
22539
- description: URLs associated with the connection
22540
23309
  properties:
22541
- location:
23310
+ token:
22542
23311
  type: string
22543
- description: URL of the connection in the API
22544
- format: uri
23312
+ minLength: 1
22545
23313
  required:
22546
- - location
23314
+ - token
22547
23315
  required:
22548
- - object
22549
- - id
22550
- - createdAt
22551
- - status
22552
- - records
22553
- - usageSettings
22554
- - urls
22555
- - $ref: "#/components/schemas/ContextConnectorSetup"
22556
- SiteQuestionStatsFeedback:
22557
- type: object
22558
- description: Aggregated feedback for answers linked to a site question.
22559
- properties:
22560
- positive:
22561
- type: number
22562
- description: Count of answers with positive feedback.
22563
- negative:
22564
- type: number
22565
- description: Count of answers with negative feedback.
22566
- unrated:
22567
- type: number
22568
- description: Count of answers without feedback.
22569
- required:
22570
- - positive
22571
- - negative
22572
- - unrated
22573
- SiteQuestionStatsAnswered:
22574
- type: object
22575
- description: Aggregated answered assessment for answers linked to a site question.
22576
- properties:
22577
- yes:
22578
- type: number
22579
- description: Count of answers assessed as fully answered.
22580
- partially:
22581
- type: number
22582
- description: Count of answers assessed as partially answered.
22583
- no:
22584
- type: number
22585
- description: Count of answers assessed as not answered.
22586
- required:
22587
- - yes
22588
- - partially
22589
- - no
22590
- SiteQuestionStatsRelevance:
22591
- type: object
22592
- properties:
22593
- relevant:
22594
- type: number
22595
- spam:
22596
- type: number
22597
- off-topic:
22598
- type: number
22599
- unclear:
22600
- type: number
22601
- required:
22602
- - relevant
22603
- - spam
22604
- - off-topic
22605
- - unclear
22606
- SiteQuestionStatsTypes:
22607
- type: object
22608
- properties:
22609
- exploring:
22610
- type: number
22611
- how-to:
22612
- type: number
22613
- troubleshooting:
22614
- type: number
22615
- reference:
22616
- type: number
22617
- unknown:
22618
- type: number
22619
- required:
22620
- - exploring
22621
- - how-to
22622
- - troubleshooting
22623
- - reference
22624
- - unknown
22625
- SiteQuestionStats:
23316
+ - connector
23317
+ - setupSettings
23318
+ ContextConnection:
23319
+ allOf:
23320
+ - type: object
23321
+ properties:
23322
+ object:
23323
+ type: string
23324
+ enum:
23325
+ - context-connection
23326
+ id:
23327
+ type: string
23328
+ description: The ID of the connection
23329
+ createdAt:
23330
+ $ref: "#/components/schemas/Timestamp"
23331
+ syncedAt:
23332
+ $ref: "#/components/schemas/Timestamp"
23333
+ label:
23334
+ $ref: "#/components/schemas/ContextConnectionLabel"
23335
+ status:
23336
+ $ref: "#/components/schemas/ContextConnectionStatus"
23337
+ records:
23338
+ type: integer
23339
+ description: Number of records ingested from this connection
23340
+ failureMessage:
23341
+ type: string
23342
+ description: Failure message when synchronization fails
23343
+ email:
23344
+ type: object
23345
+ description: Parameters associated with the connection when it is an email connection
23346
+ properties:
23347
+ ingestionAddress:
23348
+ type: string
23349
+ description: Inbound email address for the connection
23350
+ format: email
23351
+ usageSettings:
23352
+ $ref: "#/components/schemas/ContextUsageSettings"
23353
+ urls:
23354
+ type: object
23355
+ description: URLs associated with the connection
23356
+ properties:
23357
+ location:
23358
+ type: string
23359
+ description: URL of the connection in the API
23360
+ format: uri
23361
+ required:
23362
+ - location
23363
+ required:
23364
+ - object
23365
+ - id
23366
+ - createdAt
23367
+ - status
23368
+ - records
23369
+ - usageSettings
23370
+ - urls
23371
+ - $ref: "#/components/schemas/ContextConnectorSetup"
23372
+ SiteTopicUsageSettings:
22626
23373
  type: object
22627
- description: Aggregated stats for questions and linked answers.
22628
23374
  properties:
22629
- total:
22630
- type: number
22631
- description: Total count of questions included in the aggregation.
22632
- answers:
22633
- type: number
22634
- description: Total count of answers linked to the questions.
22635
- feedback:
22636
- $ref: "#/components/schemas/SiteQuestionStatsFeedback"
22637
- answered:
22638
- $ref: "#/components/schemas/SiteQuestionStatsAnswered"
22639
- relevance:
22640
- $ref: "#/components/schemas/SiteQuestionStatsRelevance"
22641
- types:
22642
- $ref: "#/components/schemas/SiteQuestionStatsTypes"
22643
- weeklyPulse:
22644
- type: array
22645
- minItems: 13
22646
- maxItems: 13
22647
- description: Weekly count of related question answers for the past 3 months.
22648
- items:
22649
- type: number
23375
+ changeRequests:
23376
+ type: boolean
23377
+ description: Whether to use context to propose change requests
22650
23378
  required:
22651
- - total
22652
- - answers
22653
- - feedback
22654
- - answered
22655
- - relevance
22656
- - types
22657
- - weeklyPulse
23379
+ - changeRequests
22658
23380
  SiteTopic:
22659
23381
  type: object
22660
23382
  properties:
@@ -22690,7 +23412,7 @@ components:
22690
23412
  summary:
22691
23413
  $ref: "#/components/schemas/JSONDocument"
22692
23414
  usageSettings:
22693
- $ref: "#/components/schemas/ContextUsageSettings"
23415
+ $ref: "#/components/schemas/SiteTopicUsageSettings"
22694
23416
  pages:
22695
23417
  type: number
22696
23418
  description: The number of pages associated with the topic
@@ -22722,52 +23444,6 @@ components:
22722
23444
  - createdAt
22723
23445
  - updatedAt
22724
23446
  - urls
22725
- SiteQuestionType:
22726
- type: string
22727
- description: Type classification of the user question.
22728
- enum:
22729
- - exploring
22730
- - how-to
22731
- - troubleshooting
22732
- - reference
22733
- - unknown
22734
- SiteQuestion:
22735
- type: object
22736
- properties:
22737
- object:
22738
- type: string
22739
- enum:
22740
- - site-question
22741
- id:
22742
- type: string
22743
- description: The ID of the site question.
22744
- question:
22745
- type: string
22746
- description: Canonical text for the unique site question.
22747
- type:
22748
- $ref: "#/components/schemas/SiteQuestionType"
22749
- createdAt:
22750
- $ref: "#/components/schemas/Timestamp"
22751
- stats:
22752
- $ref: "#/components/schemas/SiteQuestionStats"
22753
- urls:
22754
- type: object
22755
- description: URLs associated with the site question.
22756
- properties:
22757
- location:
22758
- type: string
22759
- format: uri
22760
- description: URL of the site question in the API.
22761
- required:
22762
- - location
22763
- required:
22764
- - object
22765
- - id
22766
- - question
22767
- - type
22768
- - createdAt
22769
- - stats
22770
- - urls
22771
23447
  SiteQuestionAnswerResolution:
22772
23448
  type: string
22773
23449
  description: Whether the response answered the question.
@@ -22775,13 +23451,6 @@ components:
22775
23451
  - no
22776
23452
  - partially
22777
23453
  - yes
22778
- SiteQuestionAnswerConfidence:
22779
- type: string
22780
- description: Confidence in whether the response answered the question.
22781
- enum:
22782
- - low
22783
- - medium
22784
- - high
22785
23454
  SiteQuestionAnswerRelevance:
22786
23455
  type: string
22787
23456
  description: Relevance classification of the user question.
@@ -22790,6 +23459,13 @@ components:
22790
23459
  - spam
22791
23460
  - off-topic
22792
23461
  - unclear
23462
+ SiteQuestionAnswerHelpfulness:
23463
+ type: string
23464
+ description: Helpfulness of the response for the end user need.
23465
+ enum:
23466
+ - low
23467
+ - medium
23468
+ - high
22793
23469
  SiteInsightsSession:
22794
23470
  type: object
22795
23471
  description: Identifiers for a GitBook site session, used for analytics and adaptive content.
@@ -22803,6 +23479,17 @@ components:
22803
23479
  required:
22804
23480
  - visitorId
22805
23481
  - sessionId
23482
+ SiteCoreChannelType:
23483
+ type: string
23484
+ enum:
23485
+ - site
23486
+ - embed
23487
+ - api
23488
+ SiteConfigurableChannelType:
23489
+ type: string
23490
+ enum:
23491
+ - builtin:slack
23492
+ - builtin:discord
22806
23493
  SiteQuestionAnswer:
22807
23494
  type: object
22808
23495
  properties:
@@ -22871,10 +23558,30 @@ components:
22871
23558
  description: ISO language code of the question.
22872
23559
  answered:
22873
23560
  $ref: "#/components/schemas/SiteQuestionAnswerResolution"
22874
- confidence:
22875
- $ref: "#/components/schemas/SiteQuestionAnswerConfidence"
23561
+ helpfulness:
23562
+ $ref: "#/components/schemas/SiteQuestionAnswerHelpfulness"
22876
23563
  relevance:
22877
23564
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
23565
+ channel:
23566
+ oneOf:
23567
+ - type: object
23568
+ properties:
23569
+ type:
23570
+ $ref: "#/components/schemas/SiteCoreChannelType"
23571
+ required:
23572
+ - type
23573
+ - type: object
23574
+ properties:
23575
+ type:
23576
+ $ref: "#/components/schemas/SiteConfigurableChannelType"
23577
+ id:
23578
+ type:
23579
+ - string
23580
+ - "null"
23581
+ description: ID of the associated site channel when the answer originates from a configurable channel. Null if the channel has been deleted.
23582
+ required:
23583
+ - type
23584
+ - id
22878
23585
  createdAt:
22879
23586
  $ref: "#/components/schemas/Timestamp"
22880
23587
  updatedAt:
@@ -22898,8 +23605,9 @@ components:
22898
23605
  - responseId
22899
23606
  - language
22900
23607
  - answered
22901
- - confidence
23608
+ - helpfulness
22902
23609
  - relevance
23610
+ - channel
22903
23611
  - createdAt
22904
23612
  - urls
22905
23613
  AIMessageRole:
@@ -24155,23 +24863,24 @@ components:
24155
24863
  User-agent of the visitor.
24156
24864
  https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
24157
24865
  language:
24158
- type: string
24159
- nullable: true
24866
+ type:
24867
+ - string
24868
+ - "null"
24160
24869
  description: |
24161
24870
  Language of the visitor.
24162
24871
  https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
24163
24872
  referrer:
24164
24873
  description: Referrer of the session
24165
24874
  oneOf:
24875
+ - type: "null"
24166
24876
  - type: string
24167
- nullable: true
24168
24877
  enum:
24169
- - null
24170
24878
  - ""
24171
24879
  - $ref: "#/components/schemas/URL"
24172
24880
  visitorAuthToken:
24173
- type: string
24174
- nullable: true
24881
+ type:
24882
+ - string
24883
+ - "null"
24175
24884
  deprecated: true
24176
24885
  description: Deprecated, use visitorAuthClaims instead.
24177
24886
  visitorAuthClaims:
@@ -24203,29 +24912,35 @@ components:
24203
24912
  $ref: "#/components/schemas/SiteInsightsDisplayContext"
24204
24913
  default: site
24205
24914
  siteSection:
24206
- type: string
24915
+ type:
24916
+ - string
24917
+ - "null"
24207
24918
  description: ID of the concerned site section.
24208
- nullable: true
24209
24919
  siteSpace:
24210
- type: string
24920
+ type:
24921
+ - string
24922
+ - "null"
24211
24923
  description: ID of the concerned site space.
24212
- nullable: true
24213
24924
  siteShareKey:
24214
- type: string
24925
+ type:
24926
+ - string
24927
+ - "null"
24215
24928
  description: ID of the concerned site share key.
24216
- nullable: true
24217
24929
  space:
24218
- type: string
24930
+ type:
24931
+ - string
24932
+ - "null"
24219
24933
  description: ID of the concerned space.
24220
- nullable: true
24221
24934
  revision:
24222
- type: string
24935
+ type:
24936
+ - string
24937
+ - "null"
24223
24938
  description: ID of the concerned revision.
24224
- nullable: true
24225
24939
  page:
24226
- type: string
24940
+ type:
24941
+ - string
24942
+ - "null"
24227
24943
  description: ID of the concerned page.
24228
- nullable: true
24229
24944
  required:
24230
24945
  - url
24231
24946
  - siteSection
@@ -24965,9 +25680,11 @@ components:
24965
25680
  - ios
24966
25681
  - unknown
24967
25682
  SiteInsightsVisitorBot:
24968
- type: string
24969
- nullable: true
25683
+ type:
25684
+ - string
25685
+ - "null"
24970
25686
  enum:
25687
+ - null
24971
25688
  - unknown
24972
25689
  - googlebot
24973
25690
  - bingbot
@@ -24986,6 +25703,9 @@ components:
24986
25703
  - ccbot
24987
25704
  - amazonbot
24988
25705
  - youbot
25706
+ - cursor
25707
+ - vscode
25708
+ - claude-code
24989
25709
  SiteInsightsQueryEventsValues:
24990
25710
  oneOf:
24991
25711
  - type: object
@@ -25211,8 +25931,9 @@ components:
25211
25931
  values:
25212
25932
  type: array
25213
25933
  items:
25214
- type: string
25215
- nullable: true
25934
+ type:
25935
+ - string
25936
+ - "null"
25216
25937
  - type: object
25217
25938
  required:
25218
25939
  - column
@@ -25225,8 +25946,9 @@ components:
25225
25946
  values:
25226
25947
  type: array
25227
25948
  items:
25228
- type: string
25229
- nullable: true
25949
+ type:
25950
+ - string
25951
+ - "null"
25230
25952
  - type: object
25231
25953
  required:
25232
25954
  - column
@@ -25239,8 +25961,9 @@ components:
25239
25961
  values:
25240
25962
  type: array
25241
25963
  items:
25242
- type: string
25243
- nullable: true
25964
+ type:
25965
+ - string
25966
+ - "null"
25244
25967
  - type: object
25245
25968
  required:
25246
25969
  - column
@@ -25267,18 +25990,16 @@ components:
25267
25990
  type: array
25268
25991
  items:
25269
25992
  oneOf:
25270
- - type: string
25271
- nullable: true
25272
- enum:
25273
- - null
25993
+ - type: "null"
25274
25994
  - type: object
25275
25995
  required:
25276
25996
  - page
25277
25997
  - space
25278
25998
  properties:
25279
25999
  page:
25280
- type: string
25281
- nullable: true
26000
+ type:
26001
+ - string
26002
+ - "null"
25282
26003
  space:
25283
26004
  type: string
25284
26005
  - type: object
@@ -25293,8 +26014,9 @@ components:
25293
26014
  values:
25294
26015
  type: array
25295
26016
  items:
25296
- type: string
25297
- nullable: true
26017
+ type:
26018
+ - string
26019
+ - "null"
25298
26020
  - type: object
25299
26021
  required:
25300
26022
  - column
@@ -25307,8 +26029,9 @@ components:
25307
26029
  values:
25308
26030
  type: array
25309
26031
  items:
25310
- type: object
25311
- nullable: true
26032
+ type:
26033
+ - object
26034
+ - "null"
25312
26035
  required:
25313
26036
  - latitude
25314
26037
  - longitude
@@ -25332,8 +26055,9 @@ components:
25332
26055
  values:
25333
26056
  type: array
25334
26057
  items:
25335
- type: string
25336
- nullable: true
26058
+ type:
26059
+ - string
26060
+ - "null"
25337
26061
  - type: object
25338
26062
  required:
25339
26063
  - column
@@ -25346,8 +26070,9 @@ components:
25346
26070
  values:
25347
26071
  type: array
25348
26072
  items:
25349
- type: string
25350
- nullable: true
26073
+ type:
26074
+ - string
26075
+ - "null"
25351
26076
  - type: object
25352
26077
  required:
25353
26078
  - column
@@ -25360,8 +26085,9 @@ components:
25360
26085
  values:
25361
26086
  type: array
25362
26087
  items:
25363
- type: string
25364
- nullable: true
26088
+ type:
26089
+ - string
26090
+ - "null"
25365
26091
  - type: object
25366
26092
  required:
25367
26093
  - column
@@ -25374,8 +26100,9 @@ components:
25374
26100
  values:
25375
26101
  type: array
25376
26102
  items:
25377
- type: string
25378
- nullable: true
26103
+ type:
26104
+ - string
26105
+ - "null"
25379
26106
  - type: object
25380
26107
  required:
25381
26108
  - column
@@ -25401,8 +26128,9 @@ components:
25401
26128
  values:
25402
26129
  type: array
25403
26130
  items:
25404
- type: string
25405
- nullable: true
26131
+ type:
26132
+ - string
26133
+ - "null"
25406
26134
  - type: object
25407
26135
  required:
25408
26136
  - column
@@ -25816,6 +26544,9 @@ components:
25816
26544
  description: The unique identifier for the redirect.
25817
26545
  source:
25818
26546
  $ref: "#/components/schemas/SiteRedirectSourcePath"
26547
+ draft:
26548
+ type: boolean
26549
+ description: Whether the redirect is draft and not live.
25819
26550
  captureWildcard:
25820
26551
  type: boolean
25821
26552
  description: Capture and append the wildcard-matched suffix to the destination URL.
@@ -25825,6 +26556,7 @@ components:
25825
26556
  - object
25826
26557
  - id
25827
26558
  - source
26559
+ - draft
25828
26560
  - captureWildcard
25829
26561
  - destination
25830
26562
  SiteRedirectInputDestinationPath:
@@ -25893,6 +26625,72 @@ components:
25893
26625
  - url
25894
26626
  - headers
25895
26627
  - urls
26628
+ SiteChannelSetup:
26629
+ oneOf:
26630
+ - type: object
26631
+ properties:
26632
+ type:
26633
+ type: string
26634
+ enum:
26635
+ - builtin:slack
26636
+ setupSettings:
26637
+ type: object
26638
+ additionalProperties: false
26639
+ required:
26640
+ - type
26641
+ - setupSettings
26642
+ - type: object
26643
+ properties:
26644
+ type:
26645
+ type: string
26646
+ enum:
26647
+ - builtin:discord
26648
+ setupSettings:
26649
+ type: object
26650
+ additionalProperties: false
26651
+ required:
26652
+ - type
26653
+ - setupSettings
26654
+ SiteChannelUsageSettings:
26655
+ type: object
26656
+ description: Usage settings for a site channel.
26657
+ additionalProperties: false
26658
+ SiteChannel:
26659
+ allOf:
26660
+ - $ref: "#/components/schemas/SiteChannelSetup"
26661
+ - type: object
26662
+ properties:
26663
+ object:
26664
+ type: string
26665
+ enum:
26666
+ - site-channel
26667
+ id:
26668
+ type: string
26669
+ description: Unique identifier for the site channel.
26670
+ answers:
26671
+ type: integer
26672
+ minimum: 0
26673
+ description: Number of answers linked to this channel.
26674
+ usageSettings:
26675
+ $ref: "#/components/schemas/SiteChannelUsageSettings"
26676
+ createdAt:
26677
+ $ref: "#/components/schemas/Timestamp"
26678
+ urls:
26679
+ type: object
26680
+ properties:
26681
+ location:
26682
+ type: string
26683
+ format: uri
26684
+ description: URL of the site channel in the API.
26685
+ required:
26686
+ - location
26687
+ required:
26688
+ - object
26689
+ - id
26690
+ - answers
26691
+ - usageSettings
26692
+ - createdAt
26693
+ - urls
25896
26694
  Subdomain:
25897
26695
  type: object
25898
26696
  properties:
@@ -27016,6 +27814,10 @@ components:
27016
27814
  space:
27017
27815
  type: string
27018
27816
  description: ID of the space to be used when using this token for rendering published content.
27817
+ draft:
27818
+ type: boolean
27819
+ default: false
27820
+ description: Whether to include draft data when using this token for rendering content. If false, only live data will be included when rendering content with this token.
27019
27821
  required:
27020
27822
  - kind
27021
27823
  - site
@@ -27027,7 +27829,7 @@ components:
27027
27829
  - $ref: "#/components/schemas/SpaceAPIToken"
27028
27830
  - $ref: "#/components/schemas/CollectionAPIToken"
27029
27831
  - $ref: "#/components/schemas/SiteAPIToken"
27030
- SpaceInfoChannel:
27832
+ APIChannelSpaceInfo:
27031
27833
  type: object
27032
27834
  properties:
27033
27835
  channel:
@@ -27039,7 +27841,7 @@ components:
27039
27841
  required:
27040
27842
  - channel
27041
27843
  - space
27042
- SpaceContentChannel:
27844
+ APIChannelSpaceContent:
27043
27845
  type: object
27044
27846
  description: Channel notified when the main content of a space is changed.
27045
27847
  properties:
@@ -27052,7 +27854,7 @@ components:
27052
27854
  required:
27053
27855
  - channel
27054
27856
  - space
27055
- SpaceGitInfoChannel:
27857
+ APIChannelSpaceGitInfo:
27056
27858
  type: object
27057
27859
  properties:
27058
27860
  channel:
@@ -27064,7 +27866,7 @@ components:
27064
27866
  required:
27065
27867
  - channel
27066
27868
  - space
27067
- SpacePublishingAuthChannel:
27869
+ APIChannelSpacePublishingAuth:
27068
27870
  type: object
27069
27871
  properties:
27070
27872
  channel:
@@ -27076,7 +27878,7 @@ components:
27076
27878
  required:
27077
27879
  - channel
27078
27880
  - space
27079
- SpacePublishingCustomizationChannel:
27881
+ APIChannelSpacePublishingCustomization:
27080
27882
  type: object
27081
27883
  properties:
27082
27884
  channel:
@@ -27088,7 +27890,7 @@ components:
27088
27890
  required:
27089
27891
  - channel
27090
27892
  - space
27091
- SpaceContentRefsChannel:
27893
+ APIChannelSpaceContentRefs:
27092
27894
  type: object
27093
27895
  properties:
27094
27896
  channel:
@@ -27100,7 +27902,7 @@ components:
27100
27902
  required:
27101
27903
  - channel
27102
27904
  - space
27103
- SpaceIntegrationsChannel:
27905
+ APIChannelSpaceIntegrations:
27104
27906
  type: object
27105
27907
  properties:
27106
27908
  channel:
@@ -27112,7 +27914,7 @@ components:
27112
27914
  required:
27113
27915
  - channel
27114
27916
  - space
27115
- UserAPITokensChannel:
27917
+ APIChannelUserAPITokens:
27116
27918
  type: object
27117
27919
  properties:
27118
27920
  channel:
@@ -27124,7 +27926,7 @@ components:
27124
27926
  required:
27125
27927
  - channel
27126
27928
  - user
27127
- UserOrganizationsChannel:
27929
+ APIChannelUserOrganizations:
27128
27930
  type: object
27129
27931
  properties:
27130
27932
  channel:
@@ -27136,7 +27938,7 @@ components:
27136
27938
  required:
27137
27939
  - channel
27138
27940
  - user
27139
- UserProfileChannel:
27941
+ APIChannelUserProfile:
27140
27942
  type: object
27141
27943
  properties:
27142
27944
  channel:
@@ -27148,7 +27950,7 @@ components:
27148
27950
  required:
27149
27951
  - channel
27150
27952
  - user
27151
- ChangeRequestChannel:
27953
+ APIChannelChangeRequest:
27152
27954
  type: object
27153
27955
  properties:
27154
27956
  channel:
@@ -27163,7 +27965,7 @@ components:
27163
27965
  - channel
27164
27966
  - space
27165
27967
  - changeRequest
27166
- ChangeRequestsChannel:
27968
+ APIChannelChangeRequests:
27167
27969
  type: object
27168
27970
  properties:
27169
27971
  channel:
@@ -27175,7 +27977,7 @@ components:
27175
27977
  required:
27176
27978
  - channel
27177
27979
  - space
27178
- ChangeRequestReviewsChannel:
27980
+ APIChannelChangeRequestReviews:
27179
27981
  type: object
27180
27982
  properties:
27181
27983
  channel:
@@ -27190,7 +27992,7 @@ components:
27190
27992
  - channel
27191
27993
  - space
27192
27994
  - changeRequest
27193
- ChangeRequestContentRefsChannel:
27995
+ APIChannelChangeRequestContentRefs:
27194
27996
  type: object
27195
27997
  properties:
27196
27998
  channel:
@@ -27205,7 +28007,7 @@ components:
27205
28007
  - channel
27206
28008
  - space
27207
28009
  - changeRequest
27208
- CollectionChannel:
28010
+ APIChannelCollection:
27209
28011
  type: object
27210
28012
  properties:
27211
28013
  channel:
@@ -27217,7 +28019,7 @@ components:
27217
28019
  required:
27218
28020
  - channel
27219
28021
  - collection
27220
- CollectionPublishingCustomizationChannel:
28022
+ APIChannelCollectionPublishingCustomization:
27221
28023
  type: object
27222
28024
  properties:
27223
28025
  channel:
@@ -27229,7 +28031,7 @@ components:
27229
28031
  required:
27230
28032
  - channel
27231
28033
  - collection
27232
- OrganizationInfoChannel:
28034
+ APIChannelOrganizationInfo:
27233
28035
  type: object
27234
28036
  properties:
27235
28037
  channel:
@@ -27241,7 +28043,7 @@ components:
27241
28043
  required:
27242
28044
  - channel
27243
28045
  - organization
27244
- OrganizationAgentDataChannel:
28046
+ APIChannelOrganizationAgentData:
27245
28047
  type: object
27246
28048
  description: Subscription channel for changes in Docs Agent data in an organization.
27247
28049
  properties:
@@ -27254,7 +28056,7 @@ components:
27254
28056
  required:
27255
28057
  - channel
27256
28058
  - organization
27257
- OrganizationInviteLinksChannel:
28059
+ APIChannelOrganizationInviteLinks:
27258
28060
  type: object
27259
28061
  properties:
27260
28062
  channel:
@@ -27266,7 +28068,7 @@ components:
27266
28068
  required:
27267
28069
  - channel
27268
28070
  - organization
27269
- OrganizationMembersChannel:
28071
+ APIChannelOrganizationMembers:
27270
28072
  type: object
27271
28073
  properties:
27272
28074
  channel:
@@ -27278,7 +28080,7 @@ components:
27278
28080
  required:
27279
28081
  - channel
27280
28082
  - organization
27281
- OrganizationMemberChannel:
28083
+ APIChannelOrganizationMember:
27282
28084
  type: object
27283
28085
  properties:
27284
28086
  channel:
@@ -27293,7 +28095,7 @@ components:
27293
28095
  - channel
27294
28096
  - organization
27295
28097
  - user
27296
- OrganizationSAMLChannel:
28098
+ APIChannelOrganizationSAML:
27297
28099
  type: object
27298
28100
  properties:
27299
28101
  channel:
@@ -27305,7 +28107,7 @@ components:
27305
28107
  required:
27306
28108
  - channel
27307
28109
  - organization
27308
- OrganizationTeamsChannel:
28110
+ APIChannelOrganizationTeams:
27309
28111
  type: object
27310
28112
  properties:
27311
28113
  channel:
@@ -27317,7 +28119,7 @@ components:
27317
28119
  required:
27318
28120
  - channel
27319
28121
  - organization
27320
- OrganizationTeamChannel:
28122
+ APIChannelOrganizationTeam:
27321
28123
  type: object
27322
28124
  properties:
27323
28125
  channel:
@@ -27332,7 +28134,7 @@ components:
27332
28134
  - channel
27333
28135
  - organization
27334
28136
  - team
27335
- OrganizationTeamMembersChannel:
28137
+ APIChannelOrganizationTeamMembers:
27336
28138
  type: object
27337
28139
  properties:
27338
28140
  channel:
@@ -27347,7 +28149,7 @@ components:
27347
28149
  - channel
27348
28150
  - organization
27349
28151
  - team
27350
- OrganizationTeamMemberChannel:
28152
+ APIChannelOrganizationTeamMember:
27351
28153
  type: object
27352
28154
  properties:
27353
28155
  channel:
@@ -27364,7 +28166,7 @@ components:
27364
28166
  - channel
27365
28167
  - organization
27366
28168
  - member
27367
- OrganizationSpacesChannel:
28169
+ APIChannelOrganizationSpaces:
27368
28170
  type: object
27369
28171
  description: Subscription channel for changes in spaces in an organization.
27370
28172
  properties:
@@ -27377,7 +28179,7 @@ components:
27377
28179
  required:
27378
28180
  - channel
27379
28181
  - organization
27380
- OrganizationCollectionsChannel:
28182
+ APIChannelOrganizationCollections:
27381
28183
  type: object
27382
28184
  description: Subscription channel for changes in collections in an organization.
27383
28185
  properties:
@@ -27390,7 +28192,7 @@ components:
27390
28192
  required:
27391
28193
  - channel
27392
28194
  - organization
27393
- OrganizationIntegrationsChannel:
28195
+ APIChannelOrganizationIntegrations:
27394
28196
  type: object
27395
28197
  properties:
27396
28198
  channel:
@@ -27402,7 +28204,7 @@ components:
27402
28204
  required:
27403
28205
  - channel
27404
28206
  - organization
27405
- OrganizationInstallationsChannel:
28207
+ APIChannelOrganizationInstallations:
27406
28208
  type: object
27407
28209
  properties:
27408
28210
  channel:
@@ -27414,7 +28216,7 @@ components:
27414
28216
  required:
27415
28217
  - channel
27416
28218
  - organization
27417
- OrganizationSitesChannel:
28219
+ APIChannelOrganizationSites:
27418
28220
  type: object
27419
28221
  description: Subscription channel for changes in sites in an organization.
27420
28222
  properties:
@@ -27427,7 +28229,7 @@ components:
27427
28229
  required:
27428
28230
  - channel
27429
28231
  - organization
27430
- OrganizationOpenAPISpecsChannel:
28232
+ APIChannelOrganizationOpenAPISpecs:
27431
28233
  type: object
27432
28234
  description: Subscription channel for changes in OpenAPI specifications in an organization.
27433
28235
  properties:
@@ -27440,7 +28242,7 @@ components:
27440
28242
  required:
27441
28243
  - channel
27442
28244
  - organization
27443
- OrganizationTranslationsChannel:
28245
+ APIChannelOrganizationTranslations:
27444
28246
  type: object
27445
28247
  description: Subscription channel for changes in translations in an organization.
27446
28248
  properties:
@@ -27453,7 +28255,7 @@ components:
27453
28255
  required:
27454
28256
  - channel
27455
28257
  - organization
27456
- OrganizationTranslationsGlossaryChannel:
28258
+ APIChannelOrganizationTranslationsGlossary:
27457
28259
  type: object
27458
28260
  description: Subscription channel for changes in the glossary in an organization.
27459
28261
  properties:
@@ -27466,7 +28268,7 @@ components:
27466
28268
  required:
27467
28269
  - channel
27468
28270
  - organization
27469
- OrganizationCustomFontsChannel:
28271
+ APIChannelOrganizationCustomFonts:
27470
28272
  type: object
27471
28273
  description: Subscription channel for changes in custom fonts in an organization.
27472
28274
  properties:
@@ -27479,7 +28281,7 @@ components:
27479
28281
  required:
27480
28282
  - channel
27481
28283
  - organization
27482
- OrganizationAgentInstructionsChannel:
28284
+ APIChannelOrganizationAgentInstructions:
27483
28285
  type: object
27484
28286
  description: Subscription channel for Docs agent instructions changes in an organization.
27485
28287
  properties:
@@ -27492,7 +28294,7 @@ components:
27492
28294
  required:
27493
28295
  - channel
27494
28296
  - organization
27495
- OrganizationChangeRequestsChannel:
28297
+ APIChannelOrganizationChangeRequests:
27496
28298
  type: object
27497
28299
  description: Subscription channel for all change requests in an organization.
27498
28300
  properties:
@@ -27505,7 +28307,7 @@ components:
27505
28307
  required:
27506
28308
  - channel
27507
28309
  - organization
27508
- SpaceCommentsChannel:
28310
+ APIChannelSpaceComments:
27509
28311
  type: object
27510
28312
  properties:
27511
28313
  channel:
@@ -27517,7 +28319,7 @@ components:
27517
28319
  required:
27518
28320
  - channel
27519
28321
  - space
27520
- ChangeRequestCommentsChannel:
28322
+ APIChannelChangeRequestComments:
27521
28323
  type: object
27522
28324
  properties:
27523
28325
  channel:
@@ -27532,7 +28334,7 @@ components:
27532
28334
  - channel
27533
28335
  - space
27534
28336
  - changeRequest
27535
- CommentInfoChannel:
28337
+ APIChannelCommentInfo:
27536
28338
  type: object
27537
28339
  properties:
27538
28340
  channel:
@@ -27547,7 +28349,7 @@ components:
27547
28349
  - channel
27548
28350
  - space
27549
28351
  - comment
27550
- CommentRepliesChannel:
28352
+ APIChannelCommentReplies:
27551
28353
  type: object
27552
28354
  properties:
27553
28355
  channel:
@@ -27562,7 +28364,7 @@ components:
27562
28364
  - channel
27563
28365
  - space
27564
28366
  - comment
27565
- IntegrationChannel:
28367
+ APIChannelIntegration:
27566
28368
  type: object
27567
28369
  properties:
27568
28370
  channel:
@@ -27574,7 +28376,7 @@ components:
27574
28376
  required:
27575
28377
  - channel
27576
28378
  - integration
27577
- IntegrationInstallationChannel:
28379
+ APIChannelIntegrationInstallation:
27578
28380
  type: object
27579
28381
  properties:
27580
28382
  channel:
@@ -27589,7 +28391,7 @@ components:
27589
28391
  - channel
27590
28392
  - integration
27591
28393
  - installation
27592
- IntegrationSpaceInstallationChannel:
28394
+ APIChannelIntegrationSpaceInstallation:
27593
28395
  type: object
27594
28396
  properties:
27595
28397
  channel:
@@ -27607,7 +28409,7 @@ components:
27607
28409
  - integration
27608
28410
  - installation
27609
28411
  - space
27610
- IntegrationSpaceInstallationsChannel:
28412
+ APIChannelIntegrationSpaceInstallations:
27611
28413
  type: object
27612
28414
  properties:
27613
28415
  channel:
@@ -27622,7 +28424,7 @@ components:
27622
28424
  - channel
27623
28425
  - integration
27624
28426
  - installation
27625
- IntegrationSiteInstallationChannel:
28427
+ APIChannelIntegrationSiteInstallation:
27626
28428
  type: object
27627
28429
  properties:
27628
28430
  channel:
@@ -27640,7 +28442,7 @@ components:
27640
28442
  - integration
27641
28443
  - installation
27642
28444
  - site
27643
- IntegrationSiteInstallationsChannel:
28445
+ APIChannelIntegrationSiteInstallations:
27644
28446
  type: object
27645
28447
  properties:
27646
28448
  channel:
@@ -27655,7 +28457,7 @@ components:
27655
28457
  - channel
27656
28458
  - integration
27657
28459
  - installation
27658
- PublishedContentSiteChannel:
28460
+ APIChannelPublishedContentSite:
27659
28461
  type: object
27660
28462
  properties:
27661
28463
  channel:
@@ -27667,7 +28469,7 @@ components:
27667
28469
  required:
27668
28470
  - channel
27669
28471
  - site
27670
- SiteRedirectsChannel:
28472
+ APIChannelSiteRedirects:
27671
28473
  type: object
27672
28474
  properties:
27673
28475
  channel:
@@ -27679,7 +28481,7 @@ components:
27679
28481
  required:
27680
28482
  - channel
27681
28483
  - site
27682
- SiteChannel:
28484
+ APIChannelSite:
27683
28485
  type: object
27684
28486
  properties:
27685
28487
  channel:
@@ -27691,7 +28493,7 @@ components:
27691
28493
  required:
27692
28494
  - channel
27693
28495
  - site
27694
- SiteContextChannel:
28496
+ APIChannelSiteContext:
27695
28497
  type: object
27696
28498
  description: Subscription channel for changes in site context.
27697
28499
  properties:
@@ -27704,7 +28506,7 @@ components:
27704
28506
  required:
27705
28507
  - channel
27706
28508
  - site
27707
- SiteCustomizationChannel:
28509
+ APIChannelSiteCustomization:
27708
28510
  type: object
27709
28511
  properties:
27710
28512
  channel:
@@ -27716,7 +28518,7 @@ components:
27716
28518
  required:
27717
28519
  - channel
27718
28520
  - site
27719
- SiteIntegrationsChannel:
28521
+ APIChannelSiteIntegrations:
27720
28522
  type: object
27721
28523
  properties:
27722
28524
  channel:
@@ -27728,7 +28530,7 @@ components:
27728
28530
  required:
27729
28531
  - channel
27730
28532
  - site
27731
- SiteSpaceChannel:
28533
+ APIChannelSiteSpace:
27732
28534
  type: object
27733
28535
  properties:
27734
28536
  channel:
@@ -27743,7 +28545,7 @@ components:
27743
28545
  - channel
27744
28546
  - site
27745
28547
  - siteSpace
27746
- SiteSpaceCustomizationChannel:
28548
+ APIChannelSiteSpaceCustomization:
27747
28549
  type: object
27748
28550
  properties:
27749
28551
  channel:
@@ -27758,7 +28560,7 @@ components:
27758
28560
  - channel
27759
28561
  - site
27760
28562
  - siteSpace
27761
- SiteStructureChannel:
28563
+ APIChannelSiteStructure:
27762
28564
  type: object
27763
28565
  description: Subscription channel for changes in site structure in an organization.
27764
28566
  properties:
@@ -27771,7 +28573,7 @@ components:
27771
28573
  required:
27772
28574
  - channel
27773
28575
  - site
27774
- SiteAdaptiveSchemaChannel:
28576
+ APIChannelSiteAdaptiveSchema:
27775
28577
  type: object
27776
28578
  properties:
27777
28579
  channel:
@@ -27783,7 +28585,7 @@ components:
27783
28585
  required:
27784
28586
  - channel
27785
28587
  - site
27786
- SitePublishingAuthChannel:
28588
+ APIChannelSitePublishingAuth:
27787
28589
  type: object
27788
28590
  properties:
27789
28591
  channel:
@@ -27795,7 +28597,7 @@ components:
27795
28597
  required:
27796
28598
  - channel
27797
28599
  - site
27798
- SiteShareLinksChannel:
28600
+ APIChannelSiteShareLinks:
27799
28601
  type: object
27800
28602
  description: Subscription channel for changes in share links in a site
27801
28603
  properties:
@@ -27808,7 +28610,7 @@ components:
27808
28610
  required:
27809
28611
  - channel
27810
28612
  - site
27811
- SiteShareLinkChannel:
28613
+ APIChannelSiteShareLink:
27812
28614
  type: object
27813
28615
  properties:
27814
28616
  channel:
@@ -27823,7 +28625,7 @@ components:
27823
28625
  - channel
27824
28626
  - site
27825
28627
  - siteShareLink
27826
- SiteMcpServersChannel:
28628
+ APIChannelSiteMcpServers:
27827
28629
  type: object
27828
28630
  properties:
27829
28631
  channel:
@@ -27835,7 +28637,7 @@ components:
27835
28637
  required:
27836
28638
  - channel
27837
28639
  - site
27838
- SiteMcpServerChannel:
28640
+ APIChannelSiteMcpServer:
27839
28641
  type: object
27840
28642
  properties:
27841
28643
  channel:
@@ -27850,7 +28652,7 @@ components:
27850
28652
  - channel
27851
28653
  - site
27852
28654
  - siteMcpServer
27853
- SiteSectionChannel:
28655
+ APIChannelSiteSection:
27854
28656
  type: object
27855
28657
  properties:
27856
28658
  channel:
@@ -27865,7 +28667,7 @@ components:
27865
28667
  - channel
27866
28668
  - site
27867
28669
  - siteSection
27868
- CustomHostnameChannel:
28670
+ APIChannelCustomHostname:
27869
28671
  type: object
27870
28672
  properties:
27871
28673
  channel:
@@ -27877,7 +28679,7 @@ components:
27877
28679
  required:
27878
28680
  - channel
27879
28681
  - customHostname
27880
- GitSyncOperationChannel:
28682
+ APIChannelGitSyncOperation:
27881
28683
  type: object
27882
28684
  properties:
27883
28685
  channel:
@@ -27889,7 +28691,7 @@ components:
27889
28691
  required:
27890
28692
  - channel
27891
28693
  - space
27892
- OpenAPISpecChannel:
28694
+ APIChannelOpenAPISpec:
27893
28695
  type: object
27894
28696
  description: Subscription channel for changes in OpenAPI specification.
27895
28697
  properties:
@@ -27902,7 +28704,7 @@ components:
27902
28704
  required:
27903
28705
  - channel
27904
28706
  - openAPISpec
27905
- SubdomainChannel:
28707
+ APIChannelSubdomain:
27906
28708
  type: object
27907
28709
  properties:
27908
28710
  channel:
@@ -27914,7 +28716,7 @@ components:
27914
28716
  required:
27915
28717
  - channel
27916
28718
  - subdomain
27917
- TranslationChannel:
28719
+ APIChannelTranslation:
27918
28720
  type: object
27919
28721
  properties:
27920
28722
  channel:
@@ -27926,7 +28728,7 @@ components:
27926
28728
  required:
27927
28729
  - channel
27928
28730
  - translation
27929
- TranslationRunChannel:
28731
+ APIChannelTranslationRun:
27930
28732
  type: object
27931
28733
  properties:
27932
28734
  channel:
@@ -27938,7 +28740,7 @@ components:
27938
28740
  required:
27939
28741
  - channel
27940
28742
  - translation
27941
- ImportRunChannel:
28743
+ APIChannelImportRun:
27942
28744
  type: object
27943
28745
  properties:
27944
28746
  channel:
@@ -27950,82 +28752,82 @@ components:
27950
28752
  required:
27951
28753
  - channel
27952
28754
  - runId
27953
- SubscriptionChannel:
28755
+ APIChannel:
27954
28756
  description: Channel to subscribe to for realtime updates.
27955
28757
  oneOf:
27956
- - $ref: "#/components/schemas/SpaceInfoChannel"
27957
- - $ref: "#/components/schemas/SpaceContentChannel"
27958
- - $ref: "#/components/schemas/SpaceGitInfoChannel"
27959
- - $ref: "#/components/schemas/SpacePublishingAuthChannel"
27960
- - $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
27961
- - $ref: "#/components/schemas/SpaceContentRefsChannel"
27962
- - $ref: "#/components/schemas/SpaceIntegrationsChannel"
27963
- - $ref: "#/components/schemas/UserAPITokensChannel"
27964
- - $ref: "#/components/schemas/UserOrganizationsChannel"
27965
- - $ref: "#/components/schemas/UserProfileChannel"
27966
- - $ref: "#/components/schemas/ChangeRequestChannel"
27967
- - $ref: "#/components/schemas/ChangeRequestsChannel"
27968
- - $ref: "#/components/schemas/ChangeRequestReviewsChannel"
27969
- - $ref: "#/components/schemas/ChangeRequestContentRefsChannel"
27970
- - $ref: "#/components/schemas/CollectionChannel"
27971
- - $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
27972
- - $ref: "#/components/schemas/OrganizationInfoChannel"
27973
- - $ref: "#/components/schemas/OrganizationAgentDataChannel"
27974
- - $ref: "#/components/schemas/OrganizationInviteLinksChannel"
27975
- - $ref: "#/components/schemas/OrganizationMembersChannel"
27976
- - $ref: "#/components/schemas/OrganizationMemberChannel"
27977
- - $ref: "#/components/schemas/OrganizationSAMLChannel"
27978
- - $ref: "#/components/schemas/OrganizationTeamsChannel"
27979
- - $ref: "#/components/schemas/OrganizationTeamChannel"
27980
- - $ref: "#/components/schemas/OrganizationTeamMembersChannel"
27981
- - $ref: "#/components/schemas/OrganizationTeamMemberChannel"
27982
- - $ref: "#/components/schemas/OrganizationSpacesChannel"
27983
- - $ref: "#/components/schemas/OrganizationCollectionsChannel"
27984
- - $ref: "#/components/schemas/OrganizationIntegrationsChannel"
27985
- - $ref: "#/components/schemas/OrganizationInstallationsChannel"
27986
- - $ref: "#/components/schemas/OrganizationSitesChannel"
27987
- - $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
27988
- - $ref: "#/components/schemas/OrganizationTranslationsChannel"
27989
- - $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
27990
- - $ref: "#/components/schemas/OrganizationCustomFontsChannel"
27991
- - $ref: "#/components/schemas/OrganizationAgentInstructionsChannel"
27992
- - $ref: "#/components/schemas/OrganizationChangeRequestsChannel"
27993
- - $ref: "#/components/schemas/SpaceCommentsChannel"
27994
- - $ref: "#/components/schemas/ChangeRequestCommentsChannel"
27995
- - $ref: "#/components/schemas/CommentInfoChannel"
27996
- - $ref: "#/components/schemas/CommentRepliesChannel"
27997
- - $ref: "#/components/schemas/IntegrationChannel"
27998
- - $ref: "#/components/schemas/IntegrationInstallationChannel"
27999
- - $ref: "#/components/schemas/IntegrationSpaceInstallationChannel"
28000
- - $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
28001
- - $ref: "#/components/schemas/IntegrationSiteInstallationChannel"
28002
- - $ref: "#/components/schemas/IntegrationSiteInstallationsChannel"
28003
- - $ref: "#/components/schemas/PublishedContentSiteChannel"
28004
- - $ref: "#/components/schemas/SiteRedirectsChannel"
28005
- - $ref: "#/components/schemas/SiteChannel"
28006
- - $ref: "#/components/schemas/SiteContextChannel"
28007
- - $ref: "#/components/schemas/SiteCustomizationChannel"
28008
- - $ref: "#/components/schemas/SiteIntegrationsChannel"
28009
- - $ref: "#/components/schemas/SiteSpaceChannel"
28010
- - $ref: "#/components/schemas/SiteSpaceCustomizationChannel"
28011
- - $ref: "#/components/schemas/SiteStructureChannel"
28012
- - $ref: "#/components/schemas/SiteAdaptiveSchemaChannel"
28013
- - $ref: "#/components/schemas/SitePublishingAuthChannel"
28014
- - $ref: "#/components/schemas/SiteShareLinksChannel"
28015
- - $ref: "#/components/schemas/SiteShareLinkChannel"
28016
- - $ref: "#/components/schemas/SiteMcpServersChannel"
28017
- - $ref: "#/components/schemas/SiteMcpServerChannel"
28018
- - $ref: "#/components/schemas/SiteSectionChannel"
28019
- - $ref: "#/components/schemas/CustomHostnameChannel"
28020
- - $ref: "#/components/schemas/GitSyncOperationChannel"
28021
- - $ref: "#/components/schemas/OpenAPISpecChannel"
28022
- - $ref: "#/components/schemas/SubdomainChannel"
28023
- - $ref: "#/components/schemas/TranslationChannel"
28024
- - $ref: "#/components/schemas/TranslationRunChannel"
28025
- - $ref: "#/components/schemas/ImportRunChannel"
28758
+ - $ref: "#/components/schemas/APIChannelSpaceInfo"
28759
+ - $ref: "#/components/schemas/APIChannelSpaceContent"
28760
+ - $ref: "#/components/schemas/APIChannelSpaceGitInfo"
28761
+ - $ref: "#/components/schemas/APIChannelSpacePublishingAuth"
28762
+ - $ref: "#/components/schemas/APIChannelSpacePublishingCustomization"
28763
+ - $ref: "#/components/schemas/APIChannelSpaceContentRefs"
28764
+ - $ref: "#/components/schemas/APIChannelSpaceIntegrations"
28765
+ - $ref: "#/components/schemas/APIChannelUserAPITokens"
28766
+ - $ref: "#/components/schemas/APIChannelUserOrganizations"
28767
+ - $ref: "#/components/schemas/APIChannelUserProfile"
28768
+ - $ref: "#/components/schemas/APIChannelChangeRequest"
28769
+ - $ref: "#/components/schemas/APIChannelChangeRequests"
28770
+ - $ref: "#/components/schemas/APIChannelChangeRequestReviews"
28771
+ - $ref: "#/components/schemas/APIChannelChangeRequestContentRefs"
28772
+ - $ref: "#/components/schemas/APIChannelCollection"
28773
+ - $ref: "#/components/schemas/APIChannelCollectionPublishingCustomization"
28774
+ - $ref: "#/components/schemas/APIChannelOrganizationInfo"
28775
+ - $ref: "#/components/schemas/APIChannelOrganizationAgentData"
28776
+ - $ref: "#/components/schemas/APIChannelOrganizationInviteLinks"
28777
+ - $ref: "#/components/schemas/APIChannelOrganizationMembers"
28778
+ - $ref: "#/components/schemas/APIChannelOrganizationMember"
28779
+ - $ref: "#/components/schemas/APIChannelOrganizationSAML"
28780
+ - $ref: "#/components/schemas/APIChannelOrganizationTeams"
28781
+ - $ref: "#/components/schemas/APIChannelOrganizationTeam"
28782
+ - $ref: "#/components/schemas/APIChannelOrganizationTeamMembers"
28783
+ - $ref: "#/components/schemas/APIChannelOrganizationTeamMember"
28784
+ - $ref: "#/components/schemas/APIChannelOrganizationSpaces"
28785
+ - $ref: "#/components/schemas/APIChannelOrganizationCollections"
28786
+ - $ref: "#/components/schemas/APIChannelOrganizationIntegrations"
28787
+ - $ref: "#/components/schemas/APIChannelOrganizationInstallations"
28788
+ - $ref: "#/components/schemas/APIChannelOrganizationSites"
28789
+ - $ref: "#/components/schemas/APIChannelOrganizationOpenAPISpecs"
28790
+ - $ref: "#/components/schemas/APIChannelOrganizationTranslations"
28791
+ - $ref: "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
28792
+ - $ref: "#/components/schemas/APIChannelOrganizationCustomFonts"
28793
+ - $ref: "#/components/schemas/APIChannelOrganizationAgentInstructions"
28794
+ - $ref: "#/components/schemas/APIChannelOrganizationChangeRequests"
28795
+ - $ref: "#/components/schemas/APIChannelSpaceComments"
28796
+ - $ref: "#/components/schemas/APIChannelChangeRequestComments"
28797
+ - $ref: "#/components/schemas/APIChannelCommentInfo"
28798
+ - $ref: "#/components/schemas/APIChannelCommentReplies"
28799
+ - $ref: "#/components/schemas/APIChannelIntegration"
28800
+ - $ref: "#/components/schemas/APIChannelIntegrationInstallation"
28801
+ - $ref: "#/components/schemas/APIChannelIntegrationSpaceInstallation"
28802
+ - $ref: "#/components/schemas/APIChannelIntegrationSpaceInstallations"
28803
+ - $ref: "#/components/schemas/APIChannelIntegrationSiteInstallation"
28804
+ - $ref: "#/components/schemas/APIChannelIntegrationSiteInstallations"
28805
+ - $ref: "#/components/schemas/APIChannelPublishedContentSite"
28806
+ - $ref: "#/components/schemas/APIChannelSiteRedirects"
28807
+ - $ref: "#/components/schemas/APIChannelSite"
28808
+ - $ref: "#/components/schemas/APIChannelSiteContext"
28809
+ - $ref: "#/components/schemas/APIChannelSiteCustomization"
28810
+ - $ref: "#/components/schemas/APIChannelSiteIntegrations"
28811
+ - $ref: "#/components/schemas/APIChannelSiteSpace"
28812
+ - $ref: "#/components/schemas/APIChannelSiteSpaceCustomization"
28813
+ - $ref: "#/components/schemas/APIChannelSiteStructure"
28814
+ - $ref: "#/components/schemas/APIChannelSiteAdaptiveSchema"
28815
+ - $ref: "#/components/schemas/APIChannelSitePublishingAuth"
28816
+ - $ref: "#/components/schemas/APIChannelSiteShareLinks"
28817
+ - $ref: "#/components/schemas/APIChannelSiteShareLink"
28818
+ - $ref: "#/components/schemas/APIChannelSiteMcpServers"
28819
+ - $ref: "#/components/schemas/APIChannelSiteMcpServer"
28820
+ - $ref: "#/components/schemas/APIChannelSiteSection"
28821
+ - $ref: "#/components/schemas/APIChannelCustomHostname"
28822
+ - $ref: "#/components/schemas/APIChannelGitSyncOperation"
28823
+ - $ref: "#/components/schemas/APIChannelOpenAPISpec"
28824
+ - $ref: "#/components/schemas/APIChannelSubdomain"
28825
+ - $ref: "#/components/schemas/APIChannelTranslation"
28826
+ - $ref: "#/components/schemas/APIChannelTranslationRun"
28827
+ - $ref: "#/components/schemas/APIChannelImportRun"
28026
28828
  discriminator:
28027
28829
  propertyName: channel
28028
- TranslationRunChannelData:
28830
+ APIChannelTranslationRunData:
28029
28831
  type: object
28030
28832
  properties:
28031
28833
  channel:
@@ -28049,7 +28851,7 @@ components:
28049
28851
  required:
28050
28852
  - channel
28051
28853
  - data
28052
- ImportRunChannelData:
28854
+ APIChannelImportRunData:
28053
28855
  type: object
28054
28856
  properties:
28055
28857
  channel:
@@ -28061,7 +28863,7 @@ components:
28061
28863
  required:
28062
28864
  - channel
28063
28865
  - data
28064
- GitSyncOperationChannelData:
28866
+ APIChannelGitSyncOperationData:
28065
28867
  type: object
28066
28868
  properties:
28067
28869
  channel:
@@ -28073,7 +28875,7 @@ components:
28073
28875
  required:
28074
28876
  - channel
28075
28877
  - data
28076
- SpaceContentRefsChannelData:
28878
+ APIChannelSpaceContentRefsData:
28077
28879
  type: object
28078
28880
  properties:
28079
28881
  channel:
@@ -28095,7 +28897,7 @@ components:
28095
28897
  required:
28096
28898
  - channel
28097
28899
  - data
28098
- ChangeRequestContentRefsChannelData:
28900
+ APIChannelChangeRequestContentRefsData:
28099
28901
  type: object
28100
28902
  properties:
28101
28903
  channel:
@@ -28136,14 +28938,14 @@ components:
28136
28938
  required:
28137
28939
  - channel
28138
28940
  - data
28139
- SubscriptionChannelData:
28941
+ APIChannelData:
28140
28942
  description: Data passed through a realtime channel
28141
28943
  oneOf:
28142
- - $ref: "#/components/schemas/GitSyncOperationChannelData"
28143
- - $ref: "#/components/schemas/SpaceContentRefsChannelData"
28144
- - $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
28145
- - $ref: "#/components/schemas/TranslationRunChannelData"
28146
- - $ref: "#/components/schemas/ImportRunChannelData"
28944
+ - $ref: "#/components/schemas/APIChannelGitSyncOperationData"
28945
+ - $ref: "#/components/schemas/APIChannelSpaceContentRefsData"
28946
+ - $ref: "#/components/schemas/APIChannelChangeRequestContentRefsData"
28947
+ - $ref: "#/components/schemas/APIChannelTranslationRunData"
28948
+ - $ref: "#/components/schemas/APIChannelImportRunData"
28147
28949
  - $ref: "#/components/schemas/APIChannelMutationData"
28148
28950
  discriminator:
28149
28951
  propertyName: channel
@@ -28181,6 +28983,10 @@ components:
28181
28983
  - live
28182
28984
  - rejected
28183
28985
  - disabled
28986
+ SiteChannelType:
28987
+ oneOf:
28988
+ - $ref: "#/components/schemas/SiteCoreChannelType"
28989
+ - $ref: "#/components/schemas/SiteConfigurableChannelType"
28184
28990
  SiteQuestionAnswerSourceType:
28185
28991
  type: string
28186
28992
  description: Source type used to answer a site question.