@gitbook/api 0.46.0 → 0.48.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 +189 -66
- package/dist/index.cjs +68 -27
- package/dist/index.js +67 -25
- package/package.json +1 -1
- package/spec/openapi.json +617 -173
- package/spec/openapi.yaml +338 -100
package/spec/openapi.json
CHANGED
|
@@ -148,6 +148,15 @@
|
|
|
148
148
|
"default": true
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
+
"siteCustomizationUnmasked": {
|
|
152
|
+
"name": "unmasked",
|
|
153
|
+
"in": "query",
|
|
154
|
+
"description": "Access the customization settings without applying any masking from the advanced customization flag.",
|
|
155
|
+
"schema": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"default": false
|
|
158
|
+
}
|
|
159
|
+
},
|
|
151
160
|
"spaceId": {
|
|
152
161
|
"name": "spaceId",
|
|
153
162
|
"in": "path",
|
|
@@ -708,6 +717,9 @@
|
|
|
708
717
|
},
|
|
709
718
|
"space_selection": {
|
|
710
719
|
"$ref": "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
720
|
+
},
|
|
721
|
+
"site_selection": {
|
|
722
|
+
"$ref": "#/components/schemas/IntegrationInstallationSiteSelection"
|
|
711
723
|
}
|
|
712
724
|
}
|
|
713
725
|
},
|
|
@@ -4902,7 +4914,10 @@
|
|
|
4902
4914
|
{
|
|
4903
4915
|
"$ref": "#/components/schemas/ContentLocationSyncedBlock"
|
|
4904
4916
|
}
|
|
4905
|
-
]
|
|
4917
|
+
],
|
|
4918
|
+
"discriminator": {
|
|
4919
|
+
"propertyName": "kind"
|
|
4920
|
+
}
|
|
4906
4921
|
},
|
|
4907
4922
|
"ContentLocationURL": {
|
|
4908
4923
|
"type": "object",
|
|
@@ -4937,11 +4952,15 @@
|
|
|
4937
4952
|
"space": {
|
|
4938
4953
|
"$ref": "#/components/schemas/Space"
|
|
4939
4954
|
},
|
|
4940
|
-
"
|
|
4941
|
-
"
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4955
|
+
"versionContext": {
|
|
4956
|
+
"oneOf": [
|
|
4957
|
+
{
|
|
4958
|
+
"$ref": "#/components/schemas/ContentLocationRevisionContext"
|
|
4959
|
+
},
|
|
4960
|
+
{
|
|
4961
|
+
"$ref": "#/components/schemas/ContentLocationChangeRequestContext"
|
|
4962
|
+
}
|
|
4963
|
+
]
|
|
4945
4964
|
},
|
|
4946
4965
|
"file": {
|
|
4947
4966
|
"$ref": "#/components/schemas/RevisionFile"
|
|
@@ -4972,19 +4991,57 @@
|
|
|
4972
4991
|
"space": {
|
|
4973
4992
|
"$ref": "#/components/schemas/Space"
|
|
4974
4993
|
},
|
|
4975
|
-
"
|
|
4976
|
-
"
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4994
|
+
"versionContext": {
|
|
4995
|
+
"oneOf": [
|
|
4996
|
+
{
|
|
4997
|
+
"$ref": "#/components/schemas/ContentLocationRevisionContext"
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"$ref": "#/components/schemas/ContentLocationChangeRequestContext"
|
|
5001
|
+
}
|
|
5002
|
+
]
|
|
4984
5003
|
},
|
|
4985
|
-
"
|
|
4986
|
-
"
|
|
4987
|
-
|
|
5004
|
+
"internalLocation": {
|
|
5005
|
+
"oneOf": [
|
|
5006
|
+
{
|
|
5007
|
+
"type": "object",
|
|
5008
|
+
"properties": {
|
|
5009
|
+
"type": {
|
|
5010
|
+
"type": "string",
|
|
5011
|
+
"enum": [
|
|
5012
|
+
"anchor"
|
|
5013
|
+
]
|
|
5014
|
+
},
|
|
5015
|
+
"anchor": {
|
|
5016
|
+
"description": "The anchor within the page.",
|
|
5017
|
+
"type": "string"
|
|
5018
|
+
}
|
|
5019
|
+
},
|
|
5020
|
+
"required": [
|
|
5021
|
+
"type",
|
|
5022
|
+
"anchor"
|
|
5023
|
+
]
|
|
5024
|
+
},
|
|
5025
|
+
{
|
|
5026
|
+
"type": "object",
|
|
5027
|
+
"properties": {
|
|
5028
|
+
"type": {
|
|
5029
|
+
"type": "string",
|
|
5030
|
+
"enum": [
|
|
5031
|
+
"node"
|
|
5032
|
+
]
|
|
5033
|
+
},
|
|
5034
|
+
"node": {
|
|
5035
|
+
"description": "The node id within the page.",
|
|
5036
|
+
"type": "string"
|
|
5037
|
+
}
|
|
5038
|
+
},
|
|
5039
|
+
"required": [
|
|
5040
|
+
"type",
|
|
5041
|
+
"node"
|
|
5042
|
+
]
|
|
5043
|
+
}
|
|
5044
|
+
]
|
|
4988
5045
|
}
|
|
4989
5046
|
},
|
|
4990
5047
|
"required": [
|
|
@@ -5100,6 +5157,42 @@
|
|
|
5100
5157
|
"syncedBlock"
|
|
5101
5158
|
]
|
|
5102
5159
|
},
|
|
5160
|
+
"ContentLocationChangeRequestContext": {
|
|
5161
|
+
"type": "object",
|
|
5162
|
+
"required": [
|
|
5163
|
+
"type",
|
|
5164
|
+
"changeRequest"
|
|
5165
|
+
],
|
|
5166
|
+
"properties": {
|
|
5167
|
+
"type": {
|
|
5168
|
+
"type": "string",
|
|
5169
|
+
"enum": [
|
|
5170
|
+
"changeRequest"
|
|
5171
|
+
]
|
|
5172
|
+
},
|
|
5173
|
+
"changeRequest": {
|
|
5174
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
5175
|
+
}
|
|
5176
|
+
}
|
|
5177
|
+
},
|
|
5178
|
+
"ContentLocationRevisionContext": {
|
|
5179
|
+
"type": "object",
|
|
5180
|
+
"required": [
|
|
5181
|
+
"type",
|
|
5182
|
+
"revision"
|
|
5183
|
+
],
|
|
5184
|
+
"properties": {
|
|
5185
|
+
"type": {
|
|
5186
|
+
"type": "string",
|
|
5187
|
+
"enum": [
|
|
5188
|
+
"revision"
|
|
5189
|
+
]
|
|
5190
|
+
},
|
|
5191
|
+
"revision": {
|
|
5192
|
+
"$ref": "#/components/schemas/Revision"
|
|
5193
|
+
}
|
|
5194
|
+
}
|
|
5195
|
+
},
|
|
5103
5196
|
"Space": {
|
|
5104
5197
|
"type": "object",
|
|
5105
5198
|
"properties": {
|
|
@@ -6925,10 +7018,6 @@
|
|
|
6925
7018
|
"visitorAuth": {
|
|
6926
7019
|
"description": "Count of all visitor-authenticated sites",
|
|
6927
7020
|
"type": "number"
|
|
6928
|
-
},
|
|
6929
|
-
"unpublished": {
|
|
6930
|
-
"description": "Count of all unpublished sites",
|
|
6931
|
-
"type": "number"
|
|
6932
7021
|
}
|
|
6933
7022
|
},
|
|
6934
7023
|
"required": [
|
|
@@ -6936,8 +7025,7 @@
|
|
|
6936
7025
|
"public",
|
|
6937
7026
|
"unlisted",
|
|
6938
7027
|
"shareLink",
|
|
6939
|
-
"visitorAuth"
|
|
6940
|
-
"unpublished"
|
|
7028
|
+
"visitorAuth"
|
|
6941
7029
|
]
|
|
6942
7030
|
},
|
|
6943
7031
|
"OrganizationUsageMembers": {
|
|
@@ -7653,82 +7741,21 @@
|
|
|
7653
7741
|
},
|
|
7654
7742
|
"targetReference": {
|
|
7655
7743
|
"description": "The reference target where a list of pages are pointing at",
|
|
7656
|
-
"$ref": "#/components/schemas/
|
|
7744
|
+
"$ref": "#/components/schemas/ContentLocation"
|
|
7657
7745
|
},
|
|
7658
7746
|
"locationReferences": {
|
|
7659
|
-
"description": "
|
|
7747
|
+
"description": "Pages locations where a link to the target is found.",
|
|
7660
7748
|
"type": "array",
|
|
7661
7749
|
"items": {
|
|
7662
|
-
"$ref": "#/components/schemas/
|
|
7750
|
+
"$ref": "#/components/schemas/ContentLocation"
|
|
7663
7751
|
}
|
|
7664
7752
|
}
|
|
7665
7753
|
},
|
|
7666
7754
|
"required": [
|
|
7667
7755
|
"status",
|
|
7668
|
-
"targetReference",
|
|
7669
7756
|
"locationReferences"
|
|
7670
7757
|
]
|
|
7671
7758
|
},
|
|
7672
|
-
"ContentReferenceResolved": {
|
|
7673
|
-
"type": "object",
|
|
7674
|
-
"properties": {
|
|
7675
|
-
"text": {
|
|
7676
|
-
"description": "Text to display to represent the reference",
|
|
7677
|
-
"type": "string"
|
|
7678
|
-
},
|
|
7679
|
-
"type": {
|
|
7680
|
-
"description": "The type of the content reference",
|
|
7681
|
-
"type": "string",
|
|
7682
|
-
"enum": [
|
|
7683
|
-
"space",
|
|
7684
|
-
"page",
|
|
7685
|
-
"file",
|
|
7686
|
-
"anchor",
|
|
7687
|
-
"collection",
|
|
7688
|
-
"user",
|
|
7689
|
-
"snippet",
|
|
7690
|
-
"url",
|
|
7691
|
-
"synced-block"
|
|
7692
|
-
]
|
|
7693
|
-
},
|
|
7694
|
-
"url": {
|
|
7695
|
-
"description": "Target in-app url for the reference",
|
|
7696
|
-
"type": "string"
|
|
7697
|
-
},
|
|
7698
|
-
"extra": {
|
|
7699
|
-
"type": "object",
|
|
7700
|
-
"properties": {
|
|
7701
|
-
"collection": {
|
|
7702
|
-
"$ref": "#/components/schemas/Collection"
|
|
7703
|
-
},
|
|
7704
|
-
"space": {
|
|
7705
|
-
"$ref": "#/components/schemas/Space"
|
|
7706
|
-
},
|
|
7707
|
-
"page": {
|
|
7708
|
-
"$ref": "#/components/schemas/RevisionPage"
|
|
7709
|
-
},
|
|
7710
|
-
"anchor": {
|
|
7711
|
-
"$ref": "#/components/schemas/RevisionPage"
|
|
7712
|
-
},
|
|
7713
|
-
"file": {
|
|
7714
|
-
"$ref": "#/components/schemas/RevisionFile"
|
|
7715
|
-
},
|
|
7716
|
-
"snippet": {
|
|
7717
|
-
"$ref": "#/components/schemas/Snippet"
|
|
7718
|
-
},
|
|
7719
|
-
"user": {
|
|
7720
|
-
"$ref": "#/components/schemas/User"
|
|
7721
|
-
}
|
|
7722
|
-
}
|
|
7723
|
-
}
|
|
7724
|
-
},
|
|
7725
|
-
"required": [
|
|
7726
|
-
"text",
|
|
7727
|
-
"type",
|
|
7728
|
-
"url",
|
|
7729
|
-
"extra"
|
|
7730
|
-
]
|
|
7731
|
-
},
|
|
7732
7759
|
"ContentReferenceStatus": {
|
|
7733
7760
|
"type": "string",
|
|
7734
7761
|
"enum": [
|
|
@@ -9090,6 +9117,7 @@
|
|
|
9090
9117
|
"content",
|
|
9091
9118
|
"gitsync",
|
|
9092
9119
|
"marketing",
|
|
9120
|
+
"visitor-auth",
|
|
9093
9121
|
"other"
|
|
9094
9122
|
]
|
|
9095
9123
|
},
|
|
@@ -10956,14 +10984,15 @@
|
|
|
10956
10984
|
"free_2024",
|
|
10957
10985
|
"plus_2024",
|
|
10958
10986
|
"pro_2024",
|
|
10959
|
-
"
|
|
10987
|
+
"enterprise_2024",
|
|
10960
10988
|
"free",
|
|
10961
10989
|
"plus",
|
|
10962
10990
|
"pro",
|
|
10963
10991
|
"team",
|
|
10964
10992
|
"business",
|
|
10965
10993
|
"legacy",
|
|
10966
|
-
"startup"
|
|
10994
|
+
"startup",
|
|
10995
|
+
"enterprise"
|
|
10967
10996
|
]
|
|
10968
10997
|
},
|
|
10969
10998
|
"BillingUpgrade": {
|
|
@@ -15026,6 +15055,9 @@
|
|
|
15026
15055
|
"type": "string",
|
|
15027
15056
|
"description": "Unique identifier of the site"
|
|
15028
15057
|
},
|
|
15058
|
+
"type": {
|
|
15059
|
+
"$ref": "#/components/schemas/SiteType"
|
|
15060
|
+
},
|
|
15029
15061
|
"title": {
|
|
15030
15062
|
"$ref": "#/components/schemas/SiteTitle"
|
|
15031
15063
|
},
|
|
@@ -15038,6 +15070,10 @@
|
|
|
15038
15070
|
"visibility": {
|
|
15039
15071
|
"$ref": "#/components/schemas/SiteVisibility"
|
|
15040
15072
|
},
|
|
15073
|
+
"published": {
|
|
15074
|
+
"type": "boolean",
|
|
15075
|
+
"description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
|
|
15076
|
+
},
|
|
15041
15077
|
"siteSpaces": {
|
|
15042
15078
|
"type": "number"
|
|
15043
15079
|
},
|
|
@@ -15045,9 +15081,6 @@
|
|
|
15045
15081
|
"type": "string",
|
|
15046
15082
|
"format": "date-time"
|
|
15047
15083
|
},
|
|
15048
|
-
"subscription": {
|
|
15049
|
-
"$ref": "#/components/schemas/SiteSubscription"
|
|
15050
|
-
},
|
|
15051
15084
|
"urls": {
|
|
15052
15085
|
"type": "object",
|
|
15053
15086
|
"description": "URLs associated with the object",
|
|
@@ -15064,7 +15097,7 @@
|
|
|
15064
15097
|
},
|
|
15065
15098
|
"published": {
|
|
15066
15099
|
"type": "string",
|
|
15067
|
-
"description": "URL of the published version of the site. Only defined when
|
|
15100
|
+
"description": "URL of the published version of the site. Only defined when site is published.",
|
|
15068
15101
|
"format": "uri"
|
|
15069
15102
|
}
|
|
15070
15103
|
},
|
|
@@ -15077,15 +15110,25 @@
|
|
|
15077
15110
|
"required": [
|
|
15078
15111
|
"object",
|
|
15079
15112
|
"id",
|
|
15113
|
+
"type",
|
|
15080
15114
|
"title",
|
|
15081
15115
|
"visibility",
|
|
15116
|
+
"published",
|
|
15082
15117
|
"createdAt",
|
|
15083
15118
|
"siteSpaces",
|
|
15084
15119
|
"defaultSpace",
|
|
15085
|
-
"subscription",
|
|
15086
15120
|
"urls"
|
|
15087
15121
|
]
|
|
15088
15122
|
},
|
|
15123
|
+
"SiteType": {
|
|
15124
|
+
"type": "string",
|
|
15125
|
+
"description": "The type of the site",
|
|
15126
|
+
"enum": [
|
|
15127
|
+
"basic",
|
|
15128
|
+
"standard",
|
|
15129
|
+
"premium"
|
|
15130
|
+
]
|
|
15131
|
+
},
|
|
15089
15132
|
"SiteTitle": {
|
|
15090
15133
|
"type": "string",
|
|
15091
15134
|
"description": "Title of the site",
|
|
@@ -15264,6 +15307,18 @@
|
|
|
15264
15307
|
"enabled"
|
|
15265
15308
|
]
|
|
15266
15309
|
},
|
|
15310
|
+
"advancedCustomization": {
|
|
15311
|
+
"type": "object",
|
|
15312
|
+
"properties": {
|
|
15313
|
+
"enabled": {
|
|
15314
|
+
"type": "boolean",
|
|
15315
|
+
"description": "If true, Advanced customization is enabled"
|
|
15316
|
+
}
|
|
15317
|
+
},
|
|
15318
|
+
"required": [
|
|
15319
|
+
"enabled"
|
|
15320
|
+
]
|
|
15321
|
+
},
|
|
15267
15322
|
"git": {
|
|
15268
15323
|
"type": "object",
|
|
15269
15324
|
"properties": {
|
|
@@ -15327,6 +15382,7 @@
|
|
|
15327
15382
|
"pdf",
|
|
15328
15383
|
"feedback",
|
|
15329
15384
|
"aiSearch",
|
|
15385
|
+
"advancedCustomization",
|
|
15330
15386
|
"trademark",
|
|
15331
15387
|
"pagination",
|
|
15332
15388
|
"git",
|
|
@@ -15716,17 +15772,26 @@
|
|
|
15716
15772
|
},
|
|
15717
15773
|
"SiteVisibility": {
|
|
15718
15774
|
"type": "string",
|
|
15719
|
-
"description": "* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n
|
|
15775
|
+
"description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
|
|
15720
15776
|
"enum": [
|
|
15721
15777
|
"public",
|
|
15722
15778
|
"unlisted",
|
|
15723
15779
|
"share-link",
|
|
15724
|
-
"visitor-auth"
|
|
15725
|
-
"unpublished"
|
|
15780
|
+
"visitor-auth"
|
|
15726
15781
|
]
|
|
15727
15782
|
},
|
|
15728
15783
|
"SitePublishingAuth": {
|
|
15729
15784
|
"allOf": [
|
|
15785
|
+
{
|
|
15786
|
+
"oneOf": [
|
|
15787
|
+
{
|
|
15788
|
+
"$ref": "#/components/schemas/SpaceVisitorAuthCustomBackend"
|
|
15789
|
+
},
|
|
15790
|
+
{
|
|
15791
|
+
"$ref": "#/components/schemas/SpaceVisitorAuthIntegrationBackend"
|
|
15792
|
+
}
|
|
15793
|
+
]
|
|
15794
|
+
},
|
|
15730
15795
|
{
|
|
15731
15796
|
"type": "object",
|
|
15732
15797
|
"properties": {
|
|
@@ -15745,15 +15810,16 @@
|
|
|
15745
15810
|
"type": "string",
|
|
15746
15811
|
"format": "uri",
|
|
15747
15812
|
"description": "URL to redirect to when the visitor auth secret is invalid."
|
|
15813
|
+
},
|
|
15814
|
+
"integration": {
|
|
15815
|
+
"type": "string",
|
|
15816
|
+
"description": "Name of the Visitor Authentication integration installed on the site (if any).\nIt is also the one being used as VA backend when the published auth settings are configured to use \"integration\" as backend.\n"
|
|
15748
15817
|
}
|
|
15749
15818
|
},
|
|
15750
15819
|
"required": [
|
|
15751
15820
|
"object",
|
|
15752
15821
|
"privateKey"
|
|
15753
15822
|
]
|
|
15754
|
-
},
|
|
15755
|
-
{
|
|
15756
|
-
"$ref": "#/components/schemas/SpaceVisitorAuth"
|
|
15757
15823
|
}
|
|
15758
15824
|
]
|
|
15759
15825
|
},
|
|
@@ -15816,13 +15882,17 @@
|
|
|
15816
15882
|
"type": "boolean",
|
|
15817
15883
|
"description": "Whether this is the default space for the site"
|
|
15818
15884
|
},
|
|
15885
|
+
"hasAdvancedCustomizationFeature": {
|
|
15886
|
+
"type": "boolean",
|
|
15887
|
+
"description": "Whether the space has advanced customization feature enabled"
|
|
15888
|
+
},
|
|
15819
15889
|
"urls": {
|
|
15820
15890
|
"type": "object",
|
|
15821
15891
|
"description": "URLs associated with the object",
|
|
15822
15892
|
"properties": {
|
|
15823
15893
|
"published": {
|
|
15824
15894
|
"type": "string",
|
|
15825
|
-
"description": "URL of the published version of the site-space. Only defined when site is
|
|
15895
|
+
"description": "URL of the published version of the site-space. Only defined when site is published.",
|
|
15826
15896
|
"format": "uri"
|
|
15827
15897
|
}
|
|
15828
15898
|
},
|
|
@@ -15875,36 +15945,6 @@
|
|
|
15875
15945
|
"siteSpace"
|
|
15876
15946
|
]
|
|
15877
15947
|
},
|
|
15878
|
-
"SiteSubscriptionStatus": {
|
|
15879
|
-
"type": "string",
|
|
15880
|
-
"enum": [
|
|
15881
|
-
"active",
|
|
15882
|
-
"inactive"
|
|
15883
|
-
]
|
|
15884
|
-
},
|
|
15885
|
-
"SiteSubscriptionType": {
|
|
15886
|
-
"type": "string",
|
|
15887
|
-
"enum": [
|
|
15888
|
-
"basic",
|
|
15889
|
-
"premium",
|
|
15890
|
-
"premium_va"
|
|
15891
|
-
]
|
|
15892
|
-
},
|
|
15893
|
-
"SiteSubscription": {
|
|
15894
|
-
"type": "object",
|
|
15895
|
-
"properties": {
|
|
15896
|
-
"type": {
|
|
15897
|
-
"$ref": "#/components/schemas/SiteSubscriptionType"
|
|
15898
|
-
},
|
|
15899
|
-
"status": {
|
|
15900
|
-
"$ref": "#/components/schemas/SiteSubscriptionStatus"
|
|
15901
|
-
}
|
|
15902
|
-
},
|
|
15903
|
-
"required": [
|
|
15904
|
-
"type",
|
|
15905
|
-
"status"
|
|
15906
|
-
]
|
|
15907
|
-
},
|
|
15908
15948
|
"CustomHostname": {
|
|
15909
15949
|
"type": "object",
|
|
15910
15950
|
"properties": {
|
|
@@ -25657,56 +25697,124 @@
|
|
|
25657
25697
|
}
|
|
25658
25698
|
}
|
|
25659
25699
|
},
|
|
25660
|
-
"/orgs/{organizationId}/
|
|
25700
|
+
"/orgs/{organizationId}/integrations/installations-status": {
|
|
25661
25701
|
"get": {
|
|
25662
|
-
"operationId": "
|
|
25663
|
-
"summary": "List
|
|
25702
|
+
"operationId": "listOrganizationIntegrationsStatus",
|
|
25703
|
+
"summary": "List the statuses of all integrations installed in an organization",
|
|
25664
25704
|
"tags": [
|
|
25665
|
-
"
|
|
25666
|
-
],
|
|
25667
|
-
"security": [
|
|
25668
|
-
{
|
|
25669
|
-
"user": []
|
|
25670
|
-
}
|
|
25705
|
+
"integrations"
|
|
25671
25706
|
],
|
|
25672
25707
|
"parameters": [
|
|
25673
25708
|
{
|
|
25674
25709
|
"$ref": "#/components/parameters/organizationId"
|
|
25710
|
+
},
|
|
25711
|
+
{
|
|
25712
|
+
"$ref": "#/components/parameters/listPage"
|
|
25713
|
+
},
|
|
25714
|
+
{
|
|
25715
|
+
"$ref": "#/components/parameters/listLimit"
|
|
25716
|
+
},
|
|
25717
|
+
{
|
|
25718
|
+
"$ref": "#/components/schemas/IntegrationSearchQuery"
|
|
25675
25719
|
}
|
|
25676
25720
|
],
|
|
25677
25721
|
"responses": {
|
|
25678
25722
|
"200": {
|
|
25679
|
-
"description": "
|
|
25723
|
+
"description": "List of integrations.",
|
|
25680
25724
|
"content": {
|
|
25681
25725
|
"application/json": {
|
|
25682
25726
|
"schema": {
|
|
25683
|
-
"
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25727
|
+
"allOf": [
|
|
25728
|
+
{
|
|
25729
|
+
"$ref": "#/components/schemas/List"
|
|
25730
|
+
},
|
|
25731
|
+
{
|
|
25732
|
+
"type": "object",
|
|
25733
|
+
"required": [
|
|
25734
|
+
"items"
|
|
25735
|
+
],
|
|
25736
|
+
"properties": {
|
|
25737
|
+
"items": {
|
|
25738
|
+
"type": "array",
|
|
25739
|
+
"items": {
|
|
25740
|
+
"type": "object",
|
|
25741
|
+
"required": [
|
|
25742
|
+
"status",
|
|
25743
|
+
"integration"
|
|
25744
|
+
],
|
|
25745
|
+
"properties": {
|
|
25746
|
+
"status": {
|
|
25747
|
+
"$ref": "#/components/schemas/IntegrationInstallationStatus"
|
|
25748
|
+
},
|
|
25749
|
+
"integration": {
|
|
25750
|
+
"$ref": "#/components/schemas/Integration"
|
|
25751
|
+
}
|
|
25752
|
+
}
|
|
25753
|
+
}
|
|
25754
|
+
}
|
|
25755
|
+
}
|
|
25756
|
+
}
|
|
25757
|
+
]
|
|
25758
|
+
}
|
|
25759
|
+
}
|
|
25760
|
+
}
|
|
25761
|
+
},
|
|
25762
|
+
"default": {
|
|
25763
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
25764
|
+
}
|
|
25765
|
+
}
|
|
25766
|
+
}
|
|
25767
|
+
},
|
|
25768
|
+
"/orgs/{organizationId}/experiments": {
|
|
25769
|
+
"get": {
|
|
25770
|
+
"operationId": "listOrgExperimentalFeatures",
|
|
25771
|
+
"summary": "List experiemental features for the given organization.",
|
|
25772
|
+
"tags": [
|
|
25773
|
+
"organizations"
|
|
25774
|
+
],
|
|
25775
|
+
"security": [
|
|
25776
|
+
{
|
|
25777
|
+
"user": []
|
|
25778
|
+
}
|
|
25779
|
+
],
|
|
25780
|
+
"parameters": [
|
|
25781
|
+
{
|
|
25782
|
+
"$ref": "#/components/parameters/organizationId"
|
|
25783
|
+
}
|
|
25784
|
+
],
|
|
25785
|
+
"responses": {
|
|
25786
|
+
"200": {
|
|
25787
|
+
"description": "OK",
|
|
25788
|
+
"content": {
|
|
25789
|
+
"application/json": {
|
|
25790
|
+
"schema": {
|
|
25791
|
+
"type": "array",
|
|
25792
|
+
"items": {
|
|
25793
|
+
"$ref": "#/components/schemas/OrganizationExperimentalFeature"
|
|
25794
|
+
}
|
|
25795
|
+
}
|
|
25796
|
+
}
|
|
25797
|
+
}
|
|
25798
|
+
},
|
|
25799
|
+
"default": {
|
|
25800
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
25801
|
+
}
|
|
25802
|
+
}
|
|
25803
|
+
},
|
|
25804
|
+
"post": {
|
|
25805
|
+
"operationId": "updateOrgExperimentalFeatures",
|
|
25806
|
+
"summary": "Toggle on or off experimental features.",
|
|
25807
|
+
"tags": [
|
|
25808
|
+
"organizations"
|
|
25809
|
+
],
|
|
25810
|
+
"security": [
|
|
25811
|
+
{
|
|
25812
|
+
"user": []
|
|
25813
|
+
}
|
|
25814
|
+
],
|
|
25815
|
+
"parameters": [
|
|
25816
|
+
{
|
|
25817
|
+
"$ref": "#/components/parameters/organizationId"
|
|
25710
25818
|
}
|
|
25711
25819
|
],
|
|
25712
25820
|
"requestBody": {
|
|
@@ -28000,6 +28108,293 @@
|
|
|
28000
28108
|
}
|
|
28001
28109
|
}
|
|
28002
28110
|
},
|
|
28111
|
+
"/orgs/{organizationId}/sites/{siteId}/checkout": {
|
|
28112
|
+
"post": {
|
|
28113
|
+
"operationId": "checkoutSite",
|
|
28114
|
+
"summary": "Initiate a payment checkout for a site",
|
|
28115
|
+
"tags": [
|
|
28116
|
+
"sites"
|
|
28117
|
+
],
|
|
28118
|
+
"security": [
|
|
28119
|
+
{
|
|
28120
|
+
"user-internal": []
|
|
28121
|
+
}
|
|
28122
|
+
],
|
|
28123
|
+
"parameters": [
|
|
28124
|
+
{
|
|
28125
|
+
"$ref": "#/components/parameters/organizationId"
|
|
28126
|
+
},
|
|
28127
|
+
{
|
|
28128
|
+
"$ref": "#/components/parameters/siteId"
|
|
28129
|
+
}
|
|
28130
|
+
],
|
|
28131
|
+
"requestBody": {
|
|
28132
|
+
"required": true,
|
|
28133
|
+
"content": {
|
|
28134
|
+
"application/json": {
|
|
28135
|
+
"schema": {
|
|
28136
|
+
"type": "object",
|
|
28137
|
+
"properties": {
|
|
28138
|
+
"reason": {
|
|
28139
|
+
"type": "string",
|
|
28140
|
+
"description": "Reason leading to the site checkout"
|
|
28141
|
+
}
|
|
28142
|
+
},
|
|
28143
|
+
"required": [
|
|
28144
|
+
"reason"
|
|
28145
|
+
]
|
|
28146
|
+
}
|
|
28147
|
+
}
|
|
28148
|
+
}
|
|
28149
|
+
},
|
|
28150
|
+
"responses": {
|
|
28151
|
+
"200": {
|
|
28152
|
+
"description": "OK",
|
|
28153
|
+
"content": {
|
|
28154
|
+
"application/json": {
|
|
28155
|
+
"schema": {
|
|
28156
|
+
"oneOf": [
|
|
28157
|
+
{
|
|
28158
|
+
"type": "object",
|
|
28159
|
+
"properties": {
|
|
28160
|
+
"result": {
|
|
28161
|
+
"type": "string",
|
|
28162
|
+
"enum": [
|
|
28163
|
+
"success",
|
|
28164
|
+
"failure"
|
|
28165
|
+
]
|
|
28166
|
+
}
|
|
28167
|
+
},
|
|
28168
|
+
"required": [
|
|
28169
|
+
"result"
|
|
28170
|
+
]
|
|
28171
|
+
},
|
|
28172
|
+
{
|
|
28173
|
+
"type": "object",
|
|
28174
|
+
"properties": {
|
|
28175
|
+
"result": {
|
|
28176
|
+
"type": "string",
|
|
28177
|
+
"enum": [
|
|
28178
|
+
"checkout"
|
|
28179
|
+
]
|
|
28180
|
+
},
|
|
28181
|
+
"sessionId": {
|
|
28182
|
+
"type": "string",
|
|
28183
|
+
"description": "Stripe payment session ID"
|
|
28184
|
+
}
|
|
28185
|
+
},
|
|
28186
|
+
"required": [
|
|
28187
|
+
"result",
|
|
28188
|
+
"sessionId"
|
|
28189
|
+
]
|
|
28190
|
+
}
|
|
28191
|
+
]
|
|
28192
|
+
}
|
|
28193
|
+
}
|
|
28194
|
+
}
|
|
28195
|
+
},
|
|
28196
|
+
"default": {
|
|
28197
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
28198
|
+
}
|
|
28199
|
+
}
|
|
28200
|
+
},
|
|
28201
|
+
"get": {
|
|
28202
|
+
"operationId": "getSiteCheckoutById",
|
|
28203
|
+
"summary": "Returns checkout information about a site prior to publishing.",
|
|
28204
|
+
"tags": [
|
|
28205
|
+
"sites"
|
|
28206
|
+
],
|
|
28207
|
+
"security": [
|
|
28208
|
+
{
|
|
28209
|
+
"user-internal": []
|
|
28210
|
+
}
|
|
28211
|
+
],
|
|
28212
|
+
"parameters": [
|
|
28213
|
+
{
|
|
28214
|
+
"$ref": "#/components/parameters/organizationId"
|
|
28215
|
+
},
|
|
28216
|
+
{
|
|
28217
|
+
"$ref": "#/components/parameters/siteId"
|
|
28218
|
+
}
|
|
28219
|
+
],
|
|
28220
|
+
"responses": {
|
|
28221
|
+
"200": {
|
|
28222
|
+
"description": "OK",
|
|
28223
|
+
"content": {
|
|
28224
|
+
"application/json": {
|
|
28225
|
+
"schema": {
|
|
28226
|
+
"allOf": [
|
|
28227
|
+
{
|
|
28228
|
+
"type": "object",
|
|
28229
|
+
"properties": {
|
|
28230
|
+
"downgrade": {
|
|
28231
|
+
"type": "boolean"
|
|
28232
|
+
}
|
|
28233
|
+
}
|
|
28234
|
+
},
|
|
28235
|
+
{
|
|
28236
|
+
"oneOf": [
|
|
28237
|
+
{
|
|
28238
|
+
"type": "object",
|
|
28239
|
+
"properties": {
|
|
28240
|
+
"type": {
|
|
28241
|
+
"type": "string",
|
|
28242
|
+
"enum": [
|
|
28243
|
+
"simple-checkout"
|
|
28244
|
+
]
|
|
28245
|
+
}
|
|
28246
|
+
},
|
|
28247
|
+
"required": [
|
|
28248
|
+
"type"
|
|
28249
|
+
]
|
|
28250
|
+
},
|
|
28251
|
+
{
|
|
28252
|
+
"type": "object",
|
|
28253
|
+
"properties": {
|
|
28254
|
+
"type": {
|
|
28255
|
+
"type": "string",
|
|
28256
|
+
"enum": [
|
|
28257
|
+
"advanced-checkout"
|
|
28258
|
+
]
|
|
28259
|
+
}
|
|
28260
|
+
},
|
|
28261
|
+
"required": [
|
|
28262
|
+
"type"
|
|
28263
|
+
]
|
|
28264
|
+
},
|
|
28265
|
+
{
|
|
28266
|
+
"type": "object",
|
|
28267
|
+
"properties": {
|
|
28268
|
+
"type": {
|
|
28269
|
+
"type": "string",
|
|
28270
|
+
"enum": [
|
|
28271
|
+
"no-permissions"
|
|
28272
|
+
]
|
|
28273
|
+
}
|
|
28274
|
+
},
|
|
28275
|
+
"required": [
|
|
28276
|
+
"type"
|
|
28277
|
+
]
|
|
28278
|
+
},
|
|
28279
|
+
{
|
|
28280
|
+
"type": "object",
|
|
28281
|
+
"properties": {
|
|
28282
|
+
"type": {
|
|
28283
|
+
"type": "string",
|
|
28284
|
+
"enum": [
|
|
28285
|
+
"publish"
|
|
28286
|
+
]
|
|
28287
|
+
}
|
|
28288
|
+
},
|
|
28289
|
+
"required": [
|
|
28290
|
+
"type"
|
|
28291
|
+
]
|
|
28292
|
+
},
|
|
28293
|
+
{
|
|
28294
|
+
"type": "object",
|
|
28295
|
+
"properties": {
|
|
28296
|
+
"type": {
|
|
28297
|
+
"type": "string",
|
|
28298
|
+
"enum": [
|
|
28299
|
+
"legacy-upgrade"
|
|
28300
|
+
]
|
|
28301
|
+
}
|
|
28302
|
+
},
|
|
28303
|
+
"required": [
|
|
28304
|
+
"type"
|
|
28305
|
+
]
|
|
28306
|
+
}
|
|
28307
|
+
]
|
|
28308
|
+
}
|
|
28309
|
+
]
|
|
28310
|
+
}
|
|
28311
|
+
}
|
|
28312
|
+
}
|
|
28313
|
+
},
|
|
28314
|
+
"404": {
|
|
28315
|
+
"description": "No matching site found",
|
|
28316
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
28317
|
+
},
|
|
28318
|
+
"default": {
|
|
28319
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
28320
|
+
}
|
|
28321
|
+
}
|
|
28322
|
+
}
|
|
28323
|
+
},
|
|
28324
|
+
"/orgs/{organizationId}/sites/{siteId}/publish": {
|
|
28325
|
+
"post": {
|
|
28326
|
+
"operationId": "publishSite",
|
|
28327
|
+
"summary": "Publishes the site to the audience defined in the site's visibility setting.",
|
|
28328
|
+
"tags": [
|
|
28329
|
+
"sites"
|
|
28330
|
+
],
|
|
28331
|
+
"security": [
|
|
28332
|
+
{
|
|
28333
|
+
"user": []
|
|
28334
|
+
}
|
|
28335
|
+
],
|
|
28336
|
+
"parameters": [
|
|
28337
|
+
{
|
|
28338
|
+
"$ref": "#/components/parameters/organizationId"
|
|
28339
|
+
},
|
|
28340
|
+
{
|
|
28341
|
+
"$ref": "#/components/parameters/siteId"
|
|
28342
|
+
}
|
|
28343
|
+
],
|
|
28344
|
+
"responses": {
|
|
28345
|
+
"200": {
|
|
28346
|
+
"description": "Site published successfully",
|
|
28347
|
+
"content": {
|
|
28348
|
+
"application/json": {
|
|
28349
|
+
"schema": {
|
|
28350
|
+
"$ref": "#/components/schemas/Site"
|
|
28351
|
+
}
|
|
28352
|
+
}
|
|
28353
|
+
}
|
|
28354
|
+
},
|
|
28355
|
+
"default": {
|
|
28356
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
28357
|
+
}
|
|
28358
|
+
}
|
|
28359
|
+
}
|
|
28360
|
+
},
|
|
28361
|
+
"/orgs/{organizationId}/sites/{siteId}/unpublish": {
|
|
28362
|
+
"post": {
|
|
28363
|
+
"operationId": "unpublishSite",
|
|
28364
|
+
"summary": "Unpublishes the site.",
|
|
28365
|
+
"tags": [
|
|
28366
|
+
"sites"
|
|
28367
|
+
],
|
|
28368
|
+
"security": [
|
|
28369
|
+
{
|
|
28370
|
+
"user": []
|
|
28371
|
+
}
|
|
28372
|
+
],
|
|
28373
|
+
"parameters": [
|
|
28374
|
+
{
|
|
28375
|
+
"$ref": "#/components/parameters/organizationId"
|
|
28376
|
+
},
|
|
28377
|
+
{
|
|
28378
|
+
"$ref": "#/components/parameters/siteId"
|
|
28379
|
+
}
|
|
28380
|
+
],
|
|
28381
|
+
"responses": {
|
|
28382
|
+
"200": {
|
|
28383
|
+
"description": "Site unpublished successfully",
|
|
28384
|
+
"content": {
|
|
28385
|
+
"application/json": {
|
|
28386
|
+
"schema": {
|
|
28387
|
+
"$ref": "#/components/schemas/Site"
|
|
28388
|
+
}
|
|
28389
|
+
}
|
|
28390
|
+
}
|
|
28391
|
+
},
|
|
28392
|
+
"default": {
|
|
28393
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
28394
|
+
}
|
|
28395
|
+
}
|
|
28396
|
+
}
|
|
28397
|
+
},
|
|
28003
28398
|
"/orgs/{organizationId}/sites/{siteId}/share-links": {
|
|
28004
28399
|
"get": {
|
|
28005
28400
|
"operationId": "listSiteShareLinks",
|
|
@@ -28300,6 +28695,46 @@
|
|
|
28300
28695
|
}
|
|
28301
28696
|
}
|
|
28302
28697
|
},
|
|
28698
|
+
"/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate": {
|
|
28699
|
+
"post": {
|
|
28700
|
+
"operationId": "regenerateSitePublishingAuthById",
|
|
28701
|
+
"summary": "Regenerate the publishing authentication settings for a site. This will re-generate the private key.",
|
|
28702
|
+
"tags": [
|
|
28703
|
+
"sites"
|
|
28704
|
+
],
|
|
28705
|
+
"security": [
|
|
28706
|
+
{
|
|
28707
|
+
"user": []
|
|
28708
|
+
}
|
|
28709
|
+
],
|
|
28710
|
+
"parameters": [
|
|
28711
|
+
{
|
|
28712
|
+
"$ref": "#/components/parameters/organizationId"
|
|
28713
|
+
},
|
|
28714
|
+
{
|
|
28715
|
+
"$ref": "#/components/parameters/siteId"
|
|
28716
|
+
}
|
|
28717
|
+
],
|
|
28718
|
+
"responses": {
|
|
28719
|
+
"200": {
|
|
28720
|
+
"description": "OK",
|
|
28721
|
+
"content": {
|
|
28722
|
+
"application/json": {
|
|
28723
|
+
"schema": {
|
|
28724
|
+
"$ref": "#/components/schemas/SitePublishingAuth"
|
|
28725
|
+
}
|
|
28726
|
+
}
|
|
28727
|
+
}
|
|
28728
|
+
},
|
|
28729
|
+
"400": {
|
|
28730
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
28731
|
+
},
|
|
28732
|
+
"default": {
|
|
28733
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
28734
|
+
}
|
|
28735
|
+
}
|
|
28736
|
+
}
|
|
28737
|
+
},
|
|
28303
28738
|
"/orgs/{organizationId}/sites/{siteId}/publishing/preview": {
|
|
28304
28739
|
"get": {
|
|
28305
28740
|
"operationId": "getSitePublishingPreviewById",
|
|
@@ -28374,6 +28809,9 @@
|
|
|
28374
28809
|
},
|
|
28375
28810
|
{
|
|
28376
28811
|
"$ref": "#/components/parameters/siteId"
|
|
28812
|
+
},
|
|
28813
|
+
{
|
|
28814
|
+
"$ref": "#/components/parameters/siteCustomizationUnmasked"
|
|
28377
28815
|
}
|
|
28378
28816
|
],
|
|
28379
28817
|
"responses": {
|
|
@@ -28547,7 +28985,7 @@
|
|
|
28547
28985
|
}
|
|
28548
28986
|
}
|
|
28549
28987
|
},
|
|
28550
|
-
"/orgs/{organizationId}/sites/{siteId}/spaces": {
|
|
28988
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces": {
|
|
28551
28989
|
"post": {
|
|
28552
28990
|
"operationId": "addSpaceToSite",
|
|
28553
28991
|
"summary": "Add a space to a site in an organization",
|
|
@@ -28670,7 +29108,7 @@
|
|
|
28670
29108
|
}
|
|
28671
29109
|
}
|
|
28672
29110
|
},
|
|
28673
|
-
"/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}": {
|
|
29111
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}": {
|
|
28674
29112
|
"patch": {
|
|
28675
29113
|
"operationId": "updateSiteSpaceById",
|
|
28676
29114
|
"summary": "Update a space on a site in an organization",
|
|
@@ -28756,7 +29194,7 @@
|
|
|
28756
29194
|
}
|
|
28757
29195
|
}
|
|
28758
29196
|
},
|
|
28759
|
-
"/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/customization": {
|
|
29197
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization": {
|
|
28760
29198
|
"get": {
|
|
28761
29199
|
"operationId": "getSiteSpaceCustomizationById",
|
|
28762
29200
|
"summary": "Get the customization configuration for a site space.",
|
|
@@ -28777,6 +29215,9 @@
|
|
|
28777
29215
|
},
|
|
28778
29216
|
{
|
|
28779
29217
|
"$ref": "#/components/parameters/siteSpaceId"
|
|
29218
|
+
},
|
|
29219
|
+
{
|
|
29220
|
+
"$ref": "#/components/parameters/siteCustomizationUnmasked"
|
|
28780
29221
|
}
|
|
28781
29222
|
],
|
|
28782
29223
|
"responses": {
|
|
@@ -28851,7 +29292,7 @@
|
|
|
28851
29292
|
}
|
|
28852
29293
|
}
|
|
28853
29294
|
},
|
|
28854
|
-
"/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/move": {
|
|
29295
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move": {
|
|
28855
29296
|
"post": {
|
|
28856
29297
|
"operationId": "moveSiteSpace",
|
|
28857
29298
|
"summary": "Move a site space to a new position in the site.",
|
|
@@ -28982,6 +29423,9 @@
|
|
|
28982
29423
|
"oneOf": [
|
|
28983
29424
|
{
|
|
28984
29425
|
"$ref": "#/components/schemas/SpacePointer"
|
|
29426
|
+
},
|
|
29427
|
+
{
|
|
29428
|
+
"$ref": "#/components/schemas/OrganizationPointer"
|
|
28985
29429
|
}
|
|
28986
29430
|
]
|
|
28987
29431
|
}
|