@gitbook/api 0.100.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 +421 -334
- package/dist/index.cjs +102 -80
- package/dist/index.js +102 -80
- package/package.json +1 -1
- package/spec/openapi.json +3432 -3183
- package/spec/openapi.yaml +1113 -962
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,136 +5680,597 @@ 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
|
|
5819
|
+
tags:
|
|
5820
|
+
- openapi
|
|
5821
|
+
security:
|
|
5822
|
+
- user: []
|
|
5823
|
+
parameters:
|
|
5824
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5825
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5826
|
+
- $ref: "#/components/parameters/openapiSpecVersionId"
|
|
5827
|
+
responses:
|
|
5828
|
+
"200":
|
|
5829
|
+
description: OK
|
|
5830
|
+
content:
|
|
5831
|
+
application/json:
|
|
5832
|
+
schema:
|
|
5833
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
5834
|
+
"404":
|
|
5835
|
+
description: No matching OpenAPI specification version found
|
|
5836
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5837
|
+
default:
|
|
5838
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5839
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content":
|
|
5840
|
+
get:
|
|
5841
|
+
operationId: getOpenAPISpecVersionContentById
|
|
5842
|
+
summary: Get an OpenAPI specification version content by its ID
|
|
5843
|
+
tags:
|
|
5844
|
+
- openapi
|
|
5845
|
+
security:
|
|
5846
|
+
- user: []
|
|
5847
|
+
parameters:
|
|
5848
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5849
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5850
|
+
- $ref: "#/components/parameters/openapiSpecVersionId"
|
|
5851
|
+
responses:
|
|
5852
|
+
"200":
|
|
5853
|
+
description: OK
|
|
5854
|
+
content:
|
|
5855
|
+
application/json:
|
|
5856
|
+
schema:
|
|
5857
|
+
$ref: "#/components/schemas/OpenAPISpecContent"
|
|
5858
|
+
"404":
|
|
5859
|
+
description: No matching OpenAPI specification version found
|
|
5860
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5861
|
+
default:
|
|
5862
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
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
|
|
5868
|
+
tags:
|
|
5869
|
+
- organizations
|
|
5870
|
+
security:
|
|
5871
|
+
- user-internal: []
|
|
5872
|
+
parameters:
|
|
5873
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5874
|
+
requestBody:
|
|
5875
|
+
required: true
|
|
5876
|
+
content:
|
|
5877
|
+
application/json:
|
|
5878
|
+
schema:
|
|
5879
|
+
type: object
|
|
5880
|
+
required:
|
|
5881
|
+
- file
|
|
5882
|
+
- kind
|
|
5883
|
+
properties:
|
|
5884
|
+
file:
|
|
5885
|
+
$ref: "#/components/schemas/StorageFileMetadata"
|
|
5886
|
+
kind:
|
|
5887
|
+
$ref: "#/components/schemas/StorageUploadKind"
|
|
5888
|
+
responses:
|
|
5889
|
+
"201":
|
|
5890
|
+
description: Successfully generated signed URL for file upload
|
|
5891
|
+
content:
|
|
5892
|
+
application/json:
|
|
5893
|
+
schema:
|
|
5894
|
+
$ref: "#/components/schemas/StorageUploadURL"
|
|
5895
|
+
"400":
|
|
5896
|
+
$ref: "#/components/responses/BadRequestError"
|
|
5897
|
+
default:
|
|
5898
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5899
|
+
"/orgs/{organizationId}/fonts":
|
|
5900
|
+
get:
|
|
5901
|
+
operationId: listCustomFonts
|
|
5902
|
+
summary: List custom fonts in organization
|
|
5903
|
+
tags:
|
|
5904
|
+
- organizations
|
|
5905
|
+
security:
|
|
5906
|
+
- user-internal: []
|
|
5907
|
+
parameters:
|
|
5908
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5909
|
+
responses:
|
|
5910
|
+
"200":
|
|
5911
|
+
description: OK
|
|
5912
|
+
content:
|
|
5913
|
+
application/json:
|
|
5914
|
+
schema:
|
|
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"
|
|
5925
|
+
"404":
|
|
5926
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5927
|
+
default:
|
|
5928
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5929
|
+
put:
|
|
5930
|
+
operationId: createCustomFont
|
|
5931
|
+
summary: Create a custom font in organization
|
|
5932
|
+
tags:
|
|
5933
|
+
- organizations
|
|
5934
|
+
security:
|
|
5935
|
+
- user-internal: []
|
|
5936
|
+
parameters:
|
|
5937
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5938
|
+
requestBody:
|
|
5939
|
+
required: true
|
|
5940
|
+
content:
|
|
5941
|
+
application/json:
|
|
5942
|
+
schema:
|
|
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
|
|
5967
|
+
responses:
|
|
5968
|
+
"201":
|
|
5969
|
+
description: Custom font created successfully.
|
|
5970
|
+
content:
|
|
5971
|
+
application/json:
|
|
5972
|
+
schema:
|
|
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"
|
|
5979
|
+
default:
|
|
5980
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5981
|
+
"/orgs/{organizationId}/fonts/{fontId}":
|
|
5982
|
+
delete:
|
|
5983
|
+
operationId: deleteCustomFont
|
|
5984
|
+
summary: Delete a custom font from an organization
|
|
5985
|
+
tags:
|
|
5986
|
+
- organizations
|
|
5987
|
+
security:
|
|
5988
|
+
- user-internal: []
|
|
5989
|
+
parameters:
|
|
5990
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5991
|
+
- $ref: "#/components/parameters/fontId"
|
|
5992
|
+
responses:
|
|
5993
|
+
"204":
|
|
5994
|
+
description: Custom font deleted successfully.
|
|
5995
|
+
"404":
|
|
5996
|
+
description: Organization or font not found.
|
|
5997
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5998
|
+
default:
|
|
5999
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6000
|
+
"/orgs/{organizationId}/sites":
|
|
6001
|
+
get:
|
|
6002
|
+
operationId: listSites
|
|
6003
|
+
summary: List all the sites created in an organization
|
|
6004
|
+
tags:
|
|
6005
|
+
- sites
|
|
6006
|
+
- critical
|
|
6007
|
+
security:
|
|
6008
|
+
- user: []
|
|
6009
|
+
parameters:
|
|
6010
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6011
|
+
- $ref: "#/components/parameters/listPage"
|
|
6012
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6013
|
+
- name: space
|
|
6014
|
+
in: query
|
|
6015
|
+
description: Identifier of the space to filter the sites by
|
|
6016
|
+
required: false
|
|
6017
|
+
schema:
|
|
6018
|
+
type: string
|
|
6019
|
+
- name: title
|
|
6020
|
+
in: query
|
|
6021
|
+
description: Filter sites by their title
|
|
6022
|
+
required: false
|
|
6023
|
+
schema:
|
|
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"
|
|
6039
|
+
responses:
|
|
6040
|
+
"200":
|
|
6041
|
+
description: OK
|
|
6042
|
+
content:
|
|
6043
|
+
application/json:
|
|
6044
|
+
schema:
|
|
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"
|
|
6055
|
+
default:
|
|
6056
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
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
|
|
6108
|
+
tags:
|
|
6109
|
+
- sites
|
|
6110
|
+
security:
|
|
6111
|
+
- user: []
|
|
6112
|
+
parameters:
|
|
6113
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6114
|
+
- $ref: "#/components/parameters/siteId"
|
|
6115
|
+
responses:
|
|
6116
|
+
"200":
|
|
6117
|
+
description: OK
|
|
6118
|
+
content:
|
|
6119
|
+
application/json:
|
|
6120
|
+
schema:
|
|
6121
|
+
$ref: "#/components/schemas/Site"
|
|
6122
|
+
"404":
|
|
6123
|
+
description: No matching site found
|
|
6124
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6125
|
+
default:
|
|
6126
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6127
|
+
patch:
|
|
6128
|
+
operationId: updateSiteById
|
|
6129
|
+
summary: Update a site in an organization
|
|
6130
|
+
tags:
|
|
6131
|
+
- sites
|
|
6132
|
+
security:
|
|
6133
|
+
- user: []
|
|
6134
|
+
parameters:
|
|
6135
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6136
|
+
- $ref: "#/components/parameters/siteId"
|
|
6137
|
+
requestBody:
|
|
6138
|
+
required: true
|
|
6139
|
+
content:
|
|
6140
|
+
application/json:
|
|
6141
|
+
schema:
|
|
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
|
|
6168
|
+
responses:
|
|
6169
|
+
"200":
|
|
6170
|
+
description: OK
|
|
6171
|
+
content:
|
|
6172
|
+
application/json:
|
|
6173
|
+
schema:
|
|
6174
|
+
$ref: "#/components/schemas/Site"
|
|
6175
|
+
default:
|
|
6176
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6177
|
+
delete:
|
|
6178
|
+
operationId: deleteSiteById
|
|
6179
|
+
summary: Delete a site in an organization
|
|
6180
|
+
tags:
|
|
6181
|
+
- sites
|
|
6182
|
+
security:
|
|
6183
|
+
- user: []
|
|
6184
|
+
parameters:
|
|
6185
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6186
|
+
- $ref: "#/components/parameters/siteId"
|
|
6187
|
+
responses:
|
|
6188
|
+
"205":
|
|
6189
|
+
description: Site has been deleted
|
|
6190
|
+
default:
|
|
6191
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6192
|
+
"/orgs/{organizationId}/sites/{siteId}/published":
|
|
6193
|
+
get:
|
|
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.
|
|
6196
|
+
tags:
|
|
6197
|
+
- sites
|
|
6198
|
+
security:
|
|
6199
|
+
- user: []
|
|
6200
|
+
parameters:
|
|
6201
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6202
|
+
- $ref: "#/components/parameters/siteId"
|
|
6203
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6204
|
+
responses:
|
|
6205
|
+
"200":
|
|
6206
|
+
description: OK
|
|
6207
|
+
content:
|
|
6208
|
+
application/json:
|
|
6209
|
+
schema:
|
|
6210
|
+
$ref: "#/components/schemas/PublishedContentSite"
|
|
6211
|
+
"404":
|
|
6212
|
+
description: No matching site found
|
|
6213
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6214
|
+
default:
|
|
6215
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6216
|
+
"/orgs/{organizationId}/sites/{siteId}/publish":
|
|
6217
|
+
post:
|
|
6218
|
+
operationId: publishSite
|
|
6219
|
+
summary: Publishes the site to the audience defined in the site's visibility setting.
|
|
6220
|
+
tags:
|
|
6221
|
+
- sites
|
|
6222
|
+
security:
|
|
6223
|
+
- user: []
|
|
6224
|
+
parameters:
|
|
6225
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6226
|
+
- $ref: "#/components/parameters/siteId"
|
|
6227
|
+
responses:
|
|
6228
|
+
"200":
|
|
6229
|
+
description: Site published successfully
|
|
6230
|
+
content:
|
|
6231
|
+
application/json:
|
|
6232
|
+
schema:
|
|
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
|
|
6248
|
+
default:
|
|
6249
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6250
|
+
"/orgs/{organizationId}/sites/{siteId}/unpublish":
|
|
6251
|
+
post:
|
|
6252
|
+
operationId: unpublishSite
|
|
6253
|
+
summary: Unpublishes the site.
|
|
6254
|
+
tags:
|
|
6255
|
+
- sites
|
|
6256
|
+
security:
|
|
6257
|
+
- user: []
|
|
6258
|
+
parameters:
|
|
6259
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6260
|
+
- $ref: "#/components/parameters/siteId"
|
|
6261
|
+
responses:
|
|
6262
|
+
"200":
|
|
6263
|
+
description: Site unpublished successfully
|
|
6264
|
+
content:
|
|
6265
|
+
application/json:
|
|
6266
|
+
schema:
|
|
6267
|
+
$ref: "#/components/schemas/Site"
|
|
6268
|
+
default:
|
|
6269
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6270
|
+
"/orgs/{organizationId}/sites/{siteId}/share-links":
|
|
6271
|
+
get:
|
|
6272
|
+
operationId: listSiteShareLinks
|
|
6273
|
+
summary: List all the share links created in a site
|
|
5879
6274
|
tags:
|
|
5880
6275
|
- sites
|
|
5881
6276
|
security:
|
|
@@ -7600,70 +7995,33 @@ paths:
|
|
|
7600
7995
|
security:
|
|
7601
7996
|
- user: []
|
|
7602
7997
|
parameters:
|
|
7603
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7604
|
-
- $ref: "#/components/parameters/siteId"
|
|
7605
|
-
- $ref: "#/components/parameters/siteShareKey"
|
|
7606
|
-
- name: source
|
|
7607
|
-
in: query
|
|
7608
|
-
required: true
|
|
7609
|
-
description: The source path of the redirect.
|
|
7610
|
-
schema:
|
|
7611
|
-
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
7612
|
-
responses:
|
|
7613
|
-
"200":
|
|
7614
|
-
description: The redirect was resolved successfully.
|
|
7615
|
-
content:
|
|
7616
|
-
application/json:
|
|
7617
|
-
schema:
|
|
7618
|
-
type: object
|
|
7619
|
-
properties:
|
|
7620
|
-
redirect:
|
|
7621
|
-
$ref: "#/components/schemas/SiteRedirect"
|
|
7622
|
-
target:
|
|
7623
|
-
type: string
|
|
7624
|
-
description: URL of the destination of the redirect.
|
|
7625
|
-
required:
|
|
7626
|
-
- redirect
|
|
7627
|
-
- target
|
|
7628
|
-
"404":
|
|
7629
|
-
$ref: "#/components/responses/NotFoundError"
|
|
7630
|
-
default:
|
|
7631
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7632
|
-
"/orgs/{organizationId}/sites/{siteId}/storage/upload":
|
|
7633
|
-
post:
|
|
7634
|
-
operationId: generateSiteStorageUploadURL
|
|
7635
|
-
summary: Create a signed URL to upload a file
|
|
7636
|
-
description: Generate a pre-signed URL that can be used to upload a file to storage
|
|
7637
|
-
tags:
|
|
7638
|
-
- organization
|
|
7639
|
-
security:
|
|
7640
|
-
- user-internal: []
|
|
7641
|
-
parameters:
|
|
7642
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7643
|
-
- $ref: "#/components/parameters/siteId"
|
|
7644
|
-
requestBody:
|
|
7645
|
-
required: true
|
|
7646
|
-
content:
|
|
7647
|
-
application/json:
|
|
7648
|
-
schema:
|
|
7649
|
-
type: object
|
|
7650
|
-
required:
|
|
7651
|
-
- file
|
|
7652
|
-
- kind
|
|
7653
|
-
properties:
|
|
7654
|
-
file:
|
|
7655
|
-
$ref: "#/components/schemas/StorageFileMetadata"
|
|
7656
|
-
kind:
|
|
7657
|
-
$ref: "#/components/schemas/StorageUploadKind"
|
|
7998
|
+
- $ref: "#/components/parameters/organizationId"
|
|
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"
|
|
7658
8007
|
responses:
|
|
7659
|
-
"
|
|
7660
|
-
description:
|
|
8008
|
+
"200":
|
|
8009
|
+
description: The redirect was resolved successfully.
|
|
7661
8010
|
content:
|
|
7662
8011
|
application/json:
|
|
7663
8012
|
schema:
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
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"
|
|
7667
8025
|
default:
|
|
7668
8026
|
$ref: "#/components/responses/UnexpectedError"
|
|
7669
8027
|
"/custom-hostnames/{hostname}":
|
|
@@ -7854,364 +8212,114 @@ paths:
|
|
|
7854
8212
|
properties:
|
|
7855
8213
|
status:
|
|
7856
8214
|
type: string
|
|
7857
|
-
enum:
|
|
7858
|
-
- pending
|
|
7859
|
-
responses:
|
|
7860
|
-
"204":
|
|
7861
|
-
description: OK
|
|
7862
|
-
default:
|
|
7863
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7864
|
-
/urls/content:
|
|
7865
|
-
get:
|
|
7866
|
-
operationId: getContentByUrl
|
|
7867
|
-
summary: Resolve a URL to a content (space, collection, page)
|
|
7868
|
-
tags:
|
|
7869
|
-
- urls
|
|
7870
|
-
security:
|
|
7871
|
-
- user: []
|
|
7872
|
-
parameters:
|
|
7873
|
-
- name: url
|
|
7874
|
-
in: query
|
|
7875
|
-
required: true
|
|
7876
|
-
description: URL to resolve
|
|
7877
|
-
schema:
|
|
7878
|
-
type: string
|
|
7879
|
-
responses:
|
|
7880
|
-
"200":
|
|
7881
|
-
description: OK
|
|
7882
|
-
content:
|
|
7883
|
-
application/json:
|
|
7884
|
-
schema:
|
|
7885
|
-
oneOf:
|
|
7886
|
-
- type: object
|
|
7887
|
-
description: URL resolved to a collection
|
|
7888
|
-
properties:
|
|
7889
|
-
collection:
|
|
7890
|
-
$ref: "#/components/schemas/Collection"
|
|
7891
|
-
required:
|
|
7892
|
-
- collection
|
|
7893
|
-
- type: object
|
|
7894
|
-
description: URL resolved to the content of a space
|
|
7895
|
-
properties:
|
|
7896
|
-
space:
|
|
7897
|
-
$ref: "#/components/schemas/Space"
|
|
7898
|
-
changeRequest:
|
|
7899
|
-
$ref: "#/components/schemas/ChangeRequest"
|
|
7900
|
-
page:
|
|
7901
|
-
oneOf:
|
|
7902
|
-
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
7903
|
-
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
7904
|
-
required:
|
|
7905
|
-
- space
|
|
7906
|
-
default:
|
|
7907
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7908
|
-
/urls/embed:
|
|
7909
|
-
get:
|
|
7910
|
-
operationId: getEmbedByUrl
|
|
7911
|
-
summary: Resolve a URL to an embed
|
|
7912
|
-
tags:
|
|
7913
|
-
- urls
|
|
7914
|
-
parameters:
|
|
7915
|
-
- name: url
|
|
7916
|
-
in: query
|
|
7917
|
-
required: true
|
|
7918
|
-
description: URL to resolve
|
|
7919
|
-
schema:
|
|
7920
|
-
type: string
|
|
7921
|
-
responses:
|
|
7922
|
-
"200":
|
|
7923
|
-
description: OK
|
|
7924
|
-
content:
|
|
7925
|
-
application/json:
|
|
7926
|
-
schema:
|
|
7927
|
-
$ref: "#/components/schemas/Embed"
|
|
7928
|
-
default:
|
|
7929
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7930
|
-
/urls/published:
|
|
7931
|
-
get:
|
|
7932
|
-
operationId: getPublishedContentByUrl
|
|
7933
|
-
summary: Resolve a URL of a published content.
|
|
7934
|
-
tags:
|
|
7935
|
-
- urls
|
|
7936
|
-
parameters:
|
|
7937
|
-
- name: url
|
|
7938
|
-
in: query
|
|
7939
|
-
required: true
|
|
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
|
|
7956
|
-
responses:
|
|
7957
|
-
"200":
|
|
7958
|
-
description: OK
|
|
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"
|
|
7966
|
-
default:
|
|
7967
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7968
|
-
"/orgs/{organizationId}/openapi":
|
|
7969
|
-
get:
|
|
7970
|
-
operationId: listOpenAPISpecs
|
|
7971
|
-
summary: List all the OpenAPI specifications in the organization
|
|
7972
|
-
tags:
|
|
7973
|
-
- openapi
|
|
7974
|
-
security:
|
|
7975
|
-
- user: []
|
|
7976
|
-
parameters:
|
|
7977
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7978
|
-
- $ref: "#/components/parameters/listPage"
|
|
7979
|
-
- $ref: "#/components/parameters/listLimit"
|
|
7980
|
-
responses:
|
|
7981
|
-
"200":
|
|
7982
|
-
description: OK
|
|
7983
|
-
content:
|
|
7984
|
-
application/json:
|
|
7985
|
-
schema:
|
|
7986
|
-
allOf:
|
|
7987
|
-
- $ref: "#/components/schemas/List"
|
|
7988
|
-
- type: object
|
|
7989
|
-
required:
|
|
7990
|
-
- items
|
|
7991
|
-
properties:
|
|
7992
|
-
items:
|
|
7993
|
-
type: array
|
|
7994
|
-
items:
|
|
7995
|
-
$ref: "#/components/schemas/OpenAPISpec"
|
|
7996
|
-
default:
|
|
7997
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7998
|
-
"/orgs/{organizationId}/openapi/{specSlug}":
|
|
7999
|
-
get:
|
|
8000
|
-
operationId: getOpenAPISpecBySlug
|
|
8001
|
-
summary: Get an organization OpenAPI specification by its slug
|
|
8002
|
-
tags:
|
|
8003
|
-
- openapi
|
|
8004
|
-
security:
|
|
8005
|
-
- user: []
|
|
8006
|
-
parameters:
|
|
8007
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8008
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8009
|
-
responses:
|
|
8010
|
-
"200":
|
|
8011
|
-
description: OK
|
|
8012
|
-
content:
|
|
8013
|
-
application/json:
|
|
8014
|
-
schema:
|
|
8015
|
-
$ref: "#/components/schemas/OpenAPISpec"
|
|
8016
|
-
"404":
|
|
8017
|
-
description: No matching OpenAPI specification found
|
|
8018
|
-
$ref: "#/components/responses/NotFoundError"
|
|
8019
|
-
default:
|
|
8020
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8021
|
-
put:
|
|
8022
|
-
operationId: createOrUpdateOpenAPISpecBySlug
|
|
8023
|
-
summary: Create or update an organization OpenAPI specification by its slug
|
|
8024
|
-
tags:
|
|
8025
|
-
- openapi
|
|
8026
|
-
security:
|
|
8027
|
-
- user: []
|
|
8028
|
-
parameters:
|
|
8029
|
-
- $ref: "#/components/parameters/organizationId"
|
|
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
|
|
8058
|
-
responses:
|
|
8059
|
-
"200":
|
|
8060
|
-
description: OpenAPI specification has been updated
|
|
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"
|
|
8071
|
-
"400":
|
|
8072
|
-
$ref: "#/components/responses/BadRequestError"
|
|
8073
|
-
default:
|
|
8074
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8075
|
-
delete:
|
|
8076
|
-
operationId: deleteOpenAPISpecBySlug
|
|
8077
|
-
summary: Delete an organization OpenAPI specification by its slug
|
|
8078
|
-
tags:
|
|
8079
|
-
- openapi
|
|
8080
|
-
security:
|
|
8081
|
-
- user: []
|
|
8082
|
-
parameters:
|
|
8083
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8084
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8215
|
+
enum:
|
|
8216
|
+
- pending
|
|
8085
8217
|
responses:
|
|
8086
|
-
"
|
|
8087
|
-
description:
|
|
8218
|
+
"204":
|
|
8219
|
+
description: OK
|
|
8088
8220
|
default:
|
|
8089
8221
|
$ref: "#/components/responses/UnexpectedError"
|
|
8090
|
-
|
|
8222
|
+
/urls/content:
|
|
8091
8223
|
get:
|
|
8092
|
-
operationId:
|
|
8093
|
-
summary:
|
|
8224
|
+
operationId: getContentByUrl
|
|
8225
|
+
summary: Resolve a URL to a content (space, collection, page)
|
|
8094
8226
|
tags:
|
|
8095
|
-
-
|
|
8227
|
+
- urls
|
|
8096
8228
|
security:
|
|
8097
8229
|
- user: []
|
|
8098
8230
|
parameters:
|
|
8099
|
-
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8231
|
+
- name: url
|
|
8232
|
+
in: query
|
|
8233
|
+
required: true
|
|
8234
|
+
description: URL to resolve
|
|
8235
|
+
schema:
|
|
8236
|
+
type: string
|
|
8103
8237
|
responses:
|
|
8104
8238
|
"200":
|
|
8105
8239
|
description: OK
|
|
8106
8240
|
content:
|
|
8107
8241
|
application/json:
|
|
8108
8242
|
schema:
|
|
8109
|
-
|
|
8110
|
-
- $ref: "#/components/schemas/List"
|
|
8243
|
+
oneOf:
|
|
8111
8244
|
- type: object
|
|
8245
|
+
description: URL resolved to a collection
|
|
8246
|
+
properties:
|
|
8247
|
+
collection:
|
|
8248
|
+
$ref: "#/components/schemas/Collection"
|
|
8112
8249
|
required:
|
|
8113
|
-
-
|
|
8250
|
+
- collection
|
|
8251
|
+
- type: object
|
|
8252
|
+
description: URL resolved to the content of a space
|
|
8114
8253
|
properties:
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
get:
|
|
8126
|
-
operationId: getLatestOpenAPISpecVersion
|
|
8127
|
-
summary: Get the latest OpenAPI specification version
|
|
8128
|
-
tags:
|
|
8129
|
-
- openapi
|
|
8130
|
-
security:
|
|
8131
|
-
- user: []
|
|
8132
|
-
parameters:
|
|
8133
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8134
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8135
|
-
responses:
|
|
8136
|
-
"200":
|
|
8137
|
-
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
|
-
default:
|
|
8146
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8147
|
-
"/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content":
|
|
8148
|
-
get:
|
|
8149
|
-
operationId: getLatestOpenAPISpecVersionContent
|
|
8150
|
-
summary: Get the latest OpenAPI specification version content
|
|
8151
|
-
tags:
|
|
8152
|
-
- openapi
|
|
8153
|
-
security:
|
|
8154
|
-
- user: []
|
|
8155
|
-
parameters:
|
|
8156
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8157
|
-
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
8158
|
-
responses:
|
|
8159
|
-
"200":
|
|
8160
|
-
description: OK
|
|
8161
|
-
content:
|
|
8162
|
-
application/json:
|
|
8163
|
-
schema:
|
|
8164
|
-
$ref: "#/components/schemas/OpenAPISpecContent"
|
|
8165
|
-
"404":
|
|
8166
|
-
description: No matching OpenAPI specification version found
|
|
8167
|
-
$ref: "#/components/responses/NotFoundError"
|
|
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
|
|
@@ -9739,29 +9854,112 @@ components:
|
|
|
9739
9854
|
object:
|
|
9740
9855
|
type: string
|
|
9741
9856
|
enum:
|
|
9742
|
-
- inline
|
|
9857
|
+
- inline
|
|
9858
|
+
type:
|
|
9859
|
+
type: string
|
|
9860
|
+
enum:
|
|
9861
|
+
- inline-math
|
|
9862
|
+
key:
|
|
9863
|
+
type: string
|
|
9864
|
+
data:
|
|
9865
|
+
type: object
|
|
9866
|
+
properties:
|
|
9867
|
+
formula:
|
|
9868
|
+
type: string
|
|
9869
|
+
required:
|
|
9870
|
+
- formula
|
|
9871
|
+
isVoid:
|
|
9872
|
+
type: boolean
|
|
9873
|
+
enum:
|
|
9874
|
+
- true
|
|
9875
|
+
required:
|
|
9876
|
+
- object
|
|
9877
|
+
- type
|
|
9878
|
+
- data
|
|
9879
|
+
- isVoid
|
|
9880
|
+
DocumentBlockParagraph:
|
|
9881
|
+
type: object
|
|
9882
|
+
properties:
|
|
9883
|
+
object:
|
|
9884
|
+
type: string
|
|
9885
|
+
enum:
|
|
9886
|
+
- block
|
|
9887
|
+
type:
|
|
9888
|
+
type: string
|
|
9889
|
+
enum:
|
|
9890
|
+
- paragraph
|
|
9891
|
+
key:
|
|
9892
|
+
type: string
|
|
9893
|
+
nodes:
|
|
9894
|
+
type: array
|
|
9895
|
+
items:
|
|
9896
|
+
oneOf:
|
|
9897
|
+
- $ref: "#/components/schemas/DocumentInline"
|
|
9898
|
+
- $ref: "#/components/schemas/DocumentText"
|
|
9899
|
+
isVoid:
|
|
9900
|
+
type: boolean
|
|
9901
|
+
enum:
|
|
9902
|
+
- false
|
|
9903
|
+
data:
|
|
9904
|
+
type: object
|
|
9905
|
+
properties: {}
|
|
9906
|
+
additionalProperties: false
|
|
9907
|
+
required:
|
|
9908
|
+
- object
|
|
9909
|
+
- type
|
|
9910
|
+
- nodes
|
|
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:
|
|
9920
|
+
type: object
|
|
9921
|
+
properties:
|
|
9922
|
+
object:
|
|
9923
|
+
type: string
|
|
9924
|
+
enum:
|
|
9925
|
+
- block
|
|
9743
9926
|
type:
|
|
9744
9927
|
type: string
|
|
9745
9928
|
enum:
|
|
9746
|
-
-
|
|
9929
|
+
- heading-1
|
|
9930
|
+
- heading-2
|
|
9931
|
+
- heading-3
|
|
9747
9932
|
key:
|
|
9748
9933
|
type: string
|
|
9934
|
+
nodes:
|
|
9935
|
+
type: array
|
|
9936
|
+
items:
|
|
9937
|
+
oneOf:
|
|
9938
|
+
- $ref: "#/components/schemas/DocumentInline"
|
|
9939
|
+
- $ref: "#/components/schemas/DocumentText"
|
|
9749
9940
|
data:
|
|
9750
9941
|
type: object
|
|
9751
9942
|
properties:
|
|
9752
|
-
|
|
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.
|
|
9753
9951
|
type: string
|
|
9754
9952
|
required:
|
|
9755
|
-
-
|
|
9953
|
+
- id
|
|
9756
9954
|
isVoid:
|
|
9757
9955
|
type: boolean
|
|
9758
9956
|
enum:
|
|
9759
|
-
-
|
|
9957
|
+
- false
|
|
9760
9958
|
required:
|
|
9761
9959
|
- object
|
|
9762
9960
|
- type
|
|
9961
|
+
- nodes
|
|
9763
9962
|
- data
|
|
9764
|
-
- isVoid
|
|
9765
9963
|
DocumentBlocksEssentials:
|
|
9766
9964
|
oneOf:
|
|
9767
9965
|
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
@@ -9770,26 +9968,6 @@ components:
|
|
|
9770
9968
|
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
9771
9969
|
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
9772
9970
|
- $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
9971
|
DocumentInlineAnnotation:
|
|
9794
9972
|
type: object
|
|
9795
9973
|
properties:
|
|
@@ -9918,118 +10096,6 @@ components:
|
|
|
9918
10096
|
- type
|
|
9919
10097
|
- data
|
|
9920
10098
|
- 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
|
|
9934
|
-
data:
|
|
9935
|
-
type: object
|
|
9936
|
-
properties:
|
|
9937
|
-
ref:
|
|
9938
|
-
$ref: "#/components/schemas/ContentRef"
|
|
9939
|
-
required:
|
|
9940
|
-
- ref
|
|
9941
|
-
isVoid:
|
|
9942
|
-
type: boolean
|
|
9943
|
-
enum:
|
|
9944
|
-
- true
|
|
9945
|
-
required:
|
|
9946
|
-
- object
|
|
9947
|
-
- type
|
|
9948
|
-
- data
|
|
9949
|
-
- isVoid
|
|
9950
|
-
DocumentInline:
|
|
9951
|
-
oneOf:
|
|
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:
|
|
9959
|
-
type: object
|
|
9960
|
-
properties:
|
|
9961
|
-
object:
|
|
9962
|
-
type: string
|
|
9963
|
-
enum:
|
|
9964
|
-
- block
|
|
9965
|
-
type:
|
|
9966
|
-
type: string
|
|
9967
|
-
enum:
|
|
9968
|
-
- paragraph
|
|
9969
|
-
key:
|
|
9970
|
-
type: string
|
|
9971
|
-
nodes:
|
|
9972
|
-
type: array
|
|
9973
|
-
items:
|
|
9974
|
-
oneOf:
|
|
9975
|
-
- $ref: "#/components/schemas/DocumentInline"
|
|
9976
|
-
- $ref: "#/components/schemas/DocumentText"
|
|
9977
|
-
isVoid:
|
|
9978
|
-
type: boolean
|
|
9979
|
-
enum:
|
|
9980
|
-
- false
|
|
9981
|
-
data:
|
|
9982
|
-
type: object
|
|
9983
|
-
properties: {}
|
|
9984
|
-
additionalProperties: false
|
|
9985
|
-
required:
|
|
9986
|
-
- object
|
|
9987
|
-
- type
|
|
9988
|
-
- nodes
|
|
9989
|
-
DocumentBlockHeading:
|
|
9990
|
-
type: object
|
|
9991
|
-
properties:
|
|
9992
|
-
object:
|
|
9993
|
-
type: string
|
|
9994
|
-
enum:
|
|
9995
|
-
- block
|
|
9996
|
-
type:
|
|
9997
|
-
type: string
|
|
9998
|
-
enum:
|
|
9999
|
-
- heading-1
|
|
10000
|
-
- heading-2
|
|
10001
|
-
- heading-3
|
|
10002
|
-
key:
|
|
10003
|
-
type: string
|
|
10004
|
-
nodes:
|
|
10005
|
-
type: array
|
|
10006
|
-
items:
|
|
10007
|
-
oneOf:
|
|
10008
|
-
- $ref: "#/components/schemas/DocumentInline"
|
|
10009
|
-
- $ref: "#/components/schemas/DocumentText"
|
|
10010
|
-
data:
|
|
10011
|
-
type: object
|
|
10012
|
-
properties:
|
|
10013
|
-
id:
|
|
10014
|
-
type: string
|
|
10015
|
-
pattern: ^[-a-z0-9.+_]+$
|
|
10016
|
-
meta:
|
|
10017
|
-
type: object
|
|
10018
|
-
properties:
|
|
10019
|
-
id:
|
|
10020
|
-
description: Unique ID to be used in an URL for the block.
|
|
10021
|
-
type: string
|
|
10022
|
-
required:
|
|
10023
|
-
- id
|
|
10024
|
-
isVoid:
|
|
10025
|
-
type: boolean
|
|
10026
|
-
enum:
|
|
10027
|
-
- false
|
|
10028
|
-
required:
|
|
10029
|
-
- object
|
|
10030
|
-
- type
|
|
10031
|
-
- nodes
|
|
10032
|
-
- data
|
|
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
|
|
@@ -11202,53 +11321,12 @@ components:
|
|
|
11202
11321
|
properties:
|
|
11203
11322
|
schemas:
|
|
11204
11323
|
type: array
|
|
11205
|
-
description: List of schemas name from the OpenAPI spec.
|
|
11206
|
-
items:
|
|
11207
|
-
type: string
|
|
11208
|
-
required:
|
|
11209
|
-
- schemas
|
|
11210
|
-
DocumentBlockOpenAPISchemas:
|
|
11211
|
-
type: object
|
|
11212
|
-
properties:
|
|
11213
|
-
object:
|
|
11214
|
-
type: string
|
|
11215
|
-
enum:
|
|
11216
|
-
- block
|
|
11217
|
-
type:
|
|
11218
|
-
type: string
|
|
11219
|
-
enum:
|
|
11220
|
-
- openapi-schemas
|
|
11221
|
-
key:
|
|
11222
|
-
type: string
|
|
11223
|
-
data:
|
|
11224
|
-
allOf:
|
|
11225
|
-
- $ref: "#/components/schemas/OpenAPISchemasPointer"
|
|
11226
|
-
- type: object
|
|
11227
|
-
properties:
|
|
11228
|
-
ref:
|
|
11229
|
-
$ref: "#/components/schemas/ContentRefOpenAPI"
|
|
11230
|
-
required:
|
|
11231
|
-
- ref
|
|
11232
|
-
required:
|
|
11233
|
-
- ref
|
|
11234
|
-
isVoid:
|
|
11235
|
-
type: boolean
|
|
11236
|
-
enum:
|
|
11237
|
-
- true
|
|
11238
|
-
meta:
|
|
11239
|
-
type: object
|
|
11240
|
-
properties:
|
|
11241
|
-
id:
|
|
11242
|
-
description: Unique ID to be used in an URL for the block.
|
|
11243
|
-
type: string
|
|
11244
|
-
required:
|
|
11245
|
-
- id
|
|
11246
|
-
required:
|
|
11247
|
-
- object
|
|
11248
|
-
- type
|
|
11249
|
-
- data
|
|
11250
|
-
- isVoid
|
|
11251
|
-
DocumentBlockReusableContent:
|
|
11324
|
+
description: List of schemas name from the OpenAPI spec.
|
|
11325
|
+
items:
|
|
11326
|
+
type: string
|
|
11327
|
+
required:
|
|
11328
|
+
- schemas
|
|
11329
|
+
DocumentBlockOpenAPISchemas:
|
|
11252
11330
|
type: object
|
|
11253
11331
|
properties:
|
|
11254
11332
|
object:
|
|
@@ -11258,20 +11336,32 @@ components:
|
|
|
11258
11336
|
type:
|
|
11259
11337
|
type: string
|
|
11260
11338
|
enum:
|
|
11261
|
-
-
|
|
11339
|
+
- openapi-schemas
|
|
11262
11340
|
key:
|
|
11263
11341
|
type: string
|
|
11264
11342
|
data:
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11343
|
+
allOf:
|
|
11344
|
+
- $ref: "#/components/schemas/OpenAPISchemasPointer"
|
|
11345
|
+
- type: object
|
|
11346
|
+
properties:
|
|
11347
|
+
ref:
|
|
11348
|
+
$ref: "#/components/schemas/ContentRefOpenAPI"
|
|
11349
|
+
required:
|
|
11350
|
+
- ref
|
|
11269
11351
|
required:
|
|
11270
11352
|
- ref
|
|
11271
11353
|
isVoid:
|
|
11272
11354
|
type: boolean
|
|
11273
11355
|
enum:
|
|
11274
11356
|
- true
|
|
11357
|
+
meta:
|
|
11358
|
+
type: object
|
|
11359
|
+
properties:
|
|
11360
|
+
id:
|
|
11361
|
+
description: Unique ID to be used in an URL for the block.
|
|
11362
|
+
type: string
|
|
11363
|
+
required:
|
|
11364
|
+
- id
|
|
11275
11365
|
required:
|
|
11276
11366
|
- object
|
|
11277
11367
|
- type
|
|
@@ -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"
|
|
@@ -17261,52 +17425,201 @@ components:
|
|
|
17261
17425
|
- sections
|
|
17262
17426
|
SearchAIAnswer:
|
|
17263
17427
|
type: object
|
|
17264
|
-
description: Answer from AI for a question asked on a content.
|
|
17428
|
+
description: Answer from AI for a question asked on a content.
|
|
17429
|
+
properties:
|
|
17430
|
+
answer:
|
|
17431
|
+
$ref: "#/components/schemas/Document"
|
|
17432
|
+
followupQuestions:
|
|
17433
|
+
type: array
|
|
17434
|
+
items:
|
|
17435
|
+
type: string
|
|
17436
|
+
sources:
|
|
17437
|
+
type: array
|
|
17438
|
+
description: The sources used to generate the answer.
|
|
17439
|
+
items:
|
|
17440
|
+
$ref: "#/components/schemas/SearchAIAnswerSource"
|
|
17441
|
+
required:
|
|
17442
|
+
- pages
|
|
17443
|
+
- sources
|
|
17444
|
+
- followupQuestions
|
|
17445
|
+
SearchAIRecommendedQuestions:
|
|
17446
|
+
type: object
|
|
17447
|
+
description: Questions recommended by the AI for the given content.
|
|
17448
|
+
properties:
|
|
17449
|
+
questions:
|
|
17450
|
+
type: array
|
|
17451
|
+
items:
|
|
17452
|
+
type: string
|
|
17453
|
+
required:
|
|
17454
|
+
- questions
|
|
17455
|
+
SearchAIRecommendedQuestionStream:
|
|
17456
|
+
type: object
|
|
17457
|
+
properties:
|
|
17458
|
+
question:
|
|
17459
|
+
type: string
|
|
17460
|
+
required:
|
|
17461
|
+
- question
|
|
17462
|
+
SearchAIAnswerStream:
|
|
17463
|
+
type: object
|
|
17464
|
+
properties:
|
|
17465
|
+
type:
|
|
17466
|
+
type: string
|
|
17467
|
+
enum:
|
|
17468
|
+
- answer
|
|
17469
|
+
answer:
|
|
17470
|
+
$ref: "#/components/schemas/SearchAIAnswer"
|
|
17471
|
+
required:
|
|
17472
|
+
- type
|
|
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.
|
|
17265
17587
|
properties:
|
|
17266
|
-
|
|
17267
|
-
$ref: "#/components/schemas/
|
|
17268
|
-
followupQuestions:
|
|
17269
|
-
type: array
|
|
17270
|
-
items:
|
|
17271
|
-
type: string
|
|
17588
|
+
weight:
|
|
17589
|
+
$ref: "#/components/schemas/FontWeight"
|
|
17272
17590
|
sources:
|
|
17273
17591
|
type: array
|
|
17274
|
-
description:
|
|
17592
|
+
description: Font source files provided in supported formats (e.g., woff2, woff).
|
|
17275
17593
|
items:
|
|
17276
|
-
$ref: "#/components/schemas/
|
|
17594
|
+
$ref: "#/components/schemas/FontSource"
|
|
17595
|
+
minItems: 1
|
|
17277
17596
|
required:
|
|
17278
|
-
-
|
|
17597
|
+
- weight
|
|
17279
17598
|
- sources
|
|
17280
|
-
|
|
17281
|
-
SearchAIRecommendedQuestions:
|
|
17599
|
+
CustomizationFontDefinition:
|
|
17282
17600
|
type: object
|
|
17283
|
-
description:
|
|
17601
|
+
description: Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
|
|
17284
17602
|
properties:
|
|
17285
|
-
|
|
17603
|
+
id:
|
|
17604
|
+
type: string
|
|
17605
|
+
description: A globally unique identifier for the font definition.
|
|
17606
|
+
fontFamily:
|
|
17607
|
+
$ref: "#/components/schemas/FontFamily"
|
|
17608
|
+
fontFaces:
|
|
17286
17609
|
type: array
|
|
17610
|
+
description: A list of font-face definitions, specifying variations such as weight and style.
|
|
17287
17611
|
items:
|
|
17288
|
-
|
|
17289
|
-
|
|
17290
|
-
- questions
|
|
17291
|
-
SearchAIRecommendedQuestionStream:
|
|
17292
|
-
type: object
|
|
17293
|
-
properties:
|
|
17294
|
-
question:
|
|
17295
|
-
type: string
|
|
17296
|
-
required:
|
|
17297
|
-
- question
|
|
17298
|
-
SearchAIAnswerStream:
|
|
17299
|
-
type: object
|
|
17300
|
-
properties:
|
|
17301
|
-
type:
|
|
17302
|
-
type: string
|
|
17303
|
-
enum:
|
|
17304
|
-
- answer
|
|
17305
|
-
answer:
|
|
17306
|
-
$ref: "#/components/schemas/SearchAIAnswer"
|
|
17612
|
+
$ref: "#/components/schemas/FontFace"
|
|
17613
|
+
minItems: 1
|
|
17307
17614
|
required:
|
|
17308
|
-
-
|
|
17309
|
-
-
|
|
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
|
|
17310
17623
|
BillingOperationPreviewResponse:
|
|
17311
17624
|
description: |
|
|
17312
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.
|
|
@@ -17429,65 +17742,6 @@ components:
|
|
|
17429
17742
|
- IBMPlexSerif
|
|
17430
17743
|
- Poppins
|
|
17431
17744
|
- FiraSans
|
|
17432
|
-
FontFamily:
|
|
17433
|
-
type: string
|
|
17434
|
-
description: The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
|
|
17435
|
-
minLength: 1
|
|
17436
|
-
maxLength: 50
|
|
17437
|
-
FontWeight:
|
|
17438
|
-
type: integer
|
|
17439
|
-
description: Numeric representation of the font weight (400=regular, 500=medium, 700=bold, 900=black).
|
|
17440
|
-
minimum: 1
|
|
17441
|
-
maximum: 1000
|
|
17442
|
-
FontSource:
|
|
17443
|
-
type: object
|
|
17444
|
-
description: A font file referenced within a font-face declaration, specifying the file's location and format.
|
|
17445
|
-
properties:
|
|
17446
|
-
url:
|
|
17447
|
-
description: The absolute or relative URL pointing to the font file.
|
|
17448
|
-
$ref: "#/components/schemas/URL"
|
|
17449
|
-
format:
|
|
17450
|
-
type: string
|
|
17451
|
-
description: The format of the font file. Prefer 'woff2' for modern browsers.
|
|
17452
|
-
enum:
|
|
17453
|
-
- woff2
|
|
17454
|
-
- woff
|
|
17455
|
-
required:
|
|
17456
|
-
- url
|
|
17457
|
-
FontFace:
|
|
17458
|
-
type: object
|
|
17459
|
-
description: A single font-face declaration specifying the weight and source files for a particular variation of the font.
|
|
17460
|
-
properties:
|
|
17461
|
-
weight:
|
|
17462
|
-
$ref: "#/components/schemas/FontWeight"
|
|
17463
|
-
sources:
|
|
17464
|
-
type: array
|
|
17465
|
-
description: Font source files provided in supported formats (e.g., woff2, woff).
|
|
17466
|
-
items:
|
|
17467
|
-
$ref: "#/components/schemas/FontSource"
|
|
17468
|
-
minItems: 1
|
|
17469
|
-
required:
|
|
17470
|
-
- weight
|
|
17471
|
-
- sources
|
|
17472
|
-
CustomizationFontDefinition:
|
|
17473
|
-
type: object
|
|
17474
|
-
description: Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
|
|
17475
|
-
properties:
|
|
17476
|
-
id:
|
|
17477
|
-
type: string
|
|
17478
|
-
description: A globally unique identifier for the font definition.
|
|
17479
|
-
fontFamily:
|
|
17480
|
-
$ref: "#/components/schemas/FontFamily"
|
|
17481
|
-
fontFaces:
|
|
17482
|
-
type: array
|
|
17483
|
-
description: A list of font-face definitions, specifying variations such as weight and style.
|
|
17484
|
-
items:
|
|
17485
|
-
$ref: "#/components/schemas/FontFace"
|
|
17486
|
-
minItems: 1
|
|
17487
|
-
required:
|
|
17488
|
-
- id
|
|
17489
|
-
- fontFamily
|
|
17490
|
-
- fontFaces
|
|
17491
17745
|
CustomizationFont:
|
|
17492
17746
|
oneOf:
|
|
17493
17747
|
- $ref: "#/components/schemas/CustomizationDefaultFont"
|
|
@@ -19601,44 +19855,6 @@ components:
|
|
|
19601
19855
|
- id
|
|
19602
19856
|
- source
|
|
19603
19857
|
- destination
|
|
19604
|
-
StorageFileMetadata:
|
|
19605
|
-
type: object
|
|
19606
|
-
properties:
|
|
19607
|
-
name:
|
|
19608
|
-
type: string
|
|
19609
|
-
description: Original filename
|
|
19610
|
-
type:
|
|
19611
|
-
type: string
|
|
19612
|
-
description: MIME type of the file
|
|
19613
|
-
size:
|
|
19614
|
-
type: number
|
|
19615
|
-
description: Size of the file in bytes
|
|
19616
|
-
required:
|
|
19617
|
-
- name
|
|
19618
|
-
- type
|
|
19619
|
-
- size
|
|
19620
|
-
StorageUploadKind:
|
|
19621
|
-
type: string
|
|
19622
|
-
enum:
|
|
19623
|
-
- customization_font
|
|
19624
|
-
StorageUploadURL:
|
|
19625
|
-
type: object
|
|
19626
|
-
properties:
|
|
19627
|
-
object:
|
|
19628
|
-
type: string
|
|
19629
|
-
description: The kind of file to upload
|
|
19630
|
-
enum:
|
|
19631
|
-
- storage-signed-url
|
|
19632
|
-
url:
|
|
19633
|
-
$ref: "#/components/schemas/URL"
|
|
19634
|
-
description: Presigned URL for uploading the file
|
|
19635
|
-
key:
|
|
19636
|
-
type: string
|
|
19637
|
-
description: The bucket object key for the file
|
|
19638
|
-
required:
|
|
19639
|
-
- object
|
|
19640
|
-
- url
|
|
19641
|
-
- key
|
|
19642
19858
|
CustomHostnameDnsStatus:
|
|
19643
19859
|
type: string
|
|
19644
19860
|
enum:
|
|
@@ -20047,6 +20263,9 @@ components:
|
|
|
20047
20263
|
basePath:
|
|
20048
20264
|
type: string
|
|
20049
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
|
|
20050
20269
|
apiToken:
|
|
20051
20270
|
type: string
|
|
20052
20271
|
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
@@ -20068,6 +20287,7 @@ components:
|
|
|
20068
20287
|
- space
|
|
20069
20288
|
- pathname
|
|
20070
20289
|
- basePath
|
|
20290
|
+
- siteBasePath
|
|
20071
20291
|
- apiToken
|
|
20072
20292
|
- organization
|
|
20073
20293
|
- complete
|
|
@@ -20089,53 +20309,6 @@ components:
|
|
|
20089
20309
|
- target
|
|
20090
20310
|
- redirect
|
|
20091
20311
|
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
20092
|
-
OpenAPISpecVersion:
|
|
20093
|
-
type: object
|
|
20094
|
-
properties:
|
|
20095
|
-
object:
|
|
20096
|
-
description: The object type, which is always "openapi-spec-version"
|
|
20097
|
-
type: string
|
|
20098
|
-
enum:
|
|
20099
|
-
- openapi-spec-version
|
|
20100
|
-
id:
|
|
20101
|
-
description: Unique identifier
|
|
20102
|
-
type: string
|
|
20103
|
-
createdAt:
|
|
20104
|
-
description: Date of creation
|
|
20105
|
-
$ref: "#/components/schemas/Timestamp"
|
|
20106
|
-
url:
|
|
20107
|
-
description: URL where the specification is accessible.
|
|
20108
|
-
$ref: "#/components/schemas/URL"
|
|
20109
|
-
urls:
|
|
20110
|
-
type: object
|
|
20111
|
-
description: URLs associated with the object
|
|
20112
|
-
properties:
|
|
20113
|
-
location:
|
|
20114
|
-
description: URL of the OpenAPI specification version in the API
|
|
20115
|
-
$ref: "#/components/schemas/URL"
|
|
20116
|
-
app:
|
|
20117
|
-
description: URL of the OpenAPI specification version in the application
|
|
20118
|
-
$ref: "#/components/schemas/URL"
|
|
20119
|
-
required:
|
|
20120
|
-
- app
|
|
20121
|
-
- location
|
|
20122
|
-
required:
|
|
20123
|
-
- object
|
|
20124
|
-
- id
|
|
20125
|
-
- url
|
|
20126
|
-
- urls
|
|
20127
|
-
OpenAPISpecContent:
|
|
20128
|
-
description: Content of the specification available through filesystem or public URL.
|
|
20129
|
-
type: object
|
|
20130
|
-
properties:
|
|
20131
|
-
filesystem:
|
|
20132
|
-
description: Filesystem containing all specifications.
|
|
20133
|
-
type: object
|
|
20134
|
-
url:
|
|
20135
|
-
$ref: "#/components/schemas/URL"
|
|
20136
|
-
required:
|
|
20137
|
-
- filesystem
|
|
20138
|
-
- url
|
|
20139
20312
|
SHA256:
|
|
20140
20313
|
type: string
|
|
20141
20314
|
minLength: 64
|
|
@@ -20292,37 +20465,6 @@ components:
|
|
|
20292
20465
|
- object
|
|
20293
20466
|
- id
|
|
20294
20467
|
- privateKey
|
|
20295
|
-
DocumentBlock:
|
|
20296
|
-
oneOf:
|
|
20297
|
-
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
20298
|
-
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
20299
|
-
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
20300
|
-
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
20301
|
-
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
20302
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
20303
|
-
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
20304
|
-
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
20305
|
-
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
20306
|
-
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
20307
|
-
- $ref: "#/components/schemas/DocumentBlockImage"
|
|
20308
|
-
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
20309
|
-
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
20310
|
-
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
20311
|
-
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
20312
|
-
- $ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
20313
|
-
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
20314
|
-
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
20315
|
-
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
20316
|
-
- $ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
20317
|
-
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
20318
|
-
- $ref: "#/components/schemas/DocumentBlockOpenAPI"
|
|
20319
|
-
- $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
|
|
20320
|
-
- $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
|
|
20321
|
-
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
20322
|
-
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
20323
|
-
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
20324
|
-
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
20325
|
-
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
20326
20468
|
ComputedContentDependency:
|
|
20327
20469
|
type: object
|
|
20328
20470
|
description: Dependency for a computation, before its resolution.
|
|
@@ -21189,6 +21331,19 @@ components:
|
|
|
21189
21331
|
required:
|
|
21190
21332
|
- channel
|
|
21191
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
|
|
21192
21347
|
SpaceCommentsChannel:
|
|
21193
21348
|
type: object
|
|
21194
21349
|
properties:
|
|
@@ -21601,6 +21756,7 @@ components:
|
|
|
21601
21756
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
21602
21757
|
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
21603
21758
|
- $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
21759
|
+
- $ref: "#/components/schemas/OrganizationCustomFontsChannel"
|
|
21604
21760
|
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
21605
21761
|
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
21606
21762
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
@@ -21911,11 +22067,6 @@ components:
|
|
|
21911
22067
|
- live
|
|
21912
22068
|
- rejected
|
|
21913
22069
|
- disabled
|
|
21914
|
-
StorageFileKey:
|
|
21915
|
-
type: string
|
|
21916
|
-
description: The path of the file in the storage bucket
|
|
21917
|
-
minLength: 1
|
|
21918
|
-
maxLength: 512
|
|
21919
22070
|
Seat:
|
|
21920
22071
|
type: object
|
|
21921
22072
|
properties:
|