@gitbook/api 0.34.0 → 0.35.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
@@ -121,9 +121,7 @@ components:
121
121
  required: true
122
122
  description: The unique ID of the change request or its number identifier in the space
123
123
  schema:
124
- anyOf:
125
- - type: string
126
- - type: integer
124
+ type: string
127
125
  commentId:
128
126
  name: commentId
129
127
  in: path
@@ -142,7 +140,7 @@ components:
142
140
  name: integrationName
143
141
  in: path
144
142
  required: true
145
- description: Name of the integration. Allowed characters are a-z, A-Z, 0-9, -, _, .
143
+ description: Name of the integration.
146
144
  schema:
147
145
  type: string
148
146
  pattern: ^[a-zA-Z0-9-_.]+$
@@ -154,6 +152,13 @@ components:
154
152
  description: Identifier of the installation
155
153
  schema:
156
154
  type: string
155
+ siteId:
156
+ name: siteId
157
+ in: path
158
+ required: true
159
+ description: The unique id of the site
160
+ schema:
161
+ type: string
157
162
  organizationId:
158
163
  name: organizationId
159
164
  in: path
@@ -454,6 +459,20 @@ components:
454
459
  $ref: "#/components/schemas/IntegrationInstallationConfiguration"
455
460
  space_selection:
456
461
  $ref: "#/components/schemas/IntegrationInstallationSpaceSelection"
462
+ RequestUpdateIntegrationSpaceInstallation:
463
+ type: object
464
+ properties:
465
+ externalIds:
466
+ $ref: "#/components/schemas/IntegrationInstallationExternalIds"
467
+ configuration:
468
+ $ref: "#/components/schemas/IntegrationInstallationConfiguration"
469
+ RequestUpdateIntegrationSiteInstallation:
470
+ type: object
471
+ properties:
472
+ externalIds:
473
+ $ref: "#/components/schemas/IntegrationInstallationExternalIds"
474
+ configuration:
475
+ $ref: "#/components/schemas/IntegrationInstallationConfiguration"
457
476
  RequestUpgradeOrganizationBilling:
458
477
  type: object
459
478
  properties:
@@ -538,6 +557,54 @@ components:
538
557
  required:
539
558
  - url
540
559
  - ref
560
+ RequestSyncGitRepository:
561
+ type: object
562
+ properties:
563
+ ref:
564
+ type: string
565
+ description: Git ref in the format "refs/heads/main"
566
+ repoURL:
567
+ type: string
568
+ description: URL of the Git repository used for synchronization. It can contain basic auth credentials.
569
+ repoTreeURL:
570
+ type: string
571
+ description: URL to use as a prefix for external file references.
572
+ repoCommitURL:
573
+ type: string
574
+ description: URL to use as a prefix for the commit URL.
575
+ repoProjectDirectory:
576
+ type: string
577
+ description: Path to a root directory for the project in the repository.
578
+ commitMessageTemplate:
579
+ type: string
580
+ description: Template message for the commit generated during the synchronization.
581
+ standalone:
582
+ type: boolean
583
+ description: If true, the synchronization of the ref will generate a revision without updating the space primary content.
584
+ force:
585
+ type: object
586
+ description: Whether to force the synchronization
587
+ properties:
588
+ priority:
589
+ type: string
590
+ enum:
591
+ - gitbook
592
+ - git
593
+ required:
594
+ - priority
595
+ timestamp:
596
+ description: |
597
+ The timestamp of the event. It ensures the synchronize operations are executed in the same order on GitBook and on the remote repository.
598
+ $ref: "#/components/schemas/Timestamp"
599
+ gitInfo:
600
+ description: Optional metadata to store on the space about the Git provider
601
+ $ref: "#/components/schemas/RequestUpdateSpaceGitInfo"
602
+ required:
603
+ - ref
604
+ - repoURL
605
+ - repoTreeURL
606
+ - repoCommitURL
607
+ - commitMessageTemplate
541
608
  RequestExportToGitRepository:
542
609
  type: object
543
610
  properties:
@@ -660,6 +727,43 @@ components:
660
727
  url:
661
728
  type: string
662
729
  description: The repository's tree URL
730
+ CreateOrganizationInvite:
731
+ oneOf:
732
+ - $ref: "#/components/schemas/CreateInviteToOrganization"
733
+ - $ref: "#/components/schemas/CreateInviteToSpace"
734
+ - $ref: "#/components/schemas/CreateInviteToCollection"
735
+ CreateInviteToSpace:
736
+ type: object
737
+ properties:
738
+ level:
739
+ $ref: "#/components/schemas/MemberRoleOrGuest"
740
+ description: The level of the member in the target space
741
+ space:
742
+ type: string
743
+ description: The ID of space the member has been invited to
744
+ required:
745
+ - level
746
+ - space
747
+ CreateInviteToCollection:
748
+ type: object
749
+ properties:
750
+ level:
751
+ $ref: "#/components/schemas/MemberRoleOrGuest"
752
+ description: The level of the member in the target collection
753
+ collection:
754
+ type: string
755
+ description: The ID of collection the member has been invited to
756
+ required:
757
+ - level
758
+ - collection
759
+ CreateInviteToOrganization:
760
+ type: object
761
+ properties:
762
+ role:
763
+ $ref: "#/components/schemas/MemberRoleOrGuest"
764
+ description: The role of the member in the organization
765
+ required:
766
+ - role
663
767
  ApiInformation:
664
768
  type: object
665
769
  properties:
@@ -735,6 +839,8 @@ components:
735
839
  type: string
736
840
  description: URL of the user in the API
737
841
  format: uri
842
+ required:
843
+ - location
738
844
  required:
739
845
  - object
740
846
  - id
@@ -1208,6 +1314,7 @@ components:
1208
1314
  - $ref: "#/components/schemas/DocumentBlockSwagger"
1209
1315
  - $ref: "#/components/schemas/DocumentBlockContentRef"
1210
1316
  - $ref: "#/components/schemas/DocumentBlockIntegration"
1317
+ - $ref: "#/components/schemas/DocumentBlockSyncedBlock"
1211
1318
  DocumentInline:
1212
1319
  oneOf:
1213
1320
  - $ref: "#/components/schemas/DocumentInlineLink"
@@ -1277,6 +1384,7 @@ components:
1277
1384
  - $ref: "#/components/schemas/DocumentBlockSwagger"
1278
1385
  - $ref: "#/components/schemas/DocumentBlockContentRef"
1279
1386
  - $ref: "#/components/schemas/DocumentBlockIntegration"
1387
+ - $ref: "#/components/schemas/DocumentBlockSyncedBlock"
1280
1388
  DocumentTextLeaf:
1281
1389
  type: object
1282
1390
  properties:
@@ -1868,6 +1976,11 @@ components:
1868
1976
  items:
1869
1977
  oneOf:
1870
1978
  - $ref: "#/components/schemas/DocumentBlocksEssentials"
1979
+ - $ref: "#/components/schemas/DocumentBlockCode"
1980
+ - $ref: "#/components/schemas/DocumentBlockHint"
1981
+ - $ref: "#/components/schemas/DocumentBlockQuote"
1982
+ - $ref: "#/components/schemas/DocumentBlockMath"
1983
+ - $ref: "#/components/schemas/DocumentBlockTable"
1871
1984
  isVoid:
1872
1985
  type: boolean
1873
1986
  enum:
@@ -2782,6 +2895,43 @@ components:
2782
2895
  - type
2783
2896
  - isVoid
2784
2897
  - data
2898
+ DocumentBlockSyncedBlock:
2899
+ type: object
2900
+ properties:
2901
+ object:
2902
+ type: string
2903
+ enum:
2904
+ - block
2905
+ type:
2906
+ type: string
2907
+ enum:
2908
+ - synced-block
2909
+ key:
2910
+ type: string
2911
+ data:
2912
+ type: object
2913
+ properties:
2914
+ ref:
2915
+ $ref: "#/components/schemas/ContentRefSyncedBlock"
2916
+ required:
2917
+ - ref
2918
+ meta:
2919
+ type: object
2920
+ properties:
2921
+ apiToken:
2922
+ description: API Token to use to fetch the synced block from the API.
2923
+ type: string
2924
+ required:
2925
+ - apiToken
2926
+ isVoid:
2927
+ type: boolean
2928
+ enum:
2929
+ - true
2930
+ required:
2931
+ - object
2932
+ - type
2933
+ - data
2934
+ - isVoid
2785
2935
  ContentRef:
2786
2936
  oneOf:
2787
2937
  - $ref: "#/components/schemas/ContentRefFile"
@@ -2792,6 +2942,7 @@ components:
2792
2942
  - $ref: "#/components/schemas/ContentRefCollection"
2793
2943
  - $ref: "#/components/schemas/ContentRefSpace"
2794
2944
  - $ref: "#/components/schemas/ContentRefSnippet"
2945
+ - $ref: "#/components/schemas/ContentRefSyncedBlock"
2795
2946
  ContentRefURL:
2796
2947
  type: object
2797
2948
  properties:
@@ -2900,6 +3051,21 @@ components:
2900
3051
  - kind
2901
3052
  - snippet
2902
3053
  - organization
3054
+ ContentRefSyncedBlock:
3055
+ type: object
3056
+ properties:
3057
+ kind:
3058
+ type: string
3059
+ enum:
3060
+ - synced-block
3061
+ syncedBlock:
3062
+ type: string
3063
+ organization:
3064
+ type: string
3065
+ required:
3066
+ - kind
3067
+ - syncedBlock
3068
+ - organization
2903
3069
  Space:
2904
3070
  type: object
2905
3071
  properties:
@@ -2961,31 +3127,7 @@ components:
2961
3127
  gitSync:
2962
3128
  $ref: "#/components/schemas/GitSyncState"
2963
3129
  visitorAuth:
2964
- oneOf:
2965
- - type: object
2966
- title: Custom
2967
- properties:
2968
- backend:
2969
- type: string
2970
- description: Custom backend for Visitor Authentication
2971
- enum:
2972
- - custom
2973
- required:
2974
- - backend
2975
- - type: object
2976
- title: Integration
2977
- properties:
2978
- backend:
2979
- type: string
2980
- description: Integration as backend for Visitor Authentication
2981
- enum:
2982
- - integration
2983
- integration:
2984
- type: string
2985
- description: Name of integration being used as the backend for Visitor Authentication
2986
- required:
2987
- - backend
2988
- - integration
3130
+ $ref: "#/components/schemas/SpaceVisitorAuth"
2989
3131
  revision:
2990
3132
  type: string
2991
3133
  description: ID of the active revision in the space.
@@ -3018,6 +3160,32 @@ components:
3018
3160
  description: Title of the space
3019
3161
  minLength: 1
3020
3162
  maxLength: 50
3163
+ SpaceVisitorAuth:
3164
+ oneOf:
3165
+ - type: object
3166
+ title: Custom
3167
+ properties:
3168
+ backend:
3169
+ type: string
3170
+ description: Custom backend for Visitor Authentication
3171
+ enum:
3172
+ - custom
3173
+ required:
3174
+ - backend
3175
+ - type: object
3176
+ title: Integration
3177
+ properties:
3178
+ backend:
3179
+ type: string
3180
+ description: Integration as backend for Visitor Authentication
3181
+ enum:
3182
+ - integration
3183
+ integration:
3184
+ type: string
3185
+ description: Name of integration being used as the backend for Visitor Authentication
3186
+ required:
3187
+ - backend
3188
+ - integration
3021
3189
  RevisionBase:
3022
3190
  type: object
3023
3191
  properties:
@@ -4003,49 +4171,7 @@ components:
4003
4171
  - $ref: "#/components/schemas/SpacePointer"
4004
4172
  - $ref: "#/components/schemas/CollectionPointer"
4005
4173
  OrganizationInvite:
4006
- oneOf:
4007
- - type: object
4008
- properties:
4009
- object:
4010
- type: string
4011
- description: Type of Object, always equals to "invite"
4012
- enum:
4013
- - invite
4014
- id:
4015
- type: string
4016
- description: Unique identifier for the organization invite
4017
- role:
4018
- $ref: "#/components/schemas/MemberRoleOrGuest"
4019
- description: The role of the member in the organization
4020
- required:
4021
- - object
4022
- - id
4023
- - role
4024
- - type: object
4025
- properties:
4026
- object:
4027
- type: string
4028
- description: Type of Object, always equals to "invite"
4029
- enum:
4030
- - invite
4031
- id:
4032
- type: string
4033
- description: Unique identifier for the organization invite
4034
- role:
4035
- $ref: "#/components/schemas/MemberRoleOrGuest"
4036
- description: The role of the member in the organization
4037
- contentLevel:
4038
- $ref: "#/components/schemas/MemberRoleOrGuest"
4039
- description: The role of the member in the target space
4040
- space:
4041
- $ref: "#/components/schemas/Space"
4042
- description: The space the member has been invited to
4043
- required:
4044
- - object
4045
- - id
4046
- - role
4047
- - contentLevel
4048
- - space
4174
+ allOf:
4049
4175
  - type: object
4050
4176
  properties:
4051
4177
  object:
@@ -4056,21 +4182,39 @@ components:
4056
4182
  id:
4057
4183
  type: string
4058
4184
  description: Unique identifier for the organization invite
4059
- role:
4060
- $ref: "#/components/schemas/MemberRoleOrGuest"
4061
- description: The role of the member in the organization
4062
- contentLevel:
4063
- $ref: "#/components/schemas/MemberRoleOrGuest"
4064
- description: The role of the member in the target collection
4065
- collection:
4066
- $ref: "#/components/schemas/Collection"
4067
- description: The collection the member has been invited to
4068
4185
  required:
4069
4186
  - object
4070
4187
  - id
4071
- - role
4072
- - contentLevel
4073
- - collection
4188
+ - oneOf:
4189
+ - type: object
4190
+ properties:
4191
+ role:
4192
+ $ref: "#/components/schemas/MemberRoleOrGuest"
4193
+ description: The role of the member in the organization
4194
+ required:
4195
+ - role
4196
+ - type: object
4197
+ properties:
4198
+ level:
4199
+ $ref: "#/components/schemas/MemberRoleOrGuest"
4200
+ description: The level of the member in the target space
4201
+ space:
4202
+ $ref: "#/components/schemas/Space"
4203
+ description: The space the member has been invited to
4204
+ required:
4205
+ - level
4206
+ - space
4207
+ - type: object
4208
+ properties:
4209
+ level:
4210
+ $ref: "#/components/schemas/MemberRoleOrGuest"
4211
+ description: The level of the member in the target collection
4212
+ collection:
4213
+ $ref: "#/components/schemas/Collection"
4214
+ description: The collection the member has been invited to
4215
+ required:
4216
+ - level
4217
+ - collection
4074
4218
  Capture:
4075
4219
  type: object
4076
4220
  properties:
@@ -4372,6 +4516,44 @@ components:
4372
4516
  title:
4373
4517
  type: string
4374
4518
  description: A new title for the snippet.
4519
+ SyncedBlock:
4520
+ type: object
4521
+ properties:
4522
+ id:
4523
+ type: string
4524
+ description: Unique identifier for the synced block
4525
+ organization:
4526
+ type: string
4527
+ description: ID of the organization owning this synced block
4528
+ createdAt:
4529
+ type: string
4530
+ format: date-time
4531
+ editedAt:
4532
+ type: string
4533
+ format: date-time
4534
+ description: Timestamp of when the synced block was last edited, if it has been edited since its creation.
4535
+ title:
4536
+ type: string
4537
+ description: Title describing the synced block.
4538
+ maxLength: 100
4539
+ document:
4540
+ $ref: "#/components/schemas/JSONDocument"
4541
+ urls:
4542
+ type: object
4543
+ description: URLs associated with the object
4544
+ properties:
4545
+ location:
4546
+ description: URL of the synced block in the API
4547
+ $ref: "#/components/schemas/URL"
4548
+ required:
4549
+ - location
4550
+ required:
4551
+ - id
4552
+ - organization
4553
+ - source
4554
+ - createdAt
4555
+ - urls
4556
+ - document
4375
4557
  ContentAuditRelation:
4376
4558
  type: object
4377
4559
  description: Content audit relation
@@ -4442,18 +4624,109 @@ components:
4442
4624
  - type
4443
4625
  - space
4444
4626
  - page
4445
- ChangeRequest:
4627
+ ContentReferenceUsage:
4628
+ type: array
4629
+ items:
4630
+ type: object
4631
+ properties:
4632
+ status:
4633
+ $ref: "#/components/schemas/ContentReferenceStatus"
4634
+ targetReference:
4635
+ description: The reference target where a list of pages are pointing at
4636
+ $ref: "#/components/schemas/ContentReferenceResolved"
4637
+ locationReferences:
4638
+ description: All pages where the target is being referenced.
4639
+ type: array
4640
+ items:
4641
+ $ref: "#/components/schemas/ContentReferenceResolved"
4642
+ required:
4643
+ - targetReference
4644
+ - locationReferences
4645
+ ContentReferenceResolved:
4446
4646
  type: object
4447
4647
  properties:
4448
- object:
4648
+ text:
4649
+ description: Text to display to represent the reference
4650
+ type: string
4651
+ type:
4652
+ description: The type of the content reference
4449
4653
  type: string
4450
- description: Type of Object, always equals to "change-request"
4451
4654
  enum:
4452
- - change-request
4453
- id:
4655
+ - space
4656
+ - page
4657
+ - file
4658
+ - anchor
4659
+ - collection
4660
+ - user
4661
+ - snippet
4662
+ - url
4663
+ url:
4664
+ description: Target in-app url for the reference
4454
4665
  type: string
4455
- description: Unique identifier for the change request
4456
- number:
4666
+ extra:
4667
+ type: object
4668
+ properties:
4669
+ space:
4670
+ $ref: "#/components/schemas/Space"
4671
+ page:
4672
+ $ref: "#/components/schemas/RevisionPageDocument"
4673
+ file:
4674
+ $ref: "#/components/schemas/RevisionFile"
4675
+ snippet:
4676
+ $ref: "#/components/schemas/Snippet"
4677
+ user:
4678
+ $ref: "#/components/schemas/User"
4679
+ required:
4680
+ - text
4681
+ - type
4682
+ - url
4683
+ - extra
4684
+ ContentReferenceStatus:
4685
+ type: string
4686
+ enum:
4687
+ - broken
4688
+ - in-app
4689
+ description: |
4690
+ Text to display to represent the reference. Possible values include:
4691
+ - `broken` - The target does not exist in the revision.
4692
+ - `in-app` - The target is a URL link pointing to an internal location in the app.
4693
+ ContentReferencesStats:
4694
+ type: object
4695
+ properties:
4696
+ total:
4697
+ description: Total count of links
4698
+ type: number
4699
+ broken:
4700
+ type: object
4701
+ properties:
4702
+ total:
4703
+ description: Count of broken links
4704
+ type: number
4705
+ space:
4706
+ description: Count of broken links in space. When in the context of a change request it refers to the broken links already existing at the time of the change request creation.
4707
+ type: number
4708
+ changeRequest:
4709
+ description: Count of broken links that were broken in current change request, if applicable.
4710
+ type: number
4711
+ required:
4712
+ - total
4713
+ - space
4714
+ - changeRequest
4715
+ required:
4716
+ - total
4717
+ - broken
4718
+ ChangeRequest:
4719
+ type: object
4720
+ properties:
4721
+ object:
4722
+ type: string
4723
+ description: Type of Object, always equals to "change-request"
4724
+ enum:
4725
+ - change-request
4726
+ id:
4727
+ type: string
4728
+ description: Unique identifier for the change request
4729
+ number:
4457
4730
  type: number
4458
4731
  description: Incremental identifier of the change request
4459
4732
  status:
@@ -4477,8 +4750,13 @@ components:
4477
4750
  type: string
4478
4751
  description: URL of the space in the application
4479
4752
  format: uri
4753
+ location:
4754
+ type: string
4755
+ description: URL of the user in the API
4756
+ format: uri
4480
4757
  required:
4481
4758
  - app
4759
+ - location
4482
4760
  required:
4483
4761
  - object
4484
4762
  - id
@@ -4900,6 +5178,13 @@ components:
4900
5178
  type: string
4901
5179
  required:
4902
5180
  - questions
5181
+ SearchAIRecommendedQuestionStream:
5182
+ type: object
5183
+ properties:
5184
+ question:
5185
+ type: string
5186
+ required:
5187
+ - question
4903
5188
  AnalyticsSearchPeriod:
4904
5189
  type: string
4905
5190
  enum:
@@ -5226,6 +5511,7 @@ components:
5226
5511
  - space:script:cookies
5227
5512
  - space:git:sync
5228
5513
  - space:visitor:auth
5514
+ - site:visitor:auth
5229
5515
  IntegrationSearchQuery:
5230
5516
  name: search
5231
5517
  in: query
@@ -5561,6 +5847,49 @@ components:
5561
5847
  - configuration
5562
5848
  - externalIds
5563
5849
  - urls
5850
+ IntegrationSiteInstallation:
5851
+ type: object
5852
+ description: Installation of an integration at a site level
5853
+ properties:
5854
+ integration:
5855
+ description: Unique name identifier of the integration
5856
+ type: string
5857
+ installation:
5858
+ description: ID of the integration installation
5859
+ type: string
5860
+ site:
5861
+ description: ID of the site the integration is installed on.
5862
+ type: string
5863
+ status:
5864
+ $ref: "#/components/schemas/IntegrationInstallationStatus"
5865
+ configuration:
5866
+ description: Configuration of the integration for this site
5867
+ type: object
5868
+ externalIds:
5869
+ $ref: "#/components/schemas/IntegrationInstallationExternalIds"
5870
+ urls:
5871
+ type: object
5872
+ description: URLs associated with the object
5873
+ properties:
5874
+ location:
5875
+ type: string
5876
+ description: URL of the integration's site installation in the API
5877
+ format: uri
5878
+ publicEndpoint:
5879
+ type: string
5880
+ description: Public HTTP endpoint for the integration's site installation
5881
+ format: uri
5882
+ required:
5883
+ - location
5884
+ - publicEndpoint
5885
+ required:
5886
+ - integration
5887
+ - installation
5888
+ - site
5889
+ - status
5890
+ - configuration
5891
+ - externalIds
5892
+ - urls
5564
5893
  IntegrationInstallationStatus:
5565
5894
  type: string
5566
5895
  enum:
@@ -7725,6 +8054,7 @@ components:
7725
8054
  - $ref: "#/components/schemas/OrganizationContentAuditsChannel"
7726
8055
  - $ref: "#/components/schemas/OrganizationIntegrationsChannel"
7727
8056
  - $ref: "#/components/schemas/OrganizationInstallationsChannel"
8057
+ - $ref: "#/components/schemas/OrganizationSitesChannel"
7728
8058
  - type: object
7729
8059
  properties:
7730
8060
  channel:
@@ -7804,6 +8134,9 @@ components:
7804
8134
  - $ref: "#/components/schemas/IntegrationInstallationChannel"
7805
8135
  - $ref: "#/components/schemas/IntegrationSpaceInstallationChannel"
7806
8136
  - $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
8137
+ - $ref: "#/components/schemas/IntegrationSiteInstallationChannel"
8138
+ - $ref: "#/components/schemas/IntegrationSiteInstallationsChannel"
8139
+ - $ref: "#/components/schemas/SiteChannel"
7807
8140
  discriminator:
7808
8141
  propertyName: channel
7809
8142
  SpaceInfoChannel:
@@ -8205,6 +8538,19 @@ components:
8205
8538
  required:
8206
8539
  - channel
8207
8540
  - organization
8541
+ OrganizationSitesChannel:
8542
+ type: object
8543
+ description: Subscription channel for changes in sites in an organization.
8544
+ properties:
8545
+ channel:
8546
+ type: string
8547
+ enum:
8548
+ - organization-sites
8549
+ organization:
8550
+ type: string
8551
+ required:
8552
+ - channel
8553
+ - organization
8208
8554
  IntegrationChannel:
8209
8555
  type: object
8210
8556
  properties:
@@ -8265,6 +8611,51 @@ components:
8265
8611
  - channel
8266
8612
  - integration
8267
8613
  - installation
8614
+ IntegrationSiteInstallationChannel:
8615
+ type: object
8616
+ properties:
8617
+ channel:
8618
+ type: string
8619
+ enum:
8620
+ - integration-site-installation
8621
+ integration:
8622
+ type: string
8623
+ installation:
8624
+ type: string
8625
+ site:
8626
+ type: string
8627
+ required:
8628
+ - channel
8629
+ - integration
8630
+ - installation
8631
+ - site
8632
+ IntegrationSiteInstallationsChannel:
8633
+ type: object
8634
+ properties:
8635
+ channel:
8636
+ type: string
8637
+ enum:
8638
+ - integration-site-installations
8639
+ integration:
8640
+ type: string
8641
+ installation:
8642
+ type: string
8643
+ required:
8644
+ - channel
8645
+ - integration
8646
+ - installation
8647
+ SiteChannel:
8648
+ type: object
8649
+ properties:
8650
+ channel:
8651
+ type: string
8652
+ enum:
8653
+ - site
8654
+ site:
8655
+ type: string
8656
+ required:
8657
+ - channel
8658
+ - site
8268
8659
  CustomField:
8269
8660
  type: object
8270
8661
  description: Custom field
@@ -8724,6 +9115,286 @@ components:
8724
9115
  description: Name of the share link
8725
9116
  minLength: 0
8726
9117
  maxLength: 50
9118
+ Site:
9119
+ type: object
9120
+ properties:
9121
+ object:
9122
+ type: string
9123
+ enum:
9124
+ - site
9125
+ id:
9126
+ type: string
9127
+ description: Unique identifier of the site
9128
+ title:
9129
+ $ref: "#/components/schemas/SiteTitle"
9130
+ hostname:
9131
+ $ref: "#/components/schemas/SiteHostname"
9132
+ basename:
9133
+ $ref: "#/components/schemas/SiteBasename"
9134
+ visibility:
9135
+ $ref: "#/components/schemas/SiteVisibility"
9136
+ siteSpaces:
9137
+ type: number
9138
+ createdAt:
9139
+ type: string
9140
+ format: date-time
9141
+ urls:
9142
+ type: object
9143
+ description: URLs associated with the object
9144
+ properties:
9145
+ location:
9146
+ type: string
9147
+ description: URL of the site in the API
9148
+ format: uri
9149
+ app:
9150
+ type: string
9151
+ description: URL of the site in the application
9152
+ format: uri
9153
+ published:
9154
+ type: string
9155
+ description: URL of the published version of the site. Only defined when visibility is not "unpublished."
9156
+ format: uri
9157
+ required:
9158
+ - app
9159
+ - location
9160
+ required:
9161
+ - object
9162
+ - id
9163
+ - title
9164
+ - basename
9165
+ - visibility
9166
+ - createdAt
9167
+ - siteSpaces
9168
+ - defaultSpace
9169
+ - urls
9170
+ SiteTitle:
9171
+ type: string
9172
+ description: Title of the site
9173
+ minLength: 2
9174
+ maxLength: 50
9175
+ SiteCustomizationSettings:
9176
+ type: object
9177
+ properties:
9178
+ styling:
9179
+ type: object
9180
+ properties:
9181
+ primaryColor:
9182
+ $ref: "#/components/schemas/CustomizationThemedColor"
9183
+ corners:
9184
+ $ref: "#/components/schemas/CustomizationCorners"
9185
+ font:
9186
+ $ref: "#/components/schemas/CustomizationFont"
9187
+ background:
9188
+ $ref: "#/components/schemas/CustomizationBackground"
9189
+ required:
9190
+ - primaryColor
9191
+ - corners
9192
+ - font
9193
+ - background
9194
+ internationalization:
9195
+ type: object
9196
+ properties:
9197
+ locale:
9198
+ $ref: "#/components/schemas/CustomizationLocale"
9199
+ required:
9200
+ - locale
9201
+ favicon:
9202
+ oneOf:
9203
+ - type: object
9204
+ properties:
9205
+ icon:
9206
+ $ref: "#/components/schemas/CustomizationThemedURL"
9207
+ required:
9208
+ - icon
9209
+ - type: object
9210
+ properties:
9211
+ emoji:
9212
+ $ref: "#/components/schemas/Emoji"
9213
+ required:
9214
+ - emoji
9215
+ - type: object
9216
+ properties: {}
9217
+ additionalProperties: false
9218
+ header:
9219
+ type: object
9220
+ properties:
9221
+ preset:
9222
+ $ref: "#/components/schemas/CustomizationHeaderPreset"
9223
+ logo:
9224
+ $ref: "#/components/schemas/CustomizationThemedURL"
9225
+ backgroundColor:
9226
+ $ref: "#/components/schemas/CustomizationThemedColor"
9227
+ linkColor:
9228
+ $ref: "#/components/schemas/CustomizationThemedColor"
9229
+ links:
9230
+ type: array
9231
+ items:
9232
+ $ref: "#/components/schemas/CustomizationHeaderLink"
9233
+ required:
9234
+ - preset
9235
+ - links
9236
+ footer:
9237
+ type: object
9238
+ properties:
9239
+ logo:
9240
+ $ref: "#/components/schemas/CustomizationThemedURL"
9241
+ groups:
9242
+ type: array
9243
+ items:
9244
+ $ref: "#/components/schemas/CustomizationFooterGroup"
9245
+ copyright:
9246
+ type: string
9247
+ maxLength: 300
9248
+ required:
9249
+ - groups
9250
+ themes:
9251
+ type: object
9252
+ properties:
9253
+ default:
9254
+ $ref: "#/components/schemas/CustomizationThemeMode"
9255
+ toggeable:
9256
+ description: Should the reader be able to switch between dark and light mode
9257
+ type: boolean
9258
+ required:
9259
+ - default
9260
+ - toggeable
9261
+ pdf:
9262
+ type: object
9263
+ properties:
9264
+ enabled:
9265
+ type: boolean
9266
+ description: If true, PDF export is enabled for the published site.
9267
+ required:
9268
+ - enabled
9269
+ feedback:
9270
+ type: object
9271
+ properties:
9272
+ enabled:
9273
+ type: boolean
9274
+ description: If true, feedback gathering is enabled
9275
+ required:
9276
+ - enabled
9277
+ aiSearch:
9278
+ type: object
9279
+ properties:
9280
+ enabled:
9281
+ type: boolean
9282
+ description: If true, AI search is enabled
9283
+ required:
9284
+ - enabled
9285
+ git:
9286
+ type: object
9287
+ properties:
9288
+ showEditLink:
9289
+ type: boolean
9290
+ description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync
9291
+ required:
9292
+ - showEditLink
9293
+ pagination:
9294
+ type: object
9295
+ properties:
9296
+ enabled:
9297
+ type: boolean
9298
+ description: Whether the pagination navigation should be displayed on pages.
9299
+ required:
9300
+ - enabled
9301
+ trademark:
9302
+ type: object
9303
+ properties:
9304
+ enabled:
9305
+ type: boolean
9306
+ description: Whether the GitBook trademark ("Powered by GitBook") should be visible
9307
+ required:
9308
+ - enabled
9309
+ privacyPolicy:
9310
+ type: object
9311
+ properties:
9312
+ url:
9313
+ $ref: "#/components/schemas/URL"
9314
+ socialPreview:
9315
+ type: object
9316
+ properties:
9317
+ url:
9318
+ $ref: "#/components/schemas/URL"
9319
+ required:
9320
+ - styling
9321
+ - internationalization
9322
+ - favicon
9323
+ - header
9324
+ - footer
9325
+ - themes
9326
+ - pdf
9327
+ - feedback
9328
+ - aiSearch
9329
+ - trademark
9330
+ - pagination
9331
+ - git
9332
+ - privacyPolicy
9333
+ - socialPreview
9334
+ SiteVisibility:
9335
+ type: string
9336
+ description: |
9337
+ * `public`: Anyone can access the site, and the site is indexed by search engines.
9338
+ * `unlisted`: Anyone can access the site, and the site is not indexed by search engines
9339
+ * `share-link`: Anyone with a secret token in the url can access the site.
9340
+ * `visitor-auth`: Anyone authenticated through a JWT token can access the site.
9341
+ * `unpublished`: The site is not accessible to anyone.
9342
+ enum:
9343
+ - public
9344
+ - unlisted
9345
+ - share-link
9346
+ - visitor-auth
9347
+ - unpublished
9348
+ SitePublishingAuth:
9349
+ allOf:
9350
+ - type: object
9351
+ properties:
9352
+ object:
9353
+ type: string
9354
+ description: Type of Object, always equals to "publishing-auth"
9355
+ enum:
9356
+ - publishing-auth
9357
+ privateKey:
9358
+ type: string
9359
+ description: Private key used to sign JWT tokens.
9360
+ fallbackURL:
9361
+ type: string
9362
+ format: uri
9363
+ description: URL to redirect to when the visitor auth secret is invalid.
9364
+ required:
9365
+ - object
9366
+ - privateKey
9367
+ - $ref: "#/components/schemas/SpaceVisitorAuth"
9368
+ SiteBasename:
9369
+ type: string
9370
+ description: Basename for the site. For e.g. /api
9371
+ maxLength: 100
9372
+ SiteHostname:
9373
+ type: string
9374
+ description: Custom hostname for the site, for e.g. docs.mycompany.com
9375
+ maxLength: 100
9376
+ SiteSpace:
9377
+ type: object
9378
+ properties:
9379
+ id:
9380
+ type: string
9381
+ description: Unique identifier of the site-space
9382
+ path:
9383
+ $ref: "#/components/schemas/SiteSpacePath"
9384
+ space:
9385
+ $ref: "#/components/schemas/Space"
9386
+ default:
9387
+ type: boolean
9388
+ description: Whether this is the default space for the site
9389
+ required:
9390
+ - id
9391
+ - space
9392
+ - path
9393
+ SiteSpacePath:
9394
+ type: string
9395
+ description: Path to the space on the site
9396
+ minLength: 1
9397
+ maxLength: 100
8727
9398
  responses:
8728
9399
  BadRequestError:
8729
9400
  description: Bad Request
@@ -9015,7 +9686,7 @@ paths:
9015
9686
  visibility:
9016
9687
  $ref: "#/components/schemas/ContentVisibility"
9017
9688
  visitorAuth:
9018
- $ref: "#/components/schemas/Space/properties/visitorAuth"
9689
+ $ref: "#/components/schemas/SpaceVisitorAuth"
9019
9690
  description: The integration property, if set, is ignored.
9020
9691
  defaultLevel:
9021
9692
  $ref: "#/components/schemas/DefaultLevel"
@@ -9313,19 +9984,34 @@ paths:
9313
9984
  $ref: "#/components/schemas/SearchAIAnswerStream"
9314
9985
  default:
9315
9986
  $ref: "#/components/responses/UnexpectedError"
9316
- "/spaces/{spaceId}/search/questions":
9987
+ "/spaces/{spaceId}/search/questions":
9988
+ get:
9989
+ operationId: getRecommendedQuestionsInSpace
9990
+ summary: Get a list of questions that can be asked in a space.
9991
+ parameters:
9992
+ - $ref: "#/components/parameters/spaceId"
9993
+ responses:
9994
+ "200":
9995
+ description: OK
9996
+ content:
9997
+ application/json:
9998
+ schema:
9999
+ $ref: "#/components/schemas/SearchAIRecommendedQuestions"
10000
+ default:
10001
+ $ref: "#/components/responses/UnexpectedError"
10002
+ "/spaces/{spaceId}/search/questions/stream":
9317
10003
  get:
9318
- operationId: getRecommendedQuestionsInSpace
9319
- summary: Get a list of questions that can be asked in a space.
10004
+ operationId: streamRecommendedQuestionsInSpace
10005
+ summary: Stream a list of questions that can be asked in a space.
9320
10006
  parameters:
9321
10007
  - $ref: "#/components/parameters/spaceId"
9322
10008
  responses:
9323
10009
  "200":
9324
10010
  description: OK
9325
10011
  content:
9326
- application/json:
10012
+ text/event-stream:
9327
10013
  schema:
9328
- $ref: "#/components/schemas/SearchAIRecommendedQuestions"
10014
+ $ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
9329
10015
  default:
9330
10016
  $ref: "#/components/responses/UnexpectedError"
9331
10017
  "/spaces/{spaceId}/git/import":
@@ -9370,6 +10056,27 @@ paths:
9370
10056
  application/json:
9371
10057
  schema:
9372
10058
  $ref: "#/components/schemas/RequestExportToGitRepository"
10059
+ "/spaces/{spaceId}/git/sync":
10060
+ post:
10061
+ operationId: syncGitRepository
10062
+ summary: Synchronize a Git repository with the space content.
10063
+ tags:
10064
+ - spaces
10065
+ security:
10066
+ - user: []
10067
+ parameters:
10068
+ - $ref: "#/components/parameters/spaceId"
10069
+ responses:
10070
+ "204":
10071
+ description: Operation to synchronize the repository has been started.
10072
+ default:
10073
+ $ref: "#/components/responses/UnexpectedError"
10074
+ requestBody:
10075
+ required: true
10076
+ content:
10077
+ application/json:
10078
+ schema:
10079
+ $ref: "#/components/schemas/RequestSyncGitRepository"
9373
10080
  "/spaces/{spaceId}/git/info":
9374
10081
  get:
9375
10082
  operationId: getSpaceGitInfo
@@ -10494,6 +11201,48 @@ paths:
10494
11201
  - $ref: "#/components/schemas/RevisionPageGroup"
10495
11202
  default:
10496
11203
  $ref: "#/components/responses/UnexpectedError"
11204
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/touched-content":
11205
+ post:
11206
+ operationId: touchContentInChangeRequest
11207
+ summary: Touch Hive content, marking it as modified as part of this change request.
11208
+ tags:
11209
+ - spaces
11210
+ security:
11211
+ - user: []
11212
+ parameters:
11213
+ - $ref: "#/components/parameters/spaceId"
11214
+ - $ref: "#/components/parameters/changeRequestId"
11215
+ responses:
11216
+ "200":
11217
+ description: Content marked as touched.
11218
+ content:
11219
+ application/json:
11220
+ schema:
11221
+ $ref: "#/components/schemas/ChangeRequest"
11222
+ default:
11223
+ $ref: "#/components/responses/UnexpectedError"
11224
+ requestBody:
11225
+ required: true
11226
+ content:
11227
+ application/json:
11228
+ schema:
11229
+ type: object
11230
+ properties:
11231
+ contentId:
11232
+ type: string
11233
+ description: The content id of the touched content.
11234
+ branchId:
11235
+ type: string
11236
+ description: The branch id of the touched content.
11237
+ relation:
11238
+ type: string
11239
+ description: The relation of the touched content to the change request.
11240
+ enum:
11241
+ - synced-block
11242
+ required:
11243
+ - contentId
11244
+ - branchId
11245
+ - relation
10497
11246
  "/spaces/{spaceId}/revisions/{revisionId}":
10498
11247
  get:
10499
11248
  operationId: getRevisionById
@@ -11036,6 +11785,62 @@ paths:
11036
11785
  $ref: "#/components/responses/BadRequestError"
11037
11786
  default:
11038
11787
  $ref: "#/components/responses/UnexpectedError"
11788
+ "/spaces/{spaceId}/publishing/preview":
11789
+ get:
11790
+ operationId: getSpacePublishingPreviewById
11791
+ summary: Get a URL to preview the published content of a space. The URL will be valid for 1 hour.
11792
+ tags:
11793
+ - spaces
11794
+ security:
11795
+ - user: []
11796
+ parameters:
11797
+ - $ref: "#/components/parameters/spaceId"
11798
+ responses:
11799
+ "200":
11800
+ description: OK
11801
+ content:
11802
+ application/json:
11803
+ schema:
11804
+ type: object
11805
+ properties:
11806
+ url:
11807
+ $ref: "#/components/schemas/URL"
11808
+ required:
11809
+ - url
11810
+ "400":
11811
+ $ref: "#/components/responses/BadRequestError"
11812
+ default:
11813
+ $ref: "#/components/responses/UnexpectedError"
11814
+ "/spaces/{spaceId}/integrations":
11815
+ get:
11816
+ operationId: listSpaceIntegrations
11817
+ summary: List integrations enabled in a space.
11818
+ tags:
11819
+ - integrations
11820
+ - spaces
11821
+ security:
11822
+ - user: []
11823
+ parameters:
11824
+ - $ref: "#/components/parameters/spaceId"
11825
+ - $ref: "#/components/schemas/IntegrationSearchQuery"
11826
+ responses:
11827
+ "200":
11828
+ description: Listing of integrations enabled in the space.
11829
+ content:
11830
+ application/json:
11831
+ schema:
11832
+ allOf:
11833
+ - $ref: "#/components/schemas/List"
11834
+ - type: object
11835
+ required:
11836
+ - items
11837
+ properties:
11838
+ items:
11839
+ type: array
11840
+ items:
11841
+ $ref: "#/components/schemas/Integration"
11842
+ default:
11843
+ $ref: "#/components/responses/UnexpectedError"
11039
11844
  "/spaces/{spaceId}/integration-blocks":
11040
11845
  get:
11041
11846
  operationId: listSpaceIntegrationsBlocks
@@ -12262,7 +13067,7 @@ paths:
12262
13067
  content:
12263
13068
  application/json:
12264
13069
  schema:
12265
- $ref: "#/components/schemas/RequestUpdateIntegrationInstallation"
13070
+ $ref: "#/components/schemas/RequestUpdateIntegrationSpaceInstallation"
12266
13071
  delete:
12267
13072
  operationId: uninstallIntegrationFromSpace
12268
13073
  summary: Uninstall the integration from a space
@@ -12980,6 +13785,32 @@ paths:
12980
13785
  properties: {}
12981
13786
  default:
12982
13787
  $ref: "#/components/responses/UnexpectedError"
13788
+ "/orgs/{organizationId}/link-invites":
13789
+ post:
13790
+ operationId: createOrganizationInvite
13791
+ summary: Create a new organization invite
13792
+ tags:
13793
+ - organizations
13794
+ security:
13795
+ - user: []
13796
+ parameters:
13797
+ - $ref: "#/components/parameters/organizationId"
13798
+ requestBody:
13799
+ required: true
13800
+ content:
13801
+ application/json:
13802
+ schema:
13803
+ $ref: "#/components/schemas/CreateOrganizationInvite"
13804
+ responses:
13805
+ "201":
13806
+ description: The organization invite has been created
13807
+ content:
13808
+ application/json:
13809
+ schema:
13810
+ $ref: "#/components/schemas/OrganizationInvite"
13811
+ default:
13812
+ $ref: "#/components/responses/UnexpectedError"
13813
+ "/orgs/{organizationId}/link-invites/{inviteId}":
12983
13814
  patch:
12984
13815
  operationId: updateOrganizationInviteById
12985
13816
  summary: Update an organization invite.
@@ -12995,12 +13826,21 @@ paths:
12995
13826
  content:
12996
13827
  application/json:
12997
13828
  schema:
12998
- type: object
12999
- properties:
13000
- role:
13001
- $ref: "#/components/schemas/MemberRoleOrGuest"
13002
- contentLevel:
13003
- $ref: "#/components/schemas/MemberRoleOrGuest"
13829
+ oneOf:
13830
+ - type: object
13831
+ description: Update role of an organization invite
13832
+ properties:
13833
+ role:
13834
+ $ref: "#/components/schemas/MemberRoleOrGuest"
13835
+ required:
13836
+ - role
13837
+ - type: object
13838
+ description: Update level of an organization content invite
13839
+ properties:
13840
+ level:
13841
+ $ref: "#/components/schemas/MemberRoleOrGuest"
13842
+ required:
13843
+ - level
13004
13844
  responses:
13005
13845
  "200":
13006
13846
  description: The organization invite has been updated
@@ -14238,6 +15078,69 @@ paths:
14238
15078
  - $ref: "#/components/schemas/RevisionPageGroup"
14239
15079
  default:
14240
15080
  $ref: "#/components/responses/UnexpectedError"
15081
+ "/orgs/{organizationId}/synced-blocks":
15082
+ post:
15083
+ operationId: createSyncedBlock
15084
+ summary: Create a new synced block
15085
+ tags:
15086
+ - organizations
15087
+ security:
15088
+ - user: []
15089
+ parameters:
15090
+ - $ref: "#/components/parameters/organizationId"
15091
+ requestBody:
15092
+ required: true
15093
+ content:
15094
+ application/json:
15095
+ schema:
15096
+ type: object
15097
+ required:
15098
+ - document
15099
+ properties:
15100
+ title:
15101
+ type: string
15102
+ description: Title of synced block
15103
+ document:
15104
+ $ref: "#/components/schemas/Document"
15105
+ responses:
15106
+ "201":
15107
+ description: Synced block created
15108
+ headers:
15109
+ Location:
15110
+ description: API URL for the newly created synced block
15111
+ schema:
15112
+ type: string
15113
+ content:
15114
+ application/json:
15115
+ schema:
15116
+ $ref: "#/components/schemas/SyncedBlock"
15117
+ default:
15118
+ $ref: "#/components/responses/UnexpectedError"
15119
+ "/orgs/{organizationId}/synced-blocks/{syncedBlockId}":
15120
+ get:
15121
+ operationId: getSyncedBlock
15122
+ summary: Get a synced block by its ID
15123
+ tags:
15124
+ - organizations
15125
+ security:
15126
+ - user: []
15127
+ parameters:
15128
+ - $ref: "#/components/parameters/organizationId"
15129
+ - name: syncedBlockId
15130
+ in: path
15131
+ required: true
15132
+ description: The unique id of a synced block
15133
+ schema:
15134
+ type: string
15135
+ responses:
15136
+ "200":
15137
+ description: OK
15138
+ content:
15139
+ application/json:
15140
+ schema:
15141
+ $ref: "#/components/schemas/SyncedBlock"
15142
+ default:
15143
+ $ref: "#/components/responses/UnexpectedError"
14241
15144
  "/orgs/{organizationId}/ask":
14242
15145
  post:
14243
15146
  operationId: askInOrganization
@@ -14282,6 +15185,23 @@ paths:
14282
15185
  $ref: "#/components/schemas/SearchAIRecommendedQuestions"
14283
15186
  default:
14284
15187
  $ref: "#/components/responses/UnexpectedError"
15188
+ "/orgs/{organizationId}/ask/questions/stream":
15189
+ get:
15190
+ operationId: streamRecommendedQuestionsInOrganization
15191
+ summary: Stream a list of questions recommended to be asked in an organization.
15192
+ parameters:
15193
+ - $ref: "#/components/parameters/organizationId"
15194
+ security:
15195
+ - user: []
15196
+ responses:
15197
+ "200":
15198
+ description: OK
15199
+ content:
15200
+ text/event-stream:
15201
+ schema:
15202
+ $ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
15203
+ default:
15204
+ $ref: "#/components/responses/UnexpectedError"
14285
15205
  "/orgs/{organizationId}/ask/stream":
14286
15206
  get:
14287
15207
  operationId: streamAskInOrganization
@@ -14444,6 +15364,78 @@ paths:
14444
15364
  $ref: "#/components/responses/NotFoundError"
14445
15365
  default:
14446
15366
  $ref: "#/components/responses/UnexpectedError"
15367
+ "/orgs/{organizationId}/sites":
15368
+ get:
15369
+ operationId: listSites
15370
+ summary: List all the sites created in an organization
15371
+ tags:
15372
+ - sites
15373
+ security:
15374
+ - user: []
15375
+ parameters:
15376
+ - $ref: "#/components/parameters/organizationId"
15377
+ - $ref: "#/components/parameters/listPage"
15378
+ - $ref: "#/components/parameters/listLimit"
15379
+ responses:
15380
+ "200":
15381
+ description: OK
15382
+ content:
15383
+ application/json:
15384
+ schema:
15385
+ allOf:
15386
+ - $ref: "#/components/schemas/List"
15387
+ - type: object
15388
+ required:
15389
+ - items
15390
+ properties:
15391
+ items:
15392
+ type: array
15393
+ items:
15394
+ $ref: "#/components/schemas/Site"
15395
+ default:
15396
+ $ref: "#/components/responses/UnexpectedError"
15397
+ post:
15398
+ operationId: createSite
15399
+ summary: Create a site in an organization
15400
+ tags:
15401
+ - sites
15402
+ security:
15403
+ - user: []
15404
+ parameters:
15405
+ - $ref: "#/components/parameters/organizationId"
15406
+ requestBody:
15407
+ required: true
15408
+ content:
15409
+ application/json:
15410
+ schema:
15411
+ type: object
15412
+ properties:
15413
+ title:
15414
+ $ref: "#/components/schemas/SiteTitle"
15415
+ visibility:
15416
+ $ref: "#/components/schemas/SiteVisibility"
15417
+ spaces:
15418
+ type: array
15419
+ description: ID of spaces to be added to the site
15420
+ items:
15421
+ type: string
15422
+ required:
15423
+ - title
15424
+ - spaces
15425
+ responses:
15426
+ "201":
15427
+ description: Site created
15428
+ headers:
15429
+ Location:
15430
+ description: API URL for the newly created site
15431
+ schema:
15432
+ type: string
15433
+ content:
15434
+ application/json:
15435
+ schema:
15436
+ $ref: "#/components/schemas/Site"
15437
+ default:
15438
+ $ref: "#/components/responses/UnexpectedError"
14447
15439
  /internal/hive/token:
14448
15440
  post:
14449
15441
  operationId: generateHiveAccessToken
@@ -14565,5 +15557,8 @@ paths:
14565
15557
  application/json:
14566
15558
  schema:
14567
15559
  $ref: "#/components/schemas/PublishedContentLookup"
15560
+ "404":
15561
+ description: No content found for the URL.
15562
+ $ref: "#/components/responses/NotFoundError"
14568
15563
  default:
14569
15564
  $ref: "#/components/responses/UnexpectedError"