@gitbook/api 0.99.0 → 0.101.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/dist/client.d.ts +440 -313
- package/dist/index.cjs +103 -80
- package/dist/index.js +103 -80
- package/package.json +1 -1
- package/spec/openapi.json +1789 -1449
- package/spec/openapi.yaml +2047 -1831
package/spec/openapi.yaml
CHANGED
|
@@ -1035,8 +1035,12 @@ paths:
|
|
|
1035
1035
|
properties:
|
|
1036
1036
|
source:
|
|
1037
1037
|
$ref: "#/components/schemas/ComputedContentSource"
|
|
1038
|
+
seed:
|
|
1039
|
+
type: string
|
|
1040
|
+
description: Seed to use for the generation of IDs.
|
|
1038
1041
|
required:
|
|
1039
1042
|
- source
|
|
1043
|
+
- seed
|
|
1040
1044
|
responses:
|
|
1041
1045
|
"200":
|
|
1042
1046
|
description: Document computed
|
|
@@ -1065,8 +1069,12 @@ paths:
|
|
|
1065
1069
|
properties:
|
|
1066
1070
|
source:
|
|
1067
1071
|
$ref: "#/components/schemas/ComputedContentSource"
|
|
1072
|
+
seed:
|
|
1073
|
+
type: string
|
|
1074
|
+
description: Seed to use for the generation of IDs.
|
|
1068
1075
|
required:
|
|
1069
1076
|
- source
|
|
1077
|
+
- seed
|
|
1070
1078
|
responses:
|
|
1071
1079
|
"200":
|
|
1072
1080
|
description: Computed pages and files
|
|
@@ -5602,45 +5610,18 @@ paths:
|
|
|
5602
5610
|
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
5603
5611
|
default:
|
|
5604
5612
|
$ref: "#/components/responses/UnexpectedError"
|
|
5605
|
-
"/orgs/{organizationId}/
|
|
5613
|
+
"/orgs/{organizationId}/openapi":
|
|
5606
5614
|
get:
|
|
5607
|
-
operationId:
|
|
5608
|
-
summary: List all the
|
|
5615
|
+
operationId: listOpenAPISpecs
|
|
5616
|
+
summary: List all the OpenAPI specifications in the organization
|
|
5609
5617
|
tags:
|
|
5610
|
-
-
|
|
5611
|
-
- critical
|
|
5618
|
+
- openapi
|
|
5612
5619
|
security:
|
|
5613
5620
|
- user: []
|
|
5614
5621
|
parameters:
|
|
5615
5622
|
- $ref: "#/components/parameters/organizationId"
|
|
5616
5623
|
- $ref: "#/components/parameters/listPage"
|
|
5617
5624
|
- $ref: "#/components/parameters/listLimit"
|
|
5618
|
-
- name: space
|
|
5619
|
-
in: query
|
|
5620
|
-
description: Identifier of the space to filter the sites by
|
|
5621
|
-
required: false
|
|
5622
|
-
schema:
|
|
5623
|
-
type: string
|
|
5624
|
-
- name: title
|
|
5625
|
-
in: query
|
|
5626
|
-
description: Filter sites by their title
|
|
5627
|
-
required: false
|
|
5628
|
-
schema:
|
|
5629
|
-
type: string
|
|
5630
|
-
- name: published
|
|
5631
|
-
in: query
|
|
5632
|
-
description: Filter sites by their published status
|
|
5633
|
-
required: false
|
|
5634
|
-
schema:
|
|
5635
|
-
type: boolean
|
|
5636
|
-
- name: type
|
|
5637
|
-
in: query
|
|
5638
|
-
description: Filter by site type
|
|
5639
|
-
required: false
|
|
5640
|
-
schema:
|
|
5641
|
-
type: array
|
|
5642
|
-
items:
|
|
5643
|
-
$ref: "#/components/schemas/SiteType"
|
|
5644
5625
|
responses:
|
|
5645
5626
|
"200":
|
|
5646
5627
|
description: OK
|
|
@@ -5656,89 +5637,42 @@ paths:
|
|
|
5656
5637
|
items:
|
|
5657
5638
|
type: array
|
|
5658
5639
|
items:
|
|
5659
|
-
$ref: "#/components/schemas/
|
|
5660
|
-
default:
|
|
5661
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5662
|
-
post:
|
|
5663
|
-
operationId: createSite
|
|
5664
|
-
summary: Create a site in an organization
|
|
5665
|
-
tags:
|
|
5666
|
-
- sites
|
|
5667
|
-
security:
|
|
5668
|
-
- user: []
|
|
5669
|
-
parameters:
|
|
5670
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5671
|
-
requestBody:
|
|
5672
|
-
content:
|
|
5673
|
-
application/json:
|
|
5674
|
-
schema:
|
|
5675
|
-
type: object
|
|
5676
|
-
properties:
|
|
5677
|
-
type:
|
|
5678
|
-
description: The type of the site, defaults to Basic
|
|
5679
|
-
$ref: "#/components/schemas/SiteType"
|
|
5680
|
-
title:
|
|
5681
|
-
$ref: "#/components/schemas/SiteTitle"
|
|
5682
|
-
visibility:
|
|
5683
|
-
$ref: "#/components/schemas/SiteVisibility"
|
|
5684
|
-
spaces:
|
|
5685
|
-
oneOf:
|
|
5686
|
-
- type: array
|
|
5687
|
-
description: ID of spaces to be added to the site
|
|
5688
|
-
items:
|
|
5689
|
-
type: string
|
|
5690
|
-
- type: string
|
|
5691
|
-
description: Create a new space associated to the site
|
|
5692
|
-
enum:
|
|
5693
|
-
- sample
|
|
5694
|
-
- empty
|
|
5695
|
-
responses:
|
|
5696
|
-
"201":
|
|
5697
|
-
description: Site created
|
|
5698
|
-
headers:
|
|
5699
|
-
Location:
|
|
5700
|
-
description: API URL for the newly created site
|
|
5701
|
-
schema:
|
|
5702
|
-
type: string
|
|
5703
|
-
content:
|
|
5704
|
-
application/json:
|
|
5705
|
-
schema:
|
|
5706
|
-
$ref: "#/components/schemas/Site"
|
|
5640
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
5707
5641
|
default:
|
|
5708
5642
|
$ref: "#/components/responses/UnexpectedError"
|
|
5709
|
-
"/orgs/{organizationId}/
|
|
5643
|
+
"/orgs/{organizationId}/openapi/{specSlug}":
|
|
5710
5644
|
get:
|
|
5711
|
-
operationId:
|
|
5712
|
-
summary: Get an organization
|
|
5645
|
+
operationId: getOpenAPISpecBySlug
|
|
5646
|
+
summary: Get an organization OpenAPI specification by its slug
|
|
5713
5647
|
tags:
|
|
5714
|
-
-
|
|
5648
|
+
- openapi
|
|
5715
5649
|
security:
|
|
5716
5650
|
- user: []
|
|
5717
5651
|
parameters:
|
|
5718
5652
|
- $ref: "#/components/parameters/organizationId"
|
|
5719
|
-
- $ref: "#/components/parameters/
|
|
5653
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5720
5654
|
responses:
|
|
5721
5655
|
"200":
|
|
5722
5656
|
description: OK
|
|
5723
5657
|
content:
|
|
5724
5658
|
application/json:
|
|
5725
5659
|
schema:
|
|
5726
|
-
$ref: "#/components/schemas/
|
|
5660
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
5727
5661
|
"404":
|
|
5728
|
-
description: No matching
|
|
5662
|
+
description: No matching OpenAPI specification found
|
|
5729
5663
|
$ref: "#/components/responses/NotFoundError"
|
|
5730
5664
|
default:
|
|
5731
5665
|
$ref: "#/components/responses/UnexpectedError"
|
|
5732
|
-
|
|
5733
|
-
operationId:
|
|
5734
|
-
summary:
|
|
5666
|
+
put:
|
|
5667
|
+
operationId: createOrUpdateOpenAPISpecBySlug
|
|
5668
|
+
summary: Create or update an organization OpenAPI specification by its slug
|
|
5735
5669
|
tags:
|
|
5736
|
-
-
|
|
5670
|
+
- openapi
|
|
5737
5671
|
security:
|
|
5738
5672
|
- user: []
|
|
5739
5673
|
parameters:
|
|
5740
5674
|
- $ref: "#/components/parameters/organizationId"
|
|
5741
|
-
- $ref: "#/components/parameters/
|
|
5675
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5742
5676
|
requestBody:
|
|
5743
5677
|
required: true
|
|
5744
5678
|
content:
|
|
@@ -5746,383 +5680,431 @@ paths:
|
|
|
5746
5680
|
schema:
|
|
5747
5681
|
type: object
|
|
5748
5682
|
properties:
|
|
5749
|
-
|
|
5750
|
-
$ref: "#/components/schemas/SiteTitle"
|
|
5751
|
-
visibility:
|
|
5752
|
-
$ref: "#/components/schemas/SiteVisibility"
|
|
5753
|
-
basename:
|
|
5754
|
-
$ref: "#/components/schemas/SiteBasename"
|
|
5755
|
-
adaptiveContent:
|
|
5756
|
-
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
5757
|
-
defaultSiteSpace:
|
|
5758
|
-
type: string
|
|
5759
|
-
description: ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
|
|
5760
|
-
defaultSiteSection:
|
|
5761
|
-
type: string
|
|
5762
|
-
description: ID of the site-section to be used as the default.
|
|
5763
|
-
proxy:
|
|
5764
|
-
description: |
|
|
5765
|
-
Configure a proxy URL for a site. For example, you can use it to host the site on a subdirectory of your domain like `https://company.com/docs`.
|
|
5766
|
-
Use `null` to remove the proxy.
|
|
5683
|
+
source:
|
|
5767
5684
|
oneOf:
|
|
5768
|
-
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5685
|
+
- description: Create a specification from an URL
|
|
5686
|
+
type: object
|
|
5687
|
+
properties:
|
|
5688
|
+
url:
|
|
5689
|
+
$ref: "#/components/schemas/URL"
|
|
5690
|
+
required:
|
|
5691
|
+
- url
|
|
5692
|
+
- description: Create a specification from a text string
|
|
5693
|
+
type: object
|
|
5694
|
+
properties:
|
|
5695
|
+
text:
|
|
5696
|
+
description: OpenAPI specification as text
|
|
5697
|
+
type: string
|
|
5698
|
+
minLength: 1
|
|
5699
|
+
required:
|
|
5700
|
+
- text
|
|
5701
|
+
required:
|
|
5702
|
+
- source
|
|
5773
5703
|
responses:
|
|
5774
5704
|
"200":
|
|
5775
|
-
description:
|
|
5705
|
+
description: OpenAPI specification has been updated
|
|
5776
5706
|
content:
|
|
5777
5707
|
application/json:
|
|
5778
5708
|
schema:
|
|
5779
|
-
$ref: "#/components/schemas/
|
|
5709
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
5710
|
+
"201":
|
|
5711
|
+
description: OpenAPI specification has been created
|
|
5712
|
+
content:
|
|
5713
|
+
application/json:
|
|
5714
|
+
schema:
|
|
5715
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
5716
|
+
"400":
|
|
5717
|
+
$ref: "#/components/responses/BadRequestError"
|
|
5780
5718
|
default:
|
|
5781
5719
|
$ref: "#/components/responses/UnexpectedError"
|
|
5782
5720
|
delete:
|
|
5783
|
-
operationId:
|
|
5784
|
-
summary: Delete
|
|
5721
|
+
operationId: deleteOpenAPISpecBySlug
|
|
5722
|
+
summary: Delete an organization OpenAPI specification by its slug
|
|
5785
5723
|
tags:
|
|
5786
|
-
-
|
|
5724
|
+
- openapi
|
|
5787
5725
|
security:
|
|
5788
5726
|
- user: []
|
|
5789
5727
|
parameters:
|
|
5790
5728
|
- $ref: "#/components/parameters/organizationId"
|
|
5791
|
-
- $ref: "#/components/parameters/
|
|
5729
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5792
5730
|
responses:
|
|
5793
5731
|
"205":
|
|
5794
|
-
description:
|
|
5732
|
+
description: OpenAPI specification has been deleted
|
|
5795
5733
|
default:
|
|
5796
5734
|
$ref: "#/components/responses/UnexpectedError"
|
|
5797
|
-
"/orgs/{organizationId}/
|
|
5735
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions":
|
|
5798
5736
|
get:
|
|
5799
|
-
operationId:
|
|
5800
|
-
summary:
|
|
5737
|
+
operationId: listOpenAPISpecVersions
|
|
5738
|
+
summary: List all the OpenAPI specification versions
|
|
5801
5739
|
tags:
|
|
5802
|
-
-
|
|
5740
|
+
- openapi
|
|
5803
5741
|
security:
|
|
5804
5742
|
- user: []
|
|
5805
5743
|
parameters:
|
|
5806
5744
|
- $ref: "#/components/parameters/organizationId"
|
|
5807
|
-
- $ref: "#/components/parameters/
|
|
5808
|
-
- $ref: "#/components/parameters/
|
|
5745
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5746
|
+
- $ref: "#/components/parameters/listPage"
|
|
5747
|
+
- $ref: "#/components/parameters/listLimit"
|
|
5809
5748
|
responses:
|
|
5810
5749
|
"200":
|
|
5811
5750
|
description: OK
|
|
5812
5751
|
content:
|
|
5813
5752
|
application/json:
|
|
5814
5753
|
schema:
|
|
5815
|
-
|
|
5754
|
+
allOf:
|
|
5755
|
+
- $ref: "#/components/schemas/List"
|
|
5756
|
+
- type: object
|
|
5757
|
+
required:
|
|
5758
|
+
- items
|
|
5759
|
+
properties:
|
|
5760
|
+
items:
|
|
5761
|
+
type: array
|
|
5762
|
+
items:
|
|
5763
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
5816
5764
|
"404":
|
|
5817
|
-
description: No matching
|
|
5765
|
+
description: No matching OpenAPI specification found
|
|
5818
5766
|
$ref: "#/components/responses/NotFoundError"
|
|
5819
5767
|
default:
|
|
5820
5768
|
$ref: "#/components/responses/UnexpectedError"
|
|
5821
|
-
"/orgs/{organizationId}/
|
|
5822
|
-
|
|
5823
|
-
operationId:
|
|
5824
|
-
summary:
|
|
5769
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/latest":
|
|
5770
|
+
get:
|
|
5771
|
+
operationId: getLatestOpenAPISpecVersion
|
|
5772
|
+
summary: Get the latest OpenAPI specification version
|
|
5825
5773
|
tags:
|
|
5826
|
-
-
|
|
5774
|
+
- openapi
|
|
5827
5775
|
security:
|
|
5828
5776
|
- user: []
|
|
5829
5777
|
parameters:
|
|
5830
5778
|
- $ref: "#/components/parameters/organizationId"
|
|
5831
|
-
- $ref: "#/components/parameters/
|
|
5779
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5832
5780
|
responses:
|
|
5833
5781
|
"200":
|
|
5834
|
-
description:
|
|
5782
|
+
description: OK
|
|
5835
5783
|
content:
|
|
5836
5784
|
application/json:
|
|
5837
5785
|
schema:
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
properties:
|
|
5843
|
-
type:
|
|
5844
|
-
type: string
|
|
5845
|
-
enum:
|
|
5846
|
-
- checkout
|
|
5847
|
-
sessionId:
|
|
5848
|
-
type: string
|
|
5849
|
-
description: Stripe payment session ID
|
|
5850
|
-
required:
|
|
5851
|
-
- type
|
|
5852
|
-
- sessionId
|
|
5786
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
5787
|
+
"404":
|
|
5788
|
+
description: No matching OpenAPI specification version found
|
|
5789
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5853
5790
|
default:
|
|
5854
5791
|
$ref: "#/components/responses/UnexpectedError"
|
|
5855
|
-
"/orgs/{organizationId}/
|
|
5856
|
-
|
|
5857
|
-
operationId:
|
|
5858
|
-
summary:
|
|
5792
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content":
|
|
5793
|
+
get:
|
|
5794
|
+
operationId: getLatestOpenAPISpecVersionContent
|
|
5795
|
+
summary: Get the latest OpenAPI specification version content
|
|
5859
5796
|
tags:
|
|
5860
|
-
-
|
|
5797
|
+
- openapi
|
|
5861
5798
|
security:
|
|
5862
5799
|
- user: []
|
|
5863
5800
|
parameters:
|
|
5864
5801
|
- $ref: "#/components/parameters/organizationId"
|
|
5865
|
-
- $ref: "#/components/parameters/
|
|
5802
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5866
5803
|
responses:
|
|
5867
5804
|
"200":
|
|
5868
|
-
description:
|
|
5805
|
+
description: OK
|
|
5869
5806
|
content:
|
|
5870
5807
|
application/json:
|
|
5871
5808
|
schema:
|
|
5872
|
-
$ref: "#/components/schemas/
|
|
5809
|
+
$ref: "#/components/schemas/OpenAPISpecContent"
|
|
5810
|
+
"404":
|
|
5811
|
+
description: No matching OpenAPI specification version found
|
|
5812
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5873
5813
|
default:
|
|
5874
5814
|
$ref: "#/components/responses/UnexpectedError"
|
|
5875
|
-
"/orgs/{organizationId}/
|
|
5815
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}":
|
|
5876
5816
|
get:
|
|
5877
|
-
operationId:
|
|
5878
|
-
summary:
|
|
5817
|
+
operationId: getOpenAPISpecVersionById
|
|
5818
|
+
summary: Get an OpenAPI specification version by its ID
|
|
5879
5819
|
tags:
|
|
5880
|
-
-
|
|
5820
|
+
- openapi
|
|
5881
5821
|
security:
|
|
5882
5822
|
- user: []
|
|
5883
5823
|
parameters:
|
|
5884
5824
|
- $ref: "#/components/parameters/organizationId"
|
|
5885
|
-
- $ref: "#/components/parameters/
|
|
5886
|
-
- $ref: "#/components/parameters/
|
|
5887
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5825
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5826
|
+
- $ref: "#/components/parameters/openapiSpecVersionId"
|
|
5888
5827
|
responses:
|
|
5889
5828
|
"200":
|
|
5890
5829
|
description: OK
|
|
5891
5830
|
content:
|
|
5892
5831
|
application/json:
|
|
5893
5832
|
schema:
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
- items
|
|
5899
|
-
properties:
|
|
5900
|
-
items:
|
|
5901
|
-
type: array
|
|
5902
|
-
items:
|
|
5903
|
-
$ref: "#/components/schemas/ShareLink"
|
|
5833
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
5834
|
+
"404":
|
|
5835
|
+
description: No matching OpenAPI specification version found
|
|
5836
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5904
5837
|
default:
|
|
5905
5838
|
$ref: "#/components/responses/UnexpectedError"
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5839
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content":
|
|
5840
|
+
get:
|
|
5841
|
+
operationId: getOpenAPISpecVersionContentById
|
|
5842
|
+
summary: Get an OpenAPI specification version content by its ID
|
|
5909
5843
|
tags:
|
|
5910
|
-
-
|
|
5844
|
+
- openapi
|
|
5911
5845
|
security:
|
|
5912
5846
|
- user: []
|
|
5913
5847
|
parameters:
|
|
5914
5848
|
- $ref: "#/components/parameters/organizationId"
|
|
5915
|
-
- $ref: "#/components/parameters/
|
|
5916
|
-
|
|
5917
|
-
required: true
|
|
5918
|
-
content:
|
|
5919
|
-
application/json:
|
|
5920
|
-
schema:
|
|
5921
|
-
type: object
|
|
5922
|
-
properties:
|
|
5923
|
-
name:
|
|
5924
|
-
$ref: "#/components/schemas/ShareLinkName"
|
|
5925
|
-
required:
|
|
5926
|
-
- name
|
|
5849
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5850
|
+
- $ref: "#/components/parameters/openapiSpecVersionId"
|
|
5927
5851
|
responses:
|
|
5928
|
-
"
|
|
5929
|
-
description:
|
|
5930
|
-
headers:
|
|
5931
|
-
Location:
|
|
5932
|
-
description: API URL for the newly created share link
|
|
5933
|
-
schema:
|
|
5934
|
-
type: string
|
|
5852
|
+
"200":
|
|
5853
|
+
description: OK
|
|
5935
5854
|
content:
|
|
5936
5855
|
application/json:
|
|
5937
5856
|
schema:
|
|
5938
|
-
$ref: "#/components/schemas/
|
|
5857
|
+
$ref: "#/components/schemas/OpenAPISpecContent"
|
|
5858
|
+
"404":
|
|
5859
|
+
description: No matching OpenAPI specification version found
|
|
5860
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5939
5861
|
default:
|
|
5940
5862
|
$ref: "#/components/responses/UnexpectedError"
|
|
5941
|
-
"/orgs/{organizationId}/
|
|
5942
|
-
|
|
5943
|
-
operationId:
|
|
5944
|
-
summary:
|
|
5863
|
+
"/orgs/{organizationId}/storage/upload":
|
|
5864
|
+
post:
|
|
5865
|
+
operationId: generateStorageUploadURL
|
|
5866
|
+
summary: Create a signed URL to upload a file
|
|
5867
|
+
description: Generate a pre-signed URL that can be used to upload a file to storage
|
|
5945
5868
|
tags:
|
|
5946
|
-
-
|
|
5869
|
+
- organizations
|
|
5947
5870
|
security:
|
|
5948
|
-
- user: []
|
|
5871
|
+
- user-internal: []
|
|
5949
5872
|
parameters:
|
|
5950
5873
|
- $ref: "#/components/parameters/organizationId"
|
|
5951
|
-
- $ref: "#/components/parameters/siteId"
|
|
5952
|
-
- $ref: "#/components/parameters/shareLinkId"
|
|
5953
5874
|
requestBody:
|
|
5954
5875
|
required: true
|
|
5955
5876
|
content:
|
|
5956
5877
|
application/json:
|
|
5957
5878
|
schema:
|
|
5958
5879
|
type: object
|
|
5959
|
-
|
|
5880
|
+
required:
|
|
5881
|
+
- file
|
|
5882
|
+
- kind
|
|
5960
5883
|
properties:
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
$ref: "#/components/schemas/
|
|
5884
|
+
file:
|
|
5885
|
+
$ref: "#/components/schemas/StorageFileMetadata"
|
|
5886
|
+
kind:
|
|
5887
|
+
$ref: "#/components/schemas/StorageUploadKind"
|
|
5965
5888
|
responses:
|
|
5966
|
-
"
|
|
5967
|
-
description:
|
|
5889
|
+
"201":
|
|
5890
|
+
description: Successfully generated signed URL for file upload
|
|
5968
5891
|
content:
|
|
5969
5892
|
application/json:
|
|
5970
5893
|
schema:
|
|
5971
|
-
$ref: "#/components/schemas/
|
|
5972
|
-
|
|
5973
|
-
$ref: "#/components/responses/
|
|
5974
|
-
delete:
|
|
5975
|
-
operationId: deleteSiteShareLinkById
|
|
5976
|
-
summary: Deletes a site share link
|
|
5977
|
-
tags:
|
|
5978
|
-
- sites
|
|
5979
|
-
security:
|
|
5980
|
-
- user: []
|
|
5981
|
-
parameters:
|
|
5982
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5983
|
-
- $ref: "#/components/parameters/siteId"
|
|
5984
|
-
- $ref: "#/components/parameters/shareLinkId"
|
|
5985
|
-
responses:
|
|
5986
|
-
"205":
|
|
5987
|
-
description: Site share link has been deleted
|
|
5894
|
+
$ref: "#/components/schemas/StorageUploadURL"
|
|
5895
|
+
"400":
|
|
5896
|
+
$ref: "#/components/responses/BadRequestError"
|
|
5988
5897
|
default:
|
|
5989
5898
|
$ref: "#/components/responses/UnexpectedError"
|
|
5990
|
-
"/orgs/{organizationId}/
|
|
5899
|
+
"/orgs/{organizationId}/fonts":
|
|
5991
5900
|
get:
|
|
5992
|
-
operationId:
|
|
5993
|
-
summary:
|
|
5901
|
+
operationId: listCustomFonts
|
|
5902
|
+
summary: List custom fonts in organization
|
|
5994
5903
|
tags:
|
|
5995
|
-
-
|
|
5904
|
+
- organizations
|
|
5996
5905
|
security:
|
|
5997
|
-
- user: []
|
|
5906
|
+
- user-internal: []
|
|
5998
5907
|
parameters:
|
|
5999
5908
|
- $ref: "#/components/parameters/organizationId"
|
|
6000
|
-
- $ref: "#/components/parameters/siteId"
|
|
6001
|
-
- $ref: "#/components/parameters/siteShareKey"
|
|
6002
5909
|
responses:
|
|
6003
5910
|
"200":
|
|
6004
5911
|
description: OK
|
|
6005
5912
|
content:
|
|
6006
5913
|
application/json:
|
|
6007
5914
|
schema:
|
|
6008
|
-
|
|
5915
|
+
allOf:
|
|
5916
|
+
- $ref: "#/components/schemas/List"
|
|
5917
|
+
- type: object
|
|
5918
|
+
required:
|
|
5919
|
+
- items
|
|
5920
|
+
properties:
|
|
5921
|
+
items:
|
|
5922
|
+
type: array
|
|
5923
|
+
items:
|
|
5924
|
+
$ref: "#/components/schemas/CustomizationFontDefinition"
|
|
6009
5925
|
"404":
|
|
6010
|
-
description: No matching site found
|
|
6011
5926
|
$ref: "#/components/responses/NotFoundError"
|
|
6012
5927
|
default:
|
|
6013
5928
|
$ref: "#/components/responses/UnexpectedError"
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
summary: Get the publishing authentication settings for a site.
|
|
6018
|
-
tags:
|
|
6019
|
-
- sites
|
|
6020
|
-
security:
|
|
6021
|
-
- user: []
|
|
6022
|
-
parameters:
|
|
6023
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6024
|
-
- $ref: "#/components/parameters/siteId"
|
|
6025
|
-
responses:
|
|
6026
|
-
"200":
|
|
6027
|
-
description: OK
|
|
6028
|
-
content:
|
|
6029
|
-
application/json:
|
|
6030
|
-
schema:
|
|
6031
|
-
$ref: "#/components/schemas/SitePublishingAuth"
|
|
6032
|
-
"400":
|
|
6033
|
-
$ref: "#/components/responses/BadRequestError"
|
|
6034
|
-
default:
|
|
6035
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6036
|
-
patch:
|
|
6037
|
-
operationId: updateSitePublishingAuthById
|
|
6038
|
-
summary: Update the publishing authentication settings for a site.
|
|
5929
|
+
put:
|
|
5930
|
+
operationId: createCustomFont
|
|
5931
|
+
summary: Create a custom font in organization
|
|
6039
5932
|
tags:
|
|
6040
|
-
-
|
|
5933
|
+
- organizations
|
|
6041
5934
|
security:
|
|
6042
|
-
- user: []
|
|
5935
|
+
- user-internal: []
|
|
6043
5936
|
parameters:
|
|
6044
5937
|
- $ref: "#/components/parameters/organizationId"
|
|
6045
|
-
- $ref: "#/components/parameters/siteId"
|
|
6046
5938
|
requestBody:
|
|
6047
5939
|
required: true
|
|
6048
5940
|
content:
|
|
6049
5941
|
application/json:
|
|
6050
5942
|
schema:
|
|
6051
|
-
|
|
5943
|
+
type: object
|
|
5944
|
+
description: Defines a custom font and associated font faces with storage references.
|
|
5945
|
+
properties:
|
|
5946
|
+
fontFamily:
|
|
5947
|
+
$ref: "#/components/schemas/FontFamily"
|
|
5948
|
+
fontFaces:
|
|
5949
|
+
type: array
|
|
5950
|
+
description: |
|
|
5951
|
+
Array of font faces specifying weights and their corresponding storage keys.
|
|
5952
|
+
At least one font face with weight 400 (regular) must be provided.
|
|
5953
|
+
items:
|
|
5954
|
+
type: object
|
|
5955
|
+
properties:
|
|
5956
|
+
weight:
|
|
5957
|
+
$ref: "#/components/schemas/FontWeight"
|
|
5958
|
+
storageKey:
|
|
5959
|
+
$ref: "#/components/schemas/StorageFileKey"
|
|
5960
|
+
required:
|
|
5961
|
+
- weight
|
|
5962
|
+
- storageKey
|
|
5963
|
+
minItems: 1
|
|
5964
|
+
required:
|
|
5965
|
+
- fontFamily
|
|
5966
|
+
- fontFaces
|
|
6052
5967
|
responses:
|
|
6053
|
-
"
|
|
6054
|
-
description:
|
|
5968
|
+
"201":
|
|
5969
|
+
description: Custom font created successfully.
|
|
6055
5970
|
content:
|
|
6056
5971
|
application/json:
|
|
6057
5972
|
schema:
|
|
6058
|
-
$ref: "#/components/schemas/
|
|
6059
|
-
"
|
|
6060
|
-
$ref: "#/components/responses/
|
|
5973
|
+
$ref: "#/components/schemas/CustomizationFontDefinition"
|
|
5974
|
+
"404":
|
|
5975
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5976
|
+
"412":
|
|
5977
|
+
description: Invalid request data, such as missing required font weights.
|
|
5978
|
+
$ref: "#/components/responses/PreconditionFailedError"
|
|
6061
5979
|
default:
|
|
6062
5980
|
$ref: "#/components/responses/UnexpectedError"
|
|
6063
|
-
"/orgs/{organizationId}/
|
|
6064
|
-
|
|
6065
|
-
operationId:
|
|
6066
|
-
summary:
|
|
5981
|
+
"/orgs/{organizationId}/fonts/{fontId}":
|
|
5982
|
+
delete:
|
|
5983
|
+
operationId: deleteCustomFont
|
|
5984
|
+
summary: Delete a custom font from an organization
|
|
6067
5985
|
tags:
|
|
6068
|
-
-
|
|
5986
|
+
- organizations
|
|
6069
5987
|
security:
|
|
6070
|
-
- user: []
|
|
5988
|
+
- user-internal: []
|
|
6071
5989
|
parameters:
|
|
6072
5990
|
- $ref: "#/components/parameters/organizationId"
|
|
6073
|
-
- $ref: "#/components/parameters/
|
|
5991
|
+
- $ref: "#/components/parameters/fontId"
|
|
6074
5992
|
responses:
|
|
6075
|
-
"
|
|
6076
|
-
description:
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
$ref: "#/components/schemas/SitePublishingAuth"
|
|
6081
|
-
"400":
|
|
6082
|
-
$ref: "#/components/responses/BadRequestError"
|
|
5993
|
+
"204":
|
|
5994
|
+
description: Custom font deleted successfully.
|
|
5995
|
+
"404":
|
|
5996
|
+
description: Organization or font not found.
|
|
5997
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6083
5998
|
default:
|
|
6084
5999
|
$ref: "#/components/responses/UnexpectedError"
|
|
6085
|
-
"/orgs/{organizationId}/sites
|
|
6000
|
+
"/orgs/{organizationId}/sites":
|
|
6086
6001
|
get:
|
|
6087
|
-
operationId:
|
|
6088
|
-
summary:
|
|
6002
|
+
operationId: listSites
|
|
6003
|
+
summary: List all the sites created in an organization
|
|
6089
6004
|
tags:
|
|
6090
6005
|
- sites
|
|
6006
|
+
- critical
|
|
6091
6007
|
security:
|
|
6092
6008
|
- user: []
|
|
6093
6009
|
parameters:
|
|
6094
6010
|
- $ref: "#/components/parameters/organizationId"
|
|
6095
|
-
- $ref: "#/components/parameters/
|
|
6096
|
-
-
|
|
6011
|
+
- $ref: "#/components/parameters/listPage"
|
|
6012
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6013
|
+
- name: space
|
|
6097
6014
|
in: query
|
|
6098
|
-
description:
|
|
6015
|
+
description: Identifier of the space to filter the sites by
|
|
6016
|
+
required: false
|
|
6099
6017
|
schema:
|
|
6100
6018
|
type: string
|
|
6101
|
-
- name:
|
|
6019
|
+
- name: title
|
|
6102
6020
|
in: query
|
|
6103
|
-
description:
|
|
6021
|
+
description: Filter sites by their title
|
|
6022
|
+
required: false
|
|
6104
6023
|
schema:
|
|
6105
6024
|
type: string
|
|
6025
|
+
- name: published
|
|
6026
|
+
in: query
|
|
6027
|
+
description: Filter sites by their published status
|
|
6028
|
+
required: false
|
|
6029
|
+
schema:
|
|
6030
|
+
type: boolean
|
|
6031
|
+
- name: type
|
|
6032
|
+
in: query
|
|
6033
|
+
description: Filter by site type
|
|
6034
|
+
required: false
|
|
6035
|
+
schema:
|
|
6036
|
+
type: array
|
|
6037
|
+
items:
|
|
6038
|
+
$ref: "#/components/schemas/SiteType"
|
|
6106
6039
|
responses:
|
|
6107
6040
|
"200":
|
|
6108
6041
|
description: OK
|
|
6109
6042
|
content:
|
|
6110
6043
|
application/json:
|
|
6111
6044
|
schema:
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6045
|
+
allOf:
|
|
6046
|
+
- $ref: "#/components/schemas/List"
|
|
6047
|
+
- type: object
|
|
6048
|
+
required:
|
|
6049
|
+
- items
|
|
6050
|
+
properties:
|
|
6051
|
+
items:
|
|
6052
|
+
type: array
|
|
6053
|
+
items:
|
|
6054
|
+
$ref: "#/components/schemas/Site"
|
|
6120
6055
|
default:
|
|
6121
6056
|
$ref: "#/components/responses/UnexpectedError"
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6057
|
+
post:
|
|
6058
|
+
operationId: createSite
|
|
6059
|
+
summary: Create a site in an organization
|
|
6060
|
+
tags:
|
|
6061
|
+
- sites
|
|
6062
|
+
security:
|
|
6063
|
+
- user: []
|
|
6064
|
+
parameters:
|
|
6065
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6066
|
+
requestBody:
|
|
6067
|
+
content:
|
|
6068
|
+
application/json:
|
|
6069
|
+
schema:
|
|
6070
|
+
type: object
|
|
6071
|
+
properties:
|
|
6072
|
+
type:
|
|
6073
|
+
description: The type of the site, defaults to Basic
|
|
6074
|
+
$ref: "#/components/schemas/SiteType"
|
|
6075
|
+
title:
|
|
6076
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
6077
|
+
visibility:
|
|
6078
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
6079
|
+
spaces:
|
|
6080
|
+
oneOf:
|
|
6081
|
+
- type: array
|
|
6082
|
+
description: ID of spaces to be added to the site
|
|
6083
|
+
items:
|
|
6084
|
+
type: string
|
|
6085
|
+
- type: string
|
|
6086
|
+
description: Create a new space associated to the site
|
|
6087
|
+
enum:
|
|
6088
|
+
- sample
|
|
6089
|
+
- empty
|
|
6090
|
+
responses:
|
|
6091
|
+
"201":
|
|
6092
|
+
description: Site created
|
|
6093
|
+
headers:
|
|
6094
|
+
Location:
|
|
6095
|
+
description: API URL for the newly created site
|
|
6096
|
+
schema:
|
|
6097
|
+
type: string
|
|
6098
|
+
content:
|
|
6099
|
+
application/json:
|
|
6100
|
+
schema:
|
|
6101
|
+
$ref: "#/components/schemas/Site"
|
|
6102
|
+
default:
|
|
6103
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6104
|
+
"/orgs/{organizationId}/sites/{siteId}":
|
|
6105
|
+
get:
|
|
6106
|
+
operationId: getSiteById
|
|
6107
|
+
summary: Get an organization site by its ID
|
|
6126
6108
|
tags:
|
|
6127
6109
|
- sites
|
|
6128
6110
|
security:
|
|
@@ -6130,21 +6112,21 @@ paths:
|
|
|
6130
6112
|
parameters:
|
|
6131
6113
|
- $ref: "#/components/parameters/organizationId"
|
|
6132
6114
|
- $ref: "#/components/parameters/siteId"
|
|
6133
|
-
- $ref: "#/components/parameters/siteCustomizationUnmasked"
|
|
6134
6115
|
responses:
|
|
6135
6116
|
"200":
|
|
6136
6117
|
description: OK
|
|
6137
6118
|
content:
|
|
6138
6119
|
application/json:
|
|
6139
6120
|
schema:
|
|
6140
|
-
$ref: "#/components/schemas/
|
|
6141
|
-
"
|
|
6142
|
-
|
|
6121
|
+
$ref: "#/components/schemas/Site"
|
|
6122
|
+
"404":
|
|
6123
|
+
description: No matching site found
|
|
6124
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6143
6125
|
default:
|
|
6144
6126
|
$ref: "#/components/responses/UnexpectedError"
|
|
6145
|
-
|
|
6146
|
-
operationId:
|
|
6147
|
-
summary: Update
|
|
6127
|
+
patch:
|
|
6128
|
+
operationId: updateSiteById
|
|
6129
|
+
summary: Update a site in an organization
|
|
6148
6130
|
tags:
|
|
6149
6131
|
- sites
|
|
6150
6132
|
security:
|
|
@@ -6157,24 +6139,45 @@ paths:
|
|
|
6157
6139
|
content:
|
|
6158
6140
|
application/json:
|
|
6159
6141
|
schema:
|
|
6160
|
-
|
|
6142
|
+
type: object
|
|
6143
|
+
properties:
|
|
6144
|
+
title:
|
|
6145
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
6146
|
+
visibility:
|
|
6147
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
6148
|
+
basename:
|
|
6149
|
+
$ref: "#/components/schemas/SiteBasename"
|
|
6150
|
+
adaptiveContent:
|
|
6151
|
+
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
6152
|
+
defaultSiteSpace:
|
|
6153
|
+
type: string
|
|
6154
|
+
description: ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
|
|
6155
|
+
defaultSiteSection:
|
|
6156
|
+
type: string
|
|
6157
|
+
description: ID of the site-section to be used as the default.
|
|
6158
|
+
proxy:
|
|
6159
|
+
description: |
|
|
6160
|
+
Configure a proxy URL for a site. For example, you can use it to host the site on a subdirectory of your domain like `https://company.com/docs`.
|
|
6161
|
+
Use `null` to remove the proxy.
|
|
6162
|
+
oneOf:
|
|
6163
|
+
- $ref: "#/components/schemas/SiteProxy"
|
|
6164
|
+
- type: string
|
|
6165
|
+
nullable: true
|
|
6166
|
+
enum:
|
|
6167
|
+
- null
|
|
6161
6168
|
responses:
|
|
6162
6169
|
"200":
|
|
6163
6170
|
description: OK
|
|
6164
6171
|
content:
|
|
6165
6172
|
application/json:
|
|
6166
6173
|
schema:
|
|
6167
|
-
$ref: "#/components/schemas/
|
|
6168
|
-
"400":
|
|
6169
|
-
$ref: "#/components/responses/BadRequestError"
|
|
6174
|
+
$ref: "#/components/schemas/Site"
|
|
6170
6175
|
default:
|
|
6171
6176
|
$ref: "#/components/responses/UnexpectedError"
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
summary: List the scripts to embed in published content for a site.
|
|
6177
|
+
delete:
|
|
6178
|
+
operationId: deleteSiteById
|
|
6179
|
+
summary: Delete a site in an organization
|
|
6176
6180
|
tags:
|
|
6177
|
-
- integrations
|
|
6178
6181
|
- sites
|
|
6179
6182
|
security:
|
|
6180
6183
|
- user: []
|
|
@@ -6182,53 +6185,38 @@ paths:
|
|
|
6182
6185
|
- $ref: "#/components/parameters/organizationId"
|
|
6183
6186
|
- $ref: "#/components/parameters/siteId"
|
|
6184
6187
|
responses:
|
|
6185
|
-
"
|
|
6186
|
-
description:
|
|
6187
|
-
content:
|
|
6188
|
-
application/json:
|
|
6189
|
-
schema:
|
|
6190
|
-
type: array
|
|
6191
|
-
items:
|
|
6192
|
-
$ref: "#/components/schemas/SiteIntegrationScript"
|
|
6193
|
-
"400":
|
|
6194
|
-
$ref: "#/components/responses/BadRequestError"
|
|
6188
|
+
"205":
|
|
6189
|
+
description: Site has been deleted
|
|
6195
6190
|
default:
|
|
6196
6191
|
$ref: "#/components/responses/UnexpectedError"
|
|
6197
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6192
|
+
"/orgs/{organizationId}/sites/{siteId}/published":
|
|
6198
6193
|
get:
|
|
6199
|
-
operationId:
|
|
6200
|
-
summary:
|
|
6194
|
+
operationId: getPublishedContentSite
|
|
6195
|
+
summary: Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
|
|
6201
6196
|
tags:
|
|
6202
|
-
- integrations
|
|
6203
6197
|
- sites
|
|
6204
6198
|
security:
|
|
6205
6199
|
- user: []
|
|
6206
6200
|
parameters:
|
|
6207
6201
|
- $ref: "#/components/parameters/organizationId"
|
|
6208
6202
|
- $ref: "#/components/parameters/siteId"
|
|
6209
|
-
- $ref: "#/components/parameters/
|
|
6203
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6210
6204
|
responses:
|
|
6211
6205
|
"200":
|
|
6212
|
-
description:
|
|
6206
|
+
description: OK
|
|
6213
6207
|
content:
|
|
6214
6208
|
application/json:
|
|
6215
6209
|
schema:
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
- items
|
|
6221
|
-
properties:
|
|
6222
|
-
items:
|
|
6223
|
-
type: array
|
|
6224
|
-
items:
|
|
6225
|
-
$ref: "#/components/schemas/Integration"
|
|
6210
|
+
$ref: "#/components/schemas/PublishedContentSite"
|
|
6211
|
+
"404":
|
|
6212
|
+
description: No matching site found
|
|
6213
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6226
6214
|
default:
|
|
6227
6215
|
$ref: "#/components/responses/UnexpectedError"
|
|
6228
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6216
|
+
"/orgs/{organizationId}/sites/{siteId}/publish":
|
|
6229
6217
|
post:
|
|
6230
|
-
operationId:
|
|
6231
|
-
summary:
|
|
6218
|
+
operationId: publishSite
|
|
6219
|
+
summary: Publishes the site to the audience defined in the site's visibility setting.
|
|
6232
6220
|
tags:
|
|
6233
6221
|
- sites
|
|
6234
6222
|
security:
|
|
@@ -6236,76 +6224,53 @@ paths:
|
|
|
6236
6224
|
parameters:
|
|
6237
6225
|
- $ref: "#/components/parameters/organizationId"
|
|
6238
6226
|
- $ref: "#/components/parameters/siteId"
|
|
6239
|
-
requestBody:
|
|
6240
|
-
required: true
|
|
6241
|
-
content:
|
|
6242
|
-
application/json:
|
|
6243
|
-
schema:
|
|
6244
|
-
type: object
|
|
6245
|
-
properties:
|
|
6246
|
-
spaceId:
|
|
6247
|
-
type: string
|
|
6248
|
-
description: ID of the space
|
|
6249
|
-
sectionId:
|
|
6250
|
-
type: string
|
|
6251
|
-
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.
|
|
6252
|
-
required:
|
|
6253
|
-
- spaceId
|
|
6254
6227
|
responses:
|
|
6255
|
-
"
|
|
6256
|
-
description:
|
|
6257
|
-
headers:
|
|
6258
|
-
Location:
|
|
6259
|
-
description: API URL for the newly created site-space relationship
|
|
6260
|
-
schema:
|
|
6261
|
-
type: string
|
|
6228
|
+
"200":
|
|
6229
|
+
description: Site published successfully
|
|
6262
6230
|
content:
|
|
6263
6231
|
application/json:
|
|
6264
6232
|
schema:
|
|
6265
|
-
|
|
6233
|
+
oneOf:
|
|
6234
|
+
- $ref: "#/components/schemas/Site"
|
|
6235
|
+
- type: object
|
|
6236
|
+
description: User needs to checkout in order to publish the site.
|
|
6237
|
+
properties:
|
|
6238
|
+
type:
|
|
6239
|
+
type: string
|
|
6240
|
+
enum:
|
|
6241
|
+
- checkout
|
|
6242
|
+
sessionId:
|
|
6243
|
+
type: string
|
|
6244
|
+
description: Stripe payment session ID
|
|
6245
|
+
required:
|
|
6246
|
+
- type
|
|
6247
|
+
- sessionId
|
|
6266
6248
|
default:
|
|
6267
6249
|
$ref: "#/components/responses/UnexpectedError"
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6250
|
+
"/orgs/{organizationId}/sites/{siteId}/unpublish":
|
|
6251
|
+
post:
|
|
6252
|
+
operationId: unpublishSite
|
|
6253
|
+
summary: Unpublishes the site.
|
|
6271
6254
|
tags:
|
|
6272
6255
|
- sites
|
|
6273
|
-
- critical
|
|
6274
6256
|
security:
|
|
6275
6257
|
- user: []
|
|
6276
6258
|
parameters:
|
|
6277
6259
|
- $ref: "#/components/parameters/organizationId"
|
|
6278
6260
|
- $ref: "#/components/parameters/siteId"
|
|
6279
|
-
- $ref: "#/components/parameters/siteShareKey"
|
|
6280
|
-
- $ref: "#/components/parameters/listPage"
|
|
6281
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6282
|
-
- name: default
|
|
6283
|
-
in: query
|
|
6284
|
-
description: If true, only the default site space will be returned. If false, only the non-default site spaces are returned. If undefined, all site spaces are returned.
|
|
6285
|
-
schema:
|
|
6286
|
-
type: boolean
|
|
6287
6261
|
responses:
|
|
6288
6262
|
"200":
|
|
6289
|
-
description:
|
|
6263
|
+
description: Site unpublished successfully
|
|
6290
6264
|
content:
|
|
6291
6265
|
application/json:
|
|
6292
6266
|
schema:
|
|
6293
|
-
|
|
6294
|
-
- $ref: "#/components/schemas/List"
|
|
6295
|
-
- type: object
|
|
6296
|
-
required:
|
|
6297
|
-
- items
|
|
6298
|
-
properties:
|
|
6299
|
-
items:
|
|
6300
|
-
type: array
|
|
6301
|
-
items:
|
|
6302
|
-
$ref: "#/components/schemas/SiteSpace"
|
|
6267
|
+
$ref: "#/components/schemas/Site"
|
|
6303
6268
|
default:
|
|
6304
6269
|
$ref: "#/components/responses/UnexpectedError"
|
|
6305
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6270
|
+
"/orgs/{organizationId}/sites/{siteId}/share-links":
|
|
6306
6271
|
get:
|
|
6307
|
-
operationId:
|
|
6308
|
-
summary: List all the
|
|
6272
|
+
operationId: listSiteShareLinks
|
|
6273
|
+
summary: List all the share links created in a site
|
|
6309
6274
|
tags:
|
|
6310
6275
|
- sites
|
|
6311
6276
|
security:
|
|
@@ -6330,12 +6295,12 @@ paths:
|
|
|
6330
6295
|
items:
|
|
6331
6296
|
type: array
|
|
6332
6297
|
items:
|
|
6333
|
-
$ref: "#/components/schemas/
|
|
6298
|
+
$ref: "#/components/schemas/ShareLink"
|
|
6334
6299
|
default:
|
|
6335
6300
|
$ref: "#/components/responses/UnexpectedError"
|
|
6336
6301
|
post:
|
|
6337
|
-
operationId:
|
|
6338
|
-
summary:
|
|
6302
|
+
operationId: createSiteShareLink
|
|
6303
|
+
summary: Create a share link in a site
|
|
6339
6304
|
tags:
|
|
6340
6305
|
- sites
|
|
6341
6306
|
security:
|
|
@@ -6350,40 +6315,28 @@ paths:
|
|
|
6350
6315
|
schema:
|
|
6351
6316
|
type: object
|
|
6352
6317
|
properties:
|
|
6353
|
-
|
|
6354
|
-
$ref: "#/components/schemas/
|
|
6355
|
-
icon:
|
|
6356
|
-
oneOf:
|
|
6357
|
-
- $ref: "#/components/schemas/Icon"
|
|
6358
|
-
- type: string
|
|
6359
|
-
nullable: true
|
|
6360
|
-
enum:
|
|
6361
|
-
- null
|
|
6362
|
-
sections:
|
|
6363
|
-
type: array
|
|
6364
|
-
items:
|
|
6365
|
-
type: string
|
|
6366
|
-
description: IDs of the sections to be added to the section group
|
|
6318
|
+
name:
|
|
6319
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
6367
6320
|
required:
|
|
6368
|
-
-
|
|
6321
|
+
- name
|
|
6369
6322
|
responses:
|
|
6370
6323
|
"201":
|
|
6371
|
-
description:
|
|
6324
|
+
description: The share link has been created
|
|
6372
6325
|
headers:
|
|
6373
6326
|
Location:
|
|
6374
|
-
description: API URL for the newly created
|
|
6327
|
+
description: API URL for the newly created share link
|
|
6375
6328
|
schema:
|
|
6376
6329
|
type: string
|
|
6377
6330
|
content:
|
|
6378
6331
|
application/json:
|
|
6379
6332
|
schema:
|
|
6380
|
-
$ref: "#/components/schemas/
|
|
6333
|
+
$ref: "#/components/schemas/ShareLink"
|
|
6381
6334
|
default:
|
|
6382
6335
|
$ref: "#/components/responses/UnexpectedError"
|
|
6383
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6336
|
+
"/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}":
|
|
6384
6337
|
patch:
|
|
6385
|
-
operationId:
|
|
6386
|
-
summary: Update
|
|
6338
|
+
operationId: updateSiteShareLinkById
|
|
6339
|
+
summary: Update the details of a site share link
|
|
6387
6340
|
tags:
|
|
6388
6341
|
- sites
|
|
6389
6342
|
security:
|
|
@@ -6391,35 +6344,31 @@ paths:
|
|
|
6391
6344
|
parameters:
|
|
6392
6345
|
- $ref: "#/components/parameters/organizationId"
|
|
6393
6346
|
- $ref: "#/components/parameters/siteId"
|
|
6394
|
-
- $ref: "#/components/parameters/
|
|
6347
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
6395
6348
|
requestBody:
|
|
6396
6349
|
required: true
|
|
6397
6350
|
content:
|
|
6398
6351
|
application/json:
|
|
6399
6352
|
schema:
|
|
6400
6353
|
type: object
|
|
6354
|
+
minProperties: 1
|
|
6401
6355
|
properties:
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
- $ref: "#/components/schemas/Icon"
|
|
6407
|
-
- type: string
|
|
6408
|
-
nullable: true
|
|
6409
|
-
enum:
|
|
6410
|
-
- null
|
|
6356
|
+
active:
|
|
6357
|
+
type: boolean
|
|
6358
|
+
name:
|
|
6359
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
6411
6360
|
responses:
|
|
6412
6361
|
"200":
|
|
6413
|
-
description:
|
|
6362
|
+
description: The site share link has been updated
|
|
6414
6363
|
content:
|
|
6415
6364
|
application/json:
|
|
6416
6365
|
schema:
|
|
6417
|
-
$ref: "#/components/schemas/
|
|
6366
|
+
$ref: "#/components/schemas/ShareLink"
|
|
6418
6367
|
default:
|
|
6419
6368
|
$ref: "#/components/responses/UnexpectedError"
|
|
6420
6369
|
delete:
|
|
6421
|
-
operationId:
|
|
6422
|
-
summary:
|
|
6370
|
+
operationId: deleteSiteShareLinkById
|
|
6371
|
+
summary: Deletes a site share link
|
|
6423
6372
|
tags:
|
|
6424
6373
|
- sites
|
|
6425
6374
|
security:
|
|
@@ -6427,16 +6376,16 @@ paths:
|
|
|
6427
6376
|
parameters:
|
|
6428
6377
|
- $ref: "#/components/parameters/organizationId"
|
|
6429
6378
|
- $ref: "#/components/parameters/siteId"
|
|
6430
|
-
- $ref: "#/components/parameters/
|
|
6379
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
6431
6380
|
responses:
|
|
6432
6381
|
"205":
|
|
6433
|
-
description: Site
|
|
6382
|
+
description: Site share link has been deleted
|
|
6434
6383
|
default:
|
|
6435
6384
|
$ref: "#/components/responses/UnexpectedError"
|
|
6436
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6437
|
-
|
|
6438
|
-
operationId:
|
|
6439
|
-
summary:
|
|
6385
|
+
"/orgs/{organizationId}/sites/{siteId}/structure":
|
|
6386
|
+
get:
|
|
6387
|
+
operationId: getSiteStructure
|
|
6388
|
+
summary: Get the structure of a site which includes site-sections and site-spaces
|
|
6440
6389
|
tags:
|
|
6441
6390
|
- sites
|
|
6442
6391
|
security:
|
|
@@ -6444,37 +6393,23 @@ paths:
|
|
|
6444
6393
|
parameters:
|
|
6445
6394
|
- $ref: "#/components/parameters/organizationId"
|
|
6446
6395
|
- $ref: "#/components/parameters/siteId"
|
|
6447
|
-
- $ref: "#/components/parameters/
|
|
6448
|
-
requestBody:
|
|
6449
|
-
required: true
|
|
6450
|
-
content:
|
|
6451
|
-
application/json:
|
|
6452
|
-
schema:
|
|
6453
|
-
type: object
|
|
6454
|
-
properties:
|
|
6455
|
-
sectionId:
|
|
6456
|
-
type: string
|
|
6457
|
-
description: ID of the section to add to the section group
|
|
6458
|
-
required:
|
|
6459
|
-
- sectionId
|
|
6396
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6460
6397
|
responses:
|
|
6461
|
-
"
|
|
6462
|
-
description:
|
|
6463
|
-
headers:
|
|
6464
|
-
Location:
|
|
6465
|
-
description: API URL for the newly created site-section-group relationship
|
|
6466
|
-
schema:
|
|
6467
|
-
type: string
|
|
6398
|
+
"200":
|
|
6399
|
+
description: OK
|
|
6468
6400
|
content:
|
|
6469
6401
|
application/json:
|
|
6470
6402
|
schema:
|
|
6471
|
-
$ref: "#/components/schemas/
|
|
6403
|
+
$ref: "#/components/schemas/SiteStructure"
|
|
6404
|
+
"404":
|
|
6405
|
+
description: No matching site found
|
|
6406
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6472
6407
|
default:
|
|
6473
6408
|
$ref: "#/components/responses/UnexpectedError"
|
|
6474
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6475
|
-
|
|
6476
|
-
operationId:
|
|
6477
|
-
summary:
|
|
6409
|
+
"/orgs/{organizationId}/sites/{siteId}/publishing/auth":
|
|
6410
|
+
get:
|
|
6411
|
+
operationId: getSitePublishingAuthById
|
|
6412
|
+
summary: Get the publishing authentication settings for a site.
|
|
6478
6413
|
tags:
|
|
6479
6414
|
- sites
|
|
6480
6415
|
security:
|
|
@@ -6482,17 +6417,20 @@ paths:
|
|
|
6482
6417
|
parameters:
|
|
6483
6418
|
- $ref: "#/components/parameters/organizationId"
|
|
6484
6419
|
- $ref: "#/components/parameters/siteId"
|
|
6485
|
-
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
6486
|
-
- $ref: "#/components/parameters/siteSectionId"
|
|
6487
6420
|
responses:
|
|
6488
|
-
"
|
|
6489
|
-
description:
|
|
6421
|
+
"200":
|
|
6422
|
+
description: OK
|
|
6423
|
+
content:
|
|
6424
|
+
application/json:
|
|
6425
|
+
schema:
|
|
6426
|
+
$ref: "#/components/schemas/SitePublishingAuth"
|
|
6427
|
+
"400":
|
|
6428
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6490
6429
|
default:
|
|
6491
6430
|
$ref: "#/components/responses/UnexpectedError"
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
summary: Add a section to a site in an organization
|
|
6431
|
+
patch:
|
|
6432
|
+
operationId: updateSitePublishingAuthById
|
|
6433
|
+
summary: Update the publishing authentication settings for a site.
|
|
6496
6434
|
tags:
|
|
6497
6435
|
- sites
|
|
6498
6436
|
security:
|
|
@@ -6505,34 +6443,22 @@ paths:
|
|
|
6505
6443
|
content:
|
|
6506
6444
|
application/json:
|
|
6507
6445
|
schema:
|
|
6508
|
-
|
|
6509
|
-
properties:
|
|
6510
|
-
spaceId:
|
|
6511
|
-
type: string
|
|
6512
|
-
description: ID of the space to be added to the section as a site space variant
|
|
6513
|
-
title:
|
|
6514
|
-
type: string
|
|
6515
|
-
description: Title of the section
|
|
6516
|
-
maxLength: 64
|
|
6517
|
-
required:
|
|
6518
|
-
- spaceId
|
|
6446
|
+
$ref: "#/components/schemas/SitePublishingAuthUpdate"
|
|
6519
6447
|
responses:
|
|
6520
|
-
"
|
|
6521
|
-
description:
|
|
6522
|
-
headers:
|
|
6523
|
-
Location:
|
|
6524
|
-
description: API URL for the newly created site-section relationship
|
|
6525
|
-
schema:
|
|
6526
|
-
type: string
|
|
6448
|
+
"200":
|
|
6449
|
+
description: OK
|
|
6527
6450
|
content:
|
|
6528
6451
|
application/json:
|
|
6529
6452
|
schema:
|
|
6530
|
-
$ref: "#/components/schemas/
|
|
6453
|
+
$ref: "#/components/schemas/SitePublishingAuth"
|
|
6454
|
+
"400":
|
|
6455
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6531
6456
|
default:
|
|
6532
6457
|
$ref: "#/components/responses/UnexpectedError"
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6458
|
+
"/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate":
|
|
6459
|
+
post:
|
|
6460
|
+
operationId: regenerateSitePublishingAuthById
|
|
6461
|
+
summary: Regenerate the publishing authentication settings for a site. This will re-generate the private key.
|
|
6536
6462
|
tags:
|
|
6537
6463
|
- sites
|
|
6538
6464
|
security:
|
|
@@ -6540,31 +6466,21 @@ paths:
|
|
|
6540
6466
|
parameters:
|
|
6541
6467
|
- $ref: "#/components/parameters/organizationId"
|
|
6542
6468
|
- $ref: "#/components/parameters/siteId"
|
|
6543
|
-
- $ref: "#/components/parameters/siteShareKey"
|
|
6544
|
-
- $ref: "#/components/parameters/listPage"
|
|
6545
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6546
6469
|
responses:
|
|
6547
6470
|
"200":
|
|
6548
6471
|
description: OK
|
|
6549
6472
|
content:
|
|
6550
6473
|
application/json:
|
|
6551
6474
|
schema:
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
required:
|
|
6556
|
-
- items
|
|
6557
|
-
properties:
|
|
6558
|
-
items:
|
|
6559
|
-
type: array
|
|
6560
|
-
items:
|
|
6561
|
-
$ref: "#/components/schemas/SiteSection"
|
|
6475
|
+
$ref: "#/components/schemas/SitePublishingAuth"
|
|
6476
|
+
"400":
|
|
6477
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6562
6478
|
default:
|
|
6563
6479
|
$ref: "#/components/responses/UnexpectedError"
|
|
6564
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6565
|
-
|
|
6566
|
-
operationId:
|
|
6567
|
-
summary:
|
|
6480
|
+
"/orgs/{organizationId}/sites/{siteId}/publishing/preview":
|
|
6481
|
+
get:
|
|
6482
|
+
operationId: getSitePublishingPreviewById
|
|
6483
|
+
summary: Get a URL to preview the published content of a site. The URL will be valid for 1 hour.
|
|
6568
6484
|
tags:
|
|
6569
6485
|
- sites
|
|
6570
6486
|
security:
|
|
@@ -6572,55 +6488,36 @@ paths:
|
|
|
6572
6488
|
parameters:
|
|
6573
6489
|
- $ref: "#/components/parameters/organizationId"
|
|
6574
6490
|
- $ref: "#/components/parameters/siteId"
|
|
6575
|
-
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
path:
|
|
6586
|
-
$ref: "#/components/schemas/SiteSectionPath"
|
|
6587
|
-
defaultSiteSpace:
|
|
6588
|
-
type: string
|
|
6589
|
-
description: ID of the site-space to be used as the default in this section.
|
|
6590
|
-
condition:
|
|
6591
|
-
description: Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
|
|
6592
|
-
oneOf:
|
|
6593
|
-
- $ref: "#/components/schemas/Condition"
|
|
6594
|
-
- type: string
|
|
6595
|
-
nullable: true
|
|
6596
|
-
enum:
|
|
6597
|
-
- null
|
|
6598
|
-
icon:
|
|
6599
|
-
oneOf:
|
|
6600
|
-
- $ref: "#/components/schemas/Icon"
|
|
6601
|
-
- type: string
|
|
6602
|
-
nullable: true
|
|
6603
|
-
enum:
|
|
6604
|
-
- null
|
|
6605
|
-
description:
|
|
6606
|
-
oneOf:
|
|
6607
|
-
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
6608
|
-
- type: string
|
|
6609
|
-
nullable: true
|
|
6610
|
-
enum:
|
|
6611
|
-
- null
|
|
6491
|
+
- name: siteSpace
|
|
6492
|
+
in: query
|
|
6493
|
+
description: ID of the site-space to preview. If not provided, the default site-space will be used.
|
|
6494
|
+
schema:
|
|
6495
|
+
type: string
|
|
6496
|
+
- name: claims
|
|
6497
|
+
in: query
|
|
6498
|
+
description: Rison encoded string of attributes/assertions about the visitor for which we want to preview the site.
|
|
6499
|
+
schema:
|
|
6500
|
+
type: string
|
|
6612
6501
|
responses:
|
|
6613
6502
|
"200":
|
|
6614
6503
|
description: OK
|
|
6615
6504
|
content:
|
|
6616
6505
|
application/json:
|
|
6617
6506
|
schema:
|
|
6618
|
-
|
|
6507
|
+
type: object
|
|
6508
|
+
properties:
|
|
6509
|
+
url:
|
|
6510
|
+
$ref: "#/components/schemas/URL"
|
|
6511
|
+
required:
|
|
6512
|
+
- url
|
|
6513
|
+
"400":
|
|
6514
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6619
6515
|
default:
|
|
6620
6516
|
$ref: "#/components/responses/UnexpectedError"
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6517
|
+
"/orgs/{organizationId}/sites/{siteId}/customization":
|
|
6518
|
+
get:
|
|
6519
|
+
operationId: getSiteCustomizationById
|
|
6520
|
+
summary: Get the customization configuration for a site.
|
|
6624
6521
|
tags:
|
|
6625
6522
|
- sites
|
|
6626
6523
|
security:
|
|
@@ -6628,16 +6525,21 @@ paths:
|
|
|
6628
6525
|
parameters:
|
|
6629
6526
|
- $ref: "#/components/parameters/organizationId"
|
|
6630
6527
|
- $ref: "#/components/parameters/siteId"
|
|
6631
|
-
- $ref: "#/components/parameters/
|
|
6528
|
+
- $ref: "#/components/parameters/siteCustomizationUnmasked"
|
|
6632
6529
|
responses:
|
|
6633
|
-
"
|
|
6634
|
-
description:
|
|
6530
|
+
"200":
|
|
6531
|
+
description: OK
|
|
6532
|
+
content:
|
|
6533
|
+
application/json:
|
|
6534
|
+
schema:
|
|
6535
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
6536
|
+
"400":
|
|
6537
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6635
6538
|
default:
|
|
6636
6539
|
$ref: "#/components/responses/UnexpectedError"
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
summary: Search content in a site
|
|
6540
|
+
put:
|
|
6541
|
+
operationId: updateSiteCustomizationById
|
|
6542
|
+
summary: Update the customization configuration for a site.
|
|
6641
6543
|
tags:
|
|
6642
6544
|
- sites
|
|
6643
6545
|
security:
|
|
@@ -6645,152 +6547,83 @@ paths:
|
|
|
6645
6547
|
parameters:
|
|
6646
6548
|
- $ref: "#/components/parameters/organizationId"
|
|
6647
6549
|
- $ref: "#/components/parameters/siteId"
|
|
6648
|
-
- $ref: "#/components/parameters/listPage"
|
|
6649
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6650
6550
|
requestBody:
|
|
6651
6551
|
required: true
|
|
6652
6552
|
content:
|
|
6653
6553
|
application/json:
|
|
6654
6554
|
schema:
|
|
6655
|
-
|
|
6656
|
-
- type: object
|
|
6657
|
-
required:
|
|
6658
|
-
- query
|
|
6659
|
-
properties:
|
|
6660
|
-
query:
|
|
6661
|
-
type: string
|
|
6662
|
-
maxLength: 512
|
|
6663
|
-
- oneOf:
|
|
6664
|
-
- type: object
|
|
6665
|
-
required:
|
|
6666
|
-
- scope
|
|
6667
|
-
properties:
|
|
6668
|
-
scope:
|
|
6669
|
-
description: Define the scope of the search.
|
|
6670
|
-
$ref: "#/components/schemas/SiteSearchScope"
|
|
6671
|
-
- type: object
|
|
6672
|
-
properties:
|
|
6673
|
-
mode:
|
|
6674
|
-
description: Search only in the site spaces provided. Deprecated, use scope instead.
|
|
6675
|
-
deprecated: true
|
|
6676
|
-
type: string
|
|
6677
|
-
enum:
|
|
6678
|
-
- specific
|
|
6679
|
-
siteSpaceIds:
|
|
6680
|
-
type: array
|
|
6681
|
-
minLength: 1
|
|
6682
|
-
items:
|
|
6683
|
-
type: string
|
|
6684
|
-
required:
|
|
6685
|
-
- siteSpaceIds
|
|
6686
|
-
- type: object
|
|
6687
|
-
properties:
|
|
6688
|
-
mode:
|
|
6689
|
-
description: Search in the current site space and all section's defaults. Deprecated, use scope instead.
|
|
6690
|
-
deprecated: true
|
|
6691
|
-
type: string
|
|
6692
|
-
enum:
|
|
6693
|
-
- current
|
|
6694
|
-
siteSpaceId:
|
|
6695
|
-
type: string
|
|
6696
|
-
required:
|
|
6697
|
-
- mode
|
|
6698
|
-
- siteSpaceId
|
|
6699
|
-
- type: object
|
|
6700
|
-
properties:
|
|
6701
|
-
mode:
|
|
6702
|
-
description: Search in all site-spaces. Deprecated, use scope instead.
|
|
6703
|
-
deprecated: true
|
|
6704
|
-
type: string
|
|
6705
|
-
enum:
|
|
6706
|
-
- all
|
|
6707
|
-
required:
|
|
6708
|
-
- mode
|
|
6555
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
6709
6556
|
responses:
|
|
6710
6557
|
"200":
|
|
6711
6558
|
description: OK
|
|
6712
6559
|
content:
|
|
6713
6560
|
application/json:
|
|
6714
6561
|
schema:
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
required:
|
|
6719
|
-
- items
|
|
6720
|
-
properties:
|
|
6721
|
-
items:
|
|
6722
|
-
type: array
|
|
6723
|
-
items:
|
|
6724
|
-
$ref: "#/components/schemas/SearchSpaceResult"
|
|
6562
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
6563
|
+
"400":
|
|
6564
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6725
6565
|
default:
|
|
6726
6566
|
$ref: "#/components/responses/UnexpectedError"
|
|
6727
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6728
|
-
|
|
6729
|
-
operationId:
|
|
6730
|
-
summary:
|
|
6567
|
+
"/orgs/{organizationId}/sites/{siteId}/integration-scripts":
|
|
6568
|
+
get:
|
|
6569
|
+
operationId: listSiteIntegrationScripts
|
|
6570
|
+
summary: List the scripts to embed in published content for a site.
|
|
6731
6571
|
tags:
|
|
6732
|
-
-
|
|
6572
|
+
- integrations
|
|
6573
|
+
- sites
|
|
6733
6574
|
security:
|
|
6734
6575
|
- user: []
|
|
6735
6576
|
parameters:
|
|
6736
6577
|
- $ref: "#/components/parameters/organizationId"
|
|
6737
6578
|
- $ref: "#/components/parameters/siteId"
|
|
6738
|
-
- $ref: "#/components/parameters/documentFormat"
|
|
6739
|
-
requestBody:
|
|
6740
|
-
required: true
|
|
6741
|
-
content:
|
|
6742
|
-
application/json:
|
|
6743
|
-
schema:
|
|
6744
|
-
type: object
|
|
6745
|
-
required:
|
|
6746
|
-
- question
|
|
6747
|
-
- scope
|
|
6748
|
-
properties:
|
|
6749
|
-
question:
|
|
6750
|
-
type: string
|
|
6751
|
-
maxLength: 512
|
|
6752
|
-
context:
|
|
6753
|
-
type: object
|
|
6754
|
-
description: |
|
|
6755
|
-
You may optionally provide additional information about the context of the question. This doesn't affect the scope of the search, but GitBook may use this information to provide a better answer. Generally speaking, you should provide as much context as possible.
|
|
6756
|
-
properties:
|
|
6757
|
-
siteSpaceId:
|
|
6758
|
-
type: string
|
|
6759
|
-
scope:
|
|
6760
|
-
$ref: "#/components/schemas/SiteSearchScope"
|
|
6761
6579
|
responses:
|
|
6762
6580
|
"200":
|
|
6763
6581
|
description: OK
|
|
6764
6582
|
content:
|
|
6765
|
-
|
|
6583
|
+
application/json:
|
|
6766
6584
|
schema:
|
|
6767
|
-
|
|
6585
|
+
type: array
|
|
6586
|
+
items:
|
|
6587
|
+
$ref: "#/components/schemas/SiteIntegrationScript"
|
|
6588
|
+
"400":
|
|
6589
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6768
6590
|
default:
|
|
6769
6591
|
$ref: "#/components/responses/UnexpectedError"
|
|
6770
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6592
|
+
"/orgs/{organizationId}/sites/{siteId}/integrations":
|
|
6771
6593
|
get:
|
|
6772
|
-
operationId:
|
|
6773
|
-
summary:
|
|
6594
|
+
operationId: listSiteIntegrations
|
|
6595
|
+
summary: List integrations enabled in a site.
|
|
6774
6596
|
tags:
|
|
6775
|
-
-
|
|
6597
|
+
- integrations
|
|
6598
|
+
- sites
|
|
6776
6599
|
security:
|
|
6777
6600
|
- user: []
|
|
6778
6601
|
parameters:
|
|
6779
6602
|
- $ref: "#/components/parameters/organizationId"
|
|
6780
6603
|
- $ref: "#/components/parameters/siteId"
|
|
6604
|
+
- $ref: "#/components/parameters/integrationSearchQuery"
|
|
6781
6605
|
responses:
|
|
6782
6606
|
"200":
|
|
6783
|
-
description:
|
|
6607
|
+
description: Listing of integrations enabled in the site.
|
|
6784
6608
|
content:
|
|
6785
|
-
|
|
6609
|
+
application/json:
|
|
6786
6610
|
schema:
|
|
6787
|
-
|
|
6611
|
+
allOf:
|
|
6612
|
+
- $ref: "#/components/schemas/List"
|
|
6613
|
+
- type: object
|
|
6614
|
+
required:
|
|
6615
|
+
- items
|
|
6616
|
+
properties:
|
|
6617
|
+
items:
|
|
6618
|
+
type: array
|
|
6619
|
+
items:
|
|
6620
|
+
$ref: "#/components/schemas/Integration"
|
|
6788
6621
|
default:
|
|
6789
6622
|
$ref: "#/components/responses/UnexpectedError"
|
|
6790
|
-
"/orgs/{organizationId}/sites/{siteId}/site-spaces
|
|
6791
|
-
|
|
6792
|
-
operationId:
|
|
6793
|
-
summary:
|
|
6623
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces":
|
|
6624
|
+
post:
|
|
6625
|
+
operationId: addSpaceToSite
|
|
6626
|
+
summary: Add a space to a site in an organization
|
|
6794
6627
|
tags:
|
|
6795
6628
|
- sites
|
|
6796
6629
|
security:
|
|
@@ -6798,7 +6631,6 @@ paths:
|
|
|
6798
6631
|
parameters:
|
|
6799
6632
|
- $ref: "#/components/parameters/organizationId"
|
|
6800
6633
|
- $ref: "#/components/parameters/siteId"
|
|
6801
|
-
- $ref: "#/components/parameters/siteSpaceId"
|
|
6802
6634
|
requestBody:
|
|
6803
6635
|
required: true
|
|
6804
6636
|
content:
|
|
@@ -6806,45 +6638,69 @@ paths:
|
|
|
6806
6638
|
schema:
|
|
6807
6639
|
type: object
|
|
6808
6640
|
properties:
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
enum:
|
|
6818
|
-
- null
|
|
6641
|
+
spaceId:
|
|
6642
|
+
type: string
|
|
6643
|
+
description: ID of the space
|
|
6644
|
+
sectionId:
|
|
6645
|
+
type: string
|
|
6646
|
+
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.
|
|
6647
|
+
required:
|
|
6648
|
+
- spaceId
|
|
6819
6649
|
responses:
|
|
6820
|
-
"
|
|
6821
|
-
description:
|
|
6650
|
+
"201":
|
|
6651
|
+
description: Space added to the site
|
|
6652
|
+
headers:
|
|
6653
|
+
Location:
|
|
6654
|
+
description: API URL for the newly created site-space relationship
|
|
6655
|
+
schema:
|
|
6656
|
+
type: string
|
|
6822
6657
|
content:
|
|
6823
6658
|
application/json:
|
|
6824
6659
|
schema:
|
|
6825
6660
|
$ref: "#/components/schemas/SiteSpace"
|
|
6826
6661
|
default:
|
|
6827
6662
|
$ref: "#/components/responses/UnexpectedError"
|
|
6828
|
-
|
|
6829
|
-
operationId:
|
|
6830
|
-
summary:
|
|
6663
|
+
get:
|
|
6664
|
+
operationId: listSiteSpaces
|
|
6665
|
+
summary: List all the site spaces under a site in an organization
|
|
6831
6666
|
tags:
|
|
6832
6667
|
- sites
|
|
6668
|
+
- critical
|
|
6833
6669
|
security:
|
|
6834
6670
|
- user: []
|
|
6835
6671
|
parameters:
|
|
6836
6672
|
- $ref: "#/components/parameters/organizationId"
|
|
6837
6673
|
- $ref: "#/components/parameters/siteId"
|
|
6838
|
-
- $ref: "#/components/parameters/
|
|
6674
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6675
|
+
- $ref: "#/components/parameters/listPage"
|
|
6676
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6677
|
+
- name: default
|
|
6678
|
+
in: query
|
|
6679
|
+
description: If true, only the default site space will be returned. If false, only the non-default site spaces are returned. If undefined, all site spaces are returned.
|
|
6680
|
+
schema:
|
|
6681
|
+
type: boolean
|
|
6839
6682
|
responses:
|
|
6840
|
-
"
|
|
6841
|
-
description:
|
|
6683
|
+
"200":
|
|
6684
|
+
description: OK
|
|
6685
|
+
content:
|
|
6686
|
+
application/json:
|
|
6687
|
+
schema:
|
|
6688
|
+
allOf:
|
|
6689
|
+
- $ref: "#/components/schemas/List"
|
|
6690
|
+
- type: object
|
|
6691
|
+
required:
|
|
6692
|
+
- items
|
|
6693
|
+
properties:
|
|
6694
|
+
items:
|
|
6695
|
+
type: array
|
|
6696
|
+
items:
|
|
6697
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
6842
6698
|
default:
|
|
6843
6699
|
$ref: "#/components/responses/UnexpectedError"
|
|
6844
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
6700
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups":
|
|
6845
6701
|
get:
|
|
6846
|
-
operationId:
|
|
6847
|
-
summary:
|
|
6702
|
+
operationId: listSiteSectionGroups
|
|
6703
|
+
summary: List all the section groups under a site in an organization
|
|
6848
6704
|
tags:
|
|
6849
6705
|
- sites
|
|
6850
6706
|
security:
|
|
@@ -6852,22 +6708,29 @@ paths:
|
|
|
6852
6708
|
parameters:
|
|
6853
6709
|
- $ref: "#/components/parameters/organizationId"
|
|
6854
6710
|
- $ref: "#/components/parameters/siteId"
|
|
6855
|
-
- $ref: "#/components/parameters/
|
|
6856
|
-
- $ref: "#/components/parameters/
|
|
6711
|
+
- $ref: "#/components/parameters/listPage"
|
|
6712
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6857
6713
|
responses:
|
|
6858
6714
|
"200":
|
|
6859
6715
|
description: OK
|
|
6860
6716
|
content:
|
|
6861
6717
|
application/json:
|
|
6862
6718
|
schema:
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6719
|
+
allOf:
|
|
6720
|
+
- $ref: "#/components/schemas/List"
|
|
6721
|
+
- type: object
|
|
6722
|
+
required:
|
|
6723
|
+
- items
|
|
6724
|
+
properties:
|
|
6725
|
+
items:
|
|
6726
|
+
type: array
|
|
6727
|
+
items:
|
|
6728
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
6866
6729
|
default:
|
|
6867
6730
|
$ref: "#/components/responses/UnexpectedError"
|
|
6868
|
-
|
|
6869
|
-
operationId:
|
|
6870
|
-
summary:
|
|
6731
|
+
post:
|
|
6732
|
+
operationId: addSectionGroupToSite
|
|
6733
|
+
summary: Add a section group to a site in an organization
|
|
6871
6734
|
tags:
|
|
6872
6735
|
- sites
|
|
6873
6736
|
security:
|
|
@@ -6875,62 +6738,594 @@ paths:
|
|
|
6875
6738
|
parameters:
|
|
6876
6739
|
- $ref: "#/components/parameters/organizationId"
|
|
6877
6740
|
- $ref: "#/components/parameters/siteId"
|
|
6878
|
-
- $ref: "#/components/parameters/siteSpaceId"
|
|
6879
6741
|
requestBody:
|
|
6880
6742
|
required: true
|
|
6881
6743
|
content:
|
|
6882
6744
|
application/json:
|
|
6883
6745
|
schema:
|
|
6884
|
-
description: The settings that overrides the site customization settings.
|
|
6885
6746
|
type: object
|
|
6886
6747
|
properties:
|
|
6887
6748
|
title:
|
|
6888
|
-
|
|
6749
|
+
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
6750
|
+
icon:
|
|
6889
6751
|
oneOf:
|
|
6890
|
-
- $ref: "#/components/schemas/
|
|
6752
|
+
- $ref: "#/components/schemas/Icon"
|
|
6891
6753
|
- type: string
|
|
6892
6754
|
nullable: true
|
|
6893
6755
|
enum:
|
|
6894
6756
|
- null
|
|
6895
|
-
|
|
6896
|
-
type:
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6757
|
+
sections:
|
|
6758
|
+
type: array
|
|
6759
|
+
items:
|
|
6760
|
+
type: string
|
|
6761
|
+
description: IDs of the sections to be added to the section group
|
|
6762
|
+
required:
|
|
6763
|
+
- title
|
|
6764
|
+
responses:
|
|
6765
|
+
"201":
|
|
6766
|
+
description: Section group added to the site
|
|
6767
|
+
headers:
|
|
6768
|
+
Location:
|
|
6769
|
+
description: API URL for the newly created site-section-group relationship
|
|
6770
|
+
schema:
|
|
6771
|
+
type: string
|
|
6772
|
+
content:
|
|
6773
|
+
application/json:
|
|
6774
|
+
schema:
|
|
6775
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
6776
|
+
default:
|
|
6777
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6778
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}":
|
|
6779
|
+
patch:
|
|
6780
|
+
operationId: updateSiteSectionGroupById
|
|
6781
|
+
summary: Update a section group on a site in an organization
|
|
6782
|
+
tags:
|
|
6783
|
+
- sites
|
|
6784
|
+
security:
|
|
6785
|
+
- user: []
|
|
6786
|
+
parameters:
|
|
6787
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6788
|
+
- $ref: "#/components/parameters/siteId"
|
|
6789
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
6790
|
+
requestBody:
|
|
6791
|
+
required: true
|
|
6792
|
+
content:
|
|
6793
|
+
application/json:
|
|
6794
|
+
schema:
|
|
6795
|
+
type: object
|
|
6796
|
+
properties:
|
|
6797
|
+
title:
|
|
6798
|
+
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
6799
|
+
icon:
|
|
6800
|
+
oneOf:
|
|
6801
|
+
- $ref: "#/components/schemas/Icon"
|
|
6802
|
+
- type: string
|
|
6803
|
+
nullable: true
|
|
6804
|
+
enum:
|
|
6805
|
+
- null
|
|
6806
|
+
responses:
|
|
6807
|
+
"200":
|
|
6808
|
+
description: OK
|
|
6809
|
+
content:
|
|
6810
|
+
application/json:
|
|
6811
|
+
schema:
|
|
6812
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
6813
|
+
default:
|
|
6814
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6815
|
+
delete:
|
|
6816
|
+
operationId: deleteSiteSectionGroupById
|
|
6817
|
+
summary: Delete a section group on a site in an organization
|
|
6818
|
+
tags:
|
|
6819
|
+
- sites
|
|
6820
|
+
security:
|
|
6821
|
+
- user: []
|
|
6822
|
+
parameters:
|
|
6823
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6824
|
+
- $ref: "#/components/parameters/siteId"
|
|
6825
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
6826
|
+
responses:
|
|
6827
|
+
"205":
|
|
6828
|
+
description: Site section group has been deleted
|
|
6829
|
+
default:
|
|
6830
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6831
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections":
|
|
6832
|
+
post:
|
|
6833
|
+
operationId: addSectionToGroup
|
|
6834
|
+
summary: Add a section to a section group
|
|
6835
|
+
tags:
|
|
6836
|
+
- sites
|
|
6837
|
+
security:
|
|
6838
|
+
- user: []
|
|
6839
|
+
parameters:
|
|
6840
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6841
|
+
- $ref: "#/components/parameters/siteId"
|
|
6842
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
6843
|
+
requestBody:
|
|
6844
|
+
required: true
|
|
6845
|
+
content:
|
|
6846
|
+
application/json:
|
|
6847
|
+
schema:
|
|
6848
|
+
type: object
|
|
6849
|
+
properties:
|
|
6850
|
+
sectionId:
|
|
6851
|
+
type: string
|
|
6852
|
+
description: ID of the section to add to the section group
|
|
6853
|
+
required:
|
|
6854
|
+
- sectionId
|
|
6855
|
+
responses:
|
|
6856
|
+
"201":
|
|
6857
|
+
description: Section added to the section group
|
|
6858
|
+
headers:
|
|
6859
|
+
Location:
|
|
6860
|
+
description: API URL for the newly created site-section-group relationship
|
|
6861
|
+
schema:
|
|
6862
|
+
type: string
|
|
6863
|
+
content:
|
|
6864
|
+
application/json:
|
|
6865
|
+
schema:
|
|
6866
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
6867
|
+
default:
|
|
6868
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6869
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}":
|
|
6870
|
+
delete:
|
|
6871
|
+
operationId: removeSectionFromGroup
|
|
6872
|
+
summary: Remove a section from a section group
|
|
6873
|
+
tags:
|
|
6874
|
+
- sites
|
|
6875
|
+
security:
|
|
6876
|
+
- user: []
|
|
6877
|
+
parameters:
|
|
6878
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6879
|
+
- $ref: "#/components/parameters/siteId"
|
|
6880
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
6881
|
+
- $ref: "#/components/parameters/siteSectionId"
|
|
6882
|
+
responses:
|
|
6883
|
+
"205":
|
|
6884
|
+
description: Section has been removed from the section group
|
|
6885
|
+
default:
|
|
6886
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6887
|
+
"/orgs/{organizationId}/sites/{siteId}/sections":
|
|
6888
|
+
post:
|
|
6889
|
+
operationId: addSectionToSite
|
|
6890
|
+
summary: Add a section to a site in an organization
|
|
6891
|
+
tags:
|
|
6892
|
+
- sites
|
|
6893
|
+
security:
|
|
6894
|
+
- user: []
|
|
6895
|
+
parameters:
|
|
6896
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6897
|
+
- $ref: "#/components/parameters/siteId"
|
|
6898
|
+
requestBody:
|
|
6899
|
+
required: true
|
|
6900
|
+
content:
|
|
6901
|
+
application/json:
|
|
6902
|
+
schema:
|
|
6903
|
+
type: object
|
|
6904
|
+
properties:
|
|
6905
|
+
spaceId:
|
|
6906
|
+
type: string
|
|
6907
|
+
description: ID of the space to be added to the section as a site space variant
|
|
6908
|
+
title:
|
|
6909
|
+
type: string
|
|
6910
|
+
description: Title of the section
|
|
6911
|
+
maxLength: 64
|
|
6912
|
+
required:
|
|
6913
|
+
- spaceId
|
|
6914
|
+
responses:
|
|
6915
|
+
"201":
|
|
6916
|
+
description: Section added to the site
|
|
6917
|
+
headers:
|
|
6918
|
+
Location:
|
|
6919
|
+
description: API URL for the newly created site-section relationship
|
|
6920
|
+
schema:
|
|
6921
|
+
type: string
|
|
6922
|
+
content:
|
|
6923
|
+
application/json:
|
|
6924
|
+
schema:
|
|
6925
|
+
$ref: "#/components/schemas/SiteSection"
|
|
6926
|
+
default:
|
|
6927
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6928
|
+
get:
|
|
6929
|
+
operationId: listSiteSections
|
|
6930
|
+
summary: List all the site sections under a site in an organization
|
|
6931
|
+
tags:
|
|
6932
|
+
- sites
|
|
6933
|
+
security:
|
|
6934
|
+
- user: []
|
|
6935
|
+
parameters:
|
|
6936
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6937
|
+
- $ref: "#/components/parameters/siteId"
|
|
6938
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6939
|
+
- $ref: "#/components/parameters/listPage"
|
|
6940
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6941
|
+
responses:
|
|
6942
|
+
"200":
|
|
6943
|
+
description: OK
|
|
6944
|
+
content:
|
|
6945
|
+
application/json:
|
|
6946
|
+
schema:
|
|
6947
|
+
allOf:
|
|
6948
|
+
- $ref: "#/components/schemas/List"
|
|
6949
|
+
- type: object
|
|
6950
|
+
required:
|
|
6951
|
+
- items
|
|
6952
|
+
properties:
|
|
6953
|
+
items:
|
|
6954
|
+
type: array
|
|
6955
|
+
items:
|
|
6956
|
+
$ref: "#/components/schemas/SiteSection"
|
|
6957
|
+
default:
|
|
6958
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6959
|
+
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}":
|
|
6960
|
+
patch:
|
|
6961
|
+
operationId: updateSiteSectionById
|
|
6962
|
+
summary: Update a section on a site in an organization
|
|
6963
|
+
tags:
|
|
6964
|
+
- sites
|
|
6965
|
+
security:
|
|
6966
|
+
- user: []
|
|
6967
|
+
parameters:
|
|
6968
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6969
|
+
- $ref: "#/components/parameters/siteId"
|
|
6970
|
+
- $ref: "#/components/parameters/siteSectionId"
|
|
6971
|
+
requestBody:
|
|
6972
|
+
required: true
|
|
6973
|
+
content:
|
|
6974
|
+
application/json:
|
|
6975
|
+
schema:
|
|
6976
|
+
type: object
|
|
6977
|
+
properties:
|
|
6978
|
+
title:
|
|
6979
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
6980
|
+
path:
|
|
6981
|
+
$ref: "#/components/schemas/SiteSectionPath"
|
|
6982
|
+
defaultSiteSpace:
|
|
6983
|
+
type: string
|
|
6984
|
+
description: ID of the site-space to be used as the default in this section.
|
|
6985
|
+
condition:
|
|
6986
|
+
description: Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
|
|
6987
|
+
oneOf:
|
|
6988
|
+
- $ref: "#/components/schemas/Condition"
|
|
6989
|
+
- type: string
|
|
6990
|
+
nullable: true
|
|
6991
|
+
enum:
|
|
6992
|
+
- null
|
|
6993
|
+
icon:
|
|
6994
|
+
oneOf:
|
|
6995
|
+
- $ref: "#/components/schemas/Icon"
|
|
6996
|
+
- type: string
|
|
6997
|
+
nullable: true
|
|
6998
|
+
enum:
|
|
6999
|
+
- null
|
|
7000
|
+
description:
|
|
7001
|
+
oneOf:
|
|
7002
|
+
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
7003
|
+
- type: string
|
|
7004
|
+
nullable: true
|
|
7005
|
+
enum:
|
|
7006
|
+
- null
|
|
7007
|
+
responses:
|
|
7008
|
+
"200":
|
|
7009
|
+
description: OK
|
|
7010
|
+
content:
|
|
7011
|
+
application/json:
|
|
7012
|
+
schema:
|
|
7013
|
+
$ref: "#/components/schemas/SiteSection"
|
|
7014
|
+
default:
|
|
7015
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7016
|
+
delete:
|
|
7017
|
+
operationId: deleteSiteSectionById
|
|
7018
|
+
summary: Delete a section on a site in an organization
|
|
7019
|
+
tags:
|
|
7020
|
+
- sites
|
|
7021
|
+
security:
|
|
7022
|
+
- user: []
|
|
7023
|
+
parameters:
|
|
7024
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7025
|
+
- $ref: "#/components/parameters/siteId"
|
|
7026
|
+
- $ref: "#/components/parameters/siteSectionId"
|
|
7027
|
+
responses:
|
|
7028
|
+
"205":
|
|
7029
|
+
description: Site section has been deleted
|
|
7030
|
+
default:
|
|
7031
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7032
|
+
"/orgs/{organizationId}/sites/{siteId}/search":
|
|
7033
|
+
post:
|
|
7034
|
+
operationId: searchSiteContent
|
|
7035
|
+
summary: Search content in a site
|
|
7036
|
+
tags:
|
|
7037
|
+
- sites
|
|
7038
|
+
security:
|
|
7039
|
+
- user: []
|
|
7040
|
+
parameters:
|
|
7041
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7042
|
+
- $ref: "#/components/parameters/siteId"
|
|
7043
|
+
- $ref: "#/components/parameters/listPage"
|
|
7044
|
+
- $ref: "#/components/parameters/listLimit"
|
|
7045
|
+
requestBody:
|
|
7046
|
+
required: true
|
|
7047
|
+
content:
|
|
7048
|
+
application/json:
|
|
7049
|
+
schema:
|
|
7050
|
+
allOf:
|
|
7051
|
+
- type: object
|
|
7052
|
+
required:
|
|
7053
|
+
- query
|
|
7054
|
+
properties:
|
|
7055
|
+
query:
|
|
7056
|
+
type: string
|
|
7057
|
+
maxLength: 512
|
|
7058
|
+
- oneOf:
|
|
7059
|
+
- type: object
|
|
7060
|
+
required:
|
|
7061
|
+
- scope
|
|
7062
|
+
properties:
|
|
7063
|
+
scope:
|
|
7064
|
+
description: Define the scope of the search.
|
|
7065
|
+
$ref: "#/components/schemas/SiteSearchScope"
|
|
7066
|
+
- type: object
|
|
7067
|
+
properties:
|
|
7068
|
+
mode:
|
|
7069
|
+
description: Search only in the site spaces provided. Deprecated, use scope instead.
|
|
7070
|
+
deprecated: true
|
|
7071
|
+
type: string
|
|
7072
|
+
enum:
|
|
7073
|
+
- specific
|
|
7074
|
+
siteSpaceIds:
|
|
7075
|
+
type: array
|
|
7076
|
+
minLength: 1
|
|
7077
|
+
items:
|
|
7078
|
+
type: string
|
|
7079
|
+
required:
|
|
7080
|
+
- siteSpaceIds
|
|
7081
|
+
- type: object
|
|
7082
|
+
properties:
|
|
7083
|
+
mode:
|
|
7084
|
+
description: Search in the current site space and all section's defaults. Deprecated, use scope instead.
|
|
7085
|
+
deprecated: true
|
|
7086
|
+
type: string
|
|
7087
|
+
enum:
|
|
7088
|
+
- current
|
|
7089
|
+
siteSpaceId:
|
|
7090
|
+
type: string
|
|
7091
|
+
required:
|
|
7092
|
+
- mode
|
|
7093
|
+
- siteSpaceId
|
|
7094
|
+
- type: object
|
|
7095
|
+
properties:
|
|
7096
|
+
mode:
|
|
7097
|
+
description: Search in all site-spaces. Deprecated, use scope instead.
|
|
7098
|
+
deprecated: true
|
|
7099
|
+
type: string
|
|
7100
|
+
enum:
|
|
7101
|
+
- all
|
|
7102
|
+
required:
|
|
7103
|
+
- mode
|
|
7104
|
+
responses:
|
|
7105
|
+
"200":
|
|
7106
|
+
description: OK
|
|
7107
|
+
content:
|
|
7108
|
+
application/json:
|
|
7109
|
+
schema:
|
|
7110
|
+
allOf:
|
|
7111
|
+
- $ref: "#/components/schemas/List"
|
|
7112
|
+
- type: object
|
|
7113
|
+
required:
|
|
7114
|
+
- items
|
|
7115
|
+
properties:
|
|
7116
|
+
items:
|
|
7117
|
+
type: array
|
|
7118
|
+
items:
|
|
7119
|
+
$ref: "#/components/schemas/SearchSpaceResult"
|
|
7120
|
+
default:
|
|
7121
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7122
|
+
"/orgs/{organizationId}/sites/{siteId}/ask":
|
|
7123
|
+
post:
|
|
7124
|
+
operationId: streamAskInSite
|
|
7125
|
+
summary: Ask a question in a site. The response is streamed.
|
|
7126
|
+
tags:
|
|
7127
|
+
- search
|
|
7128
|
+
security:
|
|
7129
|
+
- user: []
|
|
7130
|
+
parameters:
|
|
7131
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7132
|
+
- $ref: "#/components/parameters/siteId"
|
|
7133
|
+
- $ref: "#/components/parameters/documentFormat"
|
|
7134
|
+
requestBody:
|
|
7135
|
+
required: true
|
|
7136
|
+
content:
|
|
7137
|
+
application/json:
|
|
7138
|
+
schema:
|
|
7139
|
+
type: object
|
|
7140
|
+
required:
|
|
7141
|
+
- question
|
|
7142
|
+
- scope
|
|
7143
|
+
properties:
|
|
7144
|
+
question:
|
|
7145
|
+
type: string
|
|
7146
|
+
maxLength: 512
|
|
7147
|
+
context:
|
|
7148
|
+
type: object
|
|
7149
|
+
description: |
|
|
7150
|
+
You may optionally provide additional information about the context of the question. This doesn't affect the scope of the search, but GitBook may use this information to provide a better answer. Generally speaking, you should provide as much context as possible.
|
|
7151
|
+
properties:
|
|
7152
|
+
siteSpaceId:
|
|
7153
|
+
type: string
|
|
7154
|
+
scope:
|
|
7155
|
+
$ref: "#/components/schemas/SiteSearchScope"
|
|
7156
|
+
responses:
|
|
7157
|
+
"200":
|
|
7158
|
+
description: OK
|
|
7159
|
+
content:
|
|
7160
|
+
text/event-stream:
|
|
7161
|
+
schema:
|
|
7162
|
+
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
7163
|
+
default:
|
|
7164
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7165
|
+
"/orgs/{organizationId}/sites/{siteId}/ask/questions":
|
|
7166
|
+
get:
|
|
7167
|
+
operationId: streamRecommendedQuestionsInSite
|
|
7168
|
+
summary: Stream a list of questions that can be asked in a site.
|
|
7169
|
+
tags:
|
|
7170
|
+
- search
|
|
7171
|
+
security:
|
|
7172
|
+
- user: []
|
|
7173
|
+
parameters:
|
|
7174
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7175
|
+
- $ref: "#/components/parameters/siteId"
|
|
7176
|
+
responses:
|
|
7177
|
+
"200":
|
|
7178
|
+
description: OK
|
|
7179
|
+
content:
|
|
7180
|
+
text/event-stream:
|
|
7181
|
+
schema:
|
|
7182
|
+
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
7183
|
+
default:
|
|
7184
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7185
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
|
|
7186
|
+
patch:
|
|
7187
|
+
operationId: updateSiteSpaceById
|
|
7188
|
+
summary: Update a space on a site in an organization
|
|
7189
|
+
tags:
|
|
7190
|
+
- sites
|
|
7191
|
+
security:
|
|
7192
|
+
- user: []
|
|
7193
|
+
parameters:
|
|
7194
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7195
|
+
- $ref: "#/components/parameters/siteId"
|
|
7196
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
7197
|
+
requestBody:
|
|
7198
|
+
required: true
|
|
7199
|
+
content:
|
|
7200
|
+
application/json:
|
|
7201
|
+
schema:
|
|
7202
|
+
type: object
|
|
7203
|
+
properties:
|
|
7204
|
+
path:
|
|
7205
|
+
$ref: "#/components/schemas/SiteSpacePath"
|
|
7206
|
+
condition:
|
|
7207
|
+
description: Conditional expression used to evaluate whether the site space should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
|
|
7208
|
+
oneOf:
|
|
7209
|
+
- $ref: "#/components/schemas/Condition"
|
|
7210
|
+
- type: string
|
|
7211
|
+
nullable: true
|
|
7212
|
+
enum:
|
|
7213
|
+
- null
|
|
7214
|
+
responses:
|
|
7215
|
+
"200":
|
|
7216
|
+
description: OK
|
|
7217
|
+
content:
|
|
7218
|
+
application/json:
|
|
7219
|
+
schema:
|
|
7220
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
7221
|
+
default:
|
|
7222
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7223
|
+
delete:
|
|
7224
|
+
operationId: deleteSiteSpaceById
|
|
7225
|
+
summary: Delete a space on a site in an organization
|
|
7226
|
+
tags:
|
|
7227
|
+
- sites
|
|
7228
|
+
security:
|
|
7229
|
+
- user: []
|
|
7230
|
+
parameters:
|
|
7231
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7232
|
+
- $ref: "#/components/parameters/siteId"
|
|
7233
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
7234
|
+
responses:
|
|
7235
|
+
"205":
|
|
7236
|
+
description: Site space has been deleted
|
|
7237
|
+
default:
|
|
7238
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7239
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization":
|
|
7240
|
+
get:
|
|
7241
|
+
operationId: getSiteSpaceCustomizationById
|
|
7242
|
+
summary: Get the customization configuration for a site space.
|
|
7243
|
+
tags:
|
|
7244
|
+
- sites
|
|
7245
|
+
security:
|
|
7246
|
+
- user: []
|
|
7247
|
+
parameters:
|
|
7248
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7249
|
+
- $ref: "#/components/parameters/siteId"
|
|
7250
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
7251
|
+
- $ref: "#/components/parameters/siteCustomizationUnmasked"
|
|
7252
|
+
responses:
|
|
7253
|
+
"200":
|
|
7254
|
+
description: OK
|
|
7255
|
+
content:
|
|
7256
|
+
application/json:
|
|
7257
|
+
schema:
|
|
7258
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
7259
|
+
"400":
|
|
7260
|
+
$ref: "#/components/responses/BadRequestError"
|
|
7261
|
+
default:
|
|
7262
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7263
|
+
patch:
|
|
7264
|
+
operationId: overrideSiteSpaceCustomizationById
|
|
7265
|
+
summary: Override the customization configuration for a site space.
|
|
7266
|
+
tags:
|
|
7267
|
+
- sites
|
|
7268
|
+
security:
|
|
7269
|
+
- user: []
|
|
7270
|
+
parameters:
|
|
7271
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7272
|
+
- $ref: "#/components/parameters/siteId"
|
|
7273
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
7274
|
+
requestBody:
|
|
7275
|
+
required: true
|
|
7276
|
+
content:
|
|
7277
|
+
application/json:
|
|
7278
|
+
schema:
|
|
7279
|
+
description: The settings that overrides the site customization settings.
|
|
7280
|
+
type: object
|
|
7281
|
+
properties:
|
|
7282
|
+
title:
|
|
7283
|
+
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.
|
|
7284
|
+
oneOf:
|
|
7285
|
+
- $ref: "#/components/schemas/SiteTitle"
|
|
7286
|
+
- type: string
|
|
7287
|
+
nullable: true
|
|
7288
|
+
enum:
|
|
7289
|
+
- null
|
|
7290
|
+
styling:
|
|
7291
|
+
type: object
|
|
7292
|
+
properties:
|
|
7293
|
+
theme:
|
|
7294
|
+
description: The site theme. Set to null to reset the override.
|
|
7295
|
+
oneOf:
|
|
7296
|
+
- $ref: "#/components/schemas/CustomizationTheme"
|
|
7297
|
+
- type: string
|
|
7298
|
+
nullable: true
|
|
7299
|
+
enum:
|
|
7300
|
+
- null
|
|
7301
|
+
primaryColor:
|
|
7302
|
+
description: The primary color used for links and UI text. Set to null to reset the override.
|
|
7303
|
+
oneOf:
|
|
7304
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7305
|
+
- type: string
|
|
7306
|
+
nullable: true
|
|
7307
|
+
enum:
|
|
7308
|
+
- null
|
|
7309
|
+
infoColor:
|
|
7310
|
+
description: Used for informational messages and neutral alerts. Set to null to reset the override.
|
|
7311
|
+
oneOf:
|
|
7312
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7313
|
+
- type: string
|
|
7314
|
+
nullable: true
|
|
7315
|
+
enum:
|
|
7316
|
+
- null
|
|
7317
|
+
successColor:
|
|
7318
|
+
description: Used for showing positive actions or achievements. Set to null to reset the override.
|
|
7319
|
+
oneOf:
|
|
7320
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7321
|
+
- type: string
|
|
7322
|
+
nullable: true
|
|
7323
|
+
enum:
|
|
7324
|
+
- null
|
|
7325
|
+
warningColor:
|
|
7326
|
+
description: Used for showing important information or non-critical warnings. Set to null to reset the override.
|
|
7327
|
+
oneOf:
|
|
7328
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
6934
7329
|
- type: string
|
|
6935
7330
|
nullable: true
|
|
6936
7331
|
enum:
|
|
@@ -7193,266 +7588,30 @@ paths:
|
|
|
7193
7588
|
enum:
|
|
7194
7589
|
- null
|
|
7195
7590
|
socialPreview:
|
|
7196
|
-
type: object
|
|
7197
|
-
properties:
|
|
7198
|
-
url:
|
|
7199
|
-
description: The URL for the social preview image. Set to null to reset the override.
|
|
7200
|
-
oneOf:
|
|
7201
|
-
- $ref: "#/components/schemas/URL"
|
|
7202
|
-
- type: string
|
|
7203
|
-
nullable: true
|
|
7204
|
-
enum:
|
|
7205
|
-
- null
|
|
7206
|
-
responses:
|
|
7207
|
-
"200":
|
|
7208
|
-
description: OK
|
|
7209
|
-
content:
|
|
7210
|
-
application/json:
|
|
7211
|
-
schema:
|
|
7212
|
-
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
7213
|
-
"400":
|
|
7214
|
-
$ref: "#/components/responses/BadRequestError"
|
|
7215
|
-
default:
|
|
7216
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7217
|
-
delete:
|
|
7218
|
-
operationId: deleteSiteSpaceCustomizationById
|
|
7219
|
-
summary: Removes the customization configuration for a site space.
|
|
7220
|
-
tags:
|
|
7221
|
-
- sites
|
|
7222
|
-
security:
|
|
7223
|
-
- user: []
|
|
7224
|
-
parameters:
|
|
7225
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7226
|
-
- $ref: "#/components/parameters/siteId"
|
|
7227
|
-
- $ref: "#/components/parameters/siteSpaceId"
|
|
7228
|
-
responses:
|
|
7229
|
-
"205":
|
|
7230
|
-
description: Site space customization removed
|
|
7231
|
-
"400":
|
|
7232
|
-
$ref: "#/components/responses/BadRequestError"
|
|
7233
|
-
default:
|
|
7234
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7235
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move":
|
|
7236
|
-
post:
|
|
7237
|
-
operationId: moveSiteSectionGroup
|
|
7238
|
-
summary: Move a site section group to a new position in the site.
|
|
7239
|
-
tags:
|
|
7240
|
-
- sites
|
|
7241
|
-
security:
|
|
7242
|
-
- user: []
|
|
7243
|
-
parameters:
|
|
7244
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7245
|
-
- $ref: "#/components/parameters/siteId"
|
|
7246
|
-
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
7247
|
-
requestBody:
|
|
7248
|
-
content:
|
|
7249
|
-
application/json:
|
|
7250
|
-
schema:
|
|
7251
|
-
type: object
|
|
7252
|
-
properties:
|
|
7253
|
-
position:
|
|
7254
|
-
description: The position where to move the site section group. When not provided the site section group is moved at the end of the site.
|
|
7255
|
-
$ref: "#/components/schemas/SiteSectionGroupMovePosition"
|
|
7256
|
-
responses:
|
|
7257
|
-
"200":
|
|
7258
|
-
description: Site section group moved
|
|
7259
|
-
content:
|
|
7260
|
-
application/json:
|
|
7261
|
-
schema:
|
|
7262
|
-
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7263
|
-
"400":
|
|
7264
|
-
description: Invalid move site section group position provided
|
|
7265
|
-
$ref: "#/components/responses/BadRequestError"
|
|
7266
|
-
"404":
|
|
7267
|
-
description: No matching site section group found
|
|
7268
|
-
$ref: "#/components/responses/NotFoundError"
|
|
7269
|
-
default:
|
|
7270
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7271
|
-
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move":
|
|
7272
|
-
post:
|
|
7273
|
-
operationId: moveSiteSection
|
|
7274
|
-
summary: Move a site section to a new position in the site.
|
|
7275
|
-
tags:
|
|
7276
|
-
- sites
|
|
7277
|
-
security:
|
|
7278
|
-
- user: []
|
|
7279
|
-
parameters:
|
|
7280
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7281
|
-
- $ref: "#/components/parameters/siteId"
|
|
7282
|
-
- $ref: "#/components/parameters/siteSectionId"
|
|
7283
|
-
requestBody:
|
|
7284
|
-
content:
|
|
7285
|
-
application/json:
|
|
7286
|
-
schema:
|
|
7287
|
-
type: object
|
|
7288
|
-
properties:
|
|
7289
|
-
position:
|
|
7290
|
-
description: The position where to move the site section. When not provided the site section is moved at the end of the site.
|
|
7291
|
-
$ref: "#/components/schemas/SiteSectionMovePosition"
|
|
7292
|
-
responses:
|
|
7293
|
-
"200":
|
|
7294
|
-
description: Site section moved
|
|
7295
|
-
content:
|
|
7296
|
-
application/json:
|
|
7297
|
-
schema:
|
|
7298
|
-
$ref: "#/components/schemas/SiteSection"
|
|
7299
|
-
"400":
|
|
7300
|
-
description: Invalid move site section position provided
|
|
7301
|
-
$ref: "#/components/responses/BadRequestError"
|
|
7302
|
-
"404":
|
|
7303
|
-
description: No matching Site section found
|
|
7304
|
-
$ref: "#/components/responses/NotFoundError"
|
|
7305
|
-
default:
|
|
7306
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7307
|
-
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move":
|
|
7308
|
-
post:
|
|
7309
|
-
operationId: moveSiteSpace
|
|
7310
|
-
summary: Move a site space to a new position in the site.
|
|
7311
|
-
tags:
|
|
7312
|
-
- sites
|
|
7313
|
-
security:
|
|
7314
|
-
- user: []
|
|
7315
|
-
parameters:
|
|
7316
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7317
|
-
- $ref: "#/components/parameters/siteId"
|
|
7318
|
-
- $ref: "#/components/parameters/siteSpaceId"
|
|
7319
|
-
requestBody:
|
|
7320
|
-
content:
|
|
7321
|
-
application/json:
|
|
7322
|
-
schema:
|
|
7323
|
-
type: object
|
|
7324
|
-
properties:
|
|
7325
|
-
position:
|
|
7326
|
-
description: The position where to move the site space. When not provided the site space is moved at the end of the site.
|
|
7327
|
-
$ref: "#/components/schemas/SiteSpaceMovePosition"
|
|
7591
|
+
type: object
|
|
7592
|
+
properties:
|
|
7593
|
+
url:
|
|
7594
|
+
description: The URL for the social preview image. Set to null to reset the override.
|
|
7595
|
+
oneOf:
|
|
7596
|
+
- $ref: "#/components/schemas/URL"
|
|
7597
|
+
- type: string
|
|
7598
|
+
nullable: true
|
|
7599
|
+
enum:
|
|
7600
|
+
- null
|
|
7328
7601
|
responses:
|
|
7329
7602
|
"200":
|
|
7330
|
-
description:
|
|
7603
|
+
description: OK
|
|
7331
7604
|
content:
|
|
7332
7605
|
application/json:
|
|
7333
7606
|
schema:
|
|
7334
|
-
$ref: "#/components/schemas/
|
|
7607
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
7335
7608
|
"400":
|
|
7336
|
-
description: Invalid move site space position provided
|
|
7337
7609
|
$ref: "#/components/responses/BadRequestError"
|
|
7338
|
-
"404":
|
|
7339
|
-
description: No matching Site space found
|
|
7340
|
-
$ref: "#/components/responses/NotFoundError"
|
|
7341
|
-
default:
|
|
7342
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7343
|
-
"/orgs/{organizationId}/sites/{siteId}/permissions/aggregate":
|
|
7344
|
-
get:
|
|
7345
|
-
operationId: listPermissionsAggregateInSite
|
|
7346
|
-
summary: List permissions for all users of a site.
|
|
7347
|
-
tags:
|
|
7348
|
-
- permissions
|
|
7349
|
-
- sites
|
|
7350
|
-
security:
|
|
7351
|
-
- user: []
|
|
7352
|
-
parameters:
|
|
7353
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7354
|
-
- $ref: "#/components/parameters/siteId"
|
|
7355
|
-
- $ref: "#/components/parameters/listPage"
|
|
7356
|
-
- $ref: "#/components/parameters/listLimit"
|
|
7357
|
-
responses:
|
|
7358
|
-
"200":
|
|
7359
|
-
description: Listing of users who can access the site.
|
|
7360
|
-
content:
|
|
7361
|
-
application/json:
|
|
7362
|
-
schema:
|
|
7363
|
-
allOf:
|
|
7364
|
-
- $ref: "#/components/schemas/List"
|
|
7365
|
-
- type: object
|
|
7366
|
-
required:
|
|
7367
|
-
- items
|
|
7368
|
-
properties:
|
|
7369
|
-
items:
|
|
7370
|
-
type: array
|
|
7371
|
-
items:
|
|
7372
|
-
$ref: "#/components/schemas/UserSitePermission"
|
|
7373
|
-
default:
|
|
7374
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7375
|
-
"/orgs/{organizationId}/sites/{siteId}/insights/events":
|
|
7376
|
-
post:
|
|
7377
|
-
operationId: trackEventsInSiteById
|
|
7378
|
-
summary: Track events in a site.
|
|
7379
|
-
description: Track events in a site.
|
|
7380
|
-
tags:
|
|
7381
|
-
- sites
|
|
7382
|
-
parameters:
|
|
7383
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7384
|
-
- $ref: "#/components/parameters/siteId"
|
|
7385
|
-
responses:
|
|
7386
|
-
"204":
|
|
7387
|
-
description: Events have been tracked.
|
|
7388
7610
|
default:
|
|
7389
7611
|
$ref: "#/components/responses/UnexpectedError"
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
application/json:
|
|
7394
|
-
schema:
|
|
7395
|
-
type: object
|
|
7396
|
-
properties:
|
|
7397
|
-
events:
|
|
7398
|
-
type: array
|
|
7399
|
-
items:
|
|
7400
|
-
$ref: "#/components/schemas/SiteInsightsEvent"
|
|
7401
|
-
required:
|
|
7402
|
-
- events
|
|
7403
|
-
"/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate":
|
|
7404
|
-
post:
|
|
7405
|
-
operationId: aggregateSiteEvents
|
|
7406
|
-
summary: Query and aggregate events in a site.
|
|
7407
|
-
security:
|
|
7408
|
-
- user: []
|
|
7409
|
-
tags:
|
|
7410
|
-
- sites
|
|
7411
|
-
parameters:
|
|
7412
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7413
|
-
- $ref: "#/components/parameters/siteId"
|
|
7414
|
-
responses:
|
|
7415
|
-
"200":
|
|
7416
|
-
description: Aggregated events in the site.
|
|
7417
|
-
content:
|
|
7418
|
-
application/json:
|
|
7419
|
-
schema:
|
|
7420
|
-
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregationResult"
|
|
7421
|
-
requestBody:
|
|
7422
|
-
required: true
|
|
7423
|
-
content:
|
|
7424
|
-
application/json:
|
|
7425
|
-
schema:
|
|
7426
|
-
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregation"
|
|
7427
|
-
"/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments":
|
|
7428
|
-
get:
|
|
7429
|
-
operationId: listSiteVisitorSegments
|
|
7430
|
-
summary: List visitor segments in a site.
|
|
7431
|
-
tags:
|
|
7432
|
-
- sites
|
|
7433
|
-
parameters:
|
|
7434
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7435
|
-
- $ref: "#/components/parameters/siteId"
|
|
7436
|
-
responses:
|
|
7437
|
-
"200":
|
|
7438
|
-
description: List of visitor segments in the site.
|
|
7439
|
-
content:
|
|
7440
|
-
application/json:
|
|
7441
|
-
schema:
|
|
7442
|
-
allOf:
|
|
7443
|
-
- $ref: "#/components/schemas/List"
|
|
7444
|
-
- type: object
|
|
7445
|
-
required:
|
|
7446
|
-
- items
|
|
7447
|
-
properties:
|
|
7448
|
-
items:
|
|
7449
|
-
type: array
|
|
7450
|
-
items:
|
|
7451
|
-
$ref: "#/components/schemas/SiteInsightsVisitorSegment"
|
|
7452
|
-
"/orgs/{organizationId}/sites/{siteId}/ads":
|
|
7453
|
-
post:
|
|
7454
|
-
operationId: updateSiteAdsById
|
|
7455
|
-
summary: Enable, disable, or submit for review Ads on a site.
|
|
7612
|
+
delete:
|
|
7613
|
+
operationId: deleteSiteSpaceCustomizationById
|
|
7614
|
+
summary: Removes the customization configuration for a site space.
|
|
7456
7615
|
tags:
|
|
7457
7616
|
- sites
|
|
7458
7617
|
security:
|
|
@@ -7460,93 +7619,18 @@ paths:
|
|
|
7460
7619
|
parameters:
|
|
7461
7620
|
- $ref: "#/components/parameters/organizationId"
|
|
7462
7621
|
- $ref: "#/components/parameters/siteId"
|
|
7463
|
-
|
|
7464
|
-
required: false
|
|
7465
|
-
content:
|
|
7466
|
-
application/json:
|
|
7467
|
-
schema:
|
|
7468
|
-
type: object
|
|
7469
|
-
properties:
|
|
7470
|
-
status:
|
|
7471
|
-
type: string
|
|
7472
|
-
enum:
|
|
7473
|
-
- in-review
|
|
7474
|
-
- disabled
|
|
7475
|
-
topic:
|
|
7476
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
7622
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
7477
7623
|
responses:
|
|
7478
|
-
"
|
|
7479
|
-
description:
|
|
7624
|
+
"205":
|
|
7625
|
+
description: Site space customization removed
|
|
7626
|
+
"400":
|
|
7627
|
+
$ref: "#/components/responses/BadRequestError"
|
|
7480
7628
|
default:
|
|
7481
7629
|
$ref: "#/components/responses/UnexpectedError"
|
|
7482
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
7630
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move":
|
|
7483
7631
|
post:
|
|
7484
|
-
operationId:
|
|
7485
|
-
summary:
|
|
7486
|
-
tags:
|
|
7487
|
-
- sites
|
|
7488
|
-
security:
|
|
7489
|
-
- user: []
|
|
7490
|
-
parameters:
|
|
7491
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7492
|
-
- $ref: "#/components/parameters/siteId"
|
|
7493
|
-
requestBody:
|
|
7494
|
-
required: true
|
|
7495
|
-
content:
|
|
7496
|
-
application/json:
|
|
7497
|
-
schema:
|
|
7498
|
-
type: object
|
|
7499
|
-
properties:
|
|
7500
|
-
source:
|
|
7501
|
-
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
7502
|
-
destination:
|
|
7503
|
-
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
7504
|
-
required:
|
|
7505
|
-
- source
|
|
7506
|
-
- destination
|
|
7507
|
-
responses:
|
|
7508
|
-
"201":
|
|
7509
|
-
description: The redirect was created successfully.
|
|
7510
|
-
content:
|
|
7511
|
-
application/json:
|
|
7512
|
-
schema:
|
|
7513
|
-
$ref: "#/components/schemas/SiteRedirect"
|
|
7514
|
-
default:
|
|
7515
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7516
|
-
get:
|
|
7517
|
-
operationId: listSiteRedirects
|
|
7518
|
-
summary: List the redirects configured for a site.
|
|
7519
|
-
tags:
|
|
7520
|
-
- sites
|
|
7521
|
-
security:
|
|
7522
|
-
- user: []
|
|
7523
|
-
parameters:
|
|
7524
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7525
|
-
- $ref: "#/components/parameters/siteId"
|
|
7526
|
-
- $ref: "#/components/parameters/listPage"
|
|
7527
|
-
- $ref: "#/components/parameters/listLimit"
|
|
7528
|
-
responses:
|
|
7529
|
-
"200":
|
|
7530
|
-
description: The list of redirects for the site.
|
|
7531
|
-
content:
|
|
7532
|
-
application/json:
|
|
7533
|
-
schema:
|
|
7534
|
-
allOf:
|
|
7535
|
-
- $ref: "#/components/schemas/List"
|
|
7536
|
-
- type: object
|
|
7537
|
-
required:
|
|
7538
|
-
- items
|
|
7539
|
-
properties:
|
|
7540
|
-
items:
|
|
7541
|
-
type: array
|
|
7542
|
-
items:
|
|
7543
|
-
$ref: "#/components/schemas/SiteRedirect"
|
|
7544
|
-
default:
|
|
7545
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7546
|
-
"/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}":
|
|
7547
|
-
patch:
|
|
7548
|
-
operationId: updateSiteRedirectById
|
|
7549
|
-
summary: Update a redirect for a site
|
|
7632
|
+
operationId: moveSiteSectionGroup
|
|
7633
|
+
summary: Move a site section group to a new position in the site.
|
|
7550
7634
|
tags:
|
|
7551
7635
|
- sites
|
|
7552
7636
|
security:
|
|
@@ -7554,47 +7638,35 @@ paths:
|
|
|
7554
7638
|
parameters:
|
|
7555
7639
|
- $ref: "#/components/parameters/organizationId"
|
|
7556
7640
|
- $ref: "#/components/parameters/siteId"
|
|
7557
|
-
- $ref: "#/components/parameters/
|
|
7641
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
7558
7642
|
requestBody:
|
|
7559
|
-
required: true
|
|
7560
7643
|
content:
|
|
7561
7644
|
application/json:
|
|
7562
7645
|
schema:
|
|
7563
7646
|
type: object
|
|
7564
7647
|
properties:
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
7648
|
+
position:
|
|
7649
|
+
description: The position where to move the site section group. When not provided the site section group is moved at the end of the site.
|
|
7650
|
+
$ref: "#/components/schemas/SiteSectionGroupMovePosition"
|
|
7569
7651
|
responses:
|
|
7570
7652
|
"200":
|
|
7571
|
-
description:
|
|
7572
|
-
content:
|
|
7573
|
-
application/json:
|
|
7574
|
-
schema:
|
|
7575
|
-
$ref: "#/components/schemas/
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
- sites
|
|
7583
|
-
security:
|
|
7584
|
-
- user: []
|
|
7585
|
-
parameters:
|
|
7586
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7587
|
-
- $ref: "#/components/parameters/siteId"
|
|
7588
|
-
- $ref: "#/components/parameters/siteRedirectId"
|
|
7589
|
-
responses:
|
|
7590
|
-
"205":
|
|
7591
|
-
description: Site redirect deleted
|
|
7653
|
+
description: Site section group moved
|
|
7654
|
+
content:
|
|
7655
|
+
application/json:
|
|
7656
|
+
schema:
|
|
7657
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7658
|
+
"400":
|
|
7659
|
+
description: Invalid move site section group position provided
|
|
7660
|
+
$ref: "#/components/responses/BadRequestError"
|
|
7661
|
+
"404":
|
|
7662
|
+
description: No matching site section group found
|
|
7663
|
+
$ref: "#/components/responses/NotFoundError"
|
|
7592
7664
|
default:
|
|
7593
7665
|
$ref: "#/components/responses/UnexpectedError"
|
|
7594
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
7595
|
-
|
|
7596
|
-
operationId:
|
|
7597
|
-
summary:
|
|
7666
|
+
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move":
|
|
7667
|
+
post:
|
|
7668
|
+
operationId: moveSiteSection
|
|
7669
|
+
summary: Move a site section to a new position in the site.
|
|
7598
7670
|
tags:
|
|
7599
7671
|
- sites
|
|
7600
7672
|
security:
|
|
@@ -7602,147 +7674,163 @@ paths:
|
|
|
7602
7674
|
parameters:
|
|
7603
7675
|
- $ref: "#/components/parameters/organizationId"
|
|
7604
7676
|
- $ref: "#/components/parameters/siteId"
|
|
7605
|
-
- $ref: "#/components/parameters/
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7677
|
+
- $ref: "#/components/parameters/siteSectionId"
|
|
7678
|
+
requestBody:
|
|
7679
|
+
content:
|
|
7680
|
+
application/json:
|
|
7681
|
+
schema:
|
|
7682
|
+
type: object
|
|
7683
|
+
properties:
|
|
7684
|
+
position:
|
|
7685
|
+
description: The position where to move the site section. When not provided the site section is moved at the end of the site.
|
|
7686
|
+
$ref: "#/components/schemas/SiteSectionMovePosition"
|
|
7612
7687
|
responses:
|
|
7613
7688
|
"200":
|
|
7614
|
-
description:
|
|
7689
|
+
description: Site section moved
|
|
7615
7690
|
content:
|
|
7616
7691
|
application/json:
|
|
7617
7692
|
schema:
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
target:
|
|
7623
|
-
type: string
|
|
7624
|
-
description: URL of the destination of the redirect.
|
|
7625
|
-
required:
|
|
7626
|
-
- redirect
|
|
7627
|
-
- target
|
|
7693
|
+
$ref: "#/components/schemas/SiteSection"
|
|
7694
|
+
"400":
|
|
7695
|
+
description: Invalid move site section position provided
|
|
7696
|
+
$ref: "#/components/responses/BadRequestError"
|
|
7628
7697
|
"404":
|
|
7698
|
+
description: No matching Site section found
|
|
7629
7699
|
$ref: "#/components/responses/NotFoundError"
|
|
7630
7700
|
default:
|
|
7631
7701
|
$ref: "#/components/responses/UnexpectedError"
|
|
7632
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
7702
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move":
|
|
7633
7703
|
post:
|
|
7634
|
-
operationId:
|
|
7635
|
-
summary:
|
|
7636
|
-
description: Generate a pre-signed URL that can be used to upload a file to storage
|
|
7704
|
+
operationId: moveSiteSpace
|
|
7705
|
+
summary: Move a site space to a new position in the site.
|
|
7637
7706
|
tags:
|
|
7638
|
-
-
|
|
7707
|
+
- sites
|
|
7639
7708
|
security:
|
|
7640
|
-
- user
|
|
7709
|
+
- user: []
|
|
7641
7710
|
parameters:
|
|
7642
7711
|
- $ref: "#/components/parameters/organizationId"
|
|
7643
7712
|
- $ref: "#/components/parameters/siteId"
|
|
7713
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
7644
7714
|
requestBody:
|
|
7645
|
-
required: true
|
|
7646
7715
|
content:
|
|
7647
7716
|
application/json:
|
|
7648
7717
|
schema:
|
|
7649
7718
|
type: object
|
|
7650
|
-
required:
|
|
7651
|
-
- file
|
|
7652
|
-
- kind
|
|
7653
7719
|
properties:
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
$ref: "#/components/schemas/StorageUploadKind"
|
|
7720
|
+
position:
|
|
7721
|
+
description: The position where to move the site space. When not provided the site space is moved at the end of the site.
|
|
7722
|
+
$ref: "#/components/schemas/SiteSpaceMovePosition"
|
|
7658
7723
|
responses:
|
|
7659
|
-
"
|
|
7660
|
-
description:
|
|
7724
|
+
"200":
|
|
7725
|
+
description: Site space moved
|
|
7661
7726
|
content:
|
|
7662
7727
|
application/json:
|
|
7663
7728
|
schema:
|
|
7664
|
-
$ref: "#/components/schemas/
|
|
7729
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
7665
7730
|
"400":
|
|
7731
|
+
description: Invalid move site space position provided
|
|
7666
7732
|
$ref: "#/components/responses/BadRequestError"
|
|
7733
|
+
"404":
|
|
7734
|
+
description: No matching Site space found
|
|
7735
|
+
$ref: "#/components/responses/NotFoundError"
|
|
7667
7736
|
default:
|
|
7668
7737
|
$ref: "#/components/responses/UnexpectedError"
|
|
7669
|
-
"/
|
|
7738
|
+
"/orgs/{organizationId}/sites/{siteId}/permissions/aggregate":
|
|
7670
7739
|
get:
|
|
7671
|
-
operationId:
|
|
7672
|
-
summary:
|
|
7740
|
+
operationId: listPermissionsAggregateInSite
|
|
7741
|
+
summary: List permissions for all users of a site.
|
|
7673
7742
|
tags:
|
|
7674
|
-
-
|
|
7743
|
+
- permissions
|
|
7744
|
+
- sites
|
|
7675
7745
|
security:
|
|
7676
|
-
- user
|
|
7746
|
+
- user: []
|
|
7677
7747
|
parameters:
|
|
7678
|
-
- $ref: "#/components/parameters/
|
|
7748
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7749
|
+
- $ref: "#/components/parameters/siteId"
|
|
7750
|
+
- $ref: "#/components/parameters/listPage"
|
|
7751
|
+
- $ref: "#/components/parameters/listLimit"
|
|
7679
7752
|
responses:
|
|
7680
7753
|
"200":
|
|
7681
|
-
description:
|
|
7754
|
+
description: Listing of users who can access the site.
|
|
7682
7755
|
content:
|
|
7683
7756
|
application/json:
|
|
7684
7757
|
schema:
|
|
7685
|
-
|
|
7758
|
+
allOf:
|
|
7759
|
+
- $ref: "#/components/schemas/List"
|
|
7760
|
+
- type: object
|
|
7761
|
+
required:
|
|
7762
|
+
- items
|
|
7763
|
+
properties:
|
|
7764
|
+
items:
|
|
7765
|
+
type: array
|
|
7766
|
+
items:
|
|
7767
|
+
$ref: "#/components/schemas/UserSitePermission"
|
|
7686
7768
|
default:
|
|
7687
7769
|
$ref: "#/components/responses/UnexpectedError"
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7770
|
+
"/orgs/{organizationId}/sites/{siteId}/insights/events":
|
|
7771
|
+
post:
|
|
7772
|
+
operationId: trackEventsInSiteById
|
|
7773
|
+
summary: Track events in a site.
|
|
7774
|
+
description: Track events in a site.
|
|
7691
7775
|
tags:
|
|
7692
|
-
-
|
|
7693
|
-
security:
|
|
7694
|
-
- user-internal: []
|
|
7776
|
+
- sites
|
|
7695
7777
|
parameters:
|
|
7696
|
-
- $ref: "#/components/parameters/
|
|
7778
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7779
|
+
- $ref: "#/components/parameters/siteId"
|
|
7697
7780
|
responses:
|
|
7698
7781
|
"204":
|
|
7699
|
-
description:
|
|
7700
|
-
"400":
|
|
7701
|
-
description: The current custom hostname is inactive and cannot be revalidated
|
|
7702
|
-
$ref: "#/components/responses/ConflictError"
|
|
7703
|
-
"409":
|
|
7704
|
-
description: The current custom hostname status does not allow DNS revalidation
|
|
7705
|
-
$ref: "#/components/responses/ConflictError"
|
|
7782
|
+
description: Events have been tracked.
|
|
7706
7783
|
default:
|
|
7707
7784
|
$ref: "#/components/responses/UnexpectedError"
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7785
|
+
requestBody:
|
|
7786
|
+
required: true
|
|
7787
|
+
content:
|
|
7788
|
+
application/json:
|
|
7789
|
+
schema:
|
|
7790
|
+
type: object
|
|
7791
|
+
properties:
|
|
7792
|
+
events:
|
|
7793
|
+
type: array
|
|
7794
|
+
items:
|
|
7795
|
+
$ref: "#/components/schemas/SiteInsightsEvent"
|
|
7796
|
+
required:
|
|
7797
|
+
- events
|
|
7798
|
+
"/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate":
|
|
7799
|
+
post:
|
|
7800
|
+
operationId: aggregateSiteEvents
|
|
7801
|
+
summary: Query and aggregate events in a site.
|
|
7713
7802
|
security:
|
|
7714
|
-
- user
|
|
7803
|
+
- user: []
|
|
7804
|
+
tags:
|
|
7805
|
+
- sites
|
|
7715
7806
|
parameters:
|
|
7716
|
-
- $ref: "#/components/parameters/
|
|
7807
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7808
|
+
- $ref: "#/components/parameters/siteId"
|
|
7717
7809
|
responses:
|
|
7718
|
-
"
|
|
7719
|
-
description:
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7810
|
+
"200":
|
|
7811
|
+
description: Aggregated events in the site.
|
|
7812
|
+
content:
|
|
7813
|
+
application/json:
|
|
7814
|
+
schema:
|
|
7815
|
+
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregationResult"
|
|
7816
|
+
requestBody:
|
|
7817
|
+
required: true
|
|
7818
|
+
content:
|
|
7819
|
+
application/json:
|
|
7820
|
+
schema:
|
|
7821
|
+
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregation"
|
|
7822
|
+
"/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments":
|
|
7723
7823
|
get:
|
|
7724
|
-
operationId:
|
|
7725
|
-
summary: List
|
|
7824
|
+
operationId: listSiteVisitorSegments
|
|
7825
|
+
summary: List visitor segments in a site.
|
|
7726
7826
|
tags:
|
|
7727
|
-
-
|
|
7827
|
+
- sites
|
|
7728
7828
|
parameters:
|
|
7729
|
-
- $ref: "#/components/parameters/
|
|
7730
|
-
- $ref: "#/components/parameters/
|
|
7731
|
-
- $ref: "#/components/parameters/xGitBookPartnerKey"
|
|
7732
|
-
- name: status
|
|
7733
|
-
in: query
|
|
7734
|
-
description: Filter sites by their ads review status
|
|
7735
|
-
required: false
|
|
7736
|
-
schema:
|
|
7737
|
-
type: string
|
|
7738
|
-
default: in-review
|
|
7739
|
-
enum:
|
|
7740
|
-
- in-review
|
|
7741
|
-
- live
|
|
7742
|
-
- rejected
|
|
7829
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7830
|
+
- $ref: "#/components/parameters/siteId"
|
|
7743
7831
|
responses:
|
|
7744
7832
|
"200":
|
|
7745
|
-
description:
|
|
7833
|
+
description: List of visitor segments in the site.
|
|
7746
7834
|
content:
|
|
7747
7835
|
application/json:
|
|
7748
7836
|
schema:
|
|
@@ -7754,352 +7842,262 @@ paths:
|
|
|
7754
7842
|
properties:
|
|
7755
7843
|
items:
|
|
7756
7844
|
type: array
|
|
7757
|
-
items:
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
properties:
|
|
7788
|
-
status:
|
|
7789
|
-
type: string
|
|
7790
|
-
enum:
|
|
7791
|
-
- live
|
|
7792
|
-
zoneId:
|
|
7793
|
-
type: string
|
|
7794
|
-
description: The ad network zone ID
|
|
7795
|
-
- type: object
|
|
7796
|
-
required:
|
|
7797
|
-
- status
|
|
7798
|
-
properties:
|
|
7799
|
-
status:
|
|
7800
|
-
type: string
|
|
7801
|
-
enum:
|
|
7802
|
-
- rejected
|
|
7803
|
-
reason:
|
|
7804
|
-
type: string
|
|
7805
|
-
description: Reason for the rejection
|
|
7845
|
+
items:
|
|
7846
|
+
$ref: "#/components/schemas/SiteInsightsVisitorSegment"
|
|
7847
|
+
"/orgs/{organizationId}/sites/{siteId}/ads":
|
|
7848
|
+
post:
|
|
7849
|
+
operationId: updateSiteAdsById
|
|
7850
|
+
summary: Enable, disable, or submit for review Ads on a site.
|
|
7851
|
+
tags:
|
|
7852
|
+
- sites
|
|
7853
|
+
security:
|
|
7854
|
+
- user: []
|
|
7855
|
+
parameters:
|
|
7856
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7857
|
+
- $ref: "#/components/parameters/siteId"
|
|
7858
|
+
requestBody:
|
|
7859
|
+
required: false
|
|
7860
|
+
content:
|
|
7861
|
+
application/json:
|
|
7862
|
+
schema:
|
|
7863
|
+
type: object
|
|
7864
|
+
properties:
|
|
7865
|
+
status:
|
|
7866
|
+
type: string
|
|
7867
|
+
enum:
|
|
7868
|
+
- in-review
|
|
7869
|
+
- disabled
|
|
7870
|
+
topic:
|
|
7871
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
7872
|
+
responses:
|
|
7873
|
+
"204":
|
|
7874
|
+
description: OK
|
|
7806
7875
|
default:
|
|
7807
7876
|
$ref: "#/components/responses/UnexpectedError"
|
|
7808
|
-
"/
|
|
7809
|
-
|
|
7810
|
-
operationId:
|
|
7811
|
-
summary:
|
|
7877
|
+
"/orgs/{organizationId}/sites/{siteId}/redirects":
|
|
7878
|
+
post:
|
|
7879
|
+
operationId: createSiteRedirect
|
|
7880
|
+
summary: Configure a redirect explicitly for a site.
|
|
7812
7881
|
tags:
|
|
7813
|
-
-
|
|
7882
|
+
- sites
|
|
7883
|
+
security:
|
|
7884
|
+
- user: []
|
|
7814
7885
|
parameters:
|
|
7886
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7815
7887
|
- $ref: "#/components/parameters/siteId"
|
|
7816
|
-
- $ref: "#/components/parameters/xGitBookPartnerKey"
|
|
7817
7888
|
requestBody:
|
|
7818
7889
|
required: true
|
|
7819
7890
|
content:
|
|
7820
7891
|
application/json:
|
|
7821
7892
|
schema:
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
enum:
|
|
7832
|
-
- live
|
|
7833
|
-
zoneId:
|
|
7834
|
-
type: string
|
|
7835
|
-
description: ID of the zone
|
|
7836
|
-
reportingId:
|
|
7837
|
-
type: string
|
|
7838
|
-
description: ID to fetch reporting data
|
|
7839
|
-
- type: object
|
|
7840
|
-
required:
|
|
7841
|
-
- status
|
|
7842
|
-
properties:
|
|
7843
|
-
status:
|
|
7844
|
-
type: string
|
|
7845
|
-
enum:
|
|
7846
|
-
- rejected
|
|
7847
|
-
reason:
|
|
7848
|
-
type: string
|
|
7849
|
-
description: Reason for the rejection
|
|
7850
|
-
maxLength: 512
|
|
7851
|
-
- type: object
|
|
7852
|
-
required:
|
|
7853
|
-
- status
|
|
7854
|
-
properties:
|
|
7855
|
-
status:
|
|
7856
|
-
type: string
|
|
7857
|
-
enum:
|
|
7858
|
-
- pending
|
|
7893
|
+
type: object
|
|
7894
|
+
properties:
|
|
7895
|
+
source:
|
|
7896
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
7897
|
+
destination:
|
|
7898
|
+
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
7899
|
+
required:
|
|
7900
|
+
- source
|
|
7901
|
+
- destination
|
|
7859
7902
|
responses:
|
|
7860
|
-
"
|
|
7861
|
-
description:
|
|
7903
|
+
"201":
|
|
7904
|
+
description: The redirect was created successfully.
|
|
7905
|
+
content:
|
|
7906
|
+
application/json:
|
|
7907
|
+
schema:
|
|
7908
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
7862
7909
|
default:
|
|
7863
7910
|
$ref: "#/components/responses/UnexpectedError"
|
|
7864
|
-
/urls/content:
|
|
7865
7911
|
get:
|
|
7866
|
-
operationId:
|
|
7867
|
-
summary:
|
|
7912
|
+
operationId: listSiteRedirects
|
|
7913
|
+
summary: List the redirects configured for a site.
|
|
7868
7914
|
tags:
|
|
7869
|
-
-
|
|
7915
|
+
- sites
|
|
7870
7916
|
security:
|
|
7871
7917
|
- user: []
|
|
7872
7918
|
parameters:
|
|
7873
|
-
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
schema:
|
|
7878
|
-
type: string
|
|
7919
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7920
|
+
- $ref: "#/components/parameters/siteId"
|
|
7921
|
+
- $ref: "#/components/parameters/listPage"
|
|
7922
|
+
- $ref: "#/components/parameters/listLimit"
|
|
7879
7923
|
responses:
|
|
7880
7924
|
"200":
|
|
7881
|
-
description:
|
|
7925
|
+
description: The list of redirects for the site.
|
|
7882
7926
|
content:
|
|
7883
7927
|
application/json:
|
|
7884
7928
|
schema:
|
|
7885
|
-
|
|
7929
|
+
allOf:
|
|
7930
|
+
- $ref: "#/components/schemas/List"
|
|
7886
7931
|
- type: object
|
|
7887
|
-
description: URL resolved to a collection
|
|
7888
|
-
properties:
|
|
7889
|
-
collection:
|
|
7890
|
-
$ref: "#/components/schemas/Collection"
|
|
7891
7932
|
required:
|
|
7892
|
-
-
|
|
7893
|
-
- type: object
|
|
7894
|
-
description: URL resolved to the content of a space
|
|
7933
|
+
- items
|
|
7895
7934
|
properties:
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
page:
|
|
7901
|
-
oneOf:
|
|
7902
|
-
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
7903
|
-
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
7904
|
-
required:
|
|
7905
|
-
- space
|
|
7935
|
+
items:
|
|
7936
|
+
type: array
|
|
7937
|
+
items:
|
|
7938
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
7906
7939
|
default:
|
|
7907
7940
|
$ref: "#/components/responses/UnexpectedError"
|
|
7908
|
-
/
|
|
7909
|
-
|
|
7910
|
-
operationId:
|
|
7911
|
-
summary:
|
|
7941
|
+
"/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}":
|
|
7942
|
+
patch:
|
|
7943
|
+
operationId: updateSiteRedirectById
|
|
7944
|
+
summary: Update a redirect for a site
|
|
7912
7945
|
tags:
|
|
7913
|
-
-
|
|
7946
|
+
- sites
|
|
7947
|
+
security:
|
|
7948
|
+
- user: []
|
|
7914
7949
|
parameters:
|
|
7915
|
-
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7950
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7951
|
+
- $ref: "#/components/parameters/siteId"
|
|
7952
|
+
- $ref: "#/components/parameters/siteRedirectId"
|
|
7953
|
+
requestBody:
|
|
7954
|
+
required: true
|
|
7955
|
+
content:
|
|
7956
|
+
application/json:
|
|
7957
|
+
schema:
|
|
7958
|
+
type: object
|
|
7959
|
+
properties:
|
|
7960
|
+
source:
|
|
7961
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
7962
|
+
destination:
|
|
7963
|
+
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
7921
7964
|
responses:
|
|
7922
7965
|
"200":
|
|
7923
7966
|
description: OK
|
|
7924
7967
|
content:
|
|
7925
7968
|
application/json:
|
|
7926
7969
|
schema:
|
|
7927
|
-
$ref: "#/components/schemas/
|
|
7970
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
7928
7971
|
default:
|
|
7929
7972
|
$ref: "#/components/responses/UnexpectedError"
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
summary: Resolve a URL of a published content.
|
|
7973
|
+
delete:
|
|
7974
|
+
operationId: deleteSiteRedirectById
|
|
7975
|
+
summary: Delete a redirect for a site
|
|
7934
7976
|
tags:
|
|
7935
|
-
-
|
|
7977
|
+
- sites
|
|
7978
|
+
security:
|
|
7979
|
+
- user: []
|
|
7936
7980
|
parameters:
|
|
7937
|
-
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
description: URL to resolve
|
|
7941
|
-
schema:
|
|
7942
|
-
$ref: "#/components/schemas/URL"
|
|
7943
|
-
- name: visitorAuthToken
|
|
7944
|
-
in: query
|
|
7945
|
-
required: false
|
|
7946
|
-
description: JWT token generated for a visitor auth session
|
|
7947
|
-
schema:
|
|
7948
|
-
type: string
|
|
7949
|
-
- name: redirectOnError
|
|
7950
|
-
in: query
|
|
7951
|
-
required: false
|
|
7952
|
-
description: When true redirects the user to the authentication/fallback URL if the visitor auth token is invalid
|
|
7953
|
-
schema:
|
|
7954
|
-
type: boolean
|
|
7955
|
-
default: false
|
|
7981
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7982
|
+
- $ref: "#/components/parameters/siteId"
|
|
7983
|
+
- $ref: "#/components/parameters/siteRedirectId"
|
|
7956
7984
|
responses:
|
|
7957
|
-
"
|
|
7958
|
-
description:
|
|
7959
|
-
content:
|
|
7960
|
-
application/json:
|
|
7961
|
-
schema:
|
|
7962
|
-
$ref: "#/components/schemas/PublishedSiteContentLookup"
|
|
7963
|
-
"404":
|
|
7964
|
-
description: No content found for the URL.
|
|
7965
|
-
$ref: "#/components/responses/NotFoundError"
|
|
7985
|
+
"205":
|
|
7986
|
+
description: Site redirect deleted
|
|
7966
7987
|
default:
|
|
7967
7988
|
$ref: "#/components/responses/UnexpectedError"
|
|
7968
|
-
"/orgs/{organizationId}/
|
|
7989
|
+
"/orgs/{organizationId}/sites/{siteId}/redirect":
|
|
7969
7990
|
get:
|
|
7970
|
-
operationId:
|
|
7971
|
-
summary:
|
|
7991
|
+
operationId: getSiteRedirectBySource
|
|
7992
|
+
summary: Resolve a redirect in a site by its source path.
|
|
7972
7993
|
tags:
|
|
7973
|
-
-
|
|
7994
|
+
- sites
|
|
7974
7995
|
security:
|
|
7975
7996
|
- user: []
|
|
7976
7997
|
parameters:
|
|
7977
7998
|
- $ref: "#/components/parameters/organizationId"
|
|
7978
|
-
- $ref: "#/components/parameters/
|
|
7979
|
-
- $ref: "#/components/parameters/
|
|
7999
|
+
- $ref: "#/components/parameters/siteId"
|
|
8000
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
8001
|
+
- name: source
|
|
8002
|
+
in: query
|
|
8003
|
+
required: true
|
|
8004
|
+
description: The source path of the redirect.
|
|
8005
|
+
schema:
|
|
8006
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
7980
8007
|
responses:
|
|
7981
8008
|
"200":
|
|
7982
|
-
description:
|
|
8009
|
+
description: The redirect was resolved successfully.
|
|
7983
8010
|
content:
|
|
7984
8011
|
application/json:
|
|
7985
8012
|
schema:
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
8013
|
+
type: object
|
|
8014
|
+
properties:
|
|
8015
|
+
redirect:
|
|
8016
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
8017
|
+
target:
|
|
8018
|
+
type: string
|
|
8019
|
+
description: URL of the destination of the redirect.
|
|
8020
|
+
required:
|
|
8021
|
+
- redirect
|
|
8022
|
+
- target
|
|
8023
|
+
"404":
|
|
8024
|
+
$ref: "#/components/responses/NotFoundError"
|
|
7996
8025
|
default:
|
|
7997
8026
|
$ref: "#/components/responses/UnexpectedError"
|
|
7998
|
-
"/
|
|
8027
|
+
"/custom-hostnames/{hostname}":
|
|
7999
8028
|
get:
|
|
8000
|
-
operationId:
|
|
8001
|
-
summary: Get
|
|
8029
|
+
operationId: getCustomHostname
|
|
8030
|
+
summary: Get the details about a custom hostname.
|
|
8002
8031
|
tags:
|
|
8003
|
-
-
|
|
8032
|
+
- custom-hostnames
|
|
8004
8033
|
security:
|
|
8005
|
-
- user: []
|
|
8034
|
+
- user-internal: []
|
|
8006
8035
|
parameters:
|
|
8007
|
-
- $ref: "#/components/parameters/
|
|
8008
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8036
|
+
- $ref: "#/components/parameters/hostname"
|
|
8009
8037
|
responses:
|
|
8010
8038
|
"200":
|
|
8011
8039
|
description: OK
|
|
8012
8040
|
content:
|
|
8013
8041
|
application/json:
|
|
8014
8042
|
schema:
|
|
8015
|
-
$ref: "#/components/schemas/
|
|
8016
|
-
"404":
|
|
8017
|
-
description: No matching OpenAPI specification found
|
|
8018
|
-
$ref: "#/components/responses/NotFoundError"
|
|
8043
|
+
$ref: "#/components/schemas/CustomHostname"
|
|
8019
8044
|
default:
|
|
8020
8045
|
$ref: "#/components/responses/UnexpectedError"
|
|
8021
|
-
|
|
8022
|
-
operationId:
|
|
8023
|
-
summary:
|
|
8046
|
+
patch:
|
|
8047
|
+
operationId: dnsRevalidateCustomHostname
|
|
8048
|
+
summary: Revalidate a custom hostname's DNS records and status.
|
|
8024
8049
|
tags:
|
|
8025
|
-
-
|
|
8050
|
+
- custom-hostnames
|
|
8026
8051
|
security:
|
|
8027
|
-
- user: []
|
|
8052
|
+
- user-internal: []
|
|
8028
8053
|
parameters:
|
|
8029
|
-
- $ref: "#/components/parameters/
|
|
8030
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8031
|
-
requestBody:
|
|
8032
|
-
required: true
|
|
8033
|
-
content:
|
|
8034
|
-
application/json:
|
|
8035
|
-
schema:
|
|
8036
|
-
type: object
|
|
8037
|
-
properties:
|
|
8038
|
-
source:
|
|
8039
|
-
oneOf:
|
|
8040
|
-
- description: Create a specification from an URL
|
|
8041
|
-
type: object
|
|
8042
|
-
properties:
|
|
8043
|
-
url:
|
|
8044
|
-
$ref: "#/components/schemas/URL"
|
|
8045
|
-
required:
|
|
8046
|
-
- url
|
|
8047
|
-
- description: Create a specification from a text string
|
|
8048
|
-
type: object
|
|
8049
|
-
properties:
|
|
8050
|
-
text:
|
|
8051
|
-
description: OpenAPI specification as text
|
|
8052
|
-
type: string
|
|
8053
|
-
minLength: 1
|
|
8054
|
-
required:
|
|
8055
|
-
- text
|
|
8056
|
-
required:
|
|
8057
|
-
- source
|
|
8054
|
+
- $ref: "#/components/parameters/hostname"
|
|
8058
8055
|
responses:
|
|
8059
|
-
"
|
|
8060
|
-
description:
|
|
8061
|
-
content:
|
|
8062
|
-
application/json:
|
|
8063
|
-
schema:
|
|
8064
|
-
$ref: "#/components/schemas/OpenAPISpec"
|
|
8065
|
-
"201":
|
|
8066
|
-
description: OpenAPI specification has been created
|
|
8067
|
-
content:
|
|
8068
|
-
application/json:
|
|
8069
|
-
schema:
|
|
8070
|
-
$ref: "#/components/schemas/OpenAPISpec"
|
|
8056
|
+
"204":
|
|
8057
|
+
description: DNS validation has been retriggered
|
|
8071
8058
|
"400":
|
|
8072
|
-
|
|
8059
|
+
description: The current custom hostname is inactive and cannot be revalidated
|
|
8060
|
+
$ref: "#/components/responses/ConflictError"
|
|
8061
|
+
"409":
|
|
8062
|
+
description: The current custom hostname status does not allow DNS revalidation
|
|
8063
|
+
$ref: "#/components/responses/ConflictError"
|
|
8073
8064
|
default:
|
|
8074
8065
|
$ref: "#/components/responses/UnexpectedError"
|
|
8075
8066
|
delete:
|
|
8076
|
-
operationId:
|
|
8077
|
-
summary:
|
|
8067
|
+
operationId: removeCustomHostname
|
|
8068
|
+
summary: Remove a custom hostname from a content or organization. The custom hostname will continue to point to the content or organization unless it is used for another one.
|
|
8078
8069
|
tags:
|
|
8079
|
-
-
|
|
8070
|
+
- custom-hostnames
|
|
8080
8071
|
security:
|
|
8081
|
-
- user: []
|
|
8072
|
+
- user-internal: []
|
|
8082
8073
|
parameters:
|
|
8083
|
-
- $ref: "#/components/parameters/
|
|
8084
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8074
|
+
- $ref: "#/components/parameters/hostname"
|
|
8085
8075
|
responses:
|
|
8086
8076
|
"205":
|
|
8087
|
-
description:
|
|
8077
|
+
description: Custom hostname has been removed
|
|
8088
8078
|
default:
|
|
8089
8079
|
$ref: "#/components/responses/UnexpectedError"
|
|
8090
|
-
|
|
8080
|
+
/ads/sites:
|
|
8091
8081
|
get:
|
|
8092
|
-
operationId:
|
|
8093
|
-
summary: List all the
|
|
8082
|
+
operationId: adsListSites
|
|
8083
|
+
summary: List all the sites with ads configured
|
|
8094
8084
|
tags:
|
|
8095
|
-
-
|
|
8096
|
-
security:
|
|
8097
|
-
- user: []
|
|
8085
|
+
- ads
|
|
8098
8086
|
parameters:
|
|
8099
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8100
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8101
8087
|
- $ref: "#/components/parameters/listPage"
|
|
8102
8088
|
- $ref: "#/components/parameters/listLimit"
|
|
8089
|
+
- $ref: "#/components/parameters/xGitBookPartnerKey"
|
|
8090
|
+
- name: status
|
|
8091
|
+
in: query
|
|
8092
|
+
description: Filter sites by their ads review status
|
|
8093
|
+
required: false
|
|
8094
|
+
schema:
|
|
8095
|
+
type: string
|
|
8096
|
+
default: in-review
|
|
8097
|
+
enum:
|
|
8098
|
+
- in-review
|
|
8099
|
+
- live
|
|
8100
|
+
- rejected
|
|
8103
8101
|
responses:
|
|
8104
8102
|
"200":
|
|
8105
8103
|
description: OK
|
|
@@ -8115,103 +8113,213 @@ paths:
|
|
|
8115
8113
|
items:
|
|
8116
8114
|
type: array
|
|
8117
8115
|
items:
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8116
|
+
allOf:
|
|
8117
|
+
- type: object
|
|
8118
|
+
required:
|
|
8119
|
+
- id
|
|
8120
|
+
- url
|
|
8121
|
+
- email
|
|
8122
|
+
- topic
|
|
8123
|
+
properties:
|
|
8124
|
+
id:
|
|
8125
|
+
type: string
|
|
8126
|
+
url:
|
|
8127
|
+
type: string
|
|
8128
|
+
email:
|
|
8129
|
+
type: string
|
|
8130
|
+
topic:
|
|
8131
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
8132
|
+
- oneOf:
|
|
8133
|
+
- type: object
|
|
8134
|
+
required:
|
|
8135
|
+
- status
|
|
8136
|
+
properties:
|
|
8137
|
+
status:
|
|
8138
|
+
type: string
|
|
8139
|
+
enum:
|
|
8140
|
+
- in-review
|
|
8141
|
+
- type: object
|
|
8142
|
+
required:
|
|
8143
|
+
- status
|
|
8144
|
+
- zoneId
|
|
8145
|
+
properties:
|
|
8146
|
+
status:
|
|
8147
|
+
type: string
|
|
8148
|
+
enum:
|
|
8149
|
+
- live
|
|
8150
|
+
zoneId:
|
|
8151
|
+
type: string
|
|
8152
|
+
description: The ad network zone ID
|
|
8153
|
+
- type: object
|
|
8154
|
+
required:
|
|
8155
|
+
- status
|
|
8156
|
+
properties:
|
|
8157
|
+
status:
|
|
8158
|
+
type: string
|
|
8159
|
+
enum:
|
|
8160
|
+
- rejected
|
|
8161
|
+
reason:
|
|
8162
|
+
type: string
|
|
8163
|
+
description: Reason for the rejection
|
|
8122
8164
|
default:
|
|
8123
8165
|
$ref: "#/components/responses/UnexpectedError"
|
|
8124
|
-
"/
|
|
8125
|
-
|
|
8126
|
-
operationId:
|
|
8127
|
-
summary:
|
|
8166
|
+
"/ads/sites/{siteId}":
|
|
8167
|
+
patch:
|
|
8168
|
+
operationId: adsUpdateSite
|
|
8169
|
+
summary: Update the Ads configuration for a site
|
|
8128
8170
|
tags:
|
|
8129
|
-
-
|
|
8130
|
-
security:
|
|
8131
|
-
- user: []
|
|
8171
|
+
- ads
|
|
8132
8172
|
parameters:
|
|
8133
|
-
- $ref: "#/components/parameters/
|
|
8134
|
-
- $ref: "#/components/parameters/
|
|
8173
|
+
- $ref: "#/components/parameters/siteId"
|
|
8174
|
+
- $ref: "#/components/parameters/xGitBookPartnerKey"
|
|
8175
|
+
requestBody:
|
|
8176
|
+
required: true
|
|
8177
|
+
content:
|
|
8178
|
+
application/json:
|
|
8179
|
+
schema:
|
|
8180
|
+
oneOf:
|
|
8181
|
+
- type: object
|
|
8182
|
+
required:
|
|
8183
|
+
- status
|
|
8184
|
+
- zoneId
|
|
8185
|
+
- reportingId
|
|
8186
|
+
properties:
|
|
8187
|
+
status:
|
|
8188
|
+
type: string
|
|
8189
|
+
enum:
|
|
8190
|
+
- live
|
|
8191
|
+
zoneId:
|
|
8192
|
+
type: string
|
|
8193
|
+
description: ID of the zone
|
|
8194
|
+
reportingId:
|
|
8195
|
+
type: string
|
|
8196
|
+
description: ID to fetch reporting data
|
|
8197
|
+
- type: object
|
|
8198
|
+
required:
|
|
8199
|
+
- status
|
|
8200
|
+
properties:
|
|
8201
|
+
status:
|
|
8202
|
+
type: string
|
|
8203
|
+
enum:
|
|
8204
|
+
- rejected
|
|
8205
|
+
reason:
|
|
8206
|
+
type: string
|
|
8207
|
+
description: Reason for the rejection
|
|
8208
|
+
maxLength: 512
|
|
8209
|
+
- type: object
|
|
8210
|
+
required:
|
|
8211
|
+
- status
|
|
8212
|
+
properties:
|
|
8213
|
+
status:
|
|
8214
|
+
type: string
|
|
8215
|
+
enum:
|
|
8216
|
+
- pending
|
|
8135
8217
|
responses:
|
|
8136
|
-
"
|
|
8218
|
+
"204":
|
|
8137
8219
|
description: OK
|
|
8138
|
-
content:
|
|
8139
|
-
application/json:
|
|
8140
|
-
schema:
|
|
8141
|
-
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
8142
|
-
"404":
|
|
8143
|
-
description: No matching OpenAPI specification version found
|
|
8144
|
-
$ref: "#/components/responses/NotFoundError"
|
|
8145
8220
|
default:
|
|
8146
8221
|
$ref: "#/components/responses/UnexpectedError"
|
|
8147
|
-
|
|
8222
|
+
/urls/content:
|
|
8148
8223
|
get:
|
|
8149
|
-
operationId:
|
|
8150
|
-
summary:
|
|
8224
|
+
operationId: getContentByUrl
|
|
8225
|
+
summary: Resolve a URL to a content (space, collection, page)
|
|
8151
8226
|
tags:
|
|
8152
|
-
-
|
|
8227
|
+
- urls
|
|
8153
8228
|
security:
|
|
8154
8229
|
- user: []
|
|
8155
8230
|
parameters:
|
|
8156
|
-
-
|
|
8157
|
-
|
|
8231
|
+
- name: url
|
|
8232
|
+
in: query
|
|
8233
|
+
required: true
|
|
8234
|
+
description: URL to resolve
|
|
8235
|
+
schema:
|
|
8236
|
+
type: string
|
|
8158
8237
|
responses:
|
|
8159
8238
|
"200":
|
|
8160
8239
|
description: OK
|
|
8161
8240
|
content:
|
|
8162
8241
|
application/json:
|
|
8163
8242
|
schema:
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8243
|
+
oneOf:
|
|
8244
|
+
- type: object
|
|
8245
|
+
description: URL resolved to a collection
|
|
8246
|
+
properties:
|
|
8247
|
+
collection:
|
|
8248
|
+
$ref: "#/components/schemas/Collection"
|
|
8249
|
+
required:
|
|
8250
|
+
- collection
|
|
8251
|
+
- type: object
|
|
8252
|
+
description: URL resolved to the content of a space
|
|
8253
|
+
properties:
|
|
8254
|
+
space:
|
|
8255
|
+
$ref: "#/components/schemas/Space"
|
|
8256
|
+
changeRequest:
|
|
8257
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
8258
|
+
page:
|
|
8259
|
+
oneOf:
|
|
8260
|
+
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
8261
|
+
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
8262
|
+
required:
|
|
8263
|
+
- space
|
|
8168
8264
|
default:
|
|
8169
8265
|
$ref: "#/components/responses/UnexpectedError"
|
|
8170
|
-
|
|
8266
|
+
/urls/embed:
|
|
8171
8267
|
get:
|
|
8172
|
-
operationId:
|
|
8173
|
-
summary:
|
|
8268
|
+
operationId: getEmbedByUrl
|
|
8269
|
+
summary: Resolve a URL to an embed
|
|
8174
8270
|
tags:
|
|
8175
|
-
-
|
|
8176
|
-
security:
|
|
8177
|
-
- user: []
|
|
8271
|
+
- urls
|
|
8178
8272
|
parameters:
|
|
8179
|
-
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8273
|
+
- name: url
|
|
8274
|
+
in: query
|
|
8275
|
+
required: true
|
|
8276
|
+
description: URL to resolve
|
|
8277
|
+
schema:
|
|
8278
|
+
type: string
|
|
8182
8279
|
responses:
|
|
8183
8280
|
"200":
|
|
8184
8281
|
description: OK
|
|
8185
8282
|
content:
|
|
8186
8283
|
application/json:
|
|
8187
8284
|
schema:
|
|
8188
|
-
$ref: "#/components/schemas/
|
|
8189
|
-
"404":
|
|
8190
|
-
description: No matching OpenAPI specification version found
|
|
8191
|
-
$ref: "#/components/responses/NotFoundError"
|
|
8285
|
+
$ref: "#/components/schemas/Embed"
|
|
8192
8286
|
default:
|
|
8193
8287
|
$ref: "#/components/responses/UnexpectedError"
|
|
8194
|
-
|
|
8288
|
+
/urls/published:
|
|
8195
8289
|
get:
|
|
8196
|
-
operationId:
|
|
8197
|
-
summary:
|
|
8290
|
+
operationId: getPublishedContentByUrl
|
|
8291
|
+
summary: Resolve a URL of a published content.
|
|
8198
8292
|
tags:
|
|
8199
|
-
-
|
|
8200
|
-
security:
|
|
8201
|
-
- user: []
|
|
8293
|
+
- urls
|
|
8202
8294
|
parameters:
|
|
8203
|
-
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8295
|
+
- name: url
|
|
8296
|
+
in: query
|
|
8297
|
+
required: true
|
|
8298
|
+
description: URL to resolve
|
|
8299
|
+
schema:
|
|
8300
|
+
$ref: "#/components/schemas/URL"
|
|
8301
|
+
- name: visitorAuthToken
|
|
8302
|
+
in: query
|
|
8303
|
+
required: false
|
|
8304
|
+
description: JWT token generated for a visitor auth session
|
|
8305
|
+
schema:
|
|
8306
|
+
type: string
|
|
8307
|
+
- name: redirectOnError
|
|
8308
|
+
in: query
|
|
8309
|
+
required: false
|
|
8310
|
+
description: When true redirects the user to the authentication/fallback URL if the visitor auth token is invalid
|
|
8311
|
+
schema:
|
|
8312
|
+
type: boolean
|
|
8313
|
+
default: false
|
|
8206
8314
|
responses:
|
|
8207
8315
|
"200":
|
|
8208
8316
|
description: OK
|
|
8209
8317
|
content:
|
|
8210
8318
|
application/json:
|
|
8211
8319
|
schema:
|
|
8212
|
-
$ref: "#/components/schemas/
|
|
8320
|
+
$ref: "#/components/schemas/PublishedSiteContentLookup"
|
|
8213
8321
|
"404":
|
|
8214
|
-
description: No
|
|
8322
|
+
description: No content found for the URL.
|
|
8215
8323
|
$ref: "#/components/responses/NotFoundError"
|
|
8216
8324
|
default:
|
|
8217
8325
|
$ref: "#/components/responses/UnexpectedError"
|
|
@@ -8505,6 +8613,27 @@ components:
|
|
|
8505
8613
|
description: The unique id of the SAML provider
|
|
8506
8614
|
schema:
|
|
8507
8615
|
type: string
|
|
8616
|
+
openapiSpecSlug:
|
|
8617
|
+
name: specSlug
|
|
8618
|
+
in: path
|
|
8619
|
+
required: true
|
|
8620
|
+
description: Slug of the OpenAPI specification
|
|
8621
|
+
schema:
|
|
8622
|
+
type: string
|
|
8623
|
+
openapiSpecVersionId:
|
|
8624
|
+
name: versionId
|
|
8625
|
+
in: path
|
|
8626
|
+
required: true
|
|
8627
|
+
description: The unique ID of the OpenAPI specification version
|
|
8628
|
+
schema:
|
|
8629
|
+
type: string
|
|
8630
|
+
fontId:
|
|
8631
|
+
name: fontId
|
|
8632
|
+
in: path
|
|
8633
|
+
required: true
|
|
8634
|
+
description: The unique ID of a font
|
|
8635
|
+
schema:
|
|
8636
|
+
type: string
|
|
8508
8637
|
shareLinkId:
|
|
8509
8638
|
name: shareLinkId
|
|
8510
8639
|
in: path
|
|
@@ -8561,20 +8690,6 @@ components:
|
|
|
8561
8690
|
schema:
|
|
8562
8691
|
type: string
|
|
8563
8692
|
required: true
|
|
8564
|
-
openapiSpecSlug:
|
|
8565
|
-
name: specSlug
|
|
8566
|
-
in: path
|
|
8567
|
-
required: true
|
|
8568
|
-
description: Slug of the OpenAPI specification
|
|
8569
|
-
schema:
|
|
8570
|
-
type: string
|
|
8571
|
-
openapiSpecVersionId:
|
|
8572
|
-
name: versionId
|
|
8573
|
-
in: path
|
|
8574
|
-
required: true
|
|
8575
|
-
description: The unique ID of the OpenAPI specification version
|
|
8576
|
-
schema:
|
|
8577
|
-
type: string
|
|
8578
8693
|
visitorId:
|
|
8579
8694
|
name: visitorId
|
|
8580
8695
|
in: path
|
|
@@ -9762,76 +9877,29 @@ components:
|
|
|
9762
9877
|
- type
|
|
9763
9878
|
- data
|
|
9764
9879
|
- isVoid
|
|
9765
|
-
|
|
9766
|
-
oneOf:
|
|
9767
|
-
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
9768
|
-
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
9769
|
-
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
9770
|
-
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
9771
|
-
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
9772
|
-
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
9773
|
-
DocumentFragment:
|
|
9774
|
-
type: object
|
|
9775
|
-
properties:
|
|
9776
|
-
object:
|
|
9777
|
-
type: string
|
|
9778
|
-
enum:
|
|
9779
|
-
- fragment
|
|
9780
|
-
key:
|
|
9781
|
-
type: string
|
|
9782
|
-
fragment:
|
|
9783
|
-
type: string
|
|
9784
|
-
type:
|
|
9785
|
-
type: string
|
|
9786
|
-
nodes:
|
|
9787
|
-
type: array
|
|
9788
|
-
items:
|
|
9789
|
-
$ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
9790
|
-
required:
|
|
9791
|
-
- object
|
|
9792
|
-
- nodes
|
|
9793
|
-
DocumentInlineAnnotation:
|
|
9880
|
+
DocumentBlockParagraph:
|
|
9794
9881
|
type: object
|
|
9795
9882
|
properties:
|
|
9796
9883
|
object:
|
|
9797
9884
|
type: string
|
|
9798
9885
|
enum:
|
|
9799
|
-
-
|
|
9886
|
+
- block
|
|
9800
9887
|
type:
|
|
9801
9888
|
type: string
|
|
9802
9889
|
enum:
|
|
9803
|
-
-
|
|
9890
|
+
- paragraph
|
|
9804
9891
|
key:
|
|
9805
9892
|
type: string
|
|
9806
|
-
|
|
9893
|
+
nodes:
|
|
9807
9894
|
type: array
|
|
9808
9895
|
items:
|
|
9809
|
-
|
|
9810
|
-
- $ref: "#/components/schemas/
|
|
9811
|
-
-
|
|
9812
|
-
properties:
|
|
9813
|
-
type:
|
|
9814
|
-
type: string
|
|
9815
|
-
enum:
|
|
9816
|
-
- annotation-body
|
|
9817
|
-
nodes:
|
|
9818
|
-
type: array
|
|
9819
|
-
items:
|
|
9820
|
-
oneOf:
|
|
9821
|
-
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
9822
|
-
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
9823
|
-
minItems: 1
|
|
9824
|
-
required:
|
|
9825
|
-
- nodes
|
|
9826
|
-
- type
|
|
9896
|
+
oneOf:
|
|
9897
|
+
- $ref: "#/components/schemas/DocumentInline"
|
|
9898
|
+
- $ref: "#/components/schemas/DocumentText"
|
|
9827
9899
|
isVoid:
|
|
9828
9900
|
type: boolean
|
|
9829
9901
|
enum:
|
|
9830
9902
|
- false
|
|
9831
|
-
nodes:
|
|
9832
|
-
type: array
|
|
9833
|
-
items:
|
|
9834
|
-
$ref: "#/components/schemas/DocumentText"
|
|
9835
9903
|
data:
|
|
9836
9904
|
type: object
|
|
9837
9905
|
properties: {}
|
|
@@ -9839,10 +9907,16 @@ components:
|
|
|
9839
9907
|
required:
|
|
9840
9908
|
- object
|
|
9841
9909
|
- type
|
|
9842
|
-
- fragments
|
|
9843
|
-
- isVoid
|
|
9844
9910
|
- nodes
|
|
9845
|
-
|
|
9911
|
+
DocumentInline:
|
|
9912
|
+
oneOf:
|
|
9913
|
+
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
9914
|
+
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
9915
|
+
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
9916
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
9917
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
9918
|
+
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
9919
|
+
DocumentBlockHeading:
|
|
9846
9920
|
type: object
|
|
9847
9921
|
properties:
|
|
9848
9922
|
object:
|
|
@@ -9852,20 +9926,31 @@ components:
|
|
|
9852
9926
|
type:
|
|
9853
9927
|
type: string
|
|
9854
9928
|
enum:
|
|
9855
|
-
-
|
|
9929
|
+
- heading-1
|
|
9930
|
+
- heading-2
|
|
9931
|
+
- heading-3
|
|
9856
9932
|
key:
|
|
9857
9933
|
type: string
|
|
9858
9934
|
nodes:
|
|
9859
9935
|
type: array
|
|
9860
9936
|
items:
|
|
9861
9937
|
oneOf:
|
|
9938
|
+
- $ref: "#/components/schemas/DocumentInline"
|
|
9862
9939
|
- $ref: "#/components/schemas/DocumentText"
|
|
9863
|
-
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
9864
9940
|
data:
|
|
9865
9941
|
type: object
|
|
9866
9942
|
properties:
|
|
9867
|
-
|
|
9868
|
-
type:
|
|
9943
|
+
id:
|
|
9944
|
+
type: string
|
|
9945
|
+
pattern: ^[-a-z0-9.+_]+$
|
|
9946
|
+
meta:
|
|
9947
|
+
type: object
|
|
9948
|
+
properties:
|
|
9949
|
+
id:
|
|
9950
|
+
description: Unique ID to be used in an URL for the block.
|
|
9951
|
+
type: string
|
|
9952
|
+
required:
|
|
9953
|
+
- id
|
|
9869
9954
|
isVoid:
|
|
9870
9955
|
type: boolean
|
|
9871
9956
|
enum:
|
|
@@ -9875,87 +9960,67 @@ components:
|
|
|
9875
9960
|
- type
|
|
9876
9961
|
- nodes
|
|
9877
9962
|
- data
|
|
9878
|
-
|
|
9963
|
+
DocumentBlocksEssentials:
|
|
9964
|
+
oneOf:
|
|
9965
|
+
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
9966
|
+
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
9967
|
+
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
9968
|
+
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
9969
|
+
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
9970
|
+
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
9971
|
+
DocumentInlineAnnotation:
|
|
9879
9972
|
type: object
|
|
9880
9973
|
properties:
|
|
9881
9974
|
object:
|
|
9882
9975
|
type: string
|
|
9883
9976
|
enum:
|
|
9884
|
-
-
|
|
9977
|
+
- inline
|
|
9885
9978
|
type:
|
|
9886
9979
|
type: string
|
|
9887
9980
|
enum:
|
|
9888
|
-
-
|
|
9981
|
+
- annotation
|
|
9889
9982
|
key:
|
|
9890
9983
|
type: string
|
|
9891
|
-
|
|
9892
|
-
type: object
|
|
9893
|
-
properties:
|
|
9894
|
-
syntax:
|
|
9895
|
-
type: string
|
|
9896
|
-
title:
|
|
9897
|
-
type: string
|
|
9898
|
-
overflow:
|
|
9899
|
-
type: string
|
|
9900
|
-
default: scroll
|
|
9901
|
-
enum:
|
|
9902
|
-
- scroll
|
|
9903
|
-
- wrap
|
|
9904
|
-
lineNumbers:
|
|
9905
|
-
type: boolean
|
|
9906
|
-
fullWidth:
|
|
9907
|
-
type: boolean
|
|
9908
|
-
nodes:
|
|
9984
|
+
fragments:
|
|
9909
9985
|
type: array
|
|
9910
9986
|
items:
|
|
9911
|
-
|
|
9987
|
+
allOf:
|
|
9988
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
9989
|
+
- type: object
|
|
9990
|
+
properties:
|
|
9991
|
+
type:
|
|
9992
|
+
type: string
|
|
9993
|
+
enum:
|
|
9994
|
+
- annotation-body
|
|
9995
|
+
nodes:
|
|
9996
|
+
type: array
|
|
9997
|
+
items:
|
|
9998
|
+
oneOf:
|
|
9999
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
10000
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
10001
|
+
minItems: 1
|
|
10002
|
+
required:
|
|
10003
|
+
- nodes
|
|
10004
|
+
- type
|
|
9912
10005
|
isVoid:
|
|
9913
10006
|
type: boolean
|
|
9914
10007
|
enum:
|
|
9915
10008
|
- false
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
- nodes
|
|
9921
|
-
DocumentInlineMention:
|
|
9922
|
-
type: object
|
|
9923
|
-
properties:
|
|
9924
|
-
object:
|
|
9925
|
-
type: string
|
|
9926
|
-
enum:
|
|
9927
|
-
- inline
|
|
9928
|
-
type:
|
|
9929
|
-
type: string
|
|
9930
|
-
enum:
|
|
9931
|
-
- mention
|
|
9932
|
-
key:
|
|
9933
|
-
type: string
|
|
10009
|
+
nodes:
|
|
10010
|
+
type: array
|
|
10011
|
+
items:
|
|
10012
|
+
$ref: "#/components/schemas/DocumentText"
|
|
9934
10013
|
data:
|
|
9935
10014
|
type: object
|
|
9936
|
-
properties:
|
|
9937
|
-
|
|
9938
|
-
$ref: "#/components/schemas/ContentRef"
|
|
9939
|
-
required:
|
|
9940
|
-
- ref
|
|
9941
|
-
isVoid:
|
|
9942
|
-
type: boolean
|
|
9943
|
-
enum:
|
|
9944
|
-
- true
|
|
10015
|
+
properties: {}
|
|
10016
|
+
additionalProperties: false
|
|
9945
10017
|
required:
|
|
9946
10018
|
- object
|
|
9947
10019
|
- type
|
|
9948
|
-
-
|
|
10020
|
+
- fragments
|
|
9949
10021
|
- isVoid
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
9953
|
-
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
9954
|
-
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
9955
|
-
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
9956
|
-
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
9957
|
-
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
9958
|
-
DocumentBlockParagraph:
|
|
10022
|
+
- nodes
|
|
10023
|
+
DocumentBlockCodeLine:
|
|
9959
10024
|
type: object
|
|
9960
10025
|
properties:
|
|
9961
10026
|
object:
|
|
@@ -9965,28 +10030,30 @@ components:
|
|
|
9965
10030
|
type:
|
|
9966
10031
|
type: string
|
|
9967
10032
|
enum:
|
|
9968
|
-
-
|
|
10033
|
+
- code-line
|
|
9969
10034
|
key:
|
|
9970
10035
|
type: string
|
|
9971
10036
|
nodes:
|
|
9972
10037
|
type: array
|
|
9973
10038
|
items:
|
|
9974
10039
|
oneOf:
|
|
9975
|
-
- $ref: "#/components/schemas/DocumentInline"
|
|
9976
10040
|
- $ref: "#/components/schemas/DocumentText"
|
|
10041
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
10042
|
+
data:
|
|
10043
|
+
type: object
|
|
10044
|
+
properties:
|
|
10045
|
+
highlighted:
|
|
10046
|
+
type: boolean
|
|
9977
10047
|
isVoid:
|
|
9978
10048
|
type: boolean
|
|
9979
10049
|
enum:
|
|
9980
10050
|
- false
|
|
9981
|
-
data:
|
|
9982
|
-
type: object
|
|
9983
|
-
properties: {}
|
|
9984
|
-
additionalProperties: false
|
|
9985
10051
|
required:
|
|
9986
10052
|
- object
|
|
9987
10053
|
- type
|
|
9988
10054
|
- nodes
|
|
9989
|
-
|
|
10055
|
+
- data
|
|
10056
|
+
DocumentBlockCode:
|
|
9990
10057
|
type: object
|
|
9991
10058
|
properties:
|
|
9992
10059
|
object:
|
|
@@ -9996,31 +10063,30 @@ components:
|
|
|
9996
10063
|
type:
|
|
9997
10064
|
type: string
|
|
9998
10065
|
enum:
|
|
9999
|
-
-
|
|
10000
|
-
- heading-2
|
|
10001
|
-
- heading-3
|
|
10066
|
+
- code
|
|
10002
10067
|
key:
|
|
10003
10068
|
type: string
|
|
10004
|
-
nodes:
|
|
10005
|
-
type: array
|
|
10006
|
-
items:
|
|
10007
|
-
oneOf:
|
|
10008
|
-
- $ref: "#/components/schemas/DocumentInline"
|
|
10009
|
-
- $ref: "#/components/schemas/DocumentText"
|
|
10010
10069
|
data:
|
|
10011
10070
|
type: object
|
|
10012
10071
|
properties:
|
|
10013
|
-
|
|
10072
|
+
syntax:
|
|
10014
10073
|
type: string
|
|
10015
|
-
|
|
10016
|
-
meta:
|
|
10017
|
-
type: object
|
|
10018
|
-
properties:
|
|
10019
|
-
id:
|
|
10020
|
-
description: Unique ID to be used in an URL for the block.
|
|
10074
|
+
title:
|
|
10021
10075
|
type: string
|
|
10022
|
-
|
|
10023
|
-
|
|
10076
|
+
overflow:
|
|
10077
|
+
type: string
|
|
10078
|
+
default: scroll
|
|
10079
|
+
enum:
|
|
10080
|
+
- scroll
|
|
10081
|
+
- wrap
|
|
10082
|
+
lineNumbers:
|
|
10083
|
+
type: boolean
|
|
10084
|
+
fullWidth:
|
|
10085
|
+
type: boolean
|
|
10086
|
+
nodes:
|
|
10087
|
+
type: array
|
|
10088
|
+
items:
|
|
10089
|
+
$ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
10024
10090
|
isVoid:
|
|
10025
10091
|
type: boolean
|
|
10026
10092
|
enum:
|
|
@@ -10028,8 +10094,8 @@ components:
|
|
|
10028
10094
|
required:
|
|
10029
10095
|
- object
|
|
10030
10096
|
- type
|
|
10031
|
-
- nodes
|
|
10032
10097
|
- data
|
|
10098
|
+
- nodes
|
|
10033
10099
|
DocumentBlockHint:
|
|
10034
10100
|
type: object
|
|
10035
10101
|
properties:
|
|
@@ -10365,6 +10431,26 @@ components:
|
|
|
10365
10431
|
- $ref: "#/components/schemas/DocumentTableDefinitionRating"
|
|
10366
10432
|
- $ref: "#/components/schemas/DocumentTableDefinitionSelect"
|
|
10367
10433
|
- $ref: "#/components/schemas/DocumentTableDefinitionContentRef"
|
|
10434
|
+
DocumentFragment:
|
|
10435
|
+
type: object
|
|
10436
|
+
properties:
|
|
10437
|
+
object:
|
|
10438
|
+
type: string
|
|
10439
|
+
enum:
|
|
10440
|
+
- fragment
|
|
10441
|
+
key:
|
|
10442
|
+
type: string
|
|
10443
|
+
fragment:
|
|
10444
|
+
type: string
|
|
10445
|
+
type:
|
|
10446
|
+
type: string
|
|
10447
|
+
nodes:
|
|
10448
|
+
type: array
|
|
10449
|
+
items:
|
|
10450
|
+
$ref: "#/components/schemas/DocumentBlock"
|
|
10451
|
+
required:
|
|
10452
|
+
- object
|
|
10453
|
+
- nodes
|
|
10368
10454
|
DocumentBlockTable:
|
|
10369
10455
|
type: object
|
|
10370
10456
|
properties:
|
|
@@ -10767,6 +10853,35 @@ components:
|
|
|
10767
10853
|
- type
|
|
10768
10854
|
- data
|
|
10769
10855
|
- isVoid
|
|
10856
|
+
DocumentBlockReusableContent:
|
|
10857
|
+
type: object
|
|
10858
|
+
properties:
|
|
10859
|
+
object:
|
|
10860
|
+
type: string
|
|
10861
|
+
enum:
|
|
10862
|
+
- block
|
|
10863
|
+
type:
|
|
10864
|
+
type: string
|
|
10865
|
+
enum:
|
|
10866
|
+
- reusable-content
|
|
10867
|
+
key:
|
|
10868
|
+
type: string
|
|
10869
|
+
data:
|
|
10870
|
+
type: object
|
|
10871
|
+
properties:
|
|
10872
|
+
ref:
|
|
10873
|
+
$ref: "#/components/schemas/ContentRefReusableContent"
|
|
10874
|
+
required:
|
|
10875
|
+
- ref
|
|
10876
|
+
isVoid:
|
|
10877
|
+
type: boolean
|
|
10878
|
+
enum:
|
|
10879
|
+
- true
|
|
10880
|
+
required:
|
|
10881
|
+
- object
|
|
10882
|
+
- type
|
|
10883
|
+
- data
|
|
10884
|
+
- isVoid
|
|
10770
10885
|
DocumentBlockExpandable:
|
|
10771
10886
|
type: object
|
|
10772
10887
|
properties:
|
|
@@ -10832,6 +10947,10 @@ components:
|
|
|
10832
10947
|
oneOf:
|
|
10833
10948
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
10834
10949
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
10950
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
10951
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
10952
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
10953
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
10835
10954
|
minItems: 1
|
|
10836
10955
|
required:
|
|
10837
10956
|
- nodes
|
|
@@ -11248,35 +11367,6 @@ components:
|
|
|
11248
11367
|
- type
|
|
11249
11368
|
- data
|
|
11250
11369
|
- isVoid
|
|
11251
|
-
DocumentBlockReusableContent:
|
|
11252
|
-
type: object
|
|
11253
|
-
properties:
|
|
11254
|
-
object:
|
|
11255
|
-
type: string
|
|
11256
|
-
enum:
|
|
11257
|
-
- block
|
|
11258
|
-
type:
|
|
11259
|
-
type: string
|
|
11260
|
-
enum:
|
|
11261
|
-
- reusable-content
|
|
11262
|
-
key:
|
|
11263
|
-
type: string
|
|
11264
|
-
data:
|
|
11265
|
-
type: object
|
|
11266
|
-
properties:
|
|
11267
|
-
ref:
|
|
11268
|
-
$ref: "#/components/schemas/ContentRefReusableContent"
|
|
11269
|
-
required:
|
|
11270
|
-
- ref
|
|
11271
|
-
isVoid:
|
|
11272
|
-
type: boolean
|
|
11273
|
-
enum:
|
|
11274
|
-
- true
|
|
11275
|
-
required:
|
|
11276
|
-
- object
|
|
11277
|
-
- type
|
|
11278
|
-
- data
|
|
11279
|
-
- isVoid
|
|
11280
11370
|
DocumentBlockStepperStep:
|
|
11281
11371
|
type: object
|
|
11282
11372
|
properties:
|
|
@@ -11348,6 +11438,66 @@ components:
|
|
|
11348
11438
|
- object
|
|
11349
11439
|
- type
|
|
11350
11440
|
- nodes
|
|
11441
|
+
DocumentBlock:
|
|
11442
|
+
oneOf:
|
|
11443
|
+
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
11444
|
+
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
11445
|
+
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
11446
|
+
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
11447
|
+
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
11448
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
11449
|
+
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
11450
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
11451
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
11452
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
11453
|
+
- $ref: "#/components/schemas/DocumentBlockImage"
|
|
11454
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
11455
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
11456
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
11457
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
11458
|
+
- $ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
11459
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
11460
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
11461
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
11462
|
+
- $ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
11463
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
11464
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPI"
|
|
11465
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
|
|
11466
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
|
|
11467
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
11468
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
11469
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
11470
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
11471
|
+
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
11472
|
+
DocumentInlineMention:
|
|
11473
|
+
type: object
|
|
11474
|
+
properties:
|
|
11475
|
+
object:
|
|
11476
|
+
type: string
|
|
11477
|
+
enum:
|
|
11478
|
+
- inline
|
|
11479
|
+
type:
|
|
11480
|
+
type: string
|
|
11481
|
+
enum:
|
|
11482
|
+
- mention
|
|
11483
|
+
key:
|
|
11484
|
+
type: string
|
|
11485
|
+
data:
|
|
11486
|
+
type: object
|
|
11487
|
+
properties:
|
|
11488
|
+
ref:
|
|
11489
|
+
$ref: "#/components/schemas/ContentRef"
|
|
11490
|
+
required:
|
|
11491
|
+
- ref
|
|
11492
|
+
isVoid:
|
|
11493
|
+
type: boolean
|
|
11494
|
+
enum:
|
|
11495
|
+
- true
|
|
11496
|
+
required:
|
|
11497
|
+
- object
|
|
11498
|
+
- type
|
|
11499
|
+
- data
|
|
11500
|
+
- isVoid
|
|
11351
11501
|
DocumentBlocksTopLevels:
|
|
11352
11502
|
oneOf:
|
|
11353
11503
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
@@ -11464,9 +11614,6 @@ components:
|
|
|
11464
11614
|
type: boolean
|
|
11465
11615
|
description: If true, the page is not indexable by search engine robots.
|
|
11466
11616
|
default: false
|
|
11467
|
-
computed:
|
|
11468
|
-
description: Defined when the page was generated by a computed content.
|
|
11469
|
-
$ref: "#/components/schemas/ComputedContentSource"
|
|
11470
11617
|
required:
|
|
11471
11618
|
- kind
|
|
11472
11619
|
- type
|
|
@@ -11475,6 +11622,23 @@ components:
|
|
|
11475
11622
|
- path
|
|
11476
11623
|
- pages
|
|
11477
11624
|
- layout
|
|
11625
|
+
- oneOf:
|
|
11626
|
+
- type: object
|
|
11627
|
+
description: Defined when the page was generated by a computed content.
|
|
11628
|
+
properties:
|
|
11629
|
+
computed:
|
|
11630
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
11631
|
+
computedSeed:
|
|
11632
|
+
type: string
|
|
11633
|
+
description: Seed to use for the generation of IDs.
|
|
11634
|
+
required:
|
|
11635
|
+
- computed
|
|
11636
|
+
- computedSeed
|
|
11637
|
+
- type: object
|
|
11638
|
+
properties:
|
|
11639
|
+
documentId:
|
|
11640
|
+
type: string
|
|
11641
|
+
description: ID of the document with the page body. If undefined, the page is empty.
|
|
11478
11642
|
RevisionPageLink:
|
|
11479
11643
|
allOf:
|
|
11480
11644
|
- $ref: "#/components/schemas/RevisionPageBase"
|
|
@@ -16055,6 +16219,7 @@ components:
|
|
|
16055
16219
|
enum:
|
|
16056
16220
|
- header-logo
|
|
16057
16221
|
- theme-preset
|
|
16222
|
+
- premium-fonts
|
|
16058
16223
|
- custom-fonts
|
|
16059
16224
|
- custom-icons
|
|
16060
16225
|
- footer-logo
|
|
@@ -16918,6 +17083,14 @@ components:
|
|
|
16918
17083
|
newType:
|
|
16919
17084
|
description: The new type of the site
|
|
16920
17085
|
$ref: "#/components/schemas/SiteType"
|
|
17086
|
+
traffic:
|
|
17087
|
+
type: object
|
|
17088
|
+
properties:
|
|
17089
|
+
pageviews:
|
|
17090
|
+
description: Number of pageviews in the past 30 days
|
|
17091
|
+
type: number
|
|
17092
|
+
required:
|
|
17093
|
+
- pageviews
|
|
16921
17094
|
features:
|
|
16922
17095
|
type: array
|
|
16923
17096
|
items:
|
|
@@ -16926,6 +17099,7 @@ components:
|
|
|
16926
17099
|
- object
|
|
16927
17100
|
- site
|
|
16928
17101
|
- newType
|
|
17102
|
+
- traffic
|
|
16929
17103
|
- features
|
|
16930
17104
|
BillingPortal:
|
|
16931
17105
|
type: object
|
|
@@ -17297,6 +17471,155 @@ components:
|
|
|
17297
17471
|
required:
|
|
17298
17472
|
- type
|
|
17299
17473
|
- answer
|
|
17474
|
+
OpenAPISpecVersion:
|
|
17475
|
+
type: object
|
|
17476
|
+
properties:
|
|
17477
|
+
object:
|
|
17478
|
+
description: The object type, which is always "openapi-spec-version"
|
|
17479
|
+
type: string
|
|
17480
|
+
enum:
|
|
17481
|
+
- openapi-spec-version
|
|
17482
|
+
id:
|
|
17483
|
+
description: Unique identifier
|
|
17484
|
+
type: string
|
|
17485
|
+
createdAt:
|
|
17486
|
+
description: Date of creation
|
|
17487
|
+
$ref: "#/components/schemas/Timestamp"
|
|
17488
|
+
url:
|
|
17489
|
+
description: URL where the specification is accessible.
|
|
17490
|
+
$ref: "#/components/schemas/URL"
|
|
17491
|
+
urls:
|
|
17492
|
+
type: object
|
|
17493
|
+
description: URLs associated with the object
|
|
17494
|
+
properties:
|
|
17495
|
+
location:
|
|
17496
|
+
description: URL of the OpenAPI specification version in the API
|
|
17497
|
+
$ref: "#/components/schemas/URL"
|
|
17498
|
+
app:
|
|
17499
|
+
description: URL of the OpenAPI specification version in the application
|
|
17500
|
+
$ref: "#/components/schemas/URL"
|
|
17501
|
+
required:
|
|
17502
|
+
- app
|
|
17503
|
+
- location
|
|
17504
|
+
required:
|
|
17505
|
+
- object
|
|
17506
|
+
- id
|
|
17507
|
+
- url
|
|
17508
|
+
- urls
|
|
17509
|
+
OpenAPISpecContent:
|
|
17510
|
+
description: Content of the specification available through filesystem or public URL.
|
|
17511
|
+
type: object
|
|
17512
|
+
properties:
|
|
17513
|
+
filesystem:
|
|
17514
|
+
description: Filesystem containing all specifications.
|
|
17515
|
+
type: object
|
|
17516
|
+
url:
|
|
17517
|
+
$ref: "#/components/schemas/URL"
|
|
17518
|
+
required:
|
|
17519
|
+
- filesystem
|
|
17520
|
+
- url
|
|
17521
|
+
StorageFileMetadata:
|
|
17522
|
+
type: object
|
|
17523
|
+
properties:
|
|
17524
|
+
name:
|
|
17525
|
+
type: string
|
|
17526
|
+
description: Original filename
|
|
17527
|
+
type:
|
|
17528
|
+
type: string
|
|
17529
|
+
description: MIME type of the file
|
|
17530
|
+
size:
|
|
17531
|
+
type: number
|
|
17532
|
+
description: Size of the file in bytes
|
|
17533
|
+
required:
|
|
17534
|
+
- name
|
|
17535
|
+
- type
|
|
17536
|
+
- size
|
|
17537
|
+
StorageUploadKind:
|
|
17538
|
+
type: string
|
|
17539
|
+
enum:
|
|
17540
|
+
- customization_font
|
|
17541
|
+
StorageUploadURL:
|
|
17542
|
+
type: object
|
|
17543
|
+
properties:
|
|
17544
|
+
object:
|
|
17545
|
+
type: string
|
|
17546
|
+
description: The kind of file to upload
|
|
17547
|
+
enum:
|
|
17548
|
+
- storage-signed-url
|
|
17549
|
+
url:
|
|
17550
|
+
$ref: "#/components/schemas/URL"
|
|
17551
|
+
description: Presigned URL for uploading the file
|
|
17552
|
+
key:
|
|
17553
|
+
type: string
|
|
17554
|
+
description: The bucket object key for the file
|
|
17555
|
+
required:
|
|
17556
|
+
- object
|
|
17557
|
+
- url
|
|
17558
|
+
- key
|
|
17559
|
+
FontFamily:
|
|
17560
|
+
type: string
|
|
17561
|
+
description: The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
|
|
17562
|
+
minLength: 1
|
|
17563
|
+
maxLength: 50
|
|
17564
|
+
FontWeight:
|
|
17565
|
+
type: integer
|
|
17566
|
+
description: Numeric representation of the font weight (400=regular, 500=medium, 700=bold, 900=black).
|
|
17567
|
+
minimum: 1
|
|
17568
|
+
maximum: 1000
|
|
17569
|
+
FontSource:
|
|
17570
|
+
type: object
|
|
17571
|
+
description: A font file referenced within a font-face declaration, specifying the file's location and format.
|
|
17572
|
+
properties:
|
|
17573
|
+
url:
|
|
17574
|
+
description: The absolute or relative URL pointing to the font file.
|
|
17575
|
+
$ref: "#/components/schemas/URL"
|
|
17576
|
+
format:
|
|
17577
|
+
type: string
|
|
17578
|
+
description: The format of the font file. Prefer 'woff2' for modern browsers.
|
|
17579
|
+
enum:
|
|
17580
|
+
- woff2
|
|
17581
|
+
- woff
|
|
17582
|
+
required:
|
|
17583
|
+
- url
|
|
17584
|
+
FontFace:
|
|
17585
|
+
type: object
|
|
17586
|
+
description: A single font-face declaration specifying the weight and source files for a particular variation of the font.
|
|
17587
|
+
properties:
|
|
17588
|
+
weight:
|
|
17589
|
+
$ref: "#/components/schemas/FontWeight"
|
|
17590
|
+
sources:
|
|
17591
|
+
type: array
|
|
17592
|
+
description: Font source files provided in supported formats (e.g., woff2, woff).
|
|
17593
|
+
items:
|
|
17594
|
+
$ref: "#/components/schemas/FontSource"
|
|
17595
|
+
minItems: 1
|
|
17596
|
+
required:
|
|
17597
|
+
- weight
|
|
17598
|
+
- sources
|
|
17599
|
+
CustomizationFontDefinition:
|
|
17600
|
+
type: object
|
|
17601
|
+
description: Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
|
|
17602
|
+
properties:
|
|
17603
|
+
id:
|
|
17604
|
+
type: string
|
|
17605
|
+
description: A globally unique identifier for the font definition.
|
|
17606
|
+
fontFamily:
|
|
17607
|
+
$ref: "#/components/schemas/FontFamily"
|
|
17608
|
+
fontFaces:
|
|
17609
|
+
type: array
|
|
17610
|
+
description: A list of font-face definitions, specifying variations such as weight and style.
|
|
17611
|
+
items:
|
|
17612
|
+
$ref: "#/components/schemas/FontFace"
|
|
17613
|
+
minItems: 1
|
|
17614
|
+
required:
|
|
17615
|
+
- id
|
|
17616
|
+
- fontFamily
|
|
17617
|
+
- fontFaces
|
|
17618
|
+
StorageFileKey:
|
|
17619
|
+
type: string
|
|
17620
|
+
description: The path of the file in the storage bucket
|
|
17621
|
+
minLength: 1
|
|
17622
|
+
maxLength: 512
|
|
17300
17623
|
BillingOperationPreviewResponse:
|
|
17301
17624
|
description: |
|
|
17302
17625
|
A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.
|
|
@@ -17422,6 +17745,7 @@ components:
|
|
|
17422
17745
|
CustomizationFont:
|
|
17423
17746
|
oneOf:
|
|
17424
17747
|
- $ref: "#/components/schemas/CustomizationDefaultFont"
|
|
17748
|
+
- $ref: "#/components/schemas/CustomizationFontDefinition"
|
|
17425
17749
|
CustomizationBackground:
|
|
17426
17750
|
type: string
|
|
17427
17751
|
enum:
|
|
@@ -19531,44 +19855,6 @@ components:
|
|
|
19531
19855
|
- id
|
|
19532
19856
|
- source
|
|
19533
19857
|
- destination
|
|
19534
|
-
StorageFileMetadata:
|
|
19535
|
-
type: object
|
|
19536
|
-
properties:
|
|
19537
|
-
name:
|
|
19538
|
-
type: string
|
|
19539
|
-
description: Original filename
|
|
19540
|
-
type:
|
|
19541
|
-
type: string
|
|
19542
|
-
description: MIME type of the file
|
|
19543
|
-
size:
|
|
19544
|
-
type: number
|
|
19545
|
-
description: Size of the file in bytes
|
|
19546
|
-
required:
|
|
19547
|
-
- name
|
|
19548
|
-
- type
|
|
19549
|
-
- size
|
|
19550
|
-
StorageUploadKind:
|
|
19551
|
-
type: string
|
|
19552
|
-
enum:
|
|
19553
|
-
- customization_font
|
|
19554
|
-
StorageUploadURL:
|
|
19555
|
-
type: object
|
|
19556
|
-
properties:
|
|
19557
|
-
object:
|
|
19558
|
-
type: string
|
|
19559
|
-
description: The kind of file to upload
|
|
19560
|
-
enum:
|
|
19561
|
-
- storage-signed-url
|
|
19562
|
-
url:
|
|
19563
|
-
$ref: "#/components/schemas/URL"
|
|
19564
|
-
description: Presigned URL for uploading the file
|
|
19565
|
-
key:
|
|
19566
|
-
type: string
|
|
19567
|
-
description: The bucket object key for the file
|
|
19568
|
-
required:
|
|
19569
|
-
- object
|
|
19570
|
-
- url
|
|
19571
|
-
- key
|
|
19572
19858
|
CustomHostnameDnsStatus:
|
|
19573
19859
|
type: string
|
|
19574
19860
|
enum:
|
|
@@ -19977,6 +20263,9 @@ components:
|
|
|
19977
20263
|
basePath:
|
|
19978
20264
|
type: string
|
|
19979
20265
|
description: Prefix of the path in the URL dedicated to the space
|
|
20266
|
+
siteBasePath:
|
|
20267
|
+
type: string
|
|
20268
|
+
description: Prefix of the path in the URL dedicated to the site
|
|
19980
20269
|
apiToken:
|
|
19981
20270
|
type: string
|
|
19982
20271
|
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
@@ -19998,6 +20287,7 @@ components:
|
|
|
19998
20287
|
- space
|
|
19999
20288
|
- pathname
|
|
20000
20289
|
- basePath
|
|
20290
|
+
- siteBasePath
|
|
20001
20291
|
- apiToken
|
|
20002
20292
|
- organization
|
|
20003
20293
|
- complete
|
|
@@ -20019,53 +20309,6 @@ components:
|
|
|
20019
20309
|
- target
|
|
20020
20310
|
- redirect
|
|
20021
20311
|
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
20022
|
-
OpenAPISpecVersion:
|
|
20023
|
-
type: object
|
|
20024
|
-
properties:
|
|
20025
|
-
object:
|
|
20026
|
-
description: The object type, which is always "openapi-spec-version"
|
|
20027
|
-
type: string
|
|
20028
|
-
enum:
|
|
20029
|
-
- openapi-spec-version
|
|
20030
|
-
id:
|
|
20031
|
-
description: Unique identifier
|
|
20032
|
-
type: string
|
|
20033
|
-
createdAt:
|
|
20034
|
-
description: Date of creation
|
|
20035
|
-
$ref: "#/components/schemas/Timestamp"
|
|
20036
|
-
url:
|
|
20037
|
-
description: URL where the specification is accessible.
|
|
20038
|
-
$ref: "#/components/schemas/URL"
|
|
20039
|
-
urls:
|
|
20040
|
-
type: object
|
|
20041
|
-
description: URLs associated with the object
|
|
20042
|
-
properties:
|
|
20043
|
-
location:
|
|
20044
|
-
description: URL of the OpenAPI specification version in the API
|
|
20045
|
-
$ref: "#/components/schemas/URL"
|
|
20046
|
-
app:
|
|
20047
|
-
description: URL of the OpenAPI specification version in the application
|
|
20048
|
-
$ref: "#/components/schemas/URL"
|
|
20049
|
-
required:
|
|
20050
|
-
- app
|
|
20051
|
-
- location
|
|
20052
|
-
required:
|
|
20053
|
-
- object
|
|
20054
|
-
- id
|
|
20055
|
-
- url
|
|
20056
|
-
- urls
|
|
20057
|
-
OpenAPISpecContent:
|
|
20058
|
-
description: Content of the specification available through filesystem or public URL.
|
|
20059
|
-
type: object
|
|
20060
|
-
properties:
|
|
20061
|
-
filesystem:
|
|
20062
|
-
description: Filesystem containing all specifications.
|
|
20063
|
-
type: object
|
|
20064
|
-
url:
|
|
20065
|
-
$ref: "#/components/schemas/URL"
|
|
20066
|
-
required:
|
|
20067
|
-
- filesystem
|
|
20068
|
-
- url
|
|
20069
20312
|
SHA256:
|
|
20070
20313
|
type: string
|
|
20071
20314
|
minLength: 64
|
|
@@ -20222,37 +20465,6 @@ components:
|
|
|
20222
20465
|
- object
|
|
20223
20466
|
- id
|
|
20224
20467
|
- privateKey
|
|
20225
|
-
DocumentBlock:
|
|
20226
|
-
oneOf:
|
|
20227
|
-
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
20228
|
-
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
20229
|
-
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
20230
|
-
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
20231
|
-
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
20232
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
20233
|
-
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
20234
|
-
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
20235
|
-
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
20236
|
-
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
20237
|
-
- $ref: "#/components/schemas/DocumentBlockImage"
|
|
20238
|
-
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
20239
|
-
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
20240
|
-
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
20241
|
-
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
20242
|
-
- $ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
20243
|
-
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
20244
|
-
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
20245
|
-
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
20246
|
-
- $ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
20247
|
-
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
20248
|
-
- $ref: "#/components/schemas/DocumentBlockOpenAPI"
|
|
20249
|
-
- $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
|
|
20250
|
-
- $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
|
|
20251
|
-
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
20252
|
-
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
20253
|
-
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
20254
|
-
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
20255
|
-
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
20256
20468
|
ComputedContentDependency:
|
|
20257
20469
|
type: object
|
|
20258
20470
|
description: Dependency for a computation, before its resolution.
|
|
@@ -21119,6 +21331,19 @@ components:
|
|
|
21119
21331
|
required:
|
|
21120
21332
|
- channel
|
|
21121
21333
|
- organization
|
|
21334
|
+
OrganizationCustomFontsChannel:
|
|
21335
|
+
type: object
|
|
21336
|
+
description: Subscription channel for changes in custom fonts in an organization.
|
|
21337
|
+
properties:
|
|
21338
|
+
channel:
|
|
21339
|
+
type: string
|
|
21340
|
+
enum:
|
|
21341
|
+
- organization-fonts
|
|
21342
|
+
organization:
|
|
21343
|
+
type: string
|
|
21344
|
+
required:
|
|
21345
|
+
- channel
|
|
21346
|
+
- organization
|
|
21122
21347
|
SpaceCommentsChannel:
|
|
21123
21348
|
type: object
|
|
21124
21349
|
properties:
|
|
@@ -21531,6 +21756,7 @@ components:
|
|
|
21531
21756
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
21532
21757
|
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
21533
21758
|
- $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
21759
|
+
- $ref: "#/components/schemas/OrganizationCustomFontsChannel"
|
|
21534
21760
|
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
21535
21761
|
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
21536
21762
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
@@ -21832,11 +22058,6 @@ components:
|
|
|
21832
22058
|
- git
|
|
21833
22059
|
- privacyPolicy
|
|
21834
22060
|
- socialPreview
|
|
21835
|
-
CustomizationFontFamilyName:
|
|
21836
|
-
type: string
|
|
21837
|
-
description: A user friendly name for the font family (e.g., "Open Sans", "Playfair Display")
|
|
21838
|
-
minLength: 1
|
|
21839
|
-
maxLength: 50
|
|
21840
22061
|
SiteAdsStatus:
|
|
21841
22062
|
type: string
|
|
21842
22063
|
description: The status of ads on the site
|
|
@@ -21846,11 +22067,6 @@ components:
|
|
|
21846
22067
|
- live
|
|
21847
22068
|
- rejected
|
|
21848
22069
|
- disabled
|
|
21849
|
-
StorageFileKey:
|
|
21850
|
-
type: string
|
|
21851
|
-
description: The path of the file in the storage bucket
|
|
21852
|
-
minLength: 1
|
|
21853
|
-
maxLength: 512
|
|
21854
22070
|
Seat:
|
|
21855
22071
|
type: object
|
|
21856
22072
|
properties:
|