@gitbook/api 0.165.0 → 0.166.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.
@@ -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"
@@ -3367,8 +3372,9 @@ paths:
3367
3372
  properties:
3368
3373
  parent:
3369
3374
  description: The unique id of the parent collection
3370
- type: string
3371
- nullable: true
3375
+ type:
3376
+ - string
3377
+ - "null"
3372
3378
  position:
3373
3379
  description: Where to move the collection. By default, it will be moved at the end.
3374
3380
  $ref: "#/components/schemas/ContentPosition"
@@ -4472,17 +4478,11 @@ paths:
4472
4478
  defaultContent:
4473
4479
  oneOf:
4474
4480
  - $ref: "#/components/schemas/OrganizationDefaultContent"
4475
- - type: string
4476
- nullable: true
4477
- enum:
4478
- - null
4481
+ - type: "null"
4479
4482
  logo:
4480
4483
  oneOf:
4481
4484
  - $ref: "#/components/schemas/URL"
4482
- - type: string
4483
- nullable: true
4484
- enum:
4485
- - null
4485
+ - type: "null"
4486
4486
  sso:
4487
4487
  type: boolean
4488
4488
  ai:
@@ -6481,10 +6481,7 @@ paths:
6481
6481
  storageKey:
6482
6482
  oneOf:
6483
6483
  - $ref: "#/components/schemas/StorageFileKey"
6484
- - type: string
6485
- nullable: true
6486
- enum:
6487
- - null
6484
+ - type: "null"
6488
6485
  required:
6489
6486
  - weight
6490
6487
  - storageKey
@@ -6728,10 +6725,7 @@ paths:
6728
6725
  Use `null` to remove the proxy.
6729
6726
  oneOf:
6730
6727
  - $ref: "#/components/schemas/SiteProxyOrigin"
6731
- - type: string
6732
- nullable: true
6733
- enum:
6734
- - null
6728
+ - type: "null"
6735
6729
  responses:
6736
6730
  "200":
6737
6731
  description: OK
@@ -7408,10 +7402,7 @@ paths:
7408
7402
  icon:
7409
7403
  oneOf:
7410
7404
  - $ref: "#/components/schemas/Icon"
7411
- - type: string
7412
- nullable: true
7413
- enum:
7414
- - null
7405
+ - type: "null"
7415
7406
  sections:
7416
7407
  type: array
7417
7408
  items:
@@ -7458,10 +7449,7 @@ paths:
7458
7449
  icon:
7459
7450
  oneOf:
7460
7451
  - $ref: "#/components/schemas/Icon"
7461
- - type: string
7462
- nullable: true
7463
- enum:
7464
- - null
7452
+ - type: "null"
7465
7453
  responses:
7466
7454
  "200":
7467
7455
  description: OK
@@ -7563,17 +7551,11 @@ paths:
7563
7551
  title:
7564
7552
  oneOf:
7565
7553
  - $ref: "#/components/schemas/SiteSectionTitle"
7566
- - type: string
7567
- nullable: true
7568
- enum:
7569
- - null
7554
+ - type: "null"
7570
7555
  icon:
7571
7556
  oneOf:
7572
7557
  - $ref: "#/components/schemas/Icon"
7573
- - type: string
7574
- nullable: true
7575
- enum:
7576
- - null
7558
+ - type: "null"
7577
7559
  required:
7578
7560
  - spaceId
7579
7561
  responses:
@@ -7638,6 +7620,8 @@ paths:
7638
7620
  properties:
7639
7621
  title:
7640
7622
  $ref: "#/components/schemas/SiteSectionTitle"
7623
+ localizedTitle:
7624
+ $ref: "#/components/schemas/LocalizedString"
7641
7625
  path:
7642
7626
  $ref: "#/components/schemas/SiteSectionPath"
7643
7627
  defaultSiteSpace:
@@ -7647,24 +7631,15 @@ paths:
7647
7631
  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
7632
  oneOf:
7649
7633
  - $ref: "#/components/schemas/Expression"
7650
- - type: string
7651
- nullable: true
7652
- enum:
7653
- - null
7634
+ - type: "null"
7654
7635
  icon:
7655
7636
  oneOf:
7656
7637
  - $ref: "#/components/schemas/Icon"
7657
- - type: string
7658
- nullable: true
7659
- enum:
7660
- - null
7638
+ - type: "null"
7661
7639
  description:
7662
7640
  oneOf:
7663
7641
  - $ref: "#/components/schemas/SiteSectionDescription"
7664
- - type: string
7665
- nullable: true
7666
- enum:
7667
- - null
7642
+ - type: "null"
7668
7643
  responses:
7669
7644
  "200":
7670
7645
  description: OK
@@ -7941,6 +7916,74 @@ paths:
7941
7916
  application/json:
7942
7917
  schema:
7943
7918
  $ref: "#/components/schemas/ContextRecord"
7919
+ "/orgs/{organizationId}/sites/{siteId}/issues":
7920
+ get:
7921
+ operationId: listSiteIssues
7922
+ summary: List all site context issues
7923
+ tags:
7924
+ - site-context
7925
+ security:
7926
+ - user: []
7927
+ parameters:
7928
+ - $ref: "#/components/parameters/organizationId"
7929
+ - $ref: "#/components/parameters/siteId"
7930
+ - $ref: "#/components/parameters/listPage"
7931
+ - $ref: "#/components/parameters/listLimit"
7932
+ - name: topic
7933
+ in: query
7934
+ description: Filter issues by associated site topic ID.
7935
+ schema:
7936
+ type: string
7937
+ - name: status
7938
+ in: query
7939
+ description: Filter issues by status.
7940
+ schema:
7941
+ $ref: "#/components/schemas/SiteIssueStatus"
7942
+ - name: type
7943
+ in: query
7944
+ description: Filter issues by type.
7945
+ schema:
7946
+ $ref: "#/components/schemas/SiteIssueType"
7947
+ - name: priority
7948
+ in: query
7949
+ description: Filter issues by estimated priority.
7950
+ schema:
7951
+ $ref: "#/components/schemas/SiteIssuePriority"
7952
+ responses:
7953
+ "200":
7954
+ description: OK
7955
+ content:
7956
+ application/json:
7957
+ schema:
7958
+ allOf:
7959
+ - $ref: "#/components/schemas/List"
7960
+ - type: object
7961
+ required:
7962
+ - items
7963
+ properties:
7964
+ items:
7965
+ type: array
7966
+ items:
7967
+ $ref: "#/components/schemas/SiteIssue"
7968
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}":
7969
+ get:
7970
+ operationId: getSiteIssueById
7971
+ summary: Get a site issue by ID
7972
+ tags:
7973
+ - site-context
7974
+ security:
7975
+ - user: []
7976
+ parameters:
7977
+ - $ref: "#/components/parameters/organizationId"
7978
+ - $ref: "#/components/parameters/siteId"
7979
+ - $ref: "#/components/parameters/siteIssueId"
7980
+ responses:
7981
+ "200":
7982
+ description: OK
7983
+ content:
7984
+ application/json:
7985
+ schema:
7986
+ $ref: "#/components/schemas/SiteIssue"
7944
7987
  "/orgs/{organizationId}/sites/{siteId}/context-connections":
7945
7988
  get:
7946
7989
  operationId: listSiteContextConnections
@@ -8093,6 +8136,16 @@ paths:
8093
8136
  parameters:
8094
8137
  - $ref: "#/components/parameters/organizationId"
8095
8138
  - $ref: "#/components/parameters/siteId"
8139
+ - name: from
8140
+ in: query
8141
+ description: Filter stats to answers created at or after this timestamp.
8142
+ schema:
8143
+ $ref: "#/components/schemas/Timestamp"
8144
+ - name: to
8145
+ in: query
8146
+ description: Filter stats to answers created at or before this timestamp.
8147
+ schema:
8148
+ $ref: "#/components/schemas/Timestamp"
8096
8149
  responses:
8097
8150
  "200":
8098
8151
  description: OK
@@ -8155,6 +8208,23 @@ paths:
8155
8208
  application/json:
8156
8209
  schema:
8157
8210
  $ref: "#/components/schemas/SiteTopic"
8211
+ "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/issues":
8212
+ delete:
8213
+ operationId: deleteSiteTopicIssues
8214
+ summary: Delete all issues for a topic
8215
+ tags:
8216
+ - site-context
8217
+ security:
8218
+ - user: []
8219
+ parameters:
8220
+ - $ref: "#/components/parameters/organizationId"
8221
+ - $ref: "#/components/parameters/siteId"
8222
+ - $ref: "#/components/parameters/siteTopicId"
8223
+ responses:
8224
+ "204":
8225
+ description: Topic had no issues or did not exist
8226
+ "205":
8227
+ description: Topic issues deleted
8158
8228
  "/orgs/{organizationId}/sites/{siteId}/questions":
8159
8229
  get:
8160
8230
  operationId: listSiteQuestions
@@ -8166,11 +8236,26 @@ paths:
8166
8236
  parameters:
8167
8237
  - $ref: "#/components/parameters/organizationId"
8168
8238
  - $ref: "#/components/parameters/siteId"
8239
+ - name: from
8240
+ in: query
8241
+ description: Filter stats to answers created at or after this timestamp.
8242
+ schema:
8243
+ $ref: "#/components/schemas/Timestamp"
8244
+ - name: to
8245
+ in: query
8246
+ description: Filter stats to answers created at or before this timestamp.
8247
+ schema:
8248
+ $ref: "#/components/schemas/Timestamp"
8169
8249
  - name: type
8170
8250
  in: query
8171
8251
  description: Filter questions by question type.
8172
8252
  schema:
8173
8253
  $ref: "#/components/schemas/SiteQuestionType"
8254
+ - name: answered
8255
+ in: query
8256
+ description: Filter questions by answer resolution.
8257
+ schema:
8258
+ $ref: "#/components/schemas/SiteQuestionAnswerResolution"
8174
8259
  - $ref: "#/components/parameters/listPage"
8175
8260
  - $ref: "#/components/parameters/listLimit"
8176
8261
  responses:
@@ -8219,6 +8304,30 @@ paths:
8219
8304
  parameters:
8220
8305
  - $ref: "#/components/parameters/organizationId"
8221
8306
  - $ref: "#/components/parameters/siteId"
8307
+ - name: from
8308
+ in: query
8309
+ description: Filter stats to answers created at or after this timestamp.
8310
+ schema:
8311
+ $ref: "#/components/schemas/Timestamp"
8312
+ - name: to
8313
+ in: query
8314
+ description: Filter stats to answers created at or before this timestamp.
8315
+ schema:
8316
+ $ref: "#/components/schemas/Timestamp"
8317
+ - name: topic
8318
+ in: query
8319
+ description: Filter stats by associated site topic IDs.
8320
+ schema:
8321
+ type: array
8322
+ items:
8323
+ type: string
8324
+ - name: relevance
8325
+ in: query
8326
+ description: Filter stats by question relevance.
8327
+ schema:
8328
+ type: array
8329
+ items:
8330
+ $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8222
8331
  responses:
8223
8332
  "200":
8224
8333
  description: OK
@@ -8252,11 +8361,11 @@ paths:
8252
8361
  description: Filter answers by answered resolution.
8253
8362
  schema:
8254
8363
  $ref: "#/components/schemas/SiteQuestionAnswerResolution"
8255
- - name: confidence
8364
+ - name: helpfulness
8256
8365
  in: query
8257
- description: Filter answers by answered confidence.
8366
+ description: Filter answers by answered helpfulness.
8258
8367
  schema:
8259
- $ref: "#/components/schemas/SiteQuestionAnswerConfidence"
8368
+ $ref: "#/components/schemas/SiteQuestionAnswerHelpfulness"
8260
8369
  - name: relevance
8261
8370
  in: query
8262
8371
  description: Filter answers by question relevance.
@@ -8369,10 +8478,7 @@ paths:
8369
8478
  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
8479
  oneOf:
8371
8480
  - $ref: "#/components/schemas/Expression"
8372
- - type: string
8373
- nullable: true
8374
- enum:
8375
- - null
8481
+ - type: "null"
8376
8482
  spaceId:
8377
8483
  type: string
8378
8484
  description: The content that this site space points to. If not set, the space will remain unchanged.
@@ -8447,10 +8553,7 @@ paths:
8447
8553
  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
8554
  oneOf:
8449
8555
  - $ref: "#/components/schemas/SiteTitle"
8450
- - type: string
8451
- nullable: true
8452
- enum:
8453
- - null
8556
+ - type: "null"
8454
8557
  styling:
8455
8558
  type: object
8456
8559
  properties:
@@ -8458,90 +8561,57 @@ paths:
8458
8561
  description: The site theme. Set to null to reset the override.
8459
8562
  oneOf:
8460
8563
  - $ref: "#/components/schemas/CustomizationTheme"
8461
- - type: string
8462
- nullable: true
8463
- enum:
8464
- - null
8564
+ - type: "null"
8465
8565
  primaryColor:
8466
8566
  description: The primary color used for links and UI text. Set to null to reset the override.
8467
8567
  oneOf:
8468
8568
  - $ref: "#/components/schemas/CustomizationThemedColor"
8469
- - type: string
8470
- nullable: true
8471
- enum:
8472
- - null
8569
+ - type: "null"
8473
8570
  infoColor:
8474
8571
  description: Used for informational messages and neutral alerts. Set to null to reset the override.
8475
8572
  oneOf:
8476
8573
  - $ref: "#/components/schemas/CustomizationThemedColor"
8477
- - type: string
8478
- nullable: true
8479
- enum:
8480
- - null
8574
+ - type: "null"
8481
8575
  successColor:
8482
8576
  description: Used for showing positive actions or achievements. Set to null to reset the override.
8483
8577
  oneOf:
8484
8578
  - $ref: "#/components/schemas/CustomizationThemedColor"
8485
- - type: string
8486
- nullable: true
8487
- enum:
8488
- - null
8579
+ - type: "null"
8489
8580
  warningColor:
8490
8581
  description: Used for showing important information or non-critical warnings. Set to null to reset the override.
8491
8582
  oneOf:
8492
8583
  - $ref: "#/components/schemas/CustomizationThemedColor"
8493
- - type: string
8494
- nullable: true
8495
- enum:
8496
- - null
8584
+ - type: "null"
8497
8585
  dangerColor:
8498
8586
  description: Used for destructive actions or raising attention to critical information. Set to null to reset the override.
8499
8587
  oneOf:
8500
8588
  - $ref: "#/components/schemas/CustomizationThemedColor"
8501
- - type: string
8502
- nullable: true
8503
- enum:
8504
- - null
8589
+ - type: "null"
8505
8590
  tint:
8506
8591
  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
8592
  oneOf:
8508
8593
  - $ref: "#/components/schemas/CustomizationTint"
8509
- - type: string
8510
- nullable: true
8511
- enum:
8512
- - null
8594
+ - type: "null"
8513
8595
  corners:
8514
8596
  description: The style of the corners to use. Set to null to reset the override.
8515
8597
  oneOf:
8516
8598
  - $ref: "#/components/schemas/CustomizationCorners"
8517
- - type: string
8518
- nullable: true
8519
- enum:
8520
- - null
8599
+ - type: "null"
8521
8600
  depth:
8522
8601
  description: The depth of elements on the site. Set to null to reset the override.
8523
8602
  oneOf:
8524
8603
  - $ref: "#/components/schemas/CustomizationDepth"
8525
- - type: string
8526
- nullable: true
8527
- enum:
8528
- - null
8604
+ - type: "null"
8529
8605
  links:
8530
8606
  description: The style for links to use. Set to null to reset the override.
8531
8607
  oneOf:
8532
8608
  - $ref: "#/components/schemas/CustomizationLinksStyle"
8533
- - type: string
8534
- nullable: true
8535
- enum:
8536
- - null
8609
+ - type: "null"
8537
8610
  icons:
8538
8611
  description: The icons style to use for the content. Set to null to reset the override.
8539
8612
  oneOf:
8540
8613
  - $ref: "#/components/schemas/CustomizationIconsStyle"
8541
- - type: string
8542
- nullable: true
8543
- enum:
8544
- - null
8614
+ - type: "null"
8545
8615
  sidebar:
8546
8616
  description: Various styles for the sidebar. Each can be Set to null to reset the override.
8547
8617
  type: object
@@ -8549,33 +8619,21 @@ paths:
8549
8619
  background:
8550
8620
  oneOf:
8551
8621
  - $ref: "#/components/schemas/CustomizationSidebarBackgroundStyle"
8552
- - type: string
8553
- nullable: true
8554
- enum:
8555
- - null
8622
+ - type: "null"
8556
8623
  list:
8557
8624
  oneOf:
8558
8625
  - $ref: "#/components/schemas/CustomizationSidebarListStyle"
8559
- - type: string
8560
- nullable: true
8561
- enum:
8562
- - null
8626
+ - type: "null"
8563
8627
  search:
8564
8628
  description: Styling for the search button at the top of the site.
8565
8629
  oneOf:
8566
8630
  - $ref: "#/components/schemas/CustomizationSearchStyle"
8567
- - type: string
8568
- nullable: true
8569
- enum:
8570
- - null
8631
+ - type: "null"
8571
8632
  background:
8572
8633
  description: The style of background to use. Set to null to reset the override.
8573
8634
  oneOf:
8574
8635
  - $ref: "#/components/schemas/CustomizationBackground"
8575
- - type: string
8576
- nullable: true
8577
- enum:
8578
- - null
8636
+ - type: "null"
8579
8637
  codeTheme:
8580
8638
  description: The code theme to use. Set to null to reset the override.
8581
8639
  type: object
@@ -8583,17 +8641,11 @@ paths:
8583
8641
  default:
8584
8642
  oneOf:
8585
8643
  - $ref: "#/components/schemas/CustomizationThemedCodeTheme"
8586
- - type: string
8587
- nullable: true
8588
- enum:
8589
- - null
8644
+ - type: "null"
8590
8645
  openapi:
8591
8646
  oneOf:
8592
8647
  - $ref: "#/components/schemas/CustomizationThemedCodeTheme"
8593
- - type: string
8594
- nullable: true
8595
- enum:
8596
- - null
8648
+ - type: "null"
8597
8649
  internationalization:
8598
8650
  type: object
8599
8651
  deprecated: true
@@ -8602,20 +8654,14 @@ paths:
8602
8654
  description: The locale to use for the non-custom elements of the UI. Set to null to reset the override.
8603
8655
  oneOf:
8604
8656
  - $ref: "#/components/schemas/CustomizationLocale"
8605
- - type: string
8606
- nullable: true
8607
- enum:
8608
- - null
8657
+ - type: "null"
8609
8658
  required:
8610
8659
  - locale
8611
8660
  favicon:
8612
8661
  description: The favicon to use. Set to null to reset the override.
8613
8662
  oneOf:
8614
8663
  - $ref: "#/components/schemas/CustomizationFavicon"
8615
- - type: string
8616
- nullable: true
8617
- enum:
8618
- - null
8664
+ - type: "null"
8619
8665
  announcement:
8620
8666
  $ref: "#/components/schemas/CustomizationAnnouncement"
8621
8667
  header:
@@ -8625,46 +8671,32 @@ paths:
8625
8671
  description: The theme preset to use. Set to null to reset the override.
8626
8672
  oneOf:
8627
8673
  - $ref: "#/components/schemas/CustomizationHeaderPreset"
8628
- - type: string
8629
- nullable: true
8630
- enum:
8631
- - null
8674
+ - type: "null"
8632
8675
  logo:
8633
8676
  description: The header logo to use. Set to null to reset the override.
8634
8677
  oneOf:
8635
8678
  - $ref: "#/components/schemas/CustomizationThemedURL"
8636
- - type: string
8637
- nullable: true
8638
- enum:
8639
- - null
8679
+ - type: "null"
8640
8680
  primaryLink:
8641
8681
  description: The destination to open when visitors click the site title/logo in the header. Set to null to reset the override.
8642
8682
  oneOf:
8643
8683
  - $ref: "#/components/schemas/ContentRef"
8644
- - type: string
8645
- nullable: true
8646
- enum:
8647
- - null
8684
+ - type: "null"
8648
8685
  backgroundColor:
8649
8686
  description: The background color used in the header. Set to null to reset the override.
8650
8687
  oneOf:
8651
8688
  - $ref: "#/components/schemas/CustomizationThemedColor"
8652
- - type: string
8653
- nullable: true
8654
- enum:
8655
- - null
8689
+ - type: "null"
8656
8690
  linkColor:
8657
8691
  description: The color used by the links in the header. Set to null to reset the override.
8658
8692
  oneOf:
8659
8693
  - $ref: "#/components/schemas/CustomizationThemedColor"
8660
- - type: string
8661
- nullable: true
8662
- enum:
8663
- - null
8694
+ - type: "null"
8664
8695
  links:
8665
- type: array
8696
+ type:
8697
+ - array
8698
+ - "null"
8666
8699
  description: The links that are displayed in the header. Set to null to reset the override.
8667
- nullable: true
8668
8700
  items:
8669
8701
  $ref: "#/components/schemas/CustomizationHeaderItem"
8670
8702
  footer:
@@ -8674,20 +8706,19 @@ paths:
8674
8706
  description: The logo displayed in the footer. Set to null to reset the override.
8675
8707
  oneOf:
8676
8708
  - $ref: "#/components/schemas/CustomizationThemedURL"
8677
- - type: string
8678
- nullable: true
8679
- enum:
8680
- - null
8709
+ - type: "null"
8681
8710
  groups:
8682
- type: array
8711
+ type:
8712
+ - array
8713
+ - "null"
8683
8714
  description: The links groups that are displayed in the footer. Set to null to reset the override.
8684
- nullable: true
8685
8715
  items:
8686
8716
  $ref: "#/components/schemas/CustomizationFooterGroup"
8687
8717
  copyright:
8688
- type: string
8718
+ type:
8719
+ - string
8720
+ - "null"
8689
8721
  description: The copyright text that is displayed in the footer. Set to null to reset the override.
8690
- nullable: true
8691
8722
  maxLength: 300
8692
8723
  themes:
8693
8724
  type: object
@@ -8696,39 +8727,40 @@ paths:
8696
8727
  description: The theme mode default value. Set to null to reset the override.
8697
8728
  oneOf:
8698
8729
  - $ref: "#/components/schemas/CustomizationThemeMode"
8699
- - type: string
8700
- nullable: true
8701
- enum:
8702
- - null
8730
+ - type: "null"
8703
8731
  toggeable:
8704
8732
  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
8733
+ type:
8734
+ - boolean
8735
+ - "null"
8707
8736
  pdf:
8708
8737
  type: object
8709
8738
  properties:
8710
8739
  enabled:
8711
- type: boolean
8740
+ type:
8741
+ - boolean
8742
+ - "null"
8712
8743
  description: If true, PDF export is enabled for the published site. Set to null to reset the override.
8713
- nullable: true
8714
8744
  required:
8715
8745
  - enabled
8716
8746
  feedback:
8717
8747
  type: object
8718
8748
  properties:
8719
8749
  enabled:
8720
- type: boolean
8750
+ type:
8751
+ - boolean
8752
+ - "null"
8721
8753
  description: If true, feedback gathering is enabled. Set to null to reset the override.
8722
- nullable: true
8723
8754
  required:
8724
8755
  - enabled
8725
8756
  git:
8726
8757
  type: object
8727
8758
  properties:
8728
8759
  showEditLink:
8729
- type: boolean
8760
+ type:
8761
+ - boolean
8762
+ - "null"
8730
8763
  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
8764
  required:
8733
8765
  - showEditLink
8734
8766
  externalLinks:
@@ -8738,28 +8770,27 @@ paths:
8738
8770
  description: How external links should open. Set to null to reset the override.
8739
8771
  oneOf:
8740
8772
  - $ref: "#/components/schemas/SiteExternalLinksTarget"
8741
- - type: string
8742
- nullable: true
8743
- enum:
8744
- - null
8773
+ - type: "null"
8745
8774
  required:
8746
8775
  - target
8747
8776
  pagination:
8748
8777
  type: object
8749
8778
  properties:
8750
8779
  enabled:
8751
- type: boolean
8780
+ type:
8781
+ - boolean
8782
+ - "null"
8752
8783
  description: Whether the pagination navigation should be displayed on pages. Set to null to reset the override.
8753
- nullable: true
8754
8784
  required:
8755
8785
  - enabled
8756
8786
  trademark:
8757
8787
  type: object
8758
8788
  properties:
8759
8789
  enabled:
8760
- type: boolean
8790
+ type:
8791
+ - boolean
8792
+ - "null"
8761
8793
  description: Whether the GitBook trademark ("Powered by GitBook") should be visible. Set to null to reset the override.
8762
- nullable: true
8763
8794
  required:
8764
8795
  - enabled
8765
8796
  privacyPolicy:
@@ -8769,10 +8800,7 @@ paths:
8769
8800
  description: The custom link to the privacy policy. Set to null to reset the override.
8770
8801
  oneOf:
8771
8802
  - $ref: "#/components/schemas/URL"
8772
- - type: string
8773
- nullable: true
8774
- enum:
8775
- - null
8803
+ - type: "null"
8776
8804
  socialPreview:
8777
8805
  type: object
8778
8806
  properties:
@@ -8780,10 +8808,7 @@ paths:
8780
8808
  description: The URL for the social preview image. Set to null to reset the override.
8781
8809
  oneOf:
8782
8810
  - $ref: "#/components/schemas/URL"
8783
- - type: string
8784
- nullable: true
8785
- enum:
8786
- - null
8811
+ - type: "null"
8787
8812
  responses:
8788
8813
  "200":
8789
8814
  description: OK
@@ -9159,6 +9184,14 @@ paths:
9159
9184
  $ref: "#/components/schemas/AIToolCallResult"
9160
9185
  session:
9161
9186
  $ref: "#/components/schemas/SiteInsightsSession"
9187
+ channel:
9188
+ type: object
9189
+ description: The channel from which the question was asked, if applicable.
9190
+ required:
9191
+ - type
9192
+ properties:
9193
+ type:
9194
+ $ref: "#/components/schemas/SiteCoreChannelType"
9162
9195
  responses:
9163
9196
  "200":
9164
9197
  description: OK
@@ -9292,6 +9325,10 @@ paths:
9292
9325
  type: boolean
9293
9326
  default: false
9294
9327
  description: Capture and append the wildcard-matched suffix to the destination URL.
9328
+ draft:
9329
+ type: boolean
9330
+ default: false
9331
+ description: Whether the redirect is draft and not live.
9295
9332
  destination:
9296
9333
  $ref: "#/components/schemas/SiteRedirectInputDestination"
9297
9334
  required:
@@ -9326,19 +9363,46 @@ paths:
9326
9363
  minItems: 1
9327
9364
  maxItems: 500
9328
9365
  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
9366
+ oneOf:
9367
+ - type: object
9368
+ properties:
9369
+ source:
9370
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9371
+ intent:
9372
+ type: string
9373
+ enum:
9374
+ - publish
9375
+ description: |
9376
+ Publish a draft redirect to live and remove the draft redirect.
9377
+ required:
9378
+ - source
9379
+ - intent
9380
+ - type: object
9381
+ properties:
9382
+ source:
9383
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9384
+ intent:
9385
+ type: string
9386
+ enum:
9387
+ - live
9388
+ - draft
9389
+ default: live
9390
+ description: |
9391
+ Redirect operation intent.
9392
+ - live: upsert/delete a live redirect (draft=false)
9393
+ - draft: upsert/delete a draft redirect (draft=true)
9394
+ captureWildcard:
9395
+ type: boolean
9396
+ default: false
9397
+ description: Capture and append the wildcard-matched suffix to the destination URL.
9398
+ destination:
9399
+ description: If set to null, the redirect matching the source+intent target will be deleted.
9400
+ oneOf:
9401
+ - $ref: "#/components/schemas/SiteRedirectInputDestination"
9402
+ - type: "null"
9403
+ required:
9404
+ - source
9405
+ - destination
9342
9406
  required:
9343
9407
  - redirects
9344
9408
  responses:
@@ -9362,12 +9426,16 @@ paths:
9362
9426
  description: The redirect was created.
9363
9427
  source:
9364
9428
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9429
+ draft:
9430
+ type: boolean
9431
+ description: Whether the redirect is draft and not live.
9365
9432
  id:
9366
9433
  type: string
9367
9434
  description: The ID of the created redirect.
9368
9435
  required:
9369
9436
  - status
9370
9437
  - source
9438
+ - draft
9371
9439
  - id
9372
9440
  - type: object
9373
9441
  properties:
@@ -9378,12 +9446,52 @@ paths:
9378
9446
  description: The redirect was updated.
9379
9447
  source:
9380
9448
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9449
+ draft:
9450
+ type: boolean
9451
+ description: Whether the redirect is draft and not live.
9381
9452
  id:
9382
9453
  type: string
9383
9454
  description: The ID of the updated redirect.
9384
9455
  required:
9385
9456
  - status
9386
9457
  - source
9458
+ - draft
9459
+ - id
9460
+ - type: object
9461
+ properties:
9462
+ status:
9463
+ type: string
9464
+ enum:
9465
+ - deleted
9466
+ description: The redirect was deleted.
9467
+ source:
9468
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9469
+ draft:
9470
+ type: boolean
9471
+ description: Whether the deleted redirect was draft.
9472
+ required:
9473
+ - status
9474
+ - source
9475
+ - draft
9476
+ - type: object
9477
+ properties:
9478
+ status:
9479
+ type: string
9480
+ enum:
9481
+ - published
9482
+ description: The draft redirect was published to live and removed from draft.
9483
+ source:
9484
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9485
+ draft:
9486
+ type: boolean
9487
+ description: Always false for published redirects.
9488
+ id:
9489
+ type: string
9490
+ description: The ID of the resulting live redirect.
9491
+ required:
9492
+ - status
9493
+ - source
9494
+ - draft
9387
9495
  - id
9388
9496
  - type: object
9389
9497
  properties:
@@ -9394,12 +9502,16 @@ paths:
9394
9502
  description: There was an error processing the redirect.
9395
9503
  source:
9396
9504
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9505
+ draft:
9506
+ type: boolean
9507
+ description: Whether the redirect is draft and not live.
9397
9508
  error:
9398
9509
  type: string
9399
9510
  description: The error message.
9400
9511
  required:
9401
9512
  - status
9402
9513
  - source
9514
+ - draft
9403
9515
  - error
9404
9516
  required:
9405
9517
  - results
@@ -9420,6 +9532,12 @@ paths:
9420
9532
  description: Search for a redirect by path
9421
9533
  schema:
9422
9534
  type: string
9535
+ - name: draft
9536
+ in: query
9537
+ description: Filter redirects by draft mode.
9538
+ schema:
9539
+ type: boolean
9540
+ default: false
9423
9541
  responses:
9424
9542
  "200":
9425
9543
  description: The list of redirects for the site.
@@ -9460,6 +9578,9 @@ paths:
9460
9578
  captureWildcard:
9461
9579
  type: boolean
9462
9580
  description: Capture and append the wildcard-matched suffix to the destination URL.
9581
+ draft:
9582
+ type: boolean
9583
+ description: When true, it can be used to promote a draft redirect to live.
9463
9584
  destination:
9464
9585
  $ref: "#/components/schemas/SiteRedirectDestination"
9465
9586
  responses:
@@ -9652,36 +9773,128 @@ paths:
9652
9773
  description: MCP server did not exist
9653
9774
  "205":
9654
9775
  description: MCP server deleted
9655
- "/subdomains/{subdomain}":
9776
+ "/orgs/{organizationId}/sites/{siteId}/channels":
9656
9777
  get:
9657
- operationId: getSubdomain
9658
- summary: Get a subdomain
9778
+ operationId: listSiteChannels
9779
+ summary: List all site channels for a site
9659
9780
  tags:
9660
- - subdomains
9781
+ - site-channels
9661
9782
  security:
9662
9783
  - user: []
9663
9784
  parameters:
9664
- - $ref: "#/components/parameters/subdomain"
9785
+ - $ref: "#/components/parameters/organizationId"
9786
+ - $ref: "#/components/parameters/siteId"
9787
+ - $ref: "#/components/parameters/listPage"
9788
+ - $ref: "#/components/parameters/listLimit"
9665
9789
  responses:
9666
9790
  "200":
9667
9791
  description: OK
9668
9792
  content:
9669
9793
  application/json:
9670
9794
  schema:
9671
- $ref: "#/components/schemas/Subdomain"
9672
- "/custom-hostnames/{hostname}":
9673
- get:
9674
- operationId: getCustomHostname
9675
- summary: Get a custom hostname
9795
+ allOf:
9796
+ - $ref: "#/components/schemas/List"
9797
+ - type: object
9798
+ required:
9799
+ - items
9800
+ properties:
9801
+ items:
9802
+ type: array
9803
+ items:
9804
+ $ref: "#/components/schemas/SiteChannel"
9805
+ post:
9806
+ operationId: createSiteChannel
9807
+ summary: Create a site channel
9676
9808
  tags:
9677
- - custom-hostnames
9809
+ - site-channels
9678
9810
  security:
9679
- - user-internal-or-staff: []
9811
+ - user: []
9680
9812
  parameters:
9681
- - $ref: "#/components/parameters/hostname"
9813
+ - $ref: "#/components/parameters/organizationId"
9814
+ - $ref: "#/components/parameters/siteId"
9815
+ requestBody:
9816
+ required: true
9817
+ content:
9818
+ application/json:
9819
+ schema:
9820
+ allOf:
9821
+ - $ref: "#/components/schemas/SiteChannelSetup"
9822
+ - type: object
9823
+ properties:
9824
+ usageSettings:
9825
+ $ref: "#/components/schemas/SiteChannelUsageSettings"
9682
9826
  responses:
9683
- "200":
9684
- description: OK
9827
+ "201":
9828
+ description: Site channel created
9829
+ content:
9830
+ application/json:
9831
+ schema:
9832
+ $ref: "#/components/schemas/SiteChannel"
9833
+ "/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}":
9834
+ get:
9835
+ operationId: getSiteChannelById
9836
+ summary: Get a site channel
9837
+ tags:
9838
+ - site-channels
9839
+ security:
9840
+ - user: []
9841
+ parameters:
9842
+ - $ref: "#/components/parameters/organizationId"
9843
+ - $ref: "#/components/parameters/siteId"
9844
+ - $ref: "#/components/parameters/siteChannelId"
9845
+ responses:
9846
+ "200":
9847
+ description: OK
9848
+ content:
9849
+ application/json:
9850
+ schema:
9851
+ $ref: "#/components/schemas/SiteChannel"
9852
+ delete:
9853
+ operationId: deleteSiteChannelById
9854
+ summary: Delete a site channel
9855
+ tags:
9856
+ - site-channels
9857
+ security:
9858
+ - user: []
9859
+ parameters:
9860
+ - $ref: "#/components/parameters/organizationId"
9861
+ - $ref: "#/components/parameters/siteId"
9862
+ - $ref: "#/components/parameters/siteChannelId"
9863
+ responses:
9864
+ "204":
9865
+ description: Site channel did not exist
9866
+ "205":
9867
+ description: Site channel deleted
9868
+ "/subdomains/{subdomain}":
9869
+ get:
9870
+ operationId: getSubdomain
9871
+ summary: Get a subdomain
9872
+ tags:
9873
+ - subdomains
9874
+ security:
9875
+ - user: []
9876
+ parameters:
9877
+ - $ref: "#/components/parameters/subdomain"
9878
+ responses:
9879
+ "200":
9880
+ description: OK
9881
+ content:
9882
+ application/json:
9883
+ schema:
9884
+ $ref: "#/components/schemas/Subdomain"
9885
+ "/custom-hostnames/{hostname}":
9886
+ get:
9887
+ operationId: getCustomHostname
9888
+ summary: Get a custom hostname
9889
+ tags:
9890
+ - custom-hostnames
9891
+ security:
9892
+ - user-internal-or-staff: []
9893
+ parameters:
9894
+ - $ref: "#/components/parameters/hostname"
9895
+ responses:
9896
+ "200":
9897
+ description: OK
9685
9898
  content:
9686
9899
  application/json:
9687
9900
  schema:
@@ -10449,6 +10662,13 @@ components:
10449
10662
  description: The unique id of the context record
10450
10663
  schema:
10451
10664
  type: string
10665
+ siteIssueId:
10666
+ name: siteIssueId
10667
+ in: path
10668
+ required: true
10669
+ description: The unique id of the site issue
10670
+ schema:
10671
+ type: string
10452
10672
  siteContextConnectionId:
10453
10673
  name: siteContextConnectionId
10454
10674
  in: path
@@ -10498,6 +10718,13 @@ components:
10498
10718
  description: The unique id of the MCP server
10499
10719
  schema:
10500
10720
  type: string
10721
+ siteChannelId:
10722
+ name: siteChannelId
10723
+ in: path
10724
+ required: true
10725
+ description: The unique id of the site channel
10726
+ schema:
10727
+ type: string
10501
10728
  subdomain:
10502
10729
  name: subdomain
10503
10730
  in: path
@@ -10916,10 +11143,7 @@ components:
10916
11143
  description: The role of a member in an organization, null for guests
10917
11144
  oneOf:
10918
11145
  - $ref: "#/components/schemas/MemberRole"
10919
- - type: string
10920
- nullable: true
10921
- enum:
10922
- - null
11146
+ - type: "null"
10923
11147
  DefaultLevel:
10924
11148
  description: Default level for a piece of content
10925
11149
  oneOf:
@@ -11211,6 +11435,10 @@ components:
11211
11435
  - type
11212
11436
  - integration
11213
11437
  - block
11438
+ SearchResultScore:
11439
+ type: number
11440
+ minimum: 0
11441
+ description: Relevance score for a search result. Higher is better and the score is unbounded.
11214
11442
  SearchSectionResult:
11215
11443
  type: object
11216
11444
  description: Search result representing a section in a page.
@@ -11221,6 +11449,8 @@ components:
11221
11449
  type: string
11222
11450
  path:
11223
11451
  type: string
11452
+ score:
11453
+ $ref: "#/components/schemas/SearchResultScore"
11224
11454
  body:
11225
11455
  type: string
11226
11456
  urls:
@@ -11237,6 +11467,7 @@ components:
11237
11467
  - id
11238
11468
  - title
11239
11469
  - path
11470
+ - score
11240
11471
  - body
11241
11472
  - urls
11242
11473
  SearchPageResult:
@@ -11250,8 +11481,7 @@ components:
11250
11481
  path:
11251
11482
  type: string
11252
11483
  score:
11253
- type: number
11254
- description: Aggregated relevance score for the page.
11484
+ $ref: "#/components/schemas/SearchResultScore"
11255
11485
  sections:
11256
11486
  type: array
11257
11487
  items:
@@ -12481,8 +12711,9 @@ components:
12481
12711
  additionalProperties:
12482
12712
  oneOf:
12483
12713
  - type: number
12484
- - type: string
12485
- nullable: true
12714
+ - type:
12715
+ - string
12716
+ - "null"
12486
12717
  - type: boolean
12487
12718
  - type: array
12488
12719
  items:
@@ -13171,127 +13402,6 @@ components:
13171
13402
  - type
13172
13403
  - data
13173
13404
  - 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
13405
  PlainObject:
13296
13406
  properties: {}
13297
13407
  additionalProperties:
@@ -13431,6 +13541,128 @@ components:
13431
13541
  - type
13432
13542
  - data
13433
13543
  - isVoid
13544
+ DocumentBlockExpandable:
13545
+ type: object
13546
+ properties:
13547
+ object:
13548
+ type: string
13549
+ enum:
13550
+ - block
13551
+ type:
13552
+ type: string
13553
+ enum:
13554
+ - expandable
13555
+ key:
13556
+ type: string
13557
+ isVoid:
13558
+ type: boolean
13559
+ enum:
13560
+ - true
13561
+ data:
13562
+ type: object
13563
+ properties:
13564
+ defaultExpanded:
13565
+ type: boolean
13566
+ additionalProperties: false
13567
+ fragments:
13568
+ type: array
13569
+ items:
13570
+ oneOf:
13571
+ - allOf:
13572
+ - $ref: "#/components/schemas/DocumentFragment"
13573
+ - type: object
13574
+ properties:
13575
+ fragment:
13576
+ type: string
13577
+ enum:
13578
+ - expandable-title
13579
+ type:
13580
+ type: string
13581
+ enum:
13582
+ - expandable-title
13583
+ nodes:
13584
+ type: array
13585
+ items:
13586
+ $ref: "#/components/schemas/DocumentBlockParagraph"
13587
+ minItems: 1
13588
+ maxItems: 1
13589
+ required:
13590
+ - nodes
13591
+ - fragment
13592
+ - type
13593
+ - allOf:
13594
+ - $ref: "#/components/schemas/DocumentFragment"
13595
+ - type: object
13596
+ properties:
13597
+ fragment:
13598
+ type: string
13599
+ enum:
13600
+ - expandable-body
13601
+ type:
13602
+ type: string
13603
+ enum:
13604
+ - expandable-body
13605
+ nodes:
13606
+ type: array
13607
+ items:
13608
+ oneOf:
13609
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
13610
+ - $ref: "#/components/schemas/DocumentBlockFile"
13611
+ - $ref: "#/components/schemas/DocumentBlockImages"
13612
+ - $ref: "#/components/schemas/DocumentBlockCode"
13613
+ - $ref: "#/components/schemas/DocumentBlockTable"
13614
+ - $ref: "#/components/schemas/DocumentBlockHint"
13615
+ - $ref: "#/components/schemas/DocumentBlockQuote"
13616
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
13617
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
13618
+ minItems: 1
13619
+ required:
13620
+ - nodes
13621
+ - fragment
13622
+ - type
13623
+ meta:
13624
+ type: object
13625
+ properties:
13626
+ id:
13627
+ description: Unique ID to be used in an URL for the block.
13628
+ type: string
13629
+ required:
13630
+ - id
13631
+ required:
13632
+ - object
13633
+ - type
13634
+ - isVoid
13635
+ - fragments
13636
+ - data
13637
+ DocumentBlockContentRef:
13638
+ type: object
13639
+ properties:
13640
+ object:
13641
+ type: string
13642
+ enum:
13643
+ - block
13644
+ type:
13645
+ type: string
13646
+ enum:
13647
+ - content-ref
13648
+ key:
13649
+ type: string
13650
+ data:
13651
+ type: object
13652
+ properties:
13653
+ ref:
13654
+ $ref: "#/components/schemas/ContentRef"
13655
+ required:
13656
+ - ref
13657
+ isVoid:
13658
+ type: boolean
13659
+ enum:
13660
+ - true
13661
+ required:
13662
+ - object
13663
+ - type
13664
+ - data
13665
+ - isVoid
13434
13666
  DocumentBlockTabsItem:
13435
13667
  type: object
13436
13668
  properties:
@@ -13623,6 +13855,9 @@ components:
13623
13855
  description: List of schemas name from the OpenAPI spec.
13624
13856
  items:
13625
13857
  type: string
13858
+ title:
13859
+ type: string
13860
+ description: Custom title for the schemas block. When not provided, defaults to "The <SchemaName> object".
13626
13861
  required:
13627
13862
  - schemas
13628
13863
  DocumentBlockOpenAPISchemas:
@@ -14283,8 +14518,9 @@ components:
14283
14518
  ref:
14284
14519
  $ref: "#/components/schemas/ContentRefOpenAPI"
14285
14520
  value:
14286
- type: object
14287
- nullable: true
14521
+ type:
14522
+ - object
14523
+ - "null"
14288
14524
  description: See `OpenAPI` schema component.
14289
14525
  properties:
14290
14526
  object:
@@ -14384,11 +14620,8 @@ components:
14384
14620
  value:
14385
14621
  oneOf:
14386
14622
  - $ref: "#/components/schemas/TranslationResult"
14387
- - type: string
14623
+ - type: "null"
14388
14624
  description: Translation has not been run yet
14389
- nullable: true
14390
- enum:
14391
- - null
14392
14625
  required:
14393
14626
  - ref
14394
14627
  - value
@@ -14441,8 +14674,9 @@ components:
14441
14674
  ref:
14442
14675
  $ref: "#/components/schemas/ContentRefSpace"
14443
14676
  value:
14444
- type: object
14445
- nullable: true
14677
+ type:
14678
+ - object
14679
+ - "null"
14446
14680
  description: See `Space` schema component.
14447
14681
  properties:
14448
14682
  object:
@@ -15235,8 +15469,9 @@ components:
15235
15469
  interval:
15236
15470
  $ref: "#/components/schemas/BillingInterval"
15237
15471
  endDate:
15238
- $ref: "#/components/schemas/Timestamp"
15239
- nullable: true
15472
+ oneOf:
15473
+ - $ref: "#/components/schemas/Timestamp"
15474
+ - type: "null"
15240
15475
  hasPaymentFailed:
15241
15476
  description: If true, we were unable to collect the last payment
15242
15477
  type: boolean
@@ -18461,10 +18696,7 @@ components:
18461
18696
  icon:
18462
18697
  oneOf:
18463
18698
  - $ref: "#/components/schemas/CustomizationFavicon"
18464
- - type: string
18465
- nullable: true
18466
- enum:
18467
- - null
18699
+ - type: "null"
18468
18700
  hostname:
18469
18701
  $ref: "#/components/schemas/SiteHostname"
18470
18702
  basename:
@@ -19428,6 +19660,15 @@ components:
19428
19660
  description: Title of the site section
19429
19661
  minLength: 2
19430
19662
  maxLength: 128
19663
+ LocalizedString:
19664
+ type: object
19665
+ description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
19666
+ x-typescript: Partial<Record<TranslationLanguage, string>>
19667
+ additionalProperties:
19668
+ type: string
19669
+ maxLength: 128
19670
+ propertyNames:
19671
+ $ref: "#/components/schemas/TranslationLanguage"
19431
19672
  SiteSectionDescription:
19432
19673
  type: string
19433
19674
  description: Description of the site section
@@ -19503,6 +19744,8 @@ components:
19503
19744
  description: Unique identifier of the site section
19504
19745
  title:
19505
19746
  $ref: "#/components/schemas/SiteSectionTitle"
19747
+ localizedTitle:
19748
+ $ref: "#/components/schemas/LocalizedString"
19506
19749
  description:
19507
19750
  $ref: "#/components/schemas/SiteSectionDescription"
19508
19751
  default:
@@ -19729,6 +19972,11 @@ components:
19729
19972
  items:
19730
19973
  type: string
19731
19974
  description: A user to remove. It can either be a user ID or an email.
19975
+ Email:
19976
+ type: string
19977
+ format: email
19978
+ description: User email
19979
+ example: contact@gitbook.com
19732
19980
  InviteUsersToOrganization:
19733
19981
  type: object
19734
19982
  properties:
@@ -19736,13 +19984,13 @@ components:
19736
19984
  type: array
19737
19985
  items:
19738
19986
  oneOf:
19739
- - type: string
19987
+ - $ref: "#/components/schemas/Email"
19740
19988
  description: The email address of the user to invite as a member
19741
19989
  - type: object
19742
19990
  properties:
19743
19991
  email:
19744
- type: string
19745
19992
  description: The email address of the user to invite as a member
19993
+ $ref: "#/components/schemas/Email"
19746
19994
  role:
19747
19995
  $ref: "#/components/schemas/MemberRoleOrGuest"
19748
19996
  required:
@@ -20194,8 +20442,7 @@ components:
20194
20442
  title:
20195
20443
  type: string
20196
20444
  score:
20197
- type: number
20198
- description: Aggregated relevance score for the space.
20445
+ $ref: "#/components/schemas/SearchResultScore"
20199
20446
  pages:
20200
20447
  type: array
20201
20448
  items:
@@ -21634,10 +21881,7 @@ components:
21634
21881
  to:
21635
21882
  oneOf:
21636
21883
  - $ref: "#/components/schemas/ContentRef"
21637
- - type: string
21638
- nullable: true
21639
- enum:
21640
- - null
21884
+ - type: "null"
21641
21885
  links:
21642
21886
  type: array
21643
21887
  items:
@@ -22235,10 +22479,11 @@ components:
22235
22479
  - type: object
22236
22480
  properties:
22237
22481
  fallbackURL:
22238
- type: string
22482
+ type:
22483
+ - string
22484
+ - "null"
22239
22485
  format: uri
22240
22486
  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
22487
  SiteCustomizationSettingsInput:
22243
22488
  allOf:
22244
22489
  - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
@@ -22297,8 +22542,7 @@ components:
22297
22542
  type: string
22298
22543
  description: The title of the record.
22299
22544
  score:
22300
- type: number
22301
- description: Relevance score for the record.
22545
+ $ref: "#/components/schemas/SearchResultScore"
22302
22546
  description:
22303
22547
  type: string
22304
22548
  description: The description of the record.
@@ -22330,6 +22574,9 @@ components:
22330
22574
  - builtin:api
22331
22575
  - builtin:website
22332
22576
  - builtin:youtube
22577
+ - builtin:github-discussions
22578
+ - builtin:github-issues
22579
+ - builtin:intercom
22333
22580
  ContextRecordTitle:
22334
22581
  type: string
22335
22582
  description: Title for the context record
@@ -22413,15 +22660,104 @@ components:
22413
22660
  type: string
22414
22661
  description: URL of the record
22415
22662
  format: uri
22663
+ createdAt:
22664
+ $ref: "#/components/schemas/Timestamp"
22665
+ description: Date of the record creation in the original source
22416
22666
  metadata:
22417
22667
  type: object
22418
22668
  additionalProperties:
22419
- type: string
22669
+ oneOf:
22670
+ - type: string
22671
+ - type: number
22420
22672
  required:
22421
22673
  - id
22422
22674
  - title
22423
22675
  - body
22424
22676
  - type
22677
+ SiteIssueStatus:
22678
+ type: string
22679
+ description: Status of a site issue.
22680
+ enum:
22681
+ - open
22682
+ - done
22683
+ - canceled
22684
+ SiteIssueType:
22685
+ type: string
22686
+ description: |-
22687
+ Classification of a site issue:
22688
+ - Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
22689
+ - Incoherent content: The content contains information that is inconsistent or contradictory.
22690
+ - Content gap: The content is missing important information that should be present to answer user questions effectively.
22691
+ - Other: Any other type of issue not covered by the above categories.
22692
+ enum:
22693
+ - content-outdated
22694
+ - incoherence
22695
+ - content-gap
22696
+ - other
22697
+ SiteIssuePriority:
22698
+ type: string
22699
+ description: Estimated end-user priority of a site issue.
22700
+ enum:
22701
+ - low
22702
+ - medium
22703
+ - high
22704
+ SiteIssueTitle:
22705
+ type: string
22706
+ description: Short issue title
22707
+ maxLength: 256
22708
+ SiteIssue:
22709
+ type: object
22710
+ properties:
22711
+ object:
22712
+ type: string
22713
+ enum:
22714
+ - site-issue
22715
+ id:
22716
+ type: string
22717
+ description: The ID of the issue
22718
+ topic:
22719
+ type: string
22720
+ description: The site topic ID associated with the issue
22721
+ title:
22722
+ $ref: "#/components/schemas/SiteIssueTitle"
22723
+ status:
22724
+ $ref: "#/components/schemas/SiteIssueStatus"
22725
+ type:
22726
+ $ref: "#/components/schemas/SiteIssueType"
22727
+ priority:
22728
+ $ref: "#/components/schemas/SiteIssuePriority"
22729
+ description:
22730
+ $ref: "#/components/schemas/JSONDocument"
22731
+ autoFixable:
22732
+ type: boolean
22733
+ description: Whether an AI agent should be able to fix this issue directly
22734
+ createdAt:
22735
+ $ref: "#/components/schemas/Timestamp"
22736
+ updatedAt:
22737
+ $ref: "#/components/schemas/Timestamp"
22738
+ urls:
22739
+ type: object
22740
+ description: URLs associated with the issue
22741
+ properties:
22742
+ location:
22743
+ type: string
22744
+ description: URL of the issue list endpoint in the API
22745
+ format: uri
22746
+ required:
22747
+ - location
22748
+ required:
22749
+ - object
22750
+ - id
22751
+ - topic
22752
+ - title
22753
+ - status
22754
+ - type
22755
+ - priority
22756
+ - description
22757
+ - autoFixable
22758
+ - createdAt
22759
+ - updatedAt
22760
+ - urls
22425
22761
  ContextConnectionLabel:
22426
22762
  type: string
22427
22763
  description: Optional label for the connection
@@ -22454,6 +22790,13 @@ components:
22454
22790
  type: string
22455
22791
  enum:
22456
22792
  - builtin:email
22793
+ required:
22794
+ - connector
22795
+ - type: object
22796
+ properties:
22797
+ connector:
22798
+ type: string
22799
+ enum:
22457
22800
  - builtin:api
22458
22801
  required:
22459
22802
  - connector
@@ -22499,6 +22842,65 @@ components:
22499
22842
  required:
22500
22843
  - connector
22501
22844
  - setupSettings
22845
+ - type: object
22846
+ properties:
22847
+ connector:
22848
+ type: string
22849
+ enum:
22850
+ - builtin:github-discussions
22851
+ setupSettings:
22852
+ type: object
22853
+ properties:
22854
+ repository:
22855
+ type: string
22856
+ pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
22857
+ token:
22858
+ type: string
22859
+ minLength: 1
22860
+ required:
22861
+ - repository
22862
+ - token
22863
+ required:
22864
+ - connector
22865
+ - setupSettings
22866
+ - type: object
22867
+ properties:
22868
+ connector:
22869
+ type: string
22870
+ enum:
22871
+ - builtin:github-issues
22872
+ setupSettings:
22873
+ type: object
22874
+ properties:
22875
+ repository:
22876
+ type: string
22877
+ pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
22878
+ token:
22879
+ type: string
22880
+ minLength: 1
22881
+ required:
22882
+ - repository
22883
+ - token
22884
+ required:
22885
+ - connector
22886
+ - setupSettings
22887
+ - type: object
22888
+ properties:
22889
+ connector:
22890
+ type: string
22891
+ enum:
22892
+ - builtin:intercom
22893
+ setupSettings:
22894
+ type: object
22895
+ properties:
22896
+ token:
22897
+ type: string
22898
+ minLength: 1
22899
+ required:
22900
+ - token
22901
+ required:
22902
+ - connector
22903
+ - setupSettings
22502
22904
  ContextConnection:
22503
22905
  allOf:
22504
22906
  - type: object
@@ -22622,6 +23024,16 @@ components:
22622
23024
  - troubleshooting
22623
23025
  - reference
22624
23026
  - unknown
23027
+ SiteQuestionStatsChannelTypes:
23028
+ type: object
23029
+ description: Count of answers by site channel type, including core channels.
23030
+ additionalProperties:
23031
+ type: number
23032
+ SiteQuestionStatsChannels:
23033
+ type: object
23034
+ description: Count of answers by site channel ID.
23035
+ additionalProperties:
23036
+ type: number
22625
23037
  SiteQuestionStats:
22626
23038
  type: object
22627
23039
  description: Aggregated stats for questions and linked answers.
@@ -22640,6 +23052,10 @@ components:
22640
23052
  $ref: "#/components/schemas/SiteQuestionStatsRelevance"
22641
23053
  types:
22642
23054
  $ref: "#/components/schemas/SiteQuestionStatsTypes"
23055
+ channelTypes:
23056
+ $ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
23057
+ channels:
23058
+ $ref: "#/components/schemas/SiteQuestionStatsChannels"
22643
23059
  weeklyPulse:
22644
23060
  type: array
22645
23061
  minItems: 13
@@ -22654,6 +23070,8 @@ components:
22654
23070
  - answered
22655
23071
  - relevance
22656
23072
  - types
23073
+ - channelTypes
23074
+ - channels
22657
23075
  - weeklyPulse
22658
23076
  SiteTopic:
22659
23077
  type: object
@@ -22731,6 +23149,13 @@ components:
22731
23149
  - troubleshooting
22732
23150
  - reference
22733
23151
  - unknown
23152
+ SiteQuestionAnswerResolution:
23153
+ type: string
23154
+ description: Whether the response answered the question.
23155
+ enum:
23156
+ - no
23157
+ - partially
23158
+ - yes
22734
23159
  SiteQuestion:
22735
23160
  type: object
22736
23161
  properties:
@@ -22768,20 +23193,6 @@ components:
22768
23193
  - createdAt
22769
23194
  - stats
22770
23195
  - urls
22771
- SiteQuestionAnswerResolution:
22772
- type: string
22773
- description: Whether the response answered the question.
22774
- enum:
22775
- - no
22776
- - partially
22777
- - 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
23196
  SiteQuestionAnswerRelevance:
22786
23197
  type: string
22787
23198
  description: Relevance classification of the user question.
@@ -22790,6 +23201,13 @@ components:
22790
23201
  - spam
22791
23202
  - off-topic
22792
23203
  - unclear
23204
+ SiteQuestionAnswerHelpfulness:
23205
+ type: string
23206
+ description: Helpfulness of the response for the end user need.
23207
+ enum:
23208
+ - low
23209
+ - medium
23210
+ - high
22793
23211
  SiteInsightsSession:
22794
23212
  type: object
22795
23213
  description: Identifiers for a GitBook site session, used for analytics and adaptive content.
@@ -22803,6 +23221,17 @@ components:
22803
23221
  required:
22804
23222
  - visitorId
22805
23223
  - sessionId
23224
+ SiteCoreChannelType:
23225
+ type: string
23226
+ enum:
23227
+ - site
23228
+ - embed
23229
+ - api
23230
+ SiteConfigurableChannelType:
23231
+ type: string
23232
+ enum:
23233
+ - builtin:slack
23234
+ - builtin:discord
22806
23235
  SiteQuestionAnswer:
22807
23236
  type: object
22808
23237
  properties:
@@ -22871,10 +23300,30 @@ components:
22871
23300
  description: ISO language code of the question.
22872
23301
  answered:
22873
23302
  $ref: "#/components/schemas/SiteQuestionAnswerResolution"
22874
- confidence:
22875
- $ref: "#/components/schemas/SiteQuestionAnswerConfidence"
23303
+ helpfulness:
23304
+ $ref: "#/components/schemas/SiteQuestionAnswerHelpfulness"
22876
23305
  relevance:
22877
23306
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
23307
+ channel:
23308
+ oneOf:
23309
+ - type: object
23310
+ properties:
23311
+ type:
23312
+ $ref: "#/components/schemas/SiteCoreChannelType"
23313
+ required:
23314
+ - type
23315
+ - type: object
23316
+ properties:
23317
+ type:
23318
+ $ref: "#/components/schemas/SiteConfigurableChannelType"
23319
+ id:
23320
+ type:
23321
+ - string
23322
+ - "null"
23323
+ description: ID of the associated site channel when the answer originates from a configurable channel. Null if the channel has been deleted.
23324
+ required:
23325
+ - type
23326
+ - id
22878
23327
  createdAt:
22879
23328
  $ref: "#/components/schemas/Timestamp"
22880
23329
  updatedAt:
@@ -22898,8 +23347,9 @@ components:
22898
23347
  - responseId
22899
23348
  - language
22900
23349
  - answered
22901
- - confidence
23350
+ - helpfulness
22902
23351
  - relevance
23352
+ - channel
22903
23353
  - createdAt
22904
23354
  - urls
22905
23355
  AIMessageRole:
@@ -24155,23 +24605,24 @@ components:
24155
24605
  User-agent of the visitor.
24156
24606
  https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
24157
24607
  language:
24158
- type: string
24159
- nullable: true
24608
+ type:
24609
+ - string
24610
+ - "null"
24160
24611
  description: |
24161
24612
  Language of the visitor.
24162
24613
  https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
24163
24614
  referrer:
24164
24615
  description: Referrer of the session
24165
24616
  oneOf:
24617
+ - type: "null"
24166
24618
  - type: string
24167
- nullable: true
24168
24619
  enum:
24169
- - null
24170
24620
  - ""
24171
24621
  - $ref: "#/components/schemas/URL"
24172
24622
  visitorAuthToken:
24173
- type: string
24174
- nullable: true
24623
+ type:
24624
+ - string
24625
+ - "null"
24175
24626
  deprecated: true
24176
24627
  description: Deprecated, use visitorAuthClaims instead.
24177
24628
  visitorAuthClaims:
@@ -24203,29 +24654,35 @@ components:
24203
24654
  $ref: "#/components/schemas/SiteInsightsDisplayContext"
24204
24655
  default: site
24205
24656
  siteSection:
24206
- type: string
24657
+ type:
24658
+ - string
24659
+ - "null"
24207
24660
  description: ID of the concerned site section.
24208
- nullable: true
24209
24661
  siteSpace:
24210
- type: string
24662
+ type:
24663
+ - string
24664
+ - "null"
24211
24665
  description: ID of the concerned site space.
24212
- nullable: true
24213
24666
  siteShareKey:
24214
- type: string
24667
+ type:
24668
+ - string
24669
+ - "null"
24215
24670
  description: ID of the concerned site share key.
24216
- nullable: true
24217
24671
  space:
24218
- type: string
24672
+ type:
24673
+ - string
24674
+ - "null"
24219
24675
  description: ID of the concerned space.
24220
- nullable: true
24221
24676
  revision:
24222
- type: string
24677
+ type:
24678
+ - string
24679
+ - "null"
24223
24680
  description: ID of the concerned revision.
24224
- nullable: true
24225
24681
  page:
24226
- type: string
24682
+ type:
24683
+ - string
24684
+ - "null"
24227
24685
  description: ID of the concerned page.
24228
- nullable: true
24229
24686
  required:
24230
24687
  - url
24231
24688
  - siteSection
@@ -24965,9 +25422,11 @@ components:
24965
25422
  - ios
24966
25423
  - unknown
24967
25424
  SiteInsightsVisitorBot:
24968
- type: string
24969
- nullable: true
25425
+ type:
25426
+ - string
25427
+ - "null"
24970
25428
  enum:
25429
+ - null
24971
25430
  - unknown
24972
25431
  - googlebot
24973
25432
  - bingbot
@@ -24986,6 +25445,9 @@ components:
24986
25445
  - ccbot
24987
25446
  - amazonbot
24988
25447
  - youbot
25448
+ - cursor
25449
+ - vscode
25450
+ - claude-code
24989
25451
  SiteInsightsQueryEventsValues:
24990
25452
  oneOf:
24991
25453
  - type: object
@@ -25211,8 +25673,9 @@ components:
25211
25673
  values:
25212
25674
  type: array
25213
25675
  items:
25214
- type: string
25215
- nullable: true
25676
+ type:
25677
+ - string
25678
+ - "null"
25216
25679
  - type: object
25217
25680
  required:
25218
25681
  - column
@@ -25225,8 +25688,9 @@ components:
25225
25688
  values:
25226
25689
  type: array
25227
25690
  items:
25228
- type: string
25229
- nullable: true
25691
+ type:
25692
+ - string
25693
+ - "null"
25230
25694
  - type: object
25231
25695
  required:
25232
25696
  - column
@@ -25239,8 +25703,9 @@ components:
25239
25703
  values:
25240
25704
  type: array
25241
25705
  items:
25242
- type: string
25243
- nullable: true
25706
+ type:
25707
+ - string
25708
+ - "null"
25244
25709
  - type: object
25245
25710
  required:
25246
25711
  - column
@@ -25267,18 +25732,16 @@ components:
25267
25732
  type: array
25268
25733
  items:
25269
25734
  oneOf:
25270
- - type: string
25271
- nullable: true
25272
- enum:
25273
- - null
25735
+ - type: "null"
25274
25736
  - type: object
25275
25737
  required:
25276
25738
  - page
25277
25739
  - space
25278
25740
  properties:
25279
25741
  page:
25280
- type: string
25281
- nullable: true
25742
+ type:
25743
+ - string
25744
+ - "null"
25282
25745
  space:
25283
25746
  type: string
25284
25747
  - type: object
@@ -25293,8 +25756,9 @@ components:
25293
25756
  values:
25294
25757
  type: array
25295
25758
  items:
25296
- type: string
25297
- nullable: true
25759
+ type:
25760
+ - string
25761
+ - "null"
25298
25762
  - type: object
25299
25763
  required:
25300
25764
  - column
@@ -25307,8 +25771,9 @@ components:
25307
25771
  values:
25308
25772
  type: array
25309
25773
  items:
25310
- type: object
25311
- nullable: true
25774
+ type:
25775
+ - object
25776
+ - "null"
25312
25777
  required:
25313
25778
  - latitude
25314
25779
  - longitude
@@ -25332,8 +25797,9 @@ components:
25332
25797
  values:
25333
25798
  type: array
25334
25799
  items:
25335
- type: string
25336
- nullable: true
25800
+ type:
25801
+ - string
25802
+ - "null"
25337
25803
  - type: object
25338
25804
  required:
25339
25805
  - column
@@ -25346,8 +25812,9 @@ components:
25346
25812
  values:
25347
25813
  type: array
25348
25814
  items:
25349
- type: string
25350
- nullable: true
25815
+ type:
25816
+ - string
25817
+ - "null"
25351
25818
  - type: object
25352
25819
  required:
25353
25820
  - column
@@ -25360,8 +25827,9 @@ components:
25360
25827
  values:
25361
25828
  type: array
25362
25829
  items:
25363
- type: string
25364
- nullable: true
25830
+ type:
25831
+ - string
25832
+ - "null"
25365
25833
  - type: object
25366
25834
  required:
25367
25835
  - column
@@ -25374,8 +25842,9 @@ components:
25374
25842
  values:
25375
25843
  type: array
25376
25844
  items:
25377
- type: string
25378
- nullable: true
25845
+ type:
25846
+ - string
25847
+ - "null"
25379
25848
  - type: object
25380
25849
  required:
25381
25850
  - column
@@ -25401,8 +25870,9 @@ components:
25401
25870
  values:
25402
25871
  type: array
25403
25872
  items:
25404
- type: string
25405
- nullable: true
25873
+ type:
25874
+ - string
25875
+ - "null"
25406
25876
  - type: object
25407
25877
  required:
25408
25878
  - column
@@ -25816,6 +26286,9 @@ components:
25816
26286
  description: The unique identifier for the redirect.
25817
26287
  source:
25818
26288
  $ref: "#/components/schemas/SiteRedirectSourcePath"
26289
+ draft:
26290
+ type: boolean
26291
+ description: Whether the redirect is draft and not live.
25819
26292
  captureWildcard:
25820
26293
  type: boolean
25821
26294
  description: Capture and append the wildcard-matched suffix to the destination URL.
@@ -25825,6 +26298,7 @@ components:
25825
26298
  - object
25826
26299
  - id
25827
26300
  - source
26301
+ - draft
25828
26302
  - captureWildcard
25829
26303
  - destination
25830
26304
  SiteRedirectInputDestinationPath:
@@ -25893,6 +26367,72 @@ components:
25893
26367
  - url
25894
26368
  - headers
25895
26369
  - urls
26370
+ SiteChannelSetup:
26371
+ oneOf:
26372
+ - type: object
26373
+ properties:
26374
+ type:
26375
+ type: string
26376
+ enum:
26377
+ - builtin:slack
26378
+ setupSettings:
26379
+ type: object
26380
+ additionalProperties: false
26381
+ required:
26382
+ - type
26383
+ - setupSettings
26384
+ - type: object
26385
+ properties:
26386
+ type:
26387
+ type: string
26388
+ enum:
26389
+ - builtin:discord
26390
+ setupSettings:
26391
+ type: object
26392
+ additionalProperties: false
26393
+ required:
26394
+ - type
26395
+ - setupSettings
26396
+ SiteChannelUsageSettings:
26397
+ type: object
26398
+ description: Usage settings for a site channel.
26399
+ additionalProperties: false
26400
+ SiteChannel:
26401
+ allOf:
26402
+ - $ref: "#/components/schemas/SiteChannelSetup"
26403
+ - type: object
26404
+ properties:
26405
+ object:
26406
+ type: string
26407
+ enum:
26408
+ - site-channel
26409
+ id:
26410
+ type: string
26411
+ description: Unique identifier for the site channel.
26412
+ answers:
26413
+ type: integer
26414
+ minimum: 0
26415
+ description: Number of answers linked to this channel.
26416
+ usageSettings:
26417
+ $ref: "#/components/schemas/SiteChannelUsageSettings"
26418
+ createdAt:
26419
+ $ref: "#/components/schemas/Timestamp"
26420
+ urls:
26421
+ type: object
26422
+ properties:
26423
+ location:
26424
+ type: string
26425
+ format: uri
26426
+ description: URL of the site channel in the API.
26427
+ required:
26428
+ - location
26429
+ required:
26430
+ - object
26431
+ - id
26432
+ - answers
26433
+ - usageSettings
26434
+ - createdAt
26435
+ - urls
25896
26436
  Subdomain:
25897
26437
  type: object
25898
26438
  properties:
@@ -27027,7 +27567,7 @@ components:
27027
27567
  - $ref: "#/components/schemas/SpaceAPIToken"
27028
27568
  - $ref: "#/components/schemas/CollectionAPIToken"
27029
27569
  - $ref: "#/components/schemas/SiteAPIToken"
27030
- SpaceInfoChannel:
27570
+ APIChannelSpaceInfo:
27031
27571
  type: object
27032
27572
  properties:
27033
27573
  channel:
@@ -27039,7 +27579,7 @@ components:
27039
27579
  required:
27040
27580
  - channel
27041
27581
  - space
27042
- SpaceContentChannel:
27582
+ APIChannelSpaceContent:
27043
27583
  type: object
27044
27584
  description: Channel notified when the main content of a space is changed.
27045
27585
  properties:
@@ -27052,7 +27592,7 @@ components:
27052
27592
  required:
27053
27593
  - channel
27054
27594
  - space
27055
- SpaceGitInfoChannel:
27595
+ APIChannelSpaceGitInfo:
27056
27596
  type: object
27057
27597
  properties:
27058
27598
  channel:
@@ -27064,7 +27604,7 @@ components:
27064
27604
  required:
27065
27605
  - channel
27066
27606
  - space
27067
- SpacePublishingAuthChannel:
27607
+ APIChannelSpacePublishingAuth:
27068
27608
  type: object
27069
27609
  properties:
27070
27610
  channel:
@@ -27076,7 +27616,7 @@ components:
27076
27616
  required:
27077
27617
  - channel
27078
27618
  - space
27079
- SpacePublishingCustomizationChannel:
27619
+ APIChannelSpacePublishingCustomization:
27080
27620
  type: object
27081
27621
  properties:
27082
27622
  channel:
@@ -27088,7 +27628,7 @@ components:
27088
27628
  required:
27089
27629
  - channel
27090
27630
  - space
27091
- SpaceContentRefsChannel:
27631
+ APIChannelSpaceContentRefs:
27092
27632
  type: object
27093
27633
  properties:
27094
27634
  channel:
@@ -27100,7 +27640,7 @@ components:
27100
27640
  required:
27101
27641
  - channel
27102
27642
  - space
27103
- SpaceIntegrationsChannel:
27643
+ APIChannelSpaceIntegrations:
27104
27644
  type: object
27105
27645
  properties:
27106
27646
  channel:
@@ -27112,7 +27652,7 @@ components:
27112
27652
  required:
27113
27653
  - channel
27114
27654
  - space
27115
- UserAPITokensChannel:
27655
+ APIChannelUserAPITokens:
27116
27656
  type: object
27117
27657
  properties:
27118
27658
  channel:
@@ -27124,7 +27664,7 @@ components:
27124
27664
  required:
27125
27665
  - channel
27126
27666
  - user
27127
- UserOrganizationsChannel:
27667
+ APIChannelUserOrganizations:
27128
27668
  type: object
27129
27669
  properties:
27130
27670
  channel:
@@ -27136,7 +27676,7 @@ components:
27136
27676
  required:
27137
27677
  - channel
27138
27678
  - user
27139
- UserProfileChannel:
27679
+ APIChannelUserProfile:
27140
27680
  type: object
27141
27681
  properties:
27142
27682
  channel:
@@ -27148,7 +27688,7 @@ components:
27148
27688
  required:
27149
27689
  - channel
27150
27690
  - user
27151
- ChangeRequestChannel:
27691
+ APIChannelChangeRequest:
27152
27692
  type: object
27153
27693
  properties:
27154
27694
  channel:
@@ -27163,7 +27703,7 @@ components:
27163
27703
  - channel
27164
27704
  - space
27165
27705
  - changeRequest
27166
- ChangeRequestsChannel:
27706
+ APIChannelChangeRequests:
27167
27707
  type: object
27168
27708
  properties:
27169
27709
  channel:
@@ -27175,7 +27715,7 @@ components:
27175
27715
  required:
27176
27716
  - channel
27177
27717
  - space
27178
- ChangeRequestReviewsChannel:
27718
+ APIChannelChangeRequestReviews:
27179
27719
  type: object
27180
27720
  properties:
27181
27721
  channel:
@@ -27190,7 +27730,7 @@ components:
27190
27730
  - channel
27191
27731
  - space
27192
27732
  - changeRequest
27193
- ChangeRequestContentRefsChannel:
27733
+ APIChannelChangeRequestContentRefs:
27194
27734
  type: object
27195
27735
  properties:
27196
27736
  channel:
@@ -27205,7 +27745,7 @@ components:
27205
27745
  - channel
27206
27746
  - space
27207
27747
  - changeRequest
27208
- CollectionChannel:
27748
+ APIChannelCollection:
27209
27749
  type: object
27210
27750
  properties:
27211
27751
  channel:
@@ -27217,7 +27757,7 @@ components:
27217
27757
  required:
27218
27758
  - channel
27219
27759
  - collection
27220
- CollectionPublishingCustomizationChannel:
27760
+ APIChannelCollectionPublishingCustomization:
27221
27761
  type: object
27222
27762
  properties:
27223
27763
  channel:
@@ -27229,7 +27769,7 @@ components:
27229
27769
  required:
27230
27770
  - channel
27231
27771
  - collection
27232
- OrganizationInfoChannel:
27772
+ APIChannelOrganizationInfo:
27233
27773
  type: object
27234
27774
  properties:
27235
27775
  channel:
@@ -27241,7 +27781,7 @@ components:
27241
27781
  required:
27242
27782
  - channel
27243
27783
  - organization
27244
- OrganizationAgentDataChannel:
27784
+ APIChannelOrganizationAgentData:
27245
27785
  type: object
27246
27786
  description: Subscription channel for changes in Docs Agent data in an organization.
27247
27787
  properties:
@@ -27254,7 +27794,7 @@ components:
27254
27794
  required:
27255
27795
  - channel
27256
27796
  - organization
27257
- OrganizationInviteLinksChannel:
27797
+ APIChannelOrganizationInviteLinks:
27258
27798
  type: object
27259
27799
  properties:
27260
27800
  channel:
@@ -27266,7 +27806,7 @@ components:
27266
27806
  required:
27267
27807
  - channel
27268
27808
  - organization
27269
- OrganizationMembersChannel:
27809
+ APIChannelOrganizationMembers:
27270
27810
  type: object
27271
27811
  properties:
27272
27812
  channel:
@@ -27278,7 +27818,7 @@ components:
27278
27818
  required:
27279
27819
  - channel
27280
27820
  - organization
27281
- OrganizationMemberChannel:
27821
+ APIChannelOrganizationMember:
27282
27822
  type: object
27283
27823
  properties:
27284
27824
  channel:
@@ -27293,7 +27833,7 @@ components:
27293
27833
  - channel
27294
27834
  - organization
27295
27835
  - user
27296
- OrganizationSAMLChannel:
27836
+ APIChannelOrganizationSAML:
27297
27837
  type: object
27298
27838
  properties:
27299
27839
  channel:
@@ -27305,7 +27845,7 @@ components:
27305
27845
  required:
27306
27846
  - channel
27307
27847
  - organization
27308
- OrganizationTeamsChannel:
27848
+ APIChannelOrganizationTeams:
27309
27849
  type: object
27310
27850
  properties:
27311
27851
  channel:
@@ -27317,7 +27857,7 @@ components:
27317
27857
  required:
27318
27858
  - channel
27319
27859
  - organization
27320
- OrganizationTeamChannel:
27860
+ APIChannelOrganizationTeam:
27321
27861
  type: object
27322
27862
  properties:
27323
27863
  channel:
@@ -27332,7 +27872,7 @@ components:
27332
27872
  - channel
27333
27873
  - organization
27334
27874
  - team
27335
- OrganizationTeamMembersChannel:
27875
+ APIChannelOrganizationTeamMembers:
27336
27876
  type: object
27337
27877
  properties:
27338
27878
  channel:
@@ -27347,7 +27887,7 @@ components:
27347
27887
  - channel
27348
27888
  - organization
27349
27889
  - team
27350
- OrganizationTeamMemberChannel:
27890
+ APIChannelOrganizationTeamMember:
27351
27891
  type: object
27352
27892
  properties:
27353
27893
  channel:
@@ -27364,7 +27904,7 @@ components:
27364
27904
  - channel
27365
27905
  - organization
27366
27906
  - member
27367
- OrganizationSpacesChannel:
27907
+ APIChannelOrganizationSpaces:
27368
27908
  type: object
27369
27909
  description: Subscription channel for changes in spaces in an organization.
27370
27910
  properties:
@@ -27377,7 +27917,7 @@ components:
27377
27917
  required:
27378
27918
  - channel
27379
27919
  - organization
27380
- OrganizationCollectionsChannel:
27920
+ APIChannelOrganizationCollections:
27381
27921
  type: object
27382
27922
  description: Subscription channel for changes in collections in an organization.
27383
27923
  properties:
@@ -27390,7 +27930,7 @@ components:
27390
27930
  required:
27391
27931
  - channel
27392
27932
  - organization
27393
- OrganizationIntegrationsChannel:
27933
+ APIChannelOrganizationIntegrations:
27394
27934
  type: object
27395
27935
  properties:
27396
27936
  channel:
@@ -27402,7 +27942,7 @@ components:
27402
27942
  required:
27403
27943
  - channel
27404
27944
  - organization
27405
- OrganizationInstallationsChannel:
27945
+ APIChannelOrganizationInstallations:
27406
27946
  type: object
27407
27947
  properties:
27408
27948
  channel:
@@ -27414,7 +27954,7 @@ components:
27414
27954
  required:
27415
27955
  - channel
27416
27956
  - organization
27417
- OrganizationSitesChannel:
27957
+ APIChannelOrganizationSites:
27418
27958
  type: object
27419
27959
  description: Subscription channel for changes in sites in an organization.
27420
27960
  properties:
@@ -27427,7 +27967,7 @@ components:
27427
27967
  required:
27428
27968
  - channel
27429
27969
  - organization
27430
- OrganizationOpenAPISpecsChannel:
27970
+ APIChannelOrganizationOpenAPISpecs:
27431
27971
  type: object
27432
27972
  description: Subscription channel for changes in OpenAPI specifications in an organization.
27433
27973
  properties:
@@ -27440,7 +27980,7 @@ components:
27440
27980
  required:
27441
27981
  - channel
27442
27982
  - organization
27443
- OrganizationTranslationsChannel:
27983
+ APIChannelOrganizationTranslations:
27444
27984
  type: object
27445
27985
  description: Subscription channel for changes in translations in an organization.
27446
27986
  properties:
@@ -27453,7 +27993,7 @@ components:
27453
27993
  required:
27454
27994
  - channel
27455
27995
  - organization
27456
- OrganizationTranslationsGlossaryChannel:
27996
+ APIChannelOrganizationTranslationsGlossary:
27457
27997
  type: object
27458
27998
  description: Subscription channel for changes in the glossary in an organization.
27459
27999
  properties:
@@ -27466,7 +28006,7 @@ components:
27466
28006
  required:
27467
28007
  - channel
27468
28008
  - organization
27469
- OrganizationCustomFontsChannel:
28009
+ APIChannelOrganizationCustomFonts:
27470
28010
  type: object
27471
28011
  description: Subscription channel for changes in custom fonts in an organization.
27472
28012
  properties:
@@ -27479,7 +28019,7 @@ components:
27479
28019
  required:
27480
28020
  - channel
27481
28021
  - organization
27482
- OrganizationAgentInstructionsChannel:
28022
+ APIChannelOrganizationAgentInstructions:
27483
28023
  type: object
27484
28024
  description: Subscription channel for Docs agent instructions changes in an organization.
27485
28025
  properties:
@@ -27492,7 +28032,7 @@ components:
27492
28032
  required:
27493
28033
  - channel
27494
28034
  - organization
27495
- OrganizationChangeRequestsChannel:
28035
+ APIChannelOrganizationChangeRequests:
27496
28036
  type: object
27497
28037
  description: Subscription channel for all change requests in an organization.
27498
28038
  properties:
@@ -27505,7 +28045,7 @@ components:
27505
28045
  required:
27506
28046
  - channel
27507
28047
  - organization
27508
- SpaceCommentsChannel:
28048
+ APIChannelSpaceComments:
27509
28049
  type: object
27510
28050
  properties:
27511
28051
  channel:
@@ -27517,7 +28057,7 @@ components:
27517
28057
  required:
27518
28058
  - channel
27519
28059
  - space
27520
- ChangeRequestCommentsChannel:
28060
+ APIChannelChangeRequestComments:
27521
28061
  type: object
27522
28062
  properties:
27523
28063
  channel:
@@ -27532,7 +28072,7 @@ components:
27532
28072
  - channel
27533
28073
  - space
27534
28074
  - changeRequest
27535
- CommentInfoChannel:
28075
+ APIChannelCommentInfo:
27536
28076
  type: object
27537
28077
  properties:
27538
28078
  channel:
@@ -27547,7 +28087,7 @@ components:
27547
28087
  - channel
27548
28088
  - space
27549
28089
  - comment
27550
- CommentRepliesChannel:
28090
+ APIChannelCommentReplies:
27551
28091
  type: object
27552
28092
  properties:
27553
28093
  channel:
@@ -27562,7 +28102,7 @@ components:
27562
28102
  - channel
27563
28103
  - space
27564
28104
  - comment
27565
- IntegrationChannel:
28105
+ APIChannelIntegration:
27566
28106
  type: object
27567
28107
  properties:
27568
28108
  channel:
@@ -27574,7 +28114,7 @@ components:
27574
28114
  required:
27575
28115
  - channel
27576
28116
  - integration
27577
- IntegrationInstallationChannel:
28117
+ APIChannelIntegrationInstallation:
27578
28118
  type: object
27579
28119
  properties:
27580
28120
  channel:
@@ -27589,7 +28129,7 @@ components:
27589
28129
  - channel
27590
28130
  - integration
27591
28131
  - installation
27592
- IntegrationSpaceInstallationChannel:
28132
+ APIChannelIntegrationSpaceInstallation:
27593
28133
  type: object
27594
28134
  properties:
27595
28135
  channel:
@@ -27607,7 +28147,7 @@ components:
27607
28147
  - integration
27608
28148
  - installation
27609
28149
  - space
27610
- IntegrationSpaceInstallationsChannel:
28150
+ APIChannelIntegrationSpaceInstallations:
27611
28151
  type: object
27612
28152
  properties:
27613
28153
  channel:
@@ -27622,7 +28162,7 @@ components:
27622
28162
  - channel
27623
28163
  - integration
27624
28164
  - installation
27625
- IntegrationSiteInstallationChannel:
28165
+ APIChannelIntegrationSiteInstallation:
27626
28166
  type: object
27627
28167
  properties:
27628
28168
  channel:
@@ -27640,7 +28180,7 @@ components:
27640
28180
  - integration
27641
28181
  - installation
27642
28182
  - site
27643
- IntegrationSiteInstallationsChannel:
28183
+ APIChannelIntegrationSiteInstallations:
27644
28184
  type: object
27645
28185
  properties:
27646
28186
  channel:
@@ -27655,7 +28195,7 @@ components:
27655
28195
  - channel
27656
28196
  - integration
27657
28197
  - installation
27658
- PublishedContentSiteChannel:
28198
+ APIChannelPublishedContentSite:
27659
28199
  type: object
27660
28200
  properties:
27661
28201
  channel:
@@ -27667,7 +28207,7 @@ components:
27667
28207
  required:
27668
28208
  - channel
27669
28209
  - site
27670
- SiteRedirectsChannel:
28210
+ APIChannelSiteRedirects:
27671
28211
  type: object
27672
28212
  properties:
27673
28213
  channel:
@@ -27679,7 +28219,7 @@ components:
27679
28219
  required:
27680
28220
  - channel
27681
28221
  - site
27682
- SiteChannel:
28222
+ APIChannelSite:
27683
28223
  type: object
27684
28224
  properties:
27685
28225
  channel:
@@ -27691,7 +28231,7 @@ components:
27691
28231
  required:
27692
28232
  - channel
27693
28233
  - site
27694
- SiteContextChannel:
28234
+ APIChannelSiteContext:
27695
28235
  type: object
27696
28236
  description: Subscription channel for changes in site context.
27697
28237
  properties:
@@ -27704,7 +28244,7 @@ components:
27704
28244
  required:
27705
28245
  - channel
27706
28246
  - site
27707
- SiteCustomizationChannel:
28247
+ APIChannelSiteCustomization:
27708
28248
  type: object
27709
28249
  properties:
27710
28250
  channel:
@@ -27716,7 +28256,7 @@ components:
27716
28256
  required:
27717
28257
  - channel
27718
28258
  - site
27719
- SiteIntegrationsChannel:
28259
+ APIChannelSiteIntegrations:
27720
28260
  type: object
27721
28261
  properties:
27722
28262
  channel:
@@ -27728,7 +28268,7 @@ components:
27728
28268
  required:
27729
28269
  - channel
27730
28270
  - site
27731
- SiteSpaceChannel:
28271
+ APIChannelSiteSpace:
27732
28272
  type: object
27733
28273
  properties:
27734
28274
  channel:
@@ -27743,7 +28283,7 @@ components:
27743
28283
  - channel
27744
28284
  - site
27745
28285
  - siteSpace
27746
- SiteSpaceCustomizationChannel:
28286
+ APIChannelSiteSpaceCustomization:
27747
28287
  type: object
27748
28288
  properties:
27749
28289
  channel:
@@ -27758,7 +28298,7 @@ components:
27758
28298
  - channel
27759
28299
  - site
27760
28300
  - siteSpace
27761
- SiteStructureChannel:
28301
+ APIChannelSiteStructure:
27762
28302
  type: object
27763
28303
  description: Subscription channel for changes in site structure in an organization.
27764
28304
  properties:
@@ -27771,7 +28311,7 @@ components:
27771
28311
  required:
27772
28312
  - channel
27773
28313
  - site
27774
- SiteAdaptiveSchemaChannel:
28314
+ APIChannelSiteAdaptiveSchema:
27775
28315
  type: object
27776
28316
  properties:
27777
28317
  channel:
@@ -27783,7 +28323,7 @@ components:
27783
28323
  required:
27784
28324
  - channel
27785
28325
  - site
27786
- SitePublishingAuthChannel:
28326
+ APIChannelSitePublishingAuth:
27787
28327
  type: object
27788
28328
  properties:
27789
28329
  channel:
@@ -27795,7 +28335,7 @@ components:
27795
28335
  required:
27796
28336
  - channel
27797
28337
  - site
27798
- SiteShareLinksChannel:
28338
+ APIChannelSiteShareLinks:
27799
28339
  type: object
27800
28340
  description: Subscription channel for changes in share links in a site
27801
28341
  properties:
@@ -27808,7 +28348,7 @@ components:
27808
28348
  required:
27809
28349
  - channel
27810
28350
  - site
27811
- SiteShareLinkChannel:
28351
+ APIChannelSiteShareLink:
27812
28352
  type: object
27813
28353
  properties:
27814
28354
  channel:
@@ -27823,7 +28363,7 @@ components:
27823
28363
  - channel
27824
28364
  - site
27825
28365
  - siteShareLink
27826
- SiteMcpServersChannel:
28366
+ APIChannelSiteMcpServers:
27827
28367
  type: object
27828
28368
  properties:
27829
28369
  channel:
@@ -27835,7 +28375,7 @@ components:
27835
28375
  required:
27836
28376
  - channel
27837
28377
  - site
27838
- SiteMcpServerChannel:
28378
+ APIChannelSiteMcpServer:
27839
28379
  type: object
27840
28380
  properties:
27841
28381
  channel:
@@ -27850,7 +28390,7 @@ components:
27850
28390
  - channel
27851
28391
  - site
27852
28392
  - siteMcpServer
27853
- SiteSectionChannel:
28393
+ APIChannelSiteSection:
27854
28394
  type: object
27855
28395
  properties:
27856
28396
  channel:
@@ -27865,7 +28405,7 @@ components:
27865
28405
  - channel
27866
28406
  - site
27867
28407
  - siteSection
27868
- CustomHostnameChannel:
28408
+ APIChannelCustomHostname:
27869
28409
  type: object
27870
28410
  properties:
27871
28411
  channel:
@@ -27877,7 +28417,7 @@ components:
27877
28417
  required:
27878
28418
  - channel
27879
28419
  - customHostname
27880
- GitSyncOperationChannel:
28420
+ APIChannelGitSyncOperation:
27881
28421
  type: object
27882
28422
  properties:
27883
28423
  channel:
@@ -27889,7 +28429,7 @@ components:
27889
28429
  required:
27890
28430
  - channel
27891
28431
  - space
27892
- OpenAPISpecChannel:
28432
+ APIChannelOpenAPISpec:
27893
28433
  type: object
27894
28434
  description: Subscription channel for changes in OpenAPI specification.
27895
28435
  properties:
@@ -27902,7 +28442,7 @@ components:
27902
28442
  required:
27903
28443
  - channel
27904
28444
  - openAPISpec
27905
- SubdomainChannel:
28445
+ APIChannelSubdomain:
27906
28446
  type: object
27907
28447
  properties:
27908
28448
  channel:
@@ -27914,7 +28454,7 @@ components:
27914
28454
  required:
27915
28455
  - channel
27916
28456
  - subdomain
27917
- TranslationChannel:
28457
+ APIChannelTranslation:
27918
28458
  type: object
27919
28459
  properties:
27920
28460
  channel:
@@ -27926,7 +28466,7 @@ components:
27926
28466
  required:
27927
28467
  - channel
27928
28468
  - translation
27929
- TranslationRunChannel:
28469
+ APIChannelTranslationRun:
27930
28470
  type: object
27931
28471
  properties:
27932
28472
  channel:
@@ -27938,7 +28478,7 @@ components:
27938
28478
  required:
27939
28479
  - channel
27940
28480
  - translation
27941
- ImportRunChannel:
28481
+ APIChannelImportRun:
27942
28482
  type: object
27943
28483
  properties:
27944
28484
  channel:
@@ -27950,82 +28490,82 @@ components:
27950
28490
  required:
27951
28491
  - channel
27952
28492
  - runId
27953
- SubscriptionChannel:
28493
+ APIChannel:
27954
28494
  description: Channel to subscribe to for realtime updates.
27955
28495
  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"
28496
+ - $ref: "#/components/schemas/APIChannelSpaceInfo"
28497
+ - $ref: "#/components/schemas/APIChannelSpaceContent"
28498
+ - $ref: "#/components/schemas/APIChannelSpaceGitInfo"
28499
+ - $ref: "#/components/schemas/APIChannelSpacePublishingAuth"
28500
+ - $ref: "#/components/schemas/APIChannelSpacePublishingCustomization"
28501
+ - $ref: "#/components/schemas/APIChannelSpaceContentRefs"
28502
+ - $ref: "#/components/schemas/APIChannelSpaceIntegrations"
28503
+ - $ref: "#/components/schemas/APIChannelUserAPITokens"
28504
+ - $ref: "#/components/schemas/APIChannelUserOrganizations"
28505
+ - $ref: "#/components/schemas/APIChannelUserProfile"
28506
+ - $ref: "#/components/schemas/APIChannelChangeRequest"
28507
+ - $ref: "#/components/schemas/APIChannelChangeRequests"
28508
+ - $ref: "#/components/schemas/APIChannelChangeRequestReviews"
28509
+ - $ref: "#/components/schemas/APIChannelChangeRequestContentRefs"
28510
+ - $ref: "#/components/schemas/APIChannelCollection"
28511
+ - $ref: "#/components/schemas/APIChannelCollectionPublishingCustomization"
28512
+ - $ref: "#/components/schemas/APIChannelOrganizationInfo"
28513
+ - $ref: "#/components/schemas/APIChannelOrganizationAgentData"
28514
+ - $ref: "#/components/schemas/APIChannelOrganizationInviteLinks"
28515
+ - $ref: "#/components/schemas/APIChannelOrganizationMembers"
28516
+ - $ref: "#/components/schemas/APIChannelOrganizationMember"
28517
+ - $ref: "#/components/schemas/APIChannelOrganizationSAML"
28518
+ - $ref: "#/components/schemas/APIChannelOrganizationTeams"
28519
+ - $ref: "#/components/schemas/APIChannelOrganizationTeam"
28520
+ - $ref: "#/components/schemas/APIChannelOrganizationTeamMembers"
28521
+ - $ref: "#/components/schemas/APIChannelOrganizationTeamMember"
28522
+ - $ref: "#/components/schemas/APIChannelOrganizationSpaces"
28523
+ - $ref: "#/components/schemas/APIChannelOrganizationCollections"
28524
+ - $ref: "#/components/schemas/APIChannelOrganizationIntegrations"
28525
+ - $ref: "#/components/schemas/APIChannelOrganizationInstallations"
28526
+ - $ref: "#/components/schemas/APIChannelOrganizationSites"
28527
+ - $ref: "#/components/schemas/APIChannelOrganizationOpenAPISpecs"
28528
+ - $ref: "#/components/schemas/APIChannelOrganizationTranslations"
28529
+ - $ref: "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
28530
+ - $ref: "#/components/schemas/APIChannelOrganizationCustomFonts"
28531
+ - $ref: "#/components/schemas/APIChannelOrganizationAgentInstructions"
28532
+ - $ref: "#/components/schemas/APIChannelOrganizationChangeRequests"
28533
+ - $ref: "#/components/schemas/APIChannelSpaceComments"
28534
+ - $ref: "#/components/schemas/APIChannelChangeRequestComments"
28535
+ - $ref: "#/components/schemas/APIChannelCommentInfo"
28536
+ - $ref: "#/components/schemas/APIChannelCommentReplies"
28537
+ - $ref: "#/components/schemas/APIChannelIntegration"
28538
+ - $ref: "#/components/schemas/APIChannelIntegrationInstallation"
28539
+ - $ref: "#/components/schemas/APIChannelIntegrationSpaceInstallation"
28540
+ - $ref: "#/components/schemas/APIChannelIntegrationSpaceInstallations"
28541
+ - $ref: "#/components/schemas/APIChannelIntegrationSiteInstallation"
28542
+ - $ref: "#/components/schemas/APIChannelIntegrationSiteInstallations"
28543
+ - $ref: "#/components/schemas/APIChannelPublishedContentSite"
28544
+ - $ref: "#/components/schemas/APIChannelSiteRedirects"
28545
+ - $ref: "#/components/schemas/APIChannelSite"
28546
+ - $ref: "#/components/schemas/APIChannelSiteContext"
28547
+ - $ref: "#/components/schemas/APIChannelSiteCustomization"
28548
+ - $ref: "#/components/schemas/APIChannelSiteIntegrations"
28549
+ - $ref: "#/components/schemas/APIChannelSiteSpace"
28550
+ - $ref: "#/components/schemas/APIChannelSiteSpaceCustomization"
28551
+ - $ref: "#/components/schemas/APIChannelSiteStructure"
28552
+ - $ref: "#/components/schemas/APIChannelSiteAdaptiveSchema"
28553
+ - $ref: "#/components/schemas/APIChannelSitePublishingAuth"
28554
+ - $ref: "#/components/schemas/APIChannelSiteShareLinks"
28555
+ - $ref: "#/components/schemas/APIChannelSiteShareLink"
28556
+ - $ref: "#/components/schemas/APIChannelSiteMcpServers"
28557
+ - $ref: "#/components/schemas/APIChannelSiteMcpServer"
28558
+ - $ref: "#/components/schemas/APIChannelSiteSection"
28559
+ - $ref: "#/components/schemas/APIChannelCustomHostname"
28560
+ - $ref: "#/components/schemas/APIChannelGitSyncOperation"
28561
+ - $ref: "#/components/schemas/APIChannelOpenAPISpec"
28562
+ - $ref: "#/components/schemas/APIChannelSubdomain"
28563
+ - $ref: "#/components/schemas/APIChannelTranslation"
28564
+ - $ref: "#/components/schemas/APIChannelTranslationRun"
28565
+ - $ref: "#/components/schemas/APIChannelImportRun"
28026
28566
  discriminator:
28027
28567
  propertyName: channel
28028
- TranslationRunChannelData:
28568
+ APIChannelTranslationRunData:
28029
28569
  type: object
28030
28570
  properties:
28031
28571
  channel:
@@ -28049,7 +28589,7 @@ components:
28049
28589
  required:
28050
28590
  - channel
28051
28591
  - data
28052
- ImportRunChannelData:
28592
+ APIChannelImportRunData:
28053
28593
  type: object
28054
28594
  properties:
28055
28595
  channel:
@@ -28061,7 +28601,7 @@ components:
28061
28601
  required:
28062
28602
  - channel
28063
28603
  - data
28064
- GitSyncOperationChannelData:
28604
+ APIChannelGitSyncOperationData:
28065
28605
  type: object
28066
28606
  properties:
28067
28607
  channel:
@@ -28073,7 +28613,7 @@ components:
28073
28613
  required:
28074
28614
  - channel
28075
28615
  - data
28076
- SpaceContentRefsChannelData:
28616
+ APIChannelSpaceContentRefsData:
28077
28617
  type: object
28078
28618
  properties:
28079
28619
  channel:
@@ -28095,7 +28635,7 @@ components:
28095
28635
  required:
28096
28636
  - channel
28097
28637
  - data
28098
- ChangeRequestContentRefsChannelData:
28638
+ APIChannelChangeRequestContentRefsData:
28099
28639
  type: object
28100
28640
  properties:
28101
28641
  channel:
@@ -28136,14 +28676,14 @@ components:
28136
28676
  required:
28137
28677
  - channel
28138
28678
  - data
28139
- SubscriptionChannelData:
28679
+ APIChannelData:
28140
28680
  description: Data passed through a realtime channel
28141
28681
  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"
28682
+ - $ref: "#/components/schemas/APIChannelGitSyncOperationData"
28683
+ - $ref: "#/components/schemas/APIChannelSpaceContentRefsData"
28684
+ - $ref: "#/components/schemas/APIChannelChangeRequestContentRefsData"
28685
+ - $ref: "#/components/schemas/APIChannelTranslationRunData"
28686
+ - $ref: "#/components/schemas/APIChannelImportRunData"
28147
28687
  - $ref: "#/components/schemas/APIChannelMutationData"
28148
28688
  discriminator:
28149
28689
  propertyName: channel
@@ -28181,6 +28721,10 @@ components:
28181
28721
  - live
28182
28722
  - rejected
28183
28723
  - disabled
28724
+ SiteChannelType:
28725
+ oneOf:
28726
+ - $ref: "#/components/schemas/SiteCoreChannelType"
28727
+ - $ref: "#/components/schemas/SiteConfigurableChannelType"
28184
28728
  SiteQuestionAnswerSourceType:
28185
28729
  type: string
28186
28730
  description: Source type used to answer a site question.