@gitbook/api 0.63.0 → 0.64.1

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
@@ -990,7 +990,46 @@ paths:
990
990
  $ref: "#/components/schemas/RevisionPage"
991
991
  default:
992
992
  $ref: "#/components/responses/UnexpectedError"
993
- "/spaces/{spaceId}/content/pages/{pageId}/backlinks":
993
+ "/spaces/{spaceId}/content/page/{pageId}/links":
994
+ get:
995
+ operationId: listPageLinksInSpace
996
+ summary: List all links in a page
997
+ tags:
998
+ - spaces
999
+ - links
1000
+ security:
1001
+ - user: []
1002
+ parameters:
1003
+ - $ref: "#/components/parameters/spaceId"
1004
+ - $ref: "#/components/parameters/pageId"
1005
+ - $ref: "#/components/parameters/listPage"
1006
+ - $ref: "#/components/parameters/listLimit"
1007
+ - name: status
1008
+ in: query
1009
+ schema:
1010
+ $ref: "#/components/schemas/ContentReferenceStatus"
1011
+ responses:
1012
+ "200":
1013
+ description: OK
1014
+ content:
1015
+ application/json:
1016
+ schema:
1017
+ allOf:
1018
+ - $ref: "#/components/schemas/List"
1019
+ - type: object
1020
+ properties:
1021
+ stats:
1022
+ $ref: "#/components/schemas/ContentReferencesStats"
1023
+ items:
1024
+ type: array
1025
+ items:
1026
+ $ref: "#/components/schemas/ContentReferenceUsage"
1027
+ required:
1028
+ - items
1029
+ - stats
1030
+ default:
1031
+ $ref: "#/components/responses/UnexpectedError"
1032
+ "/spaces/{spaceId}/content/page/{pageId}/backlinks":
994
1033
  get:
995
1034
  operationId: listSpacePageBacklinks
996
1035
  summary: Get backlink locations for a page existing in a space.
@@ -1941,6 +1980,41 @@ paths:
1941
1980
  $ref: "#/components/schemas/RevisionPage"
1942
1981
  default:
1943
1982
  $ref: "#/components/responses/UnexpectedError"
1983
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links":
1984
+ get:
1985
+ operationId: listPageLinksInChangeRequest
1986
+ summary: List all links in a page inside a change request.
1987
+ tags:
1988
+ - spaces
1989
+ security:
1990
+ - user: []
1991
+ parameters:
1992
+ - $ref: "#/components/parameters/spaceId"
1993
+ - $ref: "#/components/parameters/changeRequestId"
1994
+ - $ref: "#/components/parameters/pageId"
1995
+ - $ref: "#/components/parameters/listPage"
1996
+ - $ref: "#/components/parameters/listLimit"
1997
+ responses:
1998
+ "200":
1999
+ description: OK
2000
+ content:
2001
+ application/json:
2002
+ schema:
2003
+ allOf:
2004
+ - $ref: "#/components/schemas/List"
2005
+ - type: object
2006
+ properties:
2007
+ stats:
2008
+ $ref: "#/components/schemas/ContentReferencesStats"
2009
+ items:
2010
+ type: array
2011
+ items:
2012
+ $ref: "#/components/schemas/ContentReferenceUsage"
2013
+ required:
2014
+ - items
2015
+ - stats
2016
+ default:
2017
+ $ref: "#/components/responses/UnexpectedError"
1944
2018
  "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks":
1945
2019
  get:
1946
2020
  operationId: listChangeRequestPageBacklinks
@@ -2879,7 +2953,7 @@ paths:
2879
2953
  "/spaces/{spaceId}/links":
2880
2954
  get:
2881
2955
  operationId: listSpaceLinks
2882
- summary: Get all links in the context of a space including their status and location where they appear.
2956
+ summary: Get all links in a space including their status and location where they appear.
2883
2957
  tags:
2884
2958
  - spaces
2885
2959
  - links
@@ -2891,7 +2965,6 @@ paths:
2891
2965
  - $ref: "#/components/parameters/listLimit"
2892
2966
  - name: status
2893
2967
  in: query
2894
- required: false
2895
2968
  schema:
2896
2969
  $ref: "#/components/schemas/ContentReferenceStatus"
2897
2970
  responses:
@@ -3278,6 +3351,11 @@ paths:
3278
3351
  type: string
3279
3352
  pattern: ^[a-zA-Z0-9-_.]+$
3280
3353
  maxLength: 100
3354
+ - name: blocks
3355
+ in: query
3356
+ description: If true, returns only integrations with blocks. If false, returns only integrations without blocks.
3357
+ schema:
3358
+ type: boolean
3281
3359
  responses:
3282
3360
  "200":
3283
3361
  description: Paginated list of integrations
@@ -3513,17 +3591,16 @@ paths:
3513
3591
  $ref: "#/components/schemas/IntegrationSpaceInstallation"
3514
3592
  default:
3515
3593
  $ref: "#/components/responses/UnexpectedError"
3516
- "/integrations/{integrationName}/spaces/{spaceId}/dev":
3594
+ "/integrations/{integrationName}/dev":
3517
3595
  put:
3518
- operationId: updateIntegrationDevSpace
3519
- summary: Update the development space for an integration
3596
+ operationId: setIntegrationDevelopmentMode
3597
+ summary: Update an integration to be in development mode.
3520
3598
  tags:
3521
3599
  - integrations
3522
3600
  security:
3523
3601
  - user: []
3524
3602
  parameters:
3525
3603
  - $ref: "#/components/parameters/integrationName"
3526
- - $ref: "#/components/parameters/spaceId"
3527
3604
  requestBody:
3528
3605
  required: true
3529
3606
  content:
@@ -3536,31 +3613,32 @@ paths:
3536
3613
  description: URL of the tunnel to dispatch integration events to
3537
3614
  minLength: 1
3538
3615
  maxLength: 256
3616
+ all:
3617
+ type: boolean
3618
+ default: false
3619
+ description: |
3620
+ If set to true, all requests will be forwarded to the tunnel, not just from the owning organization.
3539
3621
  required:
3540
3622
  - tunnelUrl
3541
3623
  responses:
3542
3624
  "204":
3543
- description: Updated development space successfully
3625
+ description: Updated development mode successfully
3544
3626
  "404":
3545
3627
  $ref: "#/components/responses/NotFoundError"
3546
3628
  default:
3547
3629
  $ref: "#/components/responses/UnexpectedError"
3548
3630
  delete:
3549
- operationId: removeIntegrationDevSpace
3550
- summary: Remove the development space for an integration
3631
+ operationId: disableIntegrationDevelopmentMode
3632
+ summary: Disable the development mode on an integration.
3551
3633
  tags:
3552
3634
  - integrations
3553
3635
  security:
3554
3636
  - user: []
3555
3637
  parameters:
3556
3638
  - $ref: "#/components/parameters/integrationName"
3557
- - $ref: "#/components/parameters/spaceId"
3558
3639
  responses:
3559
- "204":
3560
- description: Removed development space successfully
3561
- "404":
3562
- description: No matching integration dev space found
3563
- $ref: "#/components/responses/NotFoundError"
3640
+ "205":
3641
+ description: Disabled development mode successfully
3564
3642
  default:
3565
3643
  $ref: "#/components/responses/UnexpectedError"
3566
3644
  "/integrations/{integrationName}/render":
@@ -4764,6 +4842,8 @@ paths:
4764
4842
  - user-internal: []
4765
4843
  parameters:
4766
4844
  - $ref: "#/components/parameters/organizationId"
4845
+ - $ref: "#/components/parameters/successReturnURL"
4846
+ - $ref: "#/components/parameters/cancelReturnURL"
4767
4847
  responses:
4768
4848
  "200":
4769
4849
  description: OK
@@ -4829,9 +4909,9 @@ paths:
4829
4909
  description: The desired amount of published premium sites
4830
4910
  schema:
4831
4911
  type: number
4832
- - name: audienceSites
4912
+ - name: ultimateSites
4833
4913
  in: query
4834
- description: The desired amount of published audience sites
4914
+ description: The desired amount of published ultimate sites
4835
4915
  schema:
4836
4916
  type: number
4837
4917
  responses:
@@ -6150,6 +6230,14 @@ paths:
6150
6230
  - $ref: "#/components/parameters/organizationId"
6151
6231
  - $ref: "#/components/parameters/listPage"
6152
6232
  - $ref: "#/components/parameters/listLimit"
6233
+ - name: ids
6234
+ in: query
6235
+ description: A list of IDs to filter the synced blocks.
6236
+ required: false
6237
+ schema:
6238
+ type: array
6239
+ items:
6240
+ type: string
6153
6241
  responses:
6154
6242
  "200":
6155
6243
  description: OK
@@ -6226,7 +6314,7 @@ paths:
6226
6314
  $ref: "#/components/schemas/SyncedBlock"
6227
6315
  default:
6228
6316
  $ref: "#/components/responses/UnexpectedError"
6229
- put:
6317
+ patch:
6230
6318
  operationId: updateSyncedBlock
6231
6319
  summary: Update an existing synced block.
6232
6320
  tags:
@@ -6246,11 +6334,29 @@ paths:
6246
6334
  title:
6247
6335
  type: string
6248
6336
  description: A new title for the Synced Block.
6337
+ description:
6338
+ type: string
6339
+ description: A new description for the Synced Block.
6249
6340
  responses:
6250
6341
  "200":
6251
6342
  description: OK
6252
6343
  default:
6253
6344
  $ref: "#/components/responses/UnexpectedError"
6345
+ delete:
6346
+ operationId: deleteSyncedBlock
6347
+ summary: Delete a synced block by its ID
6348
+ tags:
6349
+ - organizations
6350
+ security:
6351
+ - user: []
6352
+ parameters:
6353
+ - $ref: "#/components/parameters/organizationId"
6354
+ - $ref: "#/components/parameters/syncedBlockId"
6355
+ responses:
6356
+ "204":
6357
+ description: OK
6358
+ default:
6359
+ $ref: "#/components/responses/UnexpectedError"
6254
6360
  "/orgs/{organizationId}/synced-blocks/{syncedBlockId}/content":
6255
6361
  get:
6256
6362
  operationId: getSyncedBlockContent
@@ -6294,6 +6400,16 @@ paths:
6294
6400
  - $ref: "#/components/parameters/syncedBlockId"
6295
6401
  - $ref: "#/components/parameters/listPage"
6296
6402
  - $ref: "#/components/parameters/listLimit"
6403
+ - name: changeRequestId
6404
+ in: query
6405
+ description: Filter backlinks relative to a change request.
6406
+ schema:
6407
+ type: string
6408
+ - name: spaceId
6409
+ in: query
6410
+ description: Filter backlinks relative to a space.
6411
+ schema:
6412
+ type: string
6297
6413
  responses:
6298
6414
  "200":
6299
6415
  description: OK
@@ -6467,6 +6583,14 @@ paths:
6467
6583
  required: false
6468
6584
  schema:
6469
6585
  type: boolean
6586
+ - name: type
6587
+ in: query
6588
+ description: Filter by site type
6589
+ required: false
6590
+ schema:
6591
+ type: array
6592
+ items:
6593
+ $ref: "#/components/schemas/SiteType"
6470
6594
  responses:
6471
6595
  "200":
6472
6596
  description: OK
@@ -6799,6 +6923,50 @@ paths:
6799
6923
  description: Site share link has been deleted
6800
6924
  default:
6801
6925
  $ref: "#/components/responses/UnexpectedError"
6926
+ "/orgs/{organizationId}/sites/{siteId}/structure":
6927
+ get:
6928
+ operationId: getSiteStructure
6929
+ summary: Get the structure of a site which includes site-sections and site-spaces
6930
+ tags:
6931
+ - sites
6932
+ security:
6933
+ - user: []
6934
+ parameters:
6935
+ - $ref: "#/components/parameters/organizationId"
6936
+ - $ref: "#/components/parameters/siteId"
6937
+ - $ref: "#/components/parameters/siteShareKey"
6938
+ responses:
6939
+ "200":
6940
+ description: OK
6941
+ content:
6942
+ application/json:
6943
+ schema:
6944
+ oneOf:
6945
+ - type: object
6946
+ properties:
6947
+ type:
6948
+ type: string
6949
+ enum:
6950
+ - sections
6951
+ structure:
6952
+ type: array
6953
+ items:
6954
+ $ref: "#/components/schemas/SiteSection"
6955
+ - type: object
6956
+ properties:
6957
+ type:
6958
+ type: string
6959
+ enum:
6960
+ - siteSpaces
6961
+ structure:
6962
+ type: array
6963
+ items:
6964
+ $ref: "#/components/schemas/SiteSpace"
6965
+ "404":
6966
+ description: No matching site found
6967
+ $ref: "#/components/responses/NotFoundError"
6968
+ default:
6969
+ $ref: "#/components/responses/UnexpectedError"
6802
6970
  "/orgs/{organizationId}/sites/{siteId}/plan":
6803
6971
  post:
6804
6972
  operationId: updateSitePlan
@@ -6810,16 +6978,8 @@ paths:
6810
6978
  parameters:
6811
6979
  - $ref: "#/components/parameters/organizationId"
6812
6980
  - $ref: "#/components/parameters/siteId"
6813
- - in: query
6814
- name: successReturnURL
6815
- description: The app screen URL to bring the user back to after a succesfull checkout.
6816
- schema:
6817
- type: string
6818
- - in: query
6819
- name: cancelReturnURL
6820
- description: The app screen URL to bring the user back to after a canceled checkout.
6821
- schema:
6822
- type: string
6981
+ - $ref: "#/components/parameters/successReturnURL"
6982
+ - $ref: "#/components/parameters/cancelReturnURL"
6823
6983
  requestBody:
6824
6984
  required: true
6825
6985
  content:
@@ -7158,6 +7318,9 @@ paths:
7158
7318
  spaceId:
7159
7319
  type: string
7160
7320
  description: ID of the space
7321
+ sectionId:
7322
+ type: string
7323
+ description: ID of the section to add the space to. If not provided, the space will be added to the default section or at the root level if the site has no sections.
7161
7324
  required:
7162
7325
  - spaceId
7163
7326
  responses:
@@ -7210,6 +7373,124 @@ paths:
7210
7373
  $ref: "#/components/schemas/SiteSpace"
7211
7374
  default:
7212
7375
  $ref: "#/components/responses/UnexpectedError"
7376
+ "/orgs/{organizationId}/sites/{siteId}/sections":
7377
+ post:
7378
+ operationId: addSectionToSite
7379
+ summary: Add a section to a site in an organization
7380
+ tags:
7381
+ - sites
7382
+ security:
7383
+ - user: []
7384
+ parameters:
7385
+ - $ref: "#/components/parameters/organizationId"
7386
+ - $ref: "#/components/parameters/siteId"
7387
+ requestBody:
7388
+ required: true
7389
+ content:
7390
+ application/json:
7391
+ schema:
7392
+ type: object
7393
+ properties:
7394
+ spaceId:
7395
+ type: string
7396
+ description: ID of the space to be added to the section as a site space variant
7397
+ title:
7398
+ type: string
7399
+ description: Title of the section
7400
+ maxLength: 64
7401
+ required:
7402
+ - spaceId
7403
+ responses:
7404
+ "201":
7405
+ description: Section added to the site
7406
+ headers:
7407
+ Location:
7408
+ description: API URL for the newly created site-section relationship
7409
+ schema:
7410
+ type: string
7411
+ content:
7412
+ application/json:
7413
+ schema:
7414
+ $ref: "#/components/schemas/SiteSection"
7415
+ default:
7416
+ $ref: "#/components/responses/UnexpectedError"
7417
+ get:
7418
+ operationId: listSiteSections
7419
+ summary: List all the site sections under a site in an organization
7420
+ tags:
7421
+ - sites
7422
+ security:
7423
+ - user: []
7424
+ parameters:
7425
+ - $ref: "#/components/parameters/organizationId"
7426
+ - $ref: "#/components/parameters/siteId"
7427
+ - $ref: "#/components/parameters/siteShareKey"
7428
+ - $ref: "#/components/parameters/listPage"
7429
+ - $ref: "#/components/parameters/listLimit"
7430
+ responses:
7431
+ "200":
7432
+ description: OK
7433
+ content:
7434
+ application/json:
7435
+ schema:
7436
+ allOf:
7437
+ - $ref: "#/components/schemas/List"
7438
+ - type: object
7439
+ required:
7440
+ - items
7441
+ properties:
7442
+ items:
7443
+ type: array
7444
+ items:
7445
+ $ref: "#/components/schemas/SiteSection"
7446
+ default:
7447
+ $ref: "#/components/responses/UnexpectedError"
7448
+ "/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}":
7449
+ patch:
7450
+ operationId: updateSiteSectionById
7451
+ summary: Update a section on a site in an organization
7452
+ tags:
7453
+ - sites
7454
+ security:
7455
+ - user: []
7456
+ parameters:
7457
+ - $ref: "#/components/parameters/organizationId"
7458
+ - $ref: "#/components/parameters/siteId"
7459
+ - $ref: "#/components/parameters/siteSectionId"
7460
+ requestBody:
7461
+ required: true
7462
+ content:
7463
+ application/json:
7464
+ schema:
7465
+ type: object
7466
+ properties:
7467
+ path:
7468
+ $ref: "#/components/schemas/SiteSectionPath"
7469
+ responses:
7470
+ "200":
7471
+ description: OK
7472
+ content:
7473
+ application/json:
7474
+ schema:
7475
+ $ref: "#/components/schemas/SiteSection"
7476
+ default:
7477
+ $ref: "#/components/responses/UnexpectedError"
7478
+ delete:
7479
+ operationId: deleteSiteSectionById
7480
+ summary: Delete a section on a site in an organization
7481
+ tags:
7482
+ - sites
7483
+ security:
7484
+ - user: []
7485
+ parameters:
7486
+ - $ref: "#/components/parameters/organizationId"
7487
+ - $ref: "#/components/parameters/siteId"
7488
+ - $ref: "#/components/parameters/siteSectionId"
7489
+ responses:
7490
+ "205":
7491
+ description: Site section has been deleted
7492
+ default:
7493
+ $ref: "#/components/responses/UnexpectedError"
7213
7494
  "/orgs/{organizationId}/sites/{siteId}/search":
7214
7495
  post:
7215
7496
  operationId: searchSiteContent
@@ -7342,10 +7623,248 @@ paths:
7342
7623
  application/json:
7343
7624
  schema:
7344
7625
  description: The settings that overrides the site customization settings.
7345
- $ref: "#/components/schemas/SiteSpaceCustomizationOverrides"
7346
- responses:
7347
- "200":
7348
- description: OK
7626
+ type: object
7627
+ properties:
7628
+ title:
7629
+ 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.
7630
+ oneOf:
7631
+ - $ref: "#/components/schemas/SiteTitle"
7632
+ - type: string
7633
+ nullable: true
7634
+ enum:
7635
+ - null
7636
+ styling:
7637
+ type: object
7638
+ properties:
7639
+ primaryColor:
7640
+ description: The primary color used for links and UI text. Set to null to reset the override.
7641
+ oneOf:
7642
+ - $ref: "#/components/schemas/CustomizationThemedColor"
7643
+ - type: string
7644
+ nullable: true
7645
+ enum:
7646
+ - null
7647
+ corners:
7648
+ description: The style of the corners to use. Set to null to reset the override.
7649
+ oneOf:
7650
+ - $ref: "#/components/schemas/CustomizationCorners"
7651
+ - type: string
7652
+ nullable: true
7653
+ enum:
7654
+ - null
7655
+ font:
7656
+ description: The font family to use for the content. Set to null to reset the override.
7657
+ oneOf:
7658
+ - $ref: "#/components/schemas/CustomizationFont"
7659
+ - type: string
7660
+ nullable: true
7661
+ enum:
7662
+ - null
7663
+ icons:
7664
+ description: The icons style to use for the content. Set to null to reset the override.
7665
+ oneOf:
7666
+ - $ref: "#/components/schemas/CustomizationIconsStyle"
7667
+ - type: string
7668
+ nullable: true
7669
+ enum:
7670
+ - null
7671
+ background:
7672
+ description: The style of background to use. Set to null to reset the override.
7673
+ oneOf:
7674
+ - $ref: "#/components/schemas/CustomizationBackground"
7675
+ - type: string
7676
+ nullable: true
7677
+ enum:
7678
+ - null
7679
+ internationalization:
7680
+ type: object
7681
+ properties:
7682
+ locale:
7683
+ description: The locale to use for the non-custom elements of the UI. Set to null to reset the override.
7684
+ oneOf:
7685
+ - $ref: "#/components/schemas/CustomizationLocale"
7686
+ - type: string
7687
+ nullable: true
7688
+ enum:
7689
+ - null
7690
+ required:
7691
+ - locale
7692
+ favicon:
7693
+ description: The favicon to use. Set to null to reset the override.
7694
+ oneOf:
7695
+ - type: object
7696
+ properties:
7697
+ icon:
7698
+ $ref: "#/components/schemas/CustomizationThemedURL"
7699
+ required:
7700
+ - icon
7701
+ - type: object
7702
+ properties:
7703
+ emoji:
7704
+ $ref: "#/components/schemas/Emoji"
7705
+ required:
7706
+ - emoji
7707
+ - type: object
7708
+ nullable: true
7709
+ properties: {}
7710
+ additionalProperties: false
7711
+ header:
7712
+ type: object
7713
+ properties:
7714
+ preset:
7715
+ description: The theme preset to use. Set to null to reset the override.
7716
+ oneOf:
7717
+ - $ref: "#/components/schemas/CustomizationHeaderPreset"
7718
+ - type: string
7719
+ nullable: true
7720
+ enum:
7721
+ - null
7722
+ logo:
7723
+ description: The header logo to use. Set to null to reset the override.
7724
+ oneOf:
7725
+ - $ref: "#/components/schemas/CustomizationThemedURL"
7726
+ - type: string
7727
+ nullable: true
7728
+ enum:
7729
+ - null
7730
+ backgroundColor:
7731
+ description: The background color used in the header. Set to null to reset the override.
7732
+ oneOf:
7733
+ - $ref: "#/components/schemas/CustomizationThemedColor"
7734
+ - type: string
7735
+ nullable: true
7736
+ enum:
7737
+ - null
7738
+ linkColor:
7739
+ description: The color used by the links in the header. Set to null to reset the override.
7740
+ oneOf:
7741
+ - $ref: "#/components/schemas/CustomizationThemedColor"
7742
+ - type: string
7743
+ nullable: true
7744
+ enum:
7745
+ - null
7746
+ links:
7747
+ type: array
7748
+ description: The links that are displayed in the header. Set to null to reset the override.
7749
+ nullable: true
7750
+ items:
7751
+ $ref: "#/components/schemas/CustomizationHeaderLink"
7752
+ footer:
7753
+ type: object
7754
+ properties:
7755
+ logo:
7756
+ description: The logo displayed in the footer. Set to null to reset the override.
7757
+ oneOf:
7758
+ - $ref: "#/components/schemas/CustomizationThemedURL"
7759
+ - type: string
7760
+ nullable: true
7761
+ enum:
7762
+ - null
7763
+ groups:
7764
+ type: array
7765
+ description: The links groups that are displayed in the footer. Set to null to reset the override.
7766
+ nullable: true
7767
+ items:
7768
+ $ref: "#/components/schemas/CustomizationFooterGroup"
7769
+ copyright:
7770
+ type: string
7771
+ description: The copyright text that is displayed in the footer. Set to null to reset the override.
7772
+ nullable: true
7773
+ maxLength: 300
7774
+ themes:
7775
+ type: object
7776
+ properties:
7777
+ default:
7778
+ description: The theme mode default value. Set to null to reset the override.
7779
+ oneOf:
7780
+ - $ref: "#/components/schemas/CustomizationThemeMode"
7781
+ - type: string
7782
+ nullable: true
7783
+ enum:
7784
+ - null
7785
+ toggeable:
7786
+ description: Should the reader be able to switch between dark and light mode. Set to null to reset the override.
7787
+ type: boolean
7788
+ nullable: true
7789
+ pdf:
7790
+ type: object
7791
+ properties:
7792
+ enabled:
7793
+ type: boolean
7794
+ description: If true, PDF export is enabled for the published site. Set to null to reset the override.
7795
+ nullable: true
7796
+ required:
7797
+ - enabled
7798
+ feedback:
7799
+ type: object
7800
+ properties:
7801
+ enabled:
7802
+ type: boolean
7803
+ description: If true, feedback gathering is enabled. Set to null to reset the override.
7804
+ nullable: true
7805
+ required:
7806
+ - enabled
7807
+ aiSearch:
7808
+ type: object
7809
+ properties:
7810
+ enabled:
7811
+ type: boolean
7812
+ description: If true, AI search is enabled. Set to null to reset the override.
7813
+ nullable: true
7814
+ required:
7815
+ - enabled
7816
+ git:
7817
+ type: object
7818
+ properties:
7819
+ showEditLink:
7820
+ type: boolean
7821
+ 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.
7822
+ nullable: true
7823
+ required:
7824
+ - showEditLink
7825
+ pagination:
7826
+ type: object
7827
+ properties:
7828
+ enabled:
7829
+ type: boolean
7830
+ description: Whether the pagination navigation should be displayed on pages. Set to null to reset the override.
7831
+ nullable: true
7832
+ required:
7833
+ - enabled
7834
+ trademark:
7835
+ type: object
7836
+ properties:
7837
+ enabled:
7838
+ type: boolean
7839
+ description: Whether the GitBook trademark ("Powered by GitBook") should be visible. Set to null to reset the override.
7840
+ nullable: true
7841
+ required:
7842
+ - enabled
7843
+ privacyPolicy:
7844
+ type: object
7845
+ properties:
7846
+ url:
7847
+ description: The custom link to the privacy policy. Set to null to reset the override.
7848
+ oneOf:
7849
+ - $ref: "#/components/schemas/URL"
7850
+ - type: string
7851
+ nullable: true
7852
+ enum:
7853
+ - null
7854
+ socialPreview:
7855
+ type: object
7856
+ properties:
7857
+ url:
7858
+ description: The URL for the social preview image. Set to null to reset the override.
7859
+ oneOf:
7860
+ - $ref: "#/components/schemas/URL"
7861
+ - type: string
7862
+ nullable: true
7863
+ enum:
7864
+ - null
7865
+ responses:
7866
+ "200":
7867
+ description: OK
7349
7868
  content:
7350
7869
  application/json:
7351
7870
  schema:
@@ -7398,6 +7917,10 @@ paths:
7398
7917
  - $ref: "#/components/parameters/organizationId"
7399
7918
  - $ref: "#/components/parameters/siteId"
7400
7919
  - $ref: "#/components/parameters/siteSpaceId"
7920
+ - name: period
7921
+ in: query
7922
+ schema:
7923
+ $ref: "#/components/schemas/AnalyticsSearchPeriod"
7401
7924
  responses:
7402
7925
  "200":
7403
7926
  description: Content analytics per page.
@@ -7543,7 +8066,7 @@ paths:
7543
8066
  schema:
7544
8067
  $ref: "#/components/schemas/SiteTrackPageView"
7545
8068
  "/orgs/{organizationId}/sites/{siteId}/insights/search":
7546
- post:
8069
+ get:
7547
8070
  operationId: getSearchAnalyticsForSiteById
7548
8071
  summary: Get an overview of the top search queries in a site.
7549
8072
  tags:
@@ -7554,18 +8077,17 @@ paths:
7554
8077
  parameters:
7555
8078
  - $ref: "#/components/parameters/organizationId"
7556
8079
  - $ref: "#/components/parameters/siteId"
7557
- requestBody:
7558
- content:
7559
- application/json:
7560
- schema:
7561
- type: object
7562
- properties:
7563
- siteSpaceIds:
7564
- type: array
7565
- items:
7566
- type: string
7567
- period:
7568
- $ref: "#/components/schemas/AnalyticsSearchPeriod"
8080
+ - name: period
8081
+ in: query
8082
+ schema:
8083
+ $ref: "#/components/schemas/AnalyticsSearchPeriod"
8084
+ - name: siteSpaceIds
8085
+ in: query
8086
+ schema:
8087
+ type: array
8088
+ items:
8089
+ type: string
8090
+ description: The site spaces to filter the search on
7569
8091
  responses:
7570
8092
  "200":
7571
8093
  description: Top queries searched on this site.
@@ -8221,6 +8743,18 @@ components:
8221
8743
  description: The unique id of the invite
8222
8744
  schema:
8223
8745
  type: string
8746
+ successReturnURL:
8747
+ name: successReturnURL
8748
+ in: query
8749
+ description: The app screen URL to bring the user back to after a successful checkout.
8750
+ schema:
8751
+ type: string
8752
+ cancelReturnURL:
8753
+ name: cancelReturnURL
8754
+ in: query
8755
+ description: The app screen URL to bring the user back to after a canceled checkout.
8756
+ schema:
8757
+ type: string
8224
8758
  samlProviderId:
8225
8759
  name: samlProviderId
8226
8760
  in: path
@@ -8264,6 +8798,13 @@ components:
8264
8798
  schema:
8265
8799
  type: boolean
8266
8800
  default: false
8801
+ siteSectionId:
8802
+ name: siteSectionId
8803
+ in: path
8804
+ required: true
8805
+ description: The unique id of the section within a site
8806
+ schema:
8807
+ type: string
8267
8808
  siteSpaceId:
8268
8809
  name: siteSpaceId
8269
8810
  in: path
@@ -12432,10 +12973,16 @@ components:
12432
12973
  createdAt:
12433
12974
  type: string
12434
12975
  format: date-time
12976
+ createdBy:
12977
+ $ref: "#/components/schemas/User"
12435
12978
  title:
12436
12979
  type: string
12437
12980
  description: Title describing the synced block.
12438
12981
  maxLength: 100
12982
+ description:
12983
+ type: string
12984
+ description: Description of the synced block.
12985
+ maxLength: 500
12439
12986
  usage:
12440
12987
  type: object
12441
12988
  description: Usage of synced block
@@ -12452,13 +12999,18 @@ components:
12452
12999
  location:
12453
13000
  description: URL of the synced block in the API
12454
13001
  $ref: "#/components/schemas/URL"
13002
+ app:
13003
+ description: URL of the synced block in the app
13004
+ $ref: "#/components/schemas/URL"
12455
13005
  required:
12456
13006
  - location
13007
+ - app
12457
13008
  required:
12458
13009
  - id
12459
13010
  - organization
12460
- - source
12461
13011
  - createdAt
13012
+ - createdBy
13013
+ - source
12462
13014
  - usage
12463
13015
  - urls
12464
13016
  ContentLocationSyncedBlock:
@@ -12489,6 +13041,53 @@ components:
12489
13041
  - $ref: "#/components/schemas/ContentLocationSyncedBlock"
12490
13042
  discriminator:
12491
13043
  propertyName: kind
13044
+ ContentReferenceStatus:
13045
+ type: string
13046
+ enum:
13047
+ - ok
13048
+ - broken
13049
+ - in-app
13050
+ description: |
13051
+ Text to display to represent the reference. Possible values include:
13052
+ - `ok` - No problems detected for this content reference.
13053
+ - `broken` - The target does not exist in the revision.
13054
+ - `in-app` - The target is a URL link pointing to an internal location in the app.
13055
+ ContentReferencesStats:
13056
+ type: object
13057
+ properties:
13058
+ total:
13059
+ description: Total count of links
13060
+ type: number
13061
+ broken:
13062
+ type: object
13063
+ properties:
13064
+ total:
13065
+ description: Count of broken links
13066
+ type: number
13067
+ changeRequest:
13068
+ description: Count of broken links that were broken in current change request, if applicable.
13069
+ type: number
13070
+ required:
13071
+ - total
13072
+ required:
13073
+ - total
13074
+ - broken
13075
+ ContentReferenceUsage:
13076
+ type: object
13077
+ properties:
13078
+ status:
13079
+ $ref: "#/components/schemas/ContentReferenceStatus"
13080
+ targetReference:
13081
+ description: The reference target where a list of pages are pointing at
13082
+ $ref: "#/components/schemas/ContentLocation"
13083
+ locationReferences:
13084
+ description: Pages locations where a link to the target is found.
13085
+ type: array
13086
+ items:
13087
+ $ref: "#/components/schemas/ContentLocation"
13088
+ required:
13089
+ - status
13090
+ - locationReferences
12492
13091
  CreateChangeRequest:
12493
13092
  type: object
12494
13093
  properties:
@@ -12755,65 +13354,18 @@ components:
12755
13354
  required:
12756
13355
  - kind
12757
13356
  - team
12758
- ContentReferenceStatus:
12759
- type: string
12760
- enum:
12761
- - ok
12762
- - broken
12763
- - in-app
12764
- description: |
12765
- Text to display to represent the reference. Possible values include:
12766
- - `ok` - No problems detected for this content reference.
12767
- - `broken` - The target does not exist in the revision.
12768
- - `in-app` - The target is a URL link pointing to an internal location in the app.
12769
- ContentReferencesStats:
13357
+ PostCommentSchema:
12770
13358
  type: object
12771
13359
  properties:
12772
- total:
12773
- description: Total count of links
12774
- type: number
12775
- broken:
12776
- type: object
12777
- properties:
12778
- total:
12779
- description: Count of broken links
12780
- type: number
12781
- changeRequest:
12782
- description: Count of broken links that were broken in current change request, if applicable.
12783
- type: number
12784
- required:
12785
- - total
12786
- required:
12787
- - total
12788
- - broken
12789
- ContentReferenceUsage:
12790
- type: object
12791
- properties:
12792
- status:
12793
- $ref: "#/components/schemas/ContentReferenceStatus"
12794
- targetReference:
12795
- description: The reference target where a list of pages are pointing at
12796
- $ref: "#/components/schemas/ContentLocation"
12797
- locationReferences:
12798
- description: Pages locations where a link to the target is found.
12799
- type: array
12800
- items:
12801
- $ref: "#/components/schemas/ContentLocation"
12802
- required:
12803
- - status
12804
- - locationReferences
12805
- PostCommentSchema:
12806
- type: object
12807
- properties:
12808
- node:
12809
- description: The node to which the comment is posted, if any.
12810
- type: string
12811
- page:
12812
- description: The page to which the comment is posted, if any.
12813
- type: string
12814
- body:
12815
- description: The content of the comment.
12816
- $ref: "#/components/schemas/Document"
13360
+ node:
13361
+ description: The node to which the comment is posted, if any.
13362
+ type: string
13363
+ page:
13364
+ description: The page to which the comment is posted, if any.
13365
+ type: string
13366
+ body:
13367
+ description: The content of the comment.
13368
+ $ref: "#/components/schemas/Document"
12817
13369
  required:
12818
13370
  - body
12819
13371
  UpdateCommentSchema:
@@ -13335,6 +13887,12 @@ components:
13335
13887
  - $ref: "#/components/schemas/CustomizationContentLink"
13336
13888
  - type: object
13337
13889
  properties:
13890
+ style:
13891
+ type: string
13892
+ enum:
13893
+ - link
13894
+ - button-primary
13895
+ - button-secondary
13338
13896
  links:
13339
13897
  type: array
13340
13898
  items:
@@ -14692,6 +15250,7 @@ components:
14692
15250
  - $ref: "#/components/schemas/ContentKitText"
14693
15251
  - $ref: "#/components/schemas/ContentKitHint"
14694
15252
  - $ref: "#/components/schemas/ContentKitLink"
15253
+ - $ref: "#/components/schemas/ContentKitStepperStep"
14695
15254
  discriminator:
14696
15255
  propertyName: type
14697
15256
  ContentKitHStack:
@@ -15185,6 +15744,33 @@ components:
15185
15744
  required:
15186
15745
  - type
15187
15746
  - children
15747
+ ContentKitStepperStep:
15748
+ type: object
15749
+ properties:
15750
+ type:
15751
+ type: string
15752
+ enum:
15753
+ - step
15754
+ id:
15755
+ description: unique identifier for the step
15756
+ type: string
15757
+ title:
15758
+ description: title of the step
15759
+ type: string
15760
+ maxLength: 50
15761
+ next:
15762
+ description: indicates if the user can progress to the next step based on some internal validation or condition
15763
+ type: boolean
15764
+ default: false
15765
+ children:
15766
+ type: array
15767
+ items:
15768
+ $ref: "#/components/schemas/ContentKitDescendantElement"
15769
+ minItems: 1
15770
+ required:
15771
+ - type
15772
+ - id
15773
+ - children
15188
15774
  ContentKitBlockControl:
15189
15775
  type: object
15190
15776
  description: Control menu item displayed for the block.
@@ -15255,11 +15841,59 @@ components:
15255
15841
  required:
15256
15842
  - type
15257
15843
  - children
15844
+ ContentKitStepper:
15845
+ type: object
15846
+ properties:
15847
+ type:
15848
+ type: string
15849
+ enum:
15850
+ - stepper
15851
+ activeStep:
15852
+ type: string
15853
+ description: id of the currently active step
15854
+ onStepChange:
15855
+ $ref: "#/components/schemas/ContentKitAction"
15856
+ onComplete:
15857
+ $ref: "#/components/schemas/ContentKitAction"
15858
+ children:
15859
+ type: array
15860
+ items:
15861
+ $ref: "#/components/schemas/ContentKitStepperStep"
15862
+ minItems: 1
15863
+ required:
15864
+ - type
15865
+ - activeStep
15866
+ - onStepChange
15867
+ - onComplete
15868
+ - children
15869
+ ContentKitConfiguration:
15870
+ type: object
15871
+ description: Higher level element to define a configuration block. Does not add any UI elements or wrappers. Must be used as a top level element for any configuration component.
15872
+ properties:
15873
+ type:
15874
+ type: string
15875
+ enum:
15876
+ - configuration
15877
+ children:
15878
+ oneOf:
15879
+ - type: array
15880
+ items:
15881
+ $ref: "#/components/schemas/ContentKitStepper"
15882
+ minItems: 1
15883
+ maxItems: 1
15884
+ - type: array
15885
+ items:
15886
+ $ref: "#/components/schemas/ContentKitDescendantElement"
15887
+ minItems: 1
15888
+ required:
15889
+ - type
15890
+ - children
15258
15891
  ContentKitRootElement:
15259
15892
  description: Element used as root
15260
15893
  oneOf:
15261
15894
  - $ref: "#/components/schemas/ContentKitBlock"
15262
15895
  - $ref: "#/components/schemas/ContentKitModal"
15896
+ - $ref: "#/components/schemas/ContentKitConfiguration"
15263
15897
  discriminator:
15264
15898
  propertyName: type
15265
15899
  ContentKitRenderOutput:
@@ -15673,20 +16307,23 @@ components:
15673
16307
  minProperties: 1
15674
16308
  properties:
15675
16309
  members:
15676
- type: array
15677
- items:
15678
- type: string
15679
- description: A list of member identifiers to be removed
15680
- premiumSites:
15681
- type: array
15682
- items:
15683
- type: string
15684
- description: A list of premium site identifiers to be unpublished
15685
- audienceSites:
15686
- type: array
15687
- items:
15688
- type: string
15689
- description: A list of audience site identifiers to be unpublished
16310
+ description: A list of member identifiers to be removed, `all` to remove all members but the current admin
16311
+ oneOf:
16312
+ - type: array
16313
+ items:
16314
+ type: string
16315
+ - type: string
16316
+ enum:
16317
+ - all
16318
+ sites:
16319
+ description: A list of site identifiers to be unpublished, 'all' to unpublish all sites
16320
+ oneOf:
16321
+ - type: array
16322
+ items:
16323
+ type: string
16324
+ - type: string
16325
+ enum:
16326
+ - all
15690
16327
  reason:
15691
16328
  type: string
15692
16329
  description: Reason that triggered the billing upgrade
@@ -15957,14 +16594,14 @@ components:
15957
16594
  premium:
15958
16595
  description: Count of all premium sites
15959
16596
  type: number
15960
- audience:
15961
- description: Count of all audience sites
16597
+ ultimate:
16598
+ description: Count of all ultimate sites
15962
16599
  type: number
15963
16600
  required:
15964
16601
  - total
15965
16602
  - basic
15966
16603
  - premium
15967
- - audience
16604
+ - ultimate
15968
16605
  OrganizationUsageTeams:
15969
16606
  type: object
15970
16607
  description: Team members usage metrics of an organization
@@ -16291,7 +16928,7 @@ components:
16291
16928
  enum:
16292
16929
  - basic
16293
16930
  - premium
16294
- - audience
16931
+ - ultimate
16295
16932
  - legacy-basic
16296
16933
  - legacy-premium
16297
16934
  SiteTitle:
@@ -16494,6 +17131,97 @@ components:
16494
17131
  required:
16495
17132
  - type
16496
17133
  - plan
17134
+ SiteSectionPath:
17135
+ type: string
17136
+ description: Path to the section on the site
17137
+ minLength: 1
17138
+ maxLength: 100
17139
+ SiteSpacePath:
17140
+ type: string
17141
+ description: Path to the space on the site
17142
+ minLength: 1
17143
+ maxLength: 100
17144
+ SiteSpace:
17145
+ type: object
17146
+ properties:
17147
+ object:
17148
+ type: string
17149
+ description: The object type, which is always "site-space"
17150
+ enum:
17151
+ - site-space
17152
+ id:
17153
+ type: string
17154
+ description: Unique identifier of the site-space
17155
+ path:
17156
+ $ref: "#/components/schemas/SiteSpacePath"
17157
+ section:
17158
+ type: string
17159
+ description: ID of the section the space belongs to in the site
17160
+ space:
17161
+ $ref: "#/components/schemas/Space"
17162
+ title:
17163
+ type: string
17164
+ default:
17165
+ type: boolean
17166
+ description: Whether this is the default space for the site
17167
+ hasAdvancedCustomizationFeature:
17168
+ type: boolean
17169
+ description: Whether the space has advanced customization feature enabled
17170
+ urls:
17171
+ type: object
17172
+ description: URLs associated with the object
17173
+ properties:
17174
+ published:
17175
+ type: string
17176
+ description: URL of the published version of the site-space. Only defined when site is published.
17177
+ format: uri
17178
+ required:
17179
+ - location
17180
+ required:
17181
+ - id
17182
+ - space
17183
+ - title
17184
+ - path
17185
+ - urls
17186
+ SiteSection:
17187
+ type: object
17188
+ properties:
17189
+ object:
17190
+ type: string
17191
+ description: The object type, which is always "site-section"
17192
+ enum:
17193
+ - site-section
17194
+ id:
17195
+ type: string
17196
+ description: Unique identifier of the site section
17197
+ title:
17198
+ type: string
17199
+ description: Title of the site section
17200
+ default:
17201
+ type: boolean
17202
+ description: Whether this is the default section for the site
17203
+ path:
17204
+ $ref: "#/components/schemas/SiteSectionPath"
17205
+ siteSpaces:
17206
+ type: array
17207
+ items:
17208
+ $ref: "#/components/schemas/SiteSpace"
17209
+ urls:
17210
+ type: object
17211
+ description: URLs associated with the object
17212
+ properties:
17213
+ published:
17214
+ type: string
17215
+ description: URL of the published version of the site section. Only defined when site is published.
17216
+ format: uri
17217
+ required:
17218
+ - location
17219
+ required:
17220
+ - id
17221
+ - title
17222
+ - path
17223
+ - siteSpaces
17224
+ - urls
16497
17225
  SitePublishingAuth:
16498
17226
  allOf:
16499
17227
  - oneOf:
@@ -16729,285 +17457,6 @@ components:
16729
17457
  required:
16730
17458
  - script
16731
17459
  - cookies
16732
- SiteSpacePath:
16733
- type: string
16734
- description: Path to the space on the site
16735
- minLength: 1
16736
- maxLength: 100
16737
- SiteSpace:
16738
- type: object
16739
- properties:
16740
- object:
16741
- type: string
16742
- description: The object type, which is always "site-space"
16743
- enum:
16744
- - site-space
16745
- id:
16746
- type: string
16747
- description: Unique identifier of the site-space
16748
- path:
16749
- $ref: "#/components/schemas/SiteSpacePath"
16750
- space:
16751
- $ref: "#/components/schemas/Space"
16752
- title:
16753
- type: string
16754
- default:
16755
- type: boolean
16756
- description: Whether this is the default space for the site
16757
- hasAdvancedCustomizationFeature:
16758
- type: boolean
16759
- description: Whether the space has advanced customization feature enabled
16760
- urls:
16761
- type: object
16762
- description: URLs associated with the object
16763
- properties:
16764
- published:
16765
- type: string
16766
- description: URL of the published version of the site-space. Only defined when site is published.
16767
- format: uri
16768
- required:
16769
- - location
16770
- required:
16771
- - id
16772
- - space
16773
- - title
16774
- - path
16775
- - urls
16776
- SiteSpaceCustomizationOverrides:
16777
- type: object
16778
- properties:
16779
- title:
16780
- description: Title to use for the published site variant. If not defined, it'll fallback to the content title.
16781
- $ref: "#/components/schemas/SiteTitle"
16782
- styling:
16783
- type: object
16784
- properties:
16785
- primaryColor:
16786
- description: The primary color used for links and UI text. Set to null to reset the override.
16787
- oneOf:
16788
- - $ref: "#/components/schemas/CustomizationThemedColor"
16789
- - type: string
16790
- nullable: true
16791
- enum:
16792
- - null
16793
- corners:
16794
- description: The style of the corners to use. Set to null to reset the override.
16795
- oneOf:
16796
- - $ref: "#/components/schemas/CustomizationCorners"
16797
- - type: string
16798
- nullable: true
16799
- enum:
16800
- - null
16801
- font:
16802
- description: The font family to use for the content. Set to null to reset the override.
16803
- oneOf:
16804
- - $ref: "#/components/schemas/CustomizationFont"
16805
- - type: string
16806
- nullable: true
16807
- enum:
16808
- - null
16809
- icons:
16810
- description: The icons style to use for the content. Set to null to reset the override.
16811
- oneOf:
16812
- - $ref: "#/components/schemas/CustomizationIconsStyle"
16813
- - type: string
16814
- nullable: true
16815
- enum:
16816
- - null
16817
- background:
16818
- description: The style of background to use. Set to null to reset the override.
16819
- oneOf:
16820
- - $ref: "#/components/schemas/CustomizationBackground"
16821
- - type: string
16822
- nullable: true
16823
- enum:
16824
- - null
16825
- internationalization:
16826
- type: object
16827
- properties:
16828
- locale:
16829
- description: The locale to use for the non-custom elements of the UI. Set to null to reset the override.
16830
- oneOf:
16831
- - $ref: "#/components/schemas/CustomizationLocale"
16832
- - type: string
16833
- nullable: true
16834
- enum:
16835
- - null
16836
- required:
16837
- - locale
16838
- favicon:
16839
- description: The favicon to use. Set to null to reset the override.
16840
- oneOf:
16841
- - type: object
16842
- properties:
16843
- icon:
16844
- $ref: "#/components/schemas/CustomizationThemedURL"
16845
- required:
16846
- - icon
16847
- - type: object
16848
- properties:
16849
- emoji:
16850
- $ref: "#/components/schemas/Emoji"
16851
- required:
16852
- - emoji
16853
- - type: object
16854
- nullable: true
16855
- properties: {}
16856
- additionalProperties: false
16857
- header:
16858
- type: object
16859
- properties:
16860
- preset:
16861
- description: The theme preset to use. Set to null to reset the override.
16862
- oneOf:
16863
- - $ref: "#/components/schemas/CustomizationHeaderPreset"
16864
- - type: string
16865
- nullable: true
16866
- enum:
16867
- - null
16868
- logo:
16869
- description: The header logo to use. Set to null to reset the override.
16870
- oneOf:
16871
- - $ref: "#/components/schemas/CustomizationThemedURL"
16872
- - type: string
16873
- nullable: true
16874
- enum:
16875
- - null
16876
- backgroundColor:
16877
- description: The background color used in the header. Set to null to reset the override.
16878
- oneOf:
16879
- - $ref: "#/components/schemas/CustomizationThemedColor"
16880
- - type: string
16881
- nullable: true
16882
- enum:
16883
- - null
16884
- linkColor:
16885
- description: The color used by the links in the header. Set to null to reset the override.
16886
- oneOf:
16887
- - $ref: "#/components/schemas/CustomizationThemedColor"
16888
- - type: string
16889
- nullable: true
16890
- enum:
16891
- - null
16892
- links:
16893
- type: array
16894
- description: The links that are displayed in the header. Set to null to reset the override.
16895
- nullable: true
16896
- items:
16897
- $ref: "#/components/schemas/CustomizationHeaderLink"
16898
- footer:
16899
- type: object
16900
- properties:
16901
- logo:
16902
- description: The logo displayed in the footer. Set to null to reset the override.
16903
- oneOf:
16904
- - $ref: "#/components/schemas/CustomizationThemedURL"
16905
- - type: string
16906
- nullable: true
16907
- enum:
16908
- - null
16909
- groups:
16910
- type: array
16911
- description: The links groups that are displayed in the footer. Set to null to reset the override.
16912
- nullable: true
16913
- items:
16914
- $ref: "#/components/schemas/CustomizationFooterGroup"
16915
- copyright:
16916
- type: string
16917
- description: The copyright text that is displayed in the footer. Set to null to reset the override.
16918
- nullable: true
16919
- maxLength: 300
16920
- themes:
16921
- type: object
16922
- properties:
16923
- default:
16924
- description: The theme mode default value. Set to null to reset the override.
16925
- oneOf:
16926
- - $ref: "#/components/schemas/CustomizationThemeMode"
16927
- - type: string
16928
- nullable: true
16929
- enum:
16930
- - null
16931
- toggeable:
16932
- description: Should the reader be able to switch between dark and light mode. Set to null to reset the override.
16933
- type: boolean
16934
- nullable: true
16935
- pdf:
16936
- type: object
16937
- properties:
16938
- enabled:
16939
- type: boolean
16940
- description: If true, PDF export is enabled for the published site. Set to null to reset the override.
16941
- nullable: true
16942
- required:
16943
- - enabled
16944
- feedback:
16945
- type: object
16946
- properties:
16947
- enabled:
16948
- type: boolean
16949
- description: If true, feedback gathering is enabled. Set to null to reset the override.
16950
- nullable: true
16951
- required:
16952
- - enabled
16953
- aiSearch:
16954
- type: object
16955
- properties:
16956
- enabled:
16957
- type: boolean
16958
- description: If true, AI search is enabled. Set to null to reset the override.
16959
- nullable: true
16960
- required:
16961
- - enabled
16962
- git:
16963
- type: object
16964
- properties:
16965
- showEditLink:
16966
- type: boolean
16967
- 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.
16968
- nullable: true
16969
- required:
16970
- - showEditLink
16971
- pagination:
16972
- type: object
16973
- properties:
16974
- enabled:
16975
- type: boolean
16976
- description: Whether the pagination navigation should be displayed on pages. Set to null to reset the override.
16977
- nullable: true
16978
- required:
16979
- - enabled
16980
- trademark:
16981
- type: object
16982
- properties:
16983
- enabled:
16984
- type: boolean
16985
- description: Whether the GitBook trademark ("Powered by GitBook") should be visible. Set to null to reset the override.
16986
- nullable: true
16987
- required:
16988
- - enabled
16989
- privacyPolicy:
16990
- type: object
16991
- properties:
16992
- url:
16993
- description: The custom link to the privacy policy. Set to null to reset the override.
16994
- oneOf:
16995
- - $ref: "#/components/schemas/URL"
16996
- - type: string
16997
- nullable: true
16998
- enum:
16999
- - null
17000
- socialPreview:
17001
- type: object
17002
- properties:
17003
- url:
17004
- description: The URL for the social preview image. Set to null to reset the override.
17005
- oneOf:
17006
- - $ref: "#/components/schemas/URL"
17007
- - type: string
17008
- nullable: true
17009
- enum:
17010
- - null
17011
17460
  SiteSpacePointer:
17012
17461
  type: object
17013
17462
  properties:
@@ -17586,6 +18035,9 @@ components:
17586
18035
  shareKey:
17587
18036
  type: string
17588
18037
  description: Share link key of the site in case the site was published with share-links.
18038
+ complete:
18039
+ type: boolean
18040
+ description: Whether the resolved site URL is complete and at it's terminal point, meaning no more site path segments can be further expected before any page path segments.
17589
18041
  required:
17590
18042
  - site
17591
18043
  - siteSpace
@@ -17594,6 +18046,7 @@ components:
17594
18046
  - basePath
17595
18047
  - apiToken
17596
18048
  - organization
18049
+ - complete
17597
18050
  UpdateContentPublishingAuth:
17598
18051
  type: object
17599
18052
  properties:
@@ -18571,6 +19024,34 @@ components:
18571
19024
  - channel
18572
19025
  - site
18573
19026
  - siteShareLink
19027
+ SiteSectionsChannel:
19028
+ type: object
19029
+ description: Subscription channel for changes in site sections in an organization.
19030
+ properties:
19031
+ channel:
19032
+ type: string
19033
+ enum:
19034
+ - site-sections
19035
+ site:
19036
+ type: string
19037
+ required:
19038
+ - channel
19039
+ - site
19040
+ SiteSectionChannel:
19041
+ type: object
19042
+ properties:
19043
+ channel:
19044
+ type: string
19045
+ enum:
19046
+ - site-section
19047
+ site:
19048
+ type: string
19049
+ siteSection:
19050
+ type: string
19051
+ required:
19052
+ - channel
19053
+ - site
19054
+ - siteSection
18574
19055
  CustomHostnameChannel:
18575
19056
  type: object
18576
19057
  properties:
@@ -18640,6 +19121,8 @@ components:
18640
19121
  - $ref: "#/components/schemas/SitePublishingAuthChannel"
18641
19122
  - $ref: "#/components/schemas/SiteShareLinksChannel"
18642
19123
  - $ref: "#/components/schemas/SiteShareLinkChannel"
19124
+ - $ref: "#/components/schemas/SiteSectionsChannel"
19125
+ - $ref: "#/components/schemas/SiteSectionChannel"
18643
19126
  - $ref: "#/components/schemas/CustomHostnameChannel"
18644
19127
  discriminator:
18645
19128
  propertyName: channel