@gitbook/api 0.128.0 → 0.129.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 +405 -201
- package/dist/index.cjs +105 -65
- package/dist/index.js +101 -64
- package/package.json +1 -1
- package/spec/openapi.json +1088 -429
- package/spec/openapi.yaml +794 -328
package/spec/openapi.json
CHANGED
|
@@ -308,6 +308,13 @@
|
|
|
308
308
|
"x-parent": "translations",
|
|
309
309
|
"description": "Enable or disable specific languages, configure default text direction, or adjust advanced translation settings to ensure clarity for your global audience.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"TranslationLanguageSettings\" grouped=\"false\" %}\n The TranslationLanguageSettings object\n{% endopenapi-schemas %}\n"
|
|
310
310
|
},
|
|
311
|
+
{
|
|
312
|
+
"name": "glossary",
|
|
313
|
+
"x-page-title": "Glossary",
|
|
314
|
+
"x-page-description": "Manage custom terms translations used by the translation feature.",
|
|
315
|
+
"x-parent": "translations",
|
|
316
|
+
"description": "Define terms and specify their translations for different languages to ensure consistent wording.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"GlossaryEntry\" grouped=\"false\" %}\n The GlossaryEntry object\n{% endopenapi-schemas %}\n"
|
|
317
|
+
},
|
|
311
318
|
{
|
|
312
319
|
"name": "integrations",
|
|
313
320
|
"x-page-icon": "puzzle-piece",
|
|
@@ -1139,6 +1146,33 @@
|
|
|
1139
1146
|
}
|
|
1140
1147
|
}
|
|
1141
1148
|
},
|
|
1149
|
+
"/spaces/{spaceId}/git/legacy-installation": {
|
|
1150
|
+
"delete": {
|
|
1151
|
+
"operationId": "deleteLegacyGitInstallation",
|
|
1152
|
+
"summary": "Remove the legacy Git Sync installation from the space to be able to upgrade it to use the new Git integrations",
|
|
1153
|
+
"tags": [
|
|
1154
|
+
"space-git"
|
|
1155
|
+
],
|
|
1156
|
+
"security": [
|
|
1157
|
+
{
|
|
1158
|
+
"user-internal": []
|
|
1159
|
+
}
|
|
1160
|
+
],
|
|
1161
|
+
"parameters": [
|
|
1162
|
+
{
|
|
1163
|
+
"$ref": "#/components/parameters/spaceId"
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"responses": {
|
|
1167
|
+
"204": {
|
|
1168
|
+
"description": "The legacy Git installation was already removed"
|
|
1169
|
+
},
|
|
1170
|
+
"205": {
|
|
1171
|
+
"description": "The legacy Git installation was successfully removed"
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1142
1176
|
"/spaces/{spaceId}/permissions": {
|
|
1143
1177
|
"post": {
|
|
1144
1178
|
"operationId": "inviteToSpace",
|
|
@@ -1547,6 +1581,40 @@
|
|
|
1547
1581
|
}
|
|
1548
1582
|
}
|
|
1549
1583
|
},
|
|
1584
|
+
"/spaces/{spaceId}/content/template": {
|
|
1585
|
+
"post": {
|
|
1586
|
+
"operationId": "applyTemplateToSpace",
|
|
1587
|
+
"summary": "Apply a template to a space.",
|
|
1588
|
+
"tags": [
|
|
1589
|
+
"space-content"
|
|
1590
|
+
],
|
|
1591
|
+
"security": [
|
|
1592
|
+
{
|
|
1593
|
+
"user": []
|
|
1594
|
+
}
|
|
1595
|
+
],
|
|
1596
|
+
"parameters": [
|
|
1597
|
+
{
|
|
1598
|
+
"$ref": "#/components/parameters/spaceId"
|
|
1599
|
+
}
|
|
1600
|
+
],
|
|
1601
|
+
"responses": {
|
|
1602
|
+
"201": {
|
|
1603
|
+
"description": "Template applied to space."
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"requestBody": {
|
|
1607
|
+
"required": true,
|
|
1608
|
+
"content": {
|
|
1609
|
+
"application/json": {
|
|
1610
|
+
"schema": {
|
|
1611
|
+
"$ref": "#/components/schemas/ApplySpaceTemplate"
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
},
|
|
1550
1618
|
"/spaces/{spaceId}/content/pages": {
|
|
1551
1619
|
"get": {
|
|
1552
1620
|
"operationId": "listPages",
|
|
@@ -10081,6 +10149,63 @@
|
|
|
10081
10149
|
}
|
|
10082
10150
|
}
|
|
10083
10151
|
},
|
|
10152
|
+
"patch": {
|
|
10153
|
+
"operationId": "updateOpenAPISpecBySlug",
|
|
10154
|
+
"summary": "Update OpenAPI spec visibility",
|
|
10155
|
+
"tags": [
|
|
10156
|
+
"openapi"
|
|
10157
|
+
],
|
|
10158
|
+
"security": [
|
|
10159
|
+
{
|
|
10160
|
+
"user": []
|
|
10161
|
+
}
|
|
10162
|
+
],
|
|
10163
|
+
"parameters": [
|
|
10164
|
+
{
|
|
10165
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10166
|
+
},
|
|
10167
|
+
{
|
|
10168
|
+
"$ref": "#/components/parameters/openapiSpecSlug"
|
|
10169
|
+
}
|
|
10170
|
+
],
|
|
10171
|
+
"requestBody": {
|
|
10172
|
+
"required": true,
|
|
10173
|
+
"content": {
|
|
10174
|
+
"application/json": {
|
|
10175
|
+
"schema": {
|
|
10176
|
+
"type": "object",
|
|
10177
|
+
"properties": {
|
|
10178
|
+
"visibility": {
|
|
10179
|
+
"$ref": "#/components/schemas/OpenAPISpecVisibility"
|
|
10180
|
+
}
|
|
10181
|
+
},
|
|
10182
|
+
"required": [
|
|
10183
|
+
"visibility"
|
|
10184
|
+
]
|
|
10185
|
+
}
|
|
10186
|
+
}
|
|
10187
|
+
}
|
|
10188
|
+
},
|
|
10189
|
+
"responses": {
|
|
10190
|
+
"200": {
|
|
10191
|
+
"description": "OpenAPI specification visibility has been updated",
|
|
10192
|
+
"content": {
|
|
10193
|
+
"application/json": {
|
|
10194
|
+
"schema": {
|
|
10195
|
+
"$ref": "#/components/schemas/OpenAPISpec"
|
|
10196
|
+
}
|
|
10197
|
+
}
|
|
10198
|
+
}
|
|
10199
|
+
},
|
|
10200
|
+
"400": {
|
|
10201
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10202
|
+
},
|
|
10203
|
+
"404": {
|
|
10204
|
+
"description": "No matching OpenAPI specification found",
|
|
10205
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10206
|
+
}
|
|
10207
|
+
}
|
|
10208
|
+
},
|
|
10084
10209
|
"delete": {
|
|
10085
10210
|
"operationId": "deleteOpenAPISpecBySlug",
|
|
10086
10211
|
"summary": "Delete an OpenAPI spec",
|
|
@@ -10782,8 +10907,8 @@
|
|
|
10782
10907
|
},
|
|
10783
10908
|
"/orgs/{organizationId}/translations": {
|
|
10784
10909
|
"get": {
|
|
10785
|
-
"operationId": "
|
|
10786
|
-
"summary": "List all the
|
|
10910
|
+
"operationId": "listTranslations",
|
|
10911
|
+
"summary": "List all the translations",
|
|
10787
10912
|
"tags": [
|
|
10788
10913
|
"translations"
|
|
10789
10914
|
],
|
|
@@ -10822,7 +10947,7 @@
|
|
|
10822
10947
|
"items": {
|
|
10823
10948
|
"type": "array",
|
|
10824
10949
|
"items": {
|
|
10825
|
-
"$ref": "#/components/schemas/
|
|
10950
|
+
"$ref": "#/components/schemas/Translation"
|
|
10826
10951
|
}
|
|
10827
10952
|
}
|
|
10828
10953
|
}
|
|
@@ -10835,8 +10960,8 @@
|
|
|
10835
10960
|
}
|
|
10836
10961
|
},
|
|
10837
10962
|
"post": {
|
|
10838
|
-
"operationId": "
|
|
10839
|
-
"summary": "Create a translation
|
|
10963
|
+
"operationId": "createTranslation",
|
|
10964
|
+
"summary": "Create a translation",
|
|
10840
10965
|
"tags": [
|
|
10841
10966
|
"translations"
|
|
10842
10967
|
],
|
|
@@ -10857,13 +10982,19 @@
|
|
|
10857
10982
|
"schema": {
|
|
10858
10983
|
"type": "object",
|
|
10859
10984
|
"properties": {
|
|
10860
|
-
"
|
|
10861
|
-
"
|
|
10862
|
-
|
|
10985
|
+
"source": {
|
|
10986
|
+
"$ref": "#/components/schemas/TranslationSource"
|
|
10987
|
+
},
|
|
10988
|
+
"language": {
|
|
10989
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
10990
|
+
},
|
|
10991
|
+
"instructions": {
|
|
10992
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
10863
10993
|
}
|
|
10864
10994
|
},
|
|
10865
10995
|
"required": [
|
|
10866
|
-
"
|
|
10996
|
+
"language",
|
|
10997
|
+
"source"
|
|
10867
10998
|
]
|
|
10868
10999
|
}
|
|
10869
11000
|
}
|
|
@@ -10871,11 +11002,11 @@
|
|
|
10871
11002
|
},
|
|
10872
11003
|
"responses": {
|
|
10873
11004
|
"201": {
|
|
10874
|
-
"description": "Translation
|
|
11005
|
+
"description": "Translation has been created",
|
|
10875
11006
|
"content": {
|
|
10876
11007
|
"application/json": {
|
|
10877
11008
|
"schema": {
|
|
10878
|
-
"$ref": "#/components/schemas/
|
|
11009
|
+
"$ref": "#/components/schemas/Translation"
|
|
10879
11010
|
}
|
|
10880
11011
|
}
|
|
10881
11012
|
}
|
|
@@ -10886,10 +11017,10 @@
|
|
|
10886
11017
|
}
|
|
10887
11018
|
}
|
|
10888
11019
|
},
|
|
10889
|
-
"/orgs/{organizationId}/translations/{
|
|
11020
|
+
"/orgs/{organizationId}/translations/{translationId}": {
|
|
10890
11021
|
"get": {
|
|
10891
|
-
"operationId": "
|
|
10892
|
-
"summary": "Get a translation
|
|
11022
|
+
"operationId": "getTranslation",
|
|
11023
|
+
"summary": "Get a translation by its ID",
|
|
10893
11024
|
"tags": [
|
|
10894
11025
|
"translations"
|
|
10895
11026
|
],
|
|
@@ -10903,7 +11034,7 @@
|
|
|
10903
11034
|
"$ref": "#/components/parameters/organizationId"
|
|
10904
11035
|
},
|
|
10905
11036
|
{
|
|
10906
|
-
"$ref": "#/components/parameters/
|
|
11037
|
+
"$ref": "#/components/parameters/translationId"
|
|
10907
11038
|
}
|
|
10908
11039
|
],
|
|
10909
11040
|
"responses": {
|
|
@@ -10912,20 +11043,20 @@
|
|
|
10912
11043
|
"content": {
|
|
10913
11044
|
"application/json": {
|
|
10914
11045
|
"schema": {
|
|
10915
|
-
"$ref": "#/components/schemas/
|
|
11046
|
+
"$ref": "#/components/schemas/Translation"
|
|
10916
11047
|
}
|
|
10917
11048
|
}
|
|
10918
11049
|
}
|
|
10919
11050
|
},
|
|
10920
11051
|
"404": {
|
|
10921
|
-
"description": "No matching translation
|
|
11052
|
+
"description": "No matching translation found",
|
|
10922
11053
|
"$ref": "#/components/responses/NotFoundError"
|
|
10923
11054
|
}
|
|
10924
11055
|
}
|
|
10925
11056
|
},
|
|
10926
11057
|
"put": {
|
|
10927
|
-
"operationId": "
|
|
10928
|
-
"summary": "Update a translation
|
|
11058
|
+
"operationId": "updateTranslation",
|
|
11059
|
+
"summary": "Update a translation",
|
|
10929
11060
|
"tags": [
|
|
10930
11061
|
"translations"
|
|
10931
11062
|
],
|
|
@@ -10939,7 +11070,7 @@
|
|
|
10939
11070
|
"$ref": "#/components/parameters/organizationId"
|
|
10940
11071
|
},
|
|
10941
11072
|
{
|
|
10942
|
-
"$ref": "#/components/parameters/
|
|
11073
|
+
"$ref": "#/components/parameters/translationId"
|
|
10943
11074
|
}
|
|
10944
11075
|
],
|
|
10945
11076
|
"requestBody": {
|
|
@@ -10948,26 +11079,25 @@
|
|
|
10948
11079
|
"application/json": {
|
|
10949
11080
|
"schema": {
|
|
10950
11081
|
"type": "object",
|
|
11082
|
+
"required": [
|
|
11083
|
+
"instructions"
|
|
11084
|
+
],
|
|
10951
11085
|
"properties": {
|
|
10952
|
-
"
|
|
10953
|
-
"
|
|
10954
|
-
"description": "The title of the translation settings"
|
|
11086
|
+
"instructions": {
|
|
11087
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
10955
11088
|
}
|
|
10956
|
-
}
|
|
10957
|
-
"required": [
|
|
10958
|
-
"title"
|
|
10959
|
-
]
|
|
11089
|
+
}
|
|
10960
11090
|
}
|
|
10961
11091
|
}
|
|
10962
11092
|
}
|
|
10963
11093
|
},
|
|
10964
11094
|
"responses": {
|
|
10965
11095
|
"200": {
|
|
10966
|
-
"description": "Translation
|
|
11096
|
+
"description": "Translation has been updated",
|
|
10967
11097
|
"content": {
|
|
10968
11098
|
"application/json": {
|
|
10969
11099
|
"schema": {
|
|
10970
|
-
"$ref": "#/components/schemas/
|
|
11100
|
+
"$ref": "#/components/schemas/Translation"
|
|
10971
11101
|
}
|
|
10972
11102
|
}
|
|
10973
11103
|
}
|
|
@@ -10978,8 +11108,8 @@
|
|
|
10978
11108
|
}
|
|
10979
11109
|
},
|
|
10980
11110
|
"delete": {
|
|
10981
|
-
"operationId": "
|
|
10982
|
-
"summary": "Delete a translation
|
|
11111
|
+
"operationId": "deleteTranslation",
|
|
11112
|
+
"summary": "Delete a translation",
|
|
10983
11113
|
"tags": [
|
|
10984
11114
|
"translations"
|
|
10985
11115
|
],
|
|
@@ -10993,25 +11123,25 @@
|
|
|
10993
11123
|
"$ref": "#/components/parameters/organizationId"
|
|
10994
11124
|
},
|
|
10995
11125
|
{
|
|
10996
|
-
"$ref": "#/components/parameters/
|
|
11126
|
+
"$ref": "#/components/parameters/translationId"
|
|
10997
11127
|
}
|
|
10998
11128
|
],
|
|
10999
11129
|
"responses": {
|
|
11000
11130
|
"204": {
|
|
11001
|
-
"description": "Translation
|
|
11131
|
+
"description": "Translation did not exist"
|
|
11002
11132
|
},
|
|
11003
11133
|
"205": {
|
|
11004
|
-
"description": "Translation
|
|
11134
|
+
"description": "Translation has been deleted"
|
|
11005
11135
|
}
|
|
11006
11136
|
}
|
|
11007
11137
|
}
|
|
11008
11138
|
},
|
|
11009
|
-
"/orgs/{organizationId}/translations
|
|
11139
|
+
"/orgs/{organizationId}/translations-glossary": {
|
|
11010
11140
|
"get": {
|
|
11011
|
-
"operationId": "
|
|
11012
|
-
"summary": "List
|
|
11141
|
+
"operationId": "listGlossaryEntries",
|
|
11142
|
+
"summary": "List glossary entries",
|
|
11013
11143
|
"tags": [
|
|
11014
|
-
"
|
|
11144
|
+
"glossary"
|
|
11015
11145
|
],
|
|
11016
11146
|
"security": [
|
|
11017
11147
|
{
|
|
@@ -11022,9 +11152,6 @@
|
|
|
11022
11152
|
{
|
|
11023
11153
|
"$ref": "#/components/parameters/organizationId"
|
|
11024
11154
|
},
|
|
11025
|
-
{
|
|
11026
|
-
"$ref": "#/components/parameters/translationSettingsId"
|
|
11027
|
-
},
|
|
11028
11155
|
{
|
|
11029
11156
|
"$ref": "#/components/parameters/listPage"
|
|
11030
11157
|
},
|
|
@@ -11051,7 +11178,7 @@
|
|
|
11051
11178
|
"items": {
|
|
11052
11179
|
"type": "array",
|
|
11053
11180
|
"items": {
|
|
11054
|
-
"$ref": "#/components/schemas/
|
|
11181
|
+
"$ref": "#/components/schemas/GlossaryEntry"
|
|
11055
11182
|
}
|
|
11056
11183
|
}
|
|
11057
11184
|
}
|
|
@@ -11060,59 +11187,14 @@
|
|
|
11060
11187
|
}
|
|
11061
11188
|
}
|
|
11062
11189
|
}
|
|
11063
|
-
},
|
|
11064
|
-
"404": {
|
|
11065
|
-
"description": "No matching translation settings found",
|
|
11066
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11067
|
-
}
|
|
11068
|
-
}
|
|
11069
|
-
}
|
|
11070
|
-
},
|
|
11071
|
-
"/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}": {
|
|
11072
|
-
"get": {
|
|
11073
|
-
"operationId": "getTranslationLanguage",
|
|
11074
|
-
"summary": "Get a translation settings language",
|
|
11075
|
-
"tags": [
|
|
11076
|
-
"translation-languages"
|
|
11077
|
-
],
|
|
11078
|
-
"security": [
|
|
11079
|
-
{
|
|
11080
|
-
"user": []
|
|
11081
|
-
}
|
|
11082
|
-
],
|
|
11083
|
-
"parameters": [
|
|
11084
|
-
{
|
|
11085
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11086
|
-
},
|
|
11087
|
-
{
|
|
11088
|
-
"$ref": "#/components/parameters/translationSettingsId"
|
|
11089
|
-
},
|
|
11090
|
-
{
|
|
11091
|
-
"$ref": "#/components/parameters/translationLanguage"
|
|
11092
|
-
}
|
|
11093
|
-
],
|
|
11094
|
-
"responses": {
|
|
11095
|
-
"200": {
|
|
11096
|
-
"description": "OK",
|
|
11097
|
-
"content": {
|
|
11098
|
-
"application/json": {
|
|
11099
|
-
"schema": {
|
|
11100
|
-
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11101
|
-
}
|
|
11102
|
-
}
|
|
11103
|
-
}
|
|
11104
|
-
},
|
|
11105
|
-
"404": {
|
|
11106
|
-
"description": "No matching translation language settings found",
|
|
11107
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11108
11190
|
}
|
|
11109
11191
|
}
|
|
11110
11192
|
},
|
|
11111
11193
|
"put": {
|
|
11112
|
-
"operationId": "
|
|
11113
|
-
"summary": "
|
|
11194
|
+
"operationId": "updateGlossaryEntries",
|
|
11195
|
+
"summary": "Update glossary entries",
|
|
11114
11196
|
"tags": [
|
|
11115
|
-
"
|
|
11197
|
+
"glossary"
|
|
11116
11198
|
],
|
|
11117
11199
|
"security": [
|
|
11118
11200
|
{
|
|
@@ -11122,12 +11204,6 @@
|
|
|
11122
11204
|
"parameters": [
|
|
11123
11205
|
{
|
|
11124
11206
|
"$ref": "#/components/parameters/organizationId"
|
|
11125
|
-
},
|
|
11126
|
-
{
|
|
11127
|
-
"$ref": "#/components/parameters/translationSettingsId"
|
|
11128
|
-
},
|
|
11129
|
-
{
|
|
11130
|
-
"$ref": "#/components/parameters/translationLanguage"
|
|
11131
11207
|
}
|
|
11132
11208
|
],
|
|
11133
11209
|
"requestBody": {
|
|
@@ -11137,52 +11213,36 @@
|
|
|
11137
11213
|
"schema": {
|
|
11138
11214
|
"type": "object",
|
|
11139
11215
|
"properties": {
|
|
11140
|
-
"
|
|
11141
|
-
"
|
|
11216
|
+
"operations": {
|
|
11217
|
+
"type": "array",
|
|
11218
|
+
"items": {
|
|
11219
|
+
"$ref": "#/components/schemas/GlossaryBatchOperation"
|
|
11220
|
+
}
|
|
11142
11221
|
}
|
|
11143
11222
|
},
|
|
11144
11223
|
"required": [
|
|
11145
|
-
"
|
|
11224
|
+
"operations"
|
|
11146
11225
|
]
|
|
11147
11226
|
}
|
|
11148
11227
|
}
|
|
11149
11228
|
}
|
|
11150
11229
|
},
|
|
11151
11230
|
"responses": {
|
|
11152
|
-
"
|
|
11153
|
-
"description": "
|
|
11154
|
-
"content": {
|
|
11155
|
-
"application/json": {
|
|
11156
|
-
"schema": {
|
|
11157
|
-
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11158
|
-
}
|
|
11159
|
-
}
|
|
11160
|
-
}
|
|
11161
|
-
},
|
|
11162
|
-
"201": {
|
|
11163
|
-
"description": "Language settings successfully created",
|
|
11164
|
-
"content": {
|
|
11165
|
-
"application/json": {
|
|
11166
|
-
"schema": {
|
|
11167
|
-
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11168
|
-
}
|
|
11169
|
-
}
|
|
11170
|
-
}
|
|
11231
|
+
"204": {
|
|
11232
|
+
"description": "Glossary entries updated"
|
|
11171
11233
|
},
|
|
11172
11234
|
"400": {
|
|
11173
11235
|
"$ref": "#/components/responses/BadRequestError"
|
|
11174
|
-
},
|
|
11175
|
-
"404": {
|
|
11176
|
-
"description": "No matching translation language settings found",
|
|
11177
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11178
11236
|
}
|
|
11179
11237
|
}
|
|
11180
|
-
}
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11238
|
+
}
|
|
11239
|
+
},
|
|
11240
|
+
"/orgs/{organizationId}/translations-glossary/{glossaryEntryId}": {
|
|
11241
|
+
"get": {
|
|
11242
|
+
"operationId": "getGlossaryEntry",
|
|
11243
|
+
"summary": "Get a glossary entry by its ID",
|
|
11184
11244
|
"tags": [
|
|
11185
|
-
"
|
|
11245
|
+
"glossary"
|
|
11186
11246
|
],
|
|
11187
11247
|
"security": [
|
|
11188
11248
|
{
|
|
@@ -11194,18 +11254,22 @@
|
|
|
11194
11254
|
"$ref": "#/components/parameters/organizationId"
|
|
11195
11255
|
},
|
|
11196
11256
|
{
|
|
11197
|
-
"$ref": "#/components/parameters/
|
|
11198
|
-
},
|
|
11199
|
-
{
|
|
11200
|
-
"$ref": "#/components/parameters/translationLanguage"
|
|
11257
|
+
"$ref": "#/components/parameters/glossaryEntryId"
|
|
11201
11258
|
}
|
|
11202
11259
|
],
|
|
11203
11260
|
"responses": {
|
|
11204
|
-
"
|
|
11205
|
-
"description": "
|
|
11261
|
+
"200": {
|
|
11262
|
+
"description": "OK",
|
|
11263
|
+
"content": {
|
|
11264
|
+
"application/json": {
|
|
11265
|
+
"schema": {
|
|
11266
|
+
"$ref": "#/components/schemas/GlossaryEntry"
|
|
11267
|
+
}
|
|
11268
|
+
}
|
|
11269
|
+
}
|
|
11206
11270
|
},
|
|
11207
|
-
"
|
|
11208
|
-
"
|
|
11271
|
+
"404": {
|
|
11272
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11209
11273
|
}
|
|
11210
11274
|
}
|
|
11211
11275
|
}
|
|
@@ -16700,6 +16764,15 @@
|
|
|
16700
16764
|
"type": "string"
|
|
16701
16765
|
}
|
|
16702
16766
|
},
|
|
16767
|
+
"meterName": {
|
|
16768
|
+
"name": "meterName",
|
|
16769
|
+
"in": "path",
|
|
16770
|
+
"required": true,
|
|
16771
|
+
"description": "Identifier of the billing meter",
|
|
16772
|
+
"schema": {
|
|
16773
|
+
"$ref": "#/components/schemas/BillingMeter"
|
|
16774
|
+
}
|
|
16775
|
+
},
|
|
16703
16776
|
"samlProviderId": {
|
|
16704
16777
|
"name": "samlProviderId",
|
|
16705
16778
|
"in": "path",
|
|
@@ -16745,22 +16818,22 @@
|
|
|
16745
16818
|
"type": "string"
|
|
16746
16819
|
}
|
|
16747
16820
|
},
|
|
16748
|
-
"
|
|
16749
|
-
"name": "
|
|
16821
|
+
"translationId": {
|
|
16822
|
+
"name": "translationId",
|
|
16750
16823
|
"in": "path",
|
|
16751
16824
|
"required": true,
|
|
16752
|
-
"description": "The unique id of the translation
|
|
16825
|
+
"description": "The unique id of the translation",
|
|
16753
16826
|
"schema": {
|
|
16754
16827
|
"type": "string"
|
|
16755
16828
|
}
|
|
16756
16829
|
},
|
|
16757
|
-
"
|
|
16758
|
-
"name": "
|
|
16830
|
+
"glossaryEntryId": {
|
|
16831
|
+
"name": "glossaryEntryId",
|
|
16759
16832
|
"in": "path",
|
|
16760
16833
|
"required": true,
|
|
16761
|
-
"description": "The
|
|
16834
|
+
"description": "The unique id of the glossary entry",
|
|
16762
16835
|
"schema": {
|
|
16763
|
-
"
|
|
16836
|
+
"type": "string"
|
|
16764
16837
|
}
|
|
16765
16838
|
},
|
|
16766
16839
|
"fontId": {
|
|
@@ -16874,6 +16947,15 @@
|
|
|
16874
16947
|
},
|
|
16875
16948
|
"required": true
|
|
16876
16949
|
},
|
|
16950
|
+
"translationLanguage": {
|
|
16951
|
+
"name": "translationLanguage",
|
|
16952
|
+
"in": "path",
|
|
16953
|
+
"required": true,
|
|
16954
|
+
"description": "The language of the translation",
|
|
16955
|
+
"schema": {
|
|
16956
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
16957
|
+
}
|
|
16958
|
+
},
|
|
16877
16959
|
"pageFormat": {
|
|
16878
16960
|
"$ref": "#/components/parameters/documentFormat"
|
|
16879
16961
|
},
|
|
@@ -16971,6 +17053,10 @@
|
|
|
16971
17053
|
}
|
|
16972
17054
|
}
|
|
16973
17055
|
},
|
|
17056
|
+
"APITokenLabel": {
|
|
17057
|
+
"type": "string",
|
|
17058
|
+
"maxLength": 50
|
|
17059
|
+
},
|
|
16974
17060
|
"Timestamp": {
|
|
16975
17061
|
"type": "string",
|
|
16976
17062
|
"format": "date-time"
|
|
@@ -16984,8 +17070,8 @@
|
|
|
16984
17070
|
"description": "The API token ID."
|
|
16985
17071
|
},
|
|
16986
17072
|
"label": {
|
|
16987
|
-
"
|
|
16988
|
-
"description": "
|
|
17073
|
+
"$ref": "#/components/schemas/APITokenLabel",
|
|
17074
|
+
"description": "A descriptive label for the API token."
|
|
16989
17075
|
},
|
|
16990
17076
|
"createdAt": {
|
|
16991
17077
|
"$ref": "#/components/schemas/Timestamp",
|
|
@@ -22180,127 +22266,63 @@
|
|
|
22180
22266
|
}
|
|
22181
22267
|
]
|
|
22182
22268
|
},
|
|
22183
|
-
"
|
|
22184
|
-
"type": "object",
|
|
22185
|
-
"properties": {
|
|
22186
|
-
"ref": {
|
|
22187
|
-
"$ref": "#/components/schemas/ContentRefSpace"
|
|
22188
|
-
},
|
|
22189
|
-
"value": {
|
|
22190
|
-
"type": "object",
|
|
22191
|
-
"nullable": true,
|
|
22192
|
-
"description": "See `Space` schema component.",
|
|
22193
|
-
"properties": {
|
|
22194
|
-
"object": {
|
|
22195
|
-
"type": "string",
|
|
22196
|
-
"enum": [
|
|
22197
|
-
"space"
|
|
22198
|
-
]
|
|
22199
|
-
},
|
|
22200
|
-
"id": {
|
|
22201
|
-
"type": "string"
|
|
22202
|
-
},
|
|
22203
|
-
"revision": {
|
|
22204
|
-
"type": "string"
|
|
22205
|
-
}
|
|
22206
|
-
},
|
|
22207
|
-
"required": [
|
|
22208
|
-
"object",
|
|
22209
|
-
"id",
|
|
22210
|
-
"revision"
|
|
22211
|
-
]
|
|
22212
|
-
}
|
|
22213
|
-
},
|
|
22214
|
-
"required": [
|
|
22215
|
-
"ref",
|
|
22216
|
-
"value"
|
|
22217
|
-
]
|
|
22218
|
-
},
|
|
22219
|
-
"TranslationLanguage": {
|
|
22220
|
-
"type": "string",
|
|
22221
|
-
"enum": [
|
|
22222
|
-
"en",
|
|
22223
|
-
"fr",
|
|
22224
|
-
"de",
|
|
22225
|
-
"es",
|
|
22226
|
-
"it",
|
|
22227
|
-
"pt",
|
|
22228
|
-
"ru",
|
|
22229
|
-
"ja",
|
|
22230
|
-
"zh",
|
|
22231
|
-
"ko",
|
|
22232
|
-
"ar",
|
|
22233
|
-
"hi",
|
|
22234
|
-
"nl",
|
|
22235
|
-
"pl",
|
|
22236
|
-
"tr",
|
|
22237
|
-
"sv",
|
|
22238
|
-
"no",
|
|
22239
|
-
"da",
|
|
22240
|
-
"fi",
|
|
22241
|
-
"el",
|
|
22242
|
-
"cs",
|
|
22243
|
-
"hu",
|
|
22244
|
-
"ro",
|
|
22245
|
-
"th",
|
|
22246
|
-
"vi",
|
|
22247
|
-
"id",
|
|
22248
|
-
"ms",
|
|
22249
|
-
"he",
|
|
22250
|
-
"uk",
|
|
22251
|
-
"sk",
|
|
22252
|
-
"bg",
|
|
22253
|
-
"hr",
|
|
22254
|
-
"lt",
|
|
22255
|
-
"lv",
|
|
22256
|
-
"et",
|
|
22257
|
-
"sl"
|
|
22258
|
-
]
|
|
22259
|
-
},
|
|
22260
|
-
"TranslationLanguageRef": {
|
|
22269
|
+
"TranslationRef": {
|
|
22261
22270
|
"type": "object",
|
|
22262
22271
|
"properties": {
|
|
22263
22272
|
"kind": {
|
|
22264
22273
|
"type": "string",
|
|
22265
22274
|
"enum": [
|
|
22266
|
-
"translation
|
|
22275
|
+
"translation"
|
|
22267
22276
|
]
|
|
22268
22277
|
},
|
|
22269
|
-
"
|
|
22278
|
+
"translation": {
|
|
22270
22279
|
"type": "string",
|
|
22271
|
-
"description": "ID of the translation
|
|
22272
|
-
},
|
|
22273
|
-
"language": {
|
|
22274
|
-
"$ref": "#/components/schemas/TranslationLanguage"
|
|
22280
|
+
"description": "ID of the translation sync"
|
|
22275
22281
|
}
|
|
22276
22282
|
},
|
|
22277
22283
|
"required": [
|
|
22278
22284
|
"kind",
|
|
22279
|
-
"
|
|
22280
|
-
"language"
|
|
22285
|
+
"translation"
|
|
22281
22286
|
]
|
|
22282
22287
|
},
|
|
22283
|
-
"
|
|
22288
|
+
"TranslationResult": {
|
|
22284
22289
|
"type": "object",
|
|
22285
|
-
"description": "
|
|
22290
|
+
"description": "Result of a translation.",
|
|
22286
22291
|
"properties": {
|
|
22287
|
-
"
|
|
22292
|
+
"space": {
|
|
22293
|
+
"type": "string",
|
|
22294
|
+
"description": "ID of the space containing the result of the translation"
|
|
22295
|
+
},
|
|
22296
|
+
"revision": {
|
|
22288
22297
|
"type": "string",
|
|
22289
|
-
"description": "
|
|
22298
|
+
"description": "ID of the revision generated by the translation"
|
|
22290
22299
|
}
|
|
22291
22300
|
},
|
|
22292
22301
|
"required": [
|
|
22293
|
-
"
|
|
22302
|
+
"space",
|
|
22303
|
+
"revision"
|
|
22294
22304
|
]
|
|
22295
22305
|
},
|
|
22296
22306
|
"ComputedContentDependencyTranslation": {
|
|
22297
22307
|
"type": "object",
|
|
22298
22308
|
"properties": {
|
|
22299
22309
|
"ref": {
|
|
22300
|
-
"$ref": "#/components/schemas/
|
|
22310
|
+
"$ref": "#/components/schemas/TranslationRef"
|
|
22301
22311
|
},
|
|
22302
22312
|
"value": {
|
|
22303
|
-
"
|
|
22313
|
+
"oneOf": [
|
|
22314
|
+
{
|
|
22315
|
+
"$ref": "#/components/schemas/TranslationResult"
|
|
22316
|
+
},
|
|
22317
|
+
{
|
|
22318
|
+
"type": "string",
|
|
22319
|
+
"description": "Translation has not been run yet",
|
|
22320
|
+
"nullable": true,
|
|
22321
|
+
"enum": [
|
|
22322
|
+
null
|
|
22323
|
+
]
|
|
22324
|
+
}
|
|
22325
|
+
]
|
|
22304
22326
|
}
|
|
22305
22327
|
},
|
|
22306
22328
|
"required": [
|
|
@@ -22308,9 +22330,9 @@
|
|
|
22308
22330
|
"value"
|
|
22309
22331
|
]
|
|
22310
22332
|
},
|
|
22311
|
-
"
|
|
22333
|
+
"ComputedContentSourceRevisionTranslation": {
|
|
22312
22334
|
"type": "object",
|
|
22313
|
-
"description": "
|
|
22335
|
+
"description": "Parameters for a translation computed content source",
|
|
22314
22336
|
"properties": {
|
|
22315
22337
|
"type": {
|
|
22316
22338
|
"type": "string",
|
|
@@ -22318,14 +22340,18 @@
|
|
|
22318
22340
|
"builtin:translation"
|
|
22319
22341
|
]
|
|
22320
22342
|
},
|
|
22343
|
+
"props": {
|
|
22344
|
+
"type": "object",
|
|
22345
|
+
"additionalProperties": false,
|
|
22346
|
+
"properties": {}
|
|
22347
|
+
},
|
|
22321
22348
|
"dependencies": {
|
|
22322
22349
|
"type": "object",
|
|
22323
22350
|
"required": [
|
|
22324
|
-
"
|
|
22325
|
-
"settings"
|
|
22351
|
+
"translation"
|
|
22326
22352
|
],
|
|
22327
22353
|
"properties": {
|
|
22328
|
-
"
|
|
22354
|
+
"translation": {
|
|
22329
22355
|
"oneOf": [
|
|
22330
22356
|
{
|
|
22331
22357
|
"type": "object",
|
|
@@ -22335,26 +22361,7 @@
|
|
|
22335
22361
|
],
|
|
22336
22362
|
"properties": {
|
|
22337
22363
|
"ref": {
|
|
22338
|
-
"$ref": "#/components/schemas/
|
|
22339
|
-
}
|
|
22340
|
-
}
|
|
22341
|
-
},
|
|
22342
|
-
{
|
|
22343
|
-
"$ref": "#/components/schemas/ComputedContentDependencySpace"
|
|
22344
|
-
}
|
|
22345
|
-
]
|
|
22346
|
-
},
|
|
22347
|
-
"settings": {
|
|
22348
|
-
"oneOf": [
|
|
22349
|
-
{
|
|
22350
|
-
"type": "object",
|
|
22351
|
-
"additionalProperties": false,
|
|
22352
|
-
"required": [
|
|
22353
|
-
"ref"
|
|
22354
|
-
],
|
|
22355
|
-
"properties": {
|
|
22356
|
-
"ref": {
|
|
22357
|
-
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
22364
|
+
"$ref": "#/components/schemas/TranslationRef"
|
|
22358
22365
|
}
|
|
22359
22366
|
}
|
|
22360
22367
|
},
|
|
@@ -22368,35 +22375,10 @@
|
|
|
22368
22375
|
},
|
|
22369
22376
|
"required": [
|
|
22370
22377
|
"type",
|
|
22378
|
+
"props",
|
|
22371
22379
|
"dependencies"
|
|
22372
22380
|
]
|
|
22373
22381
|
},
|
|
22374
|
-
"ComputedContentSourceRevisionTranslation": {
|
|
22375
|
-
"allOf": [
|
|
22376
|
-
{
|
|
22377
|
-
"$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
|
|
22378
|
-
},
|
|
22379
|
-
{
|
|
22380
|
-
"type": "object",
|
|
22381
|
-
"required": [
|
|
22382
|
-
"props"
|
|
22383
|
-
],
|
|
22384
|
-
"properties": {
|
|
22385
|
-
"props": {
|
|
22386
|
-
"type": "object",
|
|
22387
|
-
"required": [
|
|
22388
|
-
"sourceLanguage"
|
|
22389
|
-
],
|
|
22390
|
-
"properties": {
|
|
22391
|
-
"sourceLanguage": {
|
|
22392
|
-
"$ref": "#/components/schemas/TranslationLanguage"
|
|
22393
|
-
}
|
|
22394
|
-
}
|
|
22395
|
-
}
|
|
22396
|
-
}
|
|
22397
|
-
}
|
|
22398
|
-
]
|
|
22399
|
-
},
|
|
22400
22382
|
"ComputedContentDependency": {
|
|
22401
22383
|
"type": "object",
|
|
22402
22384
|
"description": "Dependency for a computation, before its resolution.",
|
|
@@ -22411,7 +22393,7 @@
|
|
|
22411
22393
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
22412
22394
|
},
|
|
22413
22395
|
{
|
|
22414
|
-
"$ref": "#/components/schemas/
|
|
22396
|
+
"$ref": "#/components/schemas/TranslationRef"
|
|
22415
22397
|
}
|
|
22416
22398
|
]
|
|
22417
22399
|
}
|
|
@@ -22420,6 +22402,42 @@
|
|
|
22420
22402
|
"ref"
|
|
22421
22403
|
]
|
|
22422
22404
|
},
|
|
22405
|
+
"ComputedContentDependencySpace": {
|
|
22406
|
+
"type": "object",
|
|
22407
|
+
"properties": {
|
|
22408
|
+
"ref": {
|
|
22409
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
22410
|
+
},
|
|
22411
|
+
"value": {
|
|
22412
|
+
"type": "object",
|
|
22413
|
+
"nullable": true,
|
|
22414
|
+
"description": "See `Space` schema component.",
|
|
22415
|
+
"properties": {
|
|
22416
|
+
"object": {
|
|
22417
|
+
"type": "string",
|
|
22418
|
+
"enum": [
|
|
22419
|
+
"space"
|
|
22420
|
+
]
|
|
22421
|
+
},
|
|
22422
|
+
"id": {
|
|
22423
|
+
"type": "string"
|
|
22424
|
+
},
|
|
22425
|
+
"revision": {
|
|
22426
|
+
"type": "string"
|
|
22427
|
+
}
|
|
22428
|
+
},
|
|
22429
|
+
"required": [
|
|
22430
|
+
"object",
|
|
22431
|
+
"id",
|
|
22432
|
+
"revision"
|
|
22433
|
+
]
|
|
22434
|
+
}
|
|
22435
|
+
},
|
|
22436
|
+
"required": [
|
|
22437
|
+
"ref",
|
|
22438
|
+
"value"
|
|
22439
|
+
]
|
|
22440
|
+
},
|
|
22423
22441
|
"ComputedContentDependencyResolved": {
|
|
22424
22442
|
"description": "Dependency for a computation, with its resolved value.",
|
|
22425
22443
|
"oneOf": [
|
|
@@ -22571,8 +22589,23 @@
|
|
|
22571
22589
|
"pagination": {
|
|
22572
22590
|
"type": "boolean",
|
|
22573
22591
|
"description": "Should the pagination be visible?"
|
|
22592
|
+
},
|
|
22593
|
+
"metadata": {
|
|
22594
|
+
"type": "boolean",
|
|
22595
|
+
"description": "Should the page metadata (last modified, author, etc.) be visible?"
|
|
22574
22596
|
}
|
|
22575
|
-
}
|
|
22597
|
+
},
|
|
22598
|
+
"required": [
|
|
22599
|
+
"width",
|
|
22600
|
+
"cover",
|
|
22601
|
+
"coverSize",
|
|
22602
|
+
"title",
|
|
22603
|
+
"description",
|
|
22604
|
+
"tableOfContents",
|
|
22605
|
+
"outline",
|
|
22606
|
+
"pagination",
|
|
22607
|
+
"metadata"
|
|
22608
|
+
]
|
|
22576
22609
|
},
|
|
22577
22610
|
"RevisionPageDocumentCover": {
|
|
22578
22611
|
"type": "object",
|
|
@@ -22684,34 +22717,35 @@
|
|
|
22684
22717
|
]
|
|
22685
22718
|
},
|
|
22686
22719
|
"ComputedContentSourceDocumentTranslation": {
|
|
22687
|
-
"
|
|
22688
|
-
|
|
22689
|
-
|
|
22720
|
+
"type": "object",
|
|
22721
|
+
"description": "Parameters for a document translation computed content source",
|
|
22722
|
+
"required": [
|
|
22723
|
+
"type",
|
|
22724
|
+
"props"
|
|
22725
|
+
],
|
|
22726
|
+
"properties": {
|
|
22727
|
+
"type": {
|
|
22728
|
+
"type": "string",
|
|
22729
|
+
"enum": [
|
|
22730
|
+
"builtin:translation"
|
|
22731
|
+
]
|
|
22690
22732
|
},
|
|
22691
|
-
{
|
|
22733
|
+
"props": {
|
|
22692
22734
|
"type": "object",
|
|
22693
22735
|
"required": [
|
|
22694
|
-
"
|
|
22736
|
+
"space",
|
|
22737
|
+
"document"
|
|
22695
22738
|
],
|
|
22696
22739
|
"properties": {
|
|
22697
|
-
"
|
|
22698
|
-
"type": "
|
|
22699
|
-
|
|
22700
|
-
|
|
22701
|
-
|
|
22702
|
-
],
|
|
22703
|
-
"properties": {
|
|
22704
|
-
"document": {
|
|
22705
|
-
"type": "string"
|
|
22706
|
-
},
|
|
22707
|
-
"sourceLanguage": {
|
|
22708
|
-
"$ref": "#/components/schemas/TranslationLanguage"
|
|
22709
|
-
}
|
|
22710
|
-
}
|
|
22740
|
+
"space": {
|
|
22741
|
+
"type": "string"
|
|
22742
|
+
},
|
|
22743
|
+
"document": {
|
|
22744
|
+
"type": "string"
|
|
22711
22745
|
}
|
|
22712
22746
|
}
|
|
22713
22747
|
}
|
|
22714
|
-
|
|
22748
|
+
}
|
|
22715
22749
|
},
|
|
22716
22750
|
"ComputedContentSourceDocument": {
|
|
22717
22751
|
"oneOf": [
|
|
@@ -23296,6 +23330,18 @@
|
|
|
23296
23330
|
}
|
|
23297
23331
|
}
|
|
23298
23332
|
},
|
|
23333
|
+
"ApplySpaceTemplate": {
|
|
23334
|
+
"type": "object",
|
|
23335
|
+
"properties": {
|
|
23336
|
+
"id": {
|
|
23337
|
+
"type": "string",
|
|
23338
|
+
"description": "The ID of the template to use for the space"
|
|
23339
|
+
}
|
|
23340
|
+
},
|
|
23341
|
+
"required": [
|
|
23342
|
+
"id"
|
|
23343
|
+
]
|
|
23344
|
+
},
|
|
23299
23345
|
"OrganizationTitle": {
|
|
23300
23346
|
"type": "string",
|
|
23301
23347
|
"description": "Name of the organization",
|
|
@@ -23392,6 +23438,70 @@
|
|
|
23392
23438
|
"yearly"
|
|
23393
23439
|
]
|
|
23394
23440
|
},
|
|
23441
|
+
"OrganizationPricePair": {
|
|
23442
|
+
"type": "object",
|
|
23443
|
+
"description": "Pricing pair for monthly and yearly intervals",
|
|
23444
|
+
"properties": {
|
|
23445
|
+
"monthly": {
|
|
23446
|
+
"type": "number",
|
|
23447
|
+
"description": "Monthly price in USD",
|
|
23448
|
+
"minimum": 0
|
|
23449
|
+
},
|
|
23450
|
+
"yearly": {
|
|
23451
|
+
"type": "number",
|
|
23452
|
+
"description": "Yearly price in USD (per month)",
|
|
23453
|
+
"minimum": 0
|
|
23454
|
+
}
|
|
23455
|
+
},
|
|
23456
|
+
"required": [
|
|
23457
|
+
"monthly",
|
|
23458
|
+
"yearly"
|
|
23459
|
+
]
|
|
23460
|
+
},
|
|
23461
|
+
"OrganizationPricing": {
|
|
23462
|
+
"type": "object",
|
|
23463
|
+
"description": "Pricing information for an organization",
|
|
23464
|
+
"properties": {
|
|
23465
|
+
"members": {
|
|
23466
|
+
"type": "object",
|
|
23467
|
+
"description": "Pricing for members (organization plan)",
|
|
23468
|
+
"properties": {
|
|
23469
|
+
"plus_2024": {
|
|
23470
|
+
"$ref": "#/components/schemas/OrganizationPricePair"
|
|
23471
|
+
},
|
|
23472
|
+
"pro_2024": {
|
|
23473
|
+
"$ref": "#/components/schemas/OrganizationPricePair"
|
|
23474
|
+
}
|
|
23475
|
+
},
|
|
23476
|
+
"required": [
|
|
23477
|
+
"plus_2024",
|
|
23478
|
+
"pro_2024"
|
|
23479
|
+
],
|
|
23480
|
+
"additionalProperties": false
|
|
23481
|
+
},
|
|
23482
|
+
"sites": {
|
|
23483
|
+
"type": "object",
|
|
23484
|
+
"description": "Pricing for site types (site plans)",
|
|
23485
|
+
"properties": {
|
|
23486
|
+
"premium": {
|
|
23487
|
+
"$ref": "#/components/schemas/OrganizationPricePair"
|
|
23488
|
+
},
|
|
23489
|
+
"ultimate": {
|
|
23490
|
+
"$ref": "#/components/schemas/OrganizationPricePair"
|
|
23491
|
+
}
|
|
23492
|
+
},
|
|
23493
|
+
"required": [
|
|
23494
|
+
"premium",
|
|
23495
|
+
"ultimate"
|
|
23496
|
+
],
|
|
23497
|
+
"additionalProperties": false
|
|
23498
|
+
}
|
|
23499
|
+
},
|
|
23500
|
+
"required": [
|
|
23501
|
+
"members",
|
|
23502
|
+
"sites"
|
|
23503
|
+
]
|
|
23504
|
+
},
|
|
23395
23505
|
"OrganizationBilling": {
|
|
23396
23506
|
"type": "object",
|
|
23397
23507
|
"properties": {
|
|
@@ -23409,13 +23519,18 @@
|
|
|
23409
23519
|
"isScheduledToCancel": {
|
|
23410
23520
|
"description": "If true, the billing is set to cancel at the end of its current period",
|
|
23411
23521
|
"type": "boolean"
|
|
23522
|
+
},
|
|
23523
|
+
"pricing": {
|
|
23524
|
+
"description": "Pricing information for the organization",
|
|
23525
|
+
"$ref": "#/components/schemas/OrganizationPricing"
|
|
23412
23526
|
}
|
|
23413
23527
|
},
|
|
23414
23528
|
"required": [
|
|
23415
23529
|
"interval",
|
|
23416
23530
|
"endDate",
|
|
23417
23531
|
"hasPaymentFailed",
|
|
23418
|
-
"isScheduledToCancel"
|
|
23532
|
+
"isScheduledToCancel",
|
|
23533
|
+
"pricing"
|
|
23419
23534
|
]
|
|
23420
23535
|
},
|
|
23421
23536
|
"BillingTrialStatus": {
|
|
@@ -24043,6 +24158,14 @@
|
|
|
24043
24158
|
"complete"
|
|
24044
24159
|
]
|
|
24045
24160
|
},
|
|
24161
|
+
"OpenAPISpecVisibility": {
|
|
24162
|
+
"type": "string",
|
|
24163
|
+
"description": "The visibility setting of the OpenAPI spec.\n* `private`: The spec is not publicly available.\n* `public`: The spec is available to anyone with a public link.\n",
|
|
24164
|
+
"enum": [
|
|
24165
|
+
"private",
|
|
24166
|
+
"public"
|
|
24167
|
+
]
|
|
24168
|
+
},
|
|
24046
24169
|
"OpenAPISpecProcessingErrorCode": {
|
|
24047
24170
|
"description": "OpenAPI processing error code",
|
|
24048
24171
|
"enum": [
|
|
@@ -24082,6 +24205,9 @@
|
|
|
24082
24205
|
"processingState": {
|
|
24083
24206
|
"$ref": "#/components/schemas/OpenAPISpecProcessingState"
|
|
24084
24207
|
},
|
|
24208
|
+
"visibility": {
|
|
24209
|
+
"$ref": "#/components/schemas/OpenAPISpecVisibility"
|
|
24210
|
+
},
|
|
24085
24211
|
"lastVersion": {
|
|
24086
24212
|
"type": "string",
|
|
24087
24213
|
"description": "ID of the latest version of the OpenAPI specification"
|
|
@@ -24123,6 +24249,11 @@
|
|
|
24123
24249
|
"app": {
|
|
24124
24250
|
"description": "URL of the OpenAPI specification in the application",
|
|
24125
24251
|
"$ref": "#/components/schemas/URL"
|
|
24252
|
+
},
|
|
24253
|
+
"published": {
|
|
24254
|
+
"type": "string",
|
|
24255
|
+
"description": "URL of the published spec. Only defined when visibility is \"published.\"",
|
|
24256
|
+
"format": "uri"
|
|
24126
24257
|
}
|
|
24127
24258
|
},
|
|
24128
24259
|
"required": [
|
|
@@ -30122,48 +30253,6 @@
|
|
|
30122
30253
|
"changes": {
|
|
30123
30254
|
"$ref": "#/components/schemas/SubscriptionChanges"
|
|
30124
30255
|
},
|
|
30125
|
-
"exclude": {
|
|
30126
|
-
"deprecated": true,
|
|
30127
|
-
"type": "object",
|
|
30128
|
-
"description": "Deprecated. Use `changes` instead.",
|
|
30129
|
-
"minProperties": 1,
|
|
30130
|
-
"properties": {
|
|
30131
|
-
"members": {
|
|
30132
|
-
"description": "A list of member identifiers to be removed, `all` to remove all members but the current admin",
|
|
30133
|
-
"oneOf": [
|
|
30134
|
-
{
|
|
30135
|
-
"type": "array",
|
|
30136
|
-
"items": {
|
|
30137
|
-
"type": "string"
|
|
30138
|
-
}
|
|
30139
|
-
},
|
|
30140
|
-
{
|
|
30141
|
-
"type": "string",
|
|
30142
|
-
"enum": [
|
|
30143
|
-
"all"
|
|
30144
|
-
]
|
|
30145
|
-
}
|
|
30146
|
-
]
|
|
30147
|
-
},
|
|
30148
|
-
"sites": {
|
|
30149
|
-
"description": "A list of site identifiers to be unpublished, 'all' to unpublish all sites",
|
|
30150
|
-
"oneOf": [
|
|
30151
|
-
{
|
|
30152
|
-
"type": "array",
|
|
30153
|
-
"items": {
|
|
30154
|
-
"type": "string"
|
|
30155
|
-
}
|
|
30156
|
-
},
|
|
30157
|
-
{
|
|
30158
|
-
"type": "string",
|
|
30159
|
-
"enum": [
|
|
30160
|
-
"all"
|
|
30161
|
-
]
|
|
30162
|
-
}
|
|
30163
|
-
]
|
|
30164
|
-
}
|
|
30165
|
-
}
|
|
30166
|
-
},
|
|
30167
30256
|
"reason": {
|
|
30168
30257
|
"type": "string",
|
|
30169
30258
|
"description": "Reason that triggered the billing upgrade"
|
|
@@ -30472,6 +30561,49 @@
|
|
|
30472
30561
|
"switch_interval"
|
|
30473
30562
|
]
|
|
30474
30563
|
},
|
|
30564
|
+
"BillingMeter": {
|
|
30565
|
+
"type": "string",
|
|
30566
|
+
"description": "Identifier of a billing meter",
|
|
30567
|
+
"enum": [
|
|
30568
|
+
"ai_responses",
|
|
30569
|
+
"ai_agent_responses",
|
|
30570
|
+
"translation_words"
|
|
30571
|
+
]
|
|
30572
|
+
},
|
|
30573
|
+
"BillingMeterUsage": {
|
|
30574
|
+
"type": "object",
|
|
30575
|
+
"description": "Usage metrics for a billing meter",
|
|
30576
|
+
"properties": {
|
|
30577
|
+
"total": {
|
|
30578
|
+
"description": "Total usage for the current billing period",
|
|
30579
|
+
"type": "number"
|
|
30580
|
+
},
|
|
30581
|
+
"daily": {
|
|
30582
|
+
"description": "Daily usage for the past 30 days",
|
|
30583
|
+
"type": "array",
|
|
30584
|
+
"items": {
|
|
30585
|
+
"type": "object",
|
|
30586
|
+
"properties": {
|
|
30587
|
+
"date": {
|
|
30588
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
30589
|
+
},
|
|
30590
|
+
"value": {
|
|
30591
|
+
"type": "number",
|
|
30592
|
+
"description": "Usage value for the day"
|
|
30593
|
+
}
|
|
30594
|
+
},
|
|
30595
|
+
"required": [
|
|
30596
|
+
"date",
|
|
30597
|
+
"value"
|
|
30598
|
+
]
|
|
30599
|
+
}
|
|
30600
|
+
}
|
|
30601
|
+
},
|
|
30602
|
+
"required": [
|
|
30603
|
+
"total",
|
|
30604
|
+
"daily"
|
|
30605
|
+
]
|
|
30606
|
+
},
|
|
30475
30607
|
"SearchSpaceResult": {
|
|
30476
30608
|
"type": "object",
|
|
30477
30609
|
"description": "Search result representing a space.",
|
|
@@ -30508,6 +30640,13 @@
|
|
|
30508
30640
|
"parent": {
|
|
30509
30641
|
"type": "string",
|
|
30510
30642
|
"description": "ID of a parent collection"
|
|
30643
|
+
},
|
|
30644
|
+
"editMode": {
|
|
30645
|
+
"$ref": "#/components/schemas/SpaceEditMode",
|
|
30646
|
+
"description": "The edit mode of the space"
|
|
30647
|
+
},
|
|
30648
|
+
"template": {
|
|
30649
|
+
"$ref": "#/components/schemas/ApplySpaceTemplate"
|
|
30511
30650
|
}
|
|
30512
30651
|
}
|
|
30513
30652
|
},
|
|
@@ -31588,33 +31727,98 @@
|
|
|
31588
31727
|
"urls"
|
|
31589
31728
|
]
|
|
31590
31729
|
},
|
|
31591
|
-
"
|
|
31730
|
+
"TranslationStatus": {
|
|
31592
31731
|
"type": "string",
|
|
31593
|
-
"
|
|
31594
|
-
|
|
31595
|
-
|
|
31732
|
+
"enum": [
|
|
31733
|
+
"pending",
|
|
31734
|
+
"running",
|
|
31735
|
+
"completed"
|
|
31736
|
+
]
|
|
31596
31737
|
},
|
|
31597
|
-
"
|
|
31738
|
+
"TranslationLanguage": {
|
|
31739
|
+
"type": "string",
|
|
31740
|
+
"enum": [
|
|
31741
|
+
"en",
|
|
31742
|
+
"fr",
|
|
31743
|
+
"de",
|
|
31744
|
+
"es",
|
|
31745
|
+
"it",
|
|
31746
|
+
"pt",
|
|
31747
|
+
"ru",
|
|
31748
|
+
"ja",
|
|
31749
|
+
"zh",
|
|
31750
|
+
"ko",
|
|
31751
|
+
"ar",
|
|
31752
|
+
"hi",
|
|
31753
|
+
"nl",
|
|
31754
|
+
"pl",
|
|
31755
|
+
"tr",
|
|
31756
|
+
"sv",
|
|
31757
|
+
"no",
|
|
31758
|
+
"da",
|
|
31759
|
+
"fi",
|
|
31760
|
+
"el",
|
|
31761
|
+
"cs",
|
|
31762
|
+
"hu",
|
|
31763
|
+
"ro",
|
|
31764
|
+
"th",
|
|
31765
|
+
"vi",
|
|
31766
|
+
"id",
|
|
31767
|
+
"ms",
|
|
31768
|
+
"he",
|
|
31769
|
+
"uk",
|
|
31770
|
+
"sk",
|
|
31771
|
+
"bg",
|
|
31772
|
+
"hr",
|
|
31773
|
+
"lt",
|
|
31774
|
+
"lv",
|
|
31775
|
+
"et",
|
|
31776
|
+
"sl"
|
|
31777
|
+
]
|
|
31778
|
+
},
|
|
31779
|
+
"TranslationSource": {
|
|
31780
|
+
"type": "object",
|
|
31781
|
+
"required": [
|
|
31782
|
+
"space",
|
|
31783
|
+
"language"
|
|
31784
|
+
],
|
|
31785
|
+
"properties": {
|
|
31786
|
+
"space": {
|
|
31787
|
+
"type": "string",
|
|
31788
|
+
"description": "ID of the source space"
|
|
31789
|
+
},
|
|
31790
|
+
"language": {
|
|
31791
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
31792
|
+
}
|
|
31793
|
+
}
|
|
31794
|
+
},
|
|
31795
|
+
"Translation": {
|
|
31598
31796
|
"type": "object",
|
|
31599
31797
|
"properties": {
|
|
31600
31798
|
"object": {
|
|
31601
31799
|
"type": "string",
|
|
31602
31800
|
"enum": [
|
|
31603
|
-
"translation
|
|
31801
|
+
"translation"
|
|
31604
31802
|
]
|
|
31605
31803
|
},
|
|
31606
31804
|
"id": {
|
|
31607
31805
|
"type": "string",
|
|
31608
|
-
"description": "Unique identifier of the translation
|
|
31806
|
+
"description": "Unique identifier of the translation sync"
|
|
31609
31807
|
},
|
|
31610
|
-
"
|
|
31611
|
-
"$ref": "#/components/schemas/
|
|
31808
|
+
"status": {
|
|
31809
|
+
"$ref": "#/components/schemas/TranslationStatus"
|
|
31612
31810
|
},
|
|
31613
|
-
"
|
|
31614
|
-
"
|
|
31615
|
-
|
|
31616
|
-
|
|
31617
|
-
|
|
31811
|
+
"source": {
|
|
31812
|
+
"$ref": "#/components/schemas/TranslationSource"
|
|
31813
|
+
},
|
|
31814
|
+
"language": {
|
|
31815
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
31816
|
+
},
|
|
31817
|
+
"instructions": {
|
|
31818
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
31819
|
+
},
|
|
31820
|
+
"result": {
|
|
31821
|
+
"$ref": "#/components/schemas/TranslationResult"
|
|
31618
31822
|
},
|
|
31619
31823
|
"createdAt": {
|
|
31620
31824
|
"type": "string",
|
|
@@ -31624,6 +31828,48 @@
|
|
|
31624
31828
|
"type": "string",
|
|
31625
31829
|
"format": "date-time"
|
|
31626
31830
|
},
|
|
31831
|
+
"stats": {
|
|
31832
|
+
"type": "object",
|
|
31833
|
+
"properties": {
|
|
31834
|
+
"runs": {
|
|
31835
|
+
"type": "integer",
|
|
31836
|
+
"description": "Total number of times the translation has been run"
|
|
31837
|
+
},
|
|
31838
|
+
"totalWords": {
|
|
31839
|
+
"type": "integer",
|
|
31840
|
+
"description": "Total number of words translated"
|
|
31841
|
+
},
|
|
31842
|
+
"totalPages": {
|
|
31843
|
+
"type": "integer",
|
|
31844
|
+
"description": "Total number of unique pages translated"
|
|
31845
|
+
},
|
|
31846
|
+
"totalDuration": {
|
|
31847
|
+
"type": "integer",
|
|
31848
|
+
"description": "Total duration of all runs (in seconds)"
|
|
31849
|
+
},
|
|
31850
|
+
"latestRunDuration": {
|
|
31851
|
+
"type": "integer",
|
|
31852
|
+
"description": "Duration of the latest run (in seconds)"
|
|
31853
|
+
},
|
|
31854
|
+
"latestPages": {
|
|
31855
|
+
"type": "integer",
|
|
31856
|
+
"description": "Number of unique pages translated in the latest run"
|
|
31857
|
+
},
|
|
31858
|
+
"latestWords": {
|
|
31859
|
+
"type": "integer",
|
|
31860
|
+
"description": "Number of words translated in the latest run"
|
|
31861
|
+
}
|
|
31862
|
+
},
|
|
31863
|
+
"required": [
|
|
31864
|
+
"runs",
|
|
31865
|
+
"totalWords",
|
|
31866
|
+
"totalPages",
|
|
31867
|
+
"totalDuration",
|
|
31868
|
+
"latestRunDuration",
|
|
31869
|
+
"latestPages",
|
|
31870
|
+
"latestWords"
|
|
31871
|
+
]
|
|
31872
|
+
},
|
|
31627
31873
|
"permissions": {
|
|
31628
31874
|
"type": "object",
|
|
31629
31875
|
"properties": {
|
|
@@ -31659,37 +31905,58 @@
|
|
|
31659
31905
|
"required": [
|
|
31660
31906
|
"object",
|
|
31661
31907
|
"id",
|
|
31662
|
-
"
|
|
31663
|
-
"
|
|
31908
|
+
"status",
|
|
31909
|
+
"source",
|
|
31910
|
+
"language",
|
|
31911
|
+
"instructions",
|
|
31664
31912
|
"createdAt",
|
|
31665
31913
|
"updatedAt",
|
|
31914
|
+
"stats",
|
|
31666
31915
|
"permissions",
|
|
31667
31916
|
"urls"
|
|
31668
31917
|
]
|
|
31669
31918
|
},
|
|
31670
|
-
"
|
|
31919
|
+
"GlossaryTranslations": {
|
|
31920
|
+
"type": "object",
|
|
31921
|
+
"additionalProperties": {
|
|
31922
|
+
"type": "string",
|
|
31923
|
+
"minLength": 1,
|
|
31924
|
+
"maxLength": 255,
|
|
31925
|
+
"pattern": "^[^\\n\\r]*$"
|
|
31926
|
+
},
|
|
31927
|
+
"description": "Mapping of language codes to translated terms"
|
|
31928
|
+
},
|
|
31929
|
+
"GlossaryEntry": {
|
|
31671
31930
|
"type": "object",
|
|
31672
31931
|
"properties": {
|
|
31673
31932
|
"object": {
|
|
31674
31933
|
"type": "string",
|
|
31675
31934
|
"enum": [
|
|
31676
|
-
"
|
|
31935
|
+
"glossary-entry"
|
|
31677
31936
|
]
|
|
31678
31937
|
},
|
|
31679
|
-
"
|
|
31680
|
-
"
|
|
31938
|
+
"id": {
|
|
31939
|
+
"type": "string",
|
|
31940
|
+
"description": "Unique identifier of the glossary entry"
|
|
31681
31941
|
},
|
|
31682
|
-
"
|
|
31683
|
-
"$ref": "#/components/schemas/
|
|
31942
|
+
"translations": {
|
|
31943
|
+
"$ref": "#/components/schemas/GlossaryTranslations"
|
|
31944
|
+
},
|
|
31945
|
+
"createdAt": {
|
|
31946
|
+
"type": "string",
|
|
31947
|
+
"format": "date-time"
|
|
31948
|
+
},
|
|
31949
|
+
"updatedAt": {
|
|
31950
|
+
"type": "string",
|
|
31951
|
+
"format": "date-time"
|
|
31684
31952
|
},
|
|
31685
31953
|
"urls": {
|
|
31686
31954
|
"type": "object",
|
|
31687
|
-
"description": "URLs associated with the object",
|
|
31688
31955
|
"properties": {
|
|
31689
31956
|
"location": {
|
|
31690
31957
|
"type": "string",
|
|
31691
|
-
"
|
|
31692
|
-
"
|
|
31958
|
+
"format": "uri",
|
|
31959
|
+
"description": "URL of the glossary entry in the API"
|
|
31693
31960
|
}
|
|
31694
31961
|
},
|
|
31695
31962
|
"required": [
|
|
@@ -31699,11 +31966,75 @@
|
|
|
31699
31966
|
},
|
|
31700
31967
|
"required": [
|
|
31701
31968
|
"object",
|
|
31702
|
-
"
|
|
31703
|
-
"
|
|
31969
|
+
"id",
|
|
31970
|
+
"translations",
|
|
31971
|
+
"createdAt",
|
|
31972
|
+
"updatedAt",
|
|
31704
31973
|
"urls"
|
|
31705
31974
|
]
|
|
31706
31975
|
},
|
|
31976
|
+
"GlossaryBatchOperation": {
|
|
31977
|
+
"oneOf": [
|
|
31978
|
+
{
|
|
31979
|
+
"type": "object",
|
|
31980
|
+
"properties": {
|
|
31981
|
+
"type": {
|
|
31982
|
+
"type": "string",
|
|
31983
|
+
"enum": [
|
|
31984
|
+
"insert"
|
|
31985
|
+
]
|
|
31986
|
+
},
|
|
31987
|
+
"translations": {
|
|
31988
|
+
"$ref": "#/components/schemas/GlossaryTranslations"
|
|
31989
|
+
}
|
|
31990
|
+
},
|
|
31991
|
+
"required": [
|
|
31992
|
+
"type",
|
|
31993
|
+
"translations"
|
|
31994
|
+
]
|
|
31995
|
+
},
|
|
31996
|
+
{
|
|
31997
|
+
"type": "object",
|
|
31998
|
+
"properties": {
|
|
31999
|
+
"type": {
|
|
32000
|
+
"type": "string",
|
|
32001
|
+
"enum": [
|
|
32002
|
+
"update"
|
|
32003
|
+
]
|
|
32004
|
+
},
|
|
32005
|
+
"id": {
|
|
32006
|
+
"type": "string"
|
|
32007
|
+
},
|
|
32008
|
+
"translations": {
|
|
32009
|
+
"$ref": "#/components/schemas/GlossaryTranslations"
|
|
32010
|
+
}
|
|
32011
|
+
},
|
|
32012
|
+
"required": [
|
|
32013
|
+
"type",
|
|
32014
|
+
"id",
|
|
32015
|
+
"translations"
|
|
32016
|
+
]
|
|
32017
|
+
},
|
|
32018
|
+
{
|
|
32019
|
+
"type": "object",
|
|
32020
|
+
"properties": {
|
|
32021
|
+
"type": {
|
|
32022
|
+
"type": "string",
|
|
32023
|
+
"enum": [
|
|
32024
|
+
"delete"
|
|
32025
|
+
]
|
|
32026
|
+
},
|
|
32027
|
+
"id": {
|
|
32028
|
+
"type": "string"
|
|
32029
|
+
}
|
|
32030
|
+
},
|
|
32031
|
+
"required": [
|
|
32032
|
+
"type",
|
|
32033
|
+
"id"
|
|
32034
|
+
]
|
|
32035
|
+
}
|
|
32036
|
+
]
|
|
32037
|
+
},
|
|
31707
32038
|
"StorageFileMetadata": {
|
|
31708
32039
|
"type": "object",
|
|
31709
32040
|
"properties": {
|
|
@@ -31929,7 +32260,7 @@
|
|
|
31929
32260
|
}
|
|
31930
32261
|
]
|
|
31931
32262
|
},
|
|
31932
|
-
"
|
|
32263
|
+
"SiteAdaptiveDeterministicJSONSchemaPrimitives": {
|
|
31933
32264
|
"oneOf": [
|
|
31934
32265
|
{
|
|
31935
32266
|
"type": "object",
|
|
@@ -31975,6 +32306,81 @@
|
|
|
31975
32306
|
"description"
|
|
31976
32307
|
],
|
|
31977
32308
|
"additionalProperties": false
|
|
32309
|
+
}
|
|
32310
|
+
]
|
|
32311
|
+
},
|
|
32312
|
+
"SiteAdaptiveJSONSchemaPrimitives": {
|
|
32313
|
+
"oneOf": [
|
|
32314
|
+
{
|
|
32315
|
+
"$ref": "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
|
|
32316
|
+
},
|
|
32317
|
+
{
|
|
32318
|
+
"type": "object",
|
|
32319
|
+
"properties": {
|
|
32320
|
+
"type": {
|
|
32321
|
+
"type": "string",
|
|
32322
|
+
"enum": [
|
|
32323
|
+
"string"
|
|
32324
|
+
]
|
|
32325
|
+
},
|
|
32326
|
+
"description": {
|
|
32327
|
+
"type": "string"
|
|
32328
|
+
}
|
|
32329
|
+
},
|
|
32330
|
+
"required": [
|
|
32331
|
+
"type",
|
|
32332
|
+
"description"
|
|
32333
|
+
],
|
|
32334
|
+
"additionalProperties": false
|
|
32335
|
+
},
|
|
32336
|
+
{
|
|
32337
|
+
"type": "object",
|
|
32338
|
+
"properties": {
|
|
32339
|
+
"type": {
|
|
32340
|
+
"type": "string",
|
|
32341
|
+
"enum": [
|
|
32342
|
+
"number"
|
|
32343
|
+
]
|
|
32344
|
+
},
|
|
32345
|
+
"description": {
|
|
32346
|
+
"type": "string"
|
|
32347
|
+
}
|
|
32348
|
+
},
|
|
32349
|
+
"required": [
|
|
32350
|
+
"type",
|
|
32351
|
+
"description"
|
|
32352
|
+
],
|
|
32353
|
+
"additionalProperties": false
|
|
32354
|
+
}
|
|
32355
|
+
]
|
|
32356
|
+
},
|
|
32357
|
+
"SiteAdaptiveJSONSchemaClaimsProperties": {
|
|
32358
|
+
"oneOf": [
|
|
32359
|
+
{
|
|
32360
|
+
"$ref": "#/components/schemas/SiteAdaptiveJSONSchemaPrimitives"
|
|
32361
|
+
},
|
|
32362
|
+
{
|
|
32363
|
+
"type": "object",
|
|
32364
|
+
"properties": {
|
|
32365
|
+
"type": {
|
|
32366
|
+
"type": "string",
|
|
32367
|
+
"enum": [
|
|
32368
|
+
"array"
|
|
32369
|
+
]
|
|
32370
|
+
},
|
|
32371
|
+
"description": {
|
|
32372
|
+
"type": "string"
|
|
32373
|
+
},
|
|
32374
|
+
"items": {
|
|
32375
|
+
"$ref": "#/components/schemas/SiteAdaptiveJSONSchemaPrimitives"
|
|
32376
|
+
}
|
|
32377
|
+
},
|
|
32378
|
+
"required": [
|
|
32379
|
+
"type",
|
|
32380
|
+
"description",
|
|
32381
|
+
"items"
|
|
32382
|
+
],
|
|
32383
|
+
"additionalProperties": false
|
|
31978
32384
|
},
|
|
31979
32385
|
{
|
|
31980
32386
|
"type": "object",
|
|
@@ -32021,9 +32427,6 @@
|
|
|
32021
32427
|
"http://json-schema.org/draft-07/schema#"
|
|
32022
32428
|
]
|
|
32023
32429
|
},
|
|
32024
|
-
"$id": {
|
|
32025
|
-
"type": "string"
|
|
32026
|
-
},
|
|
32027
32430
|
"type": {
|
|
32028
32431
|
"type": "string",
|
|
32029
32432
|
"enum": [
|
|
@@ -32659,19 +33062,6 @@
|
|
|
32659
33062
|
"enabled"
|
|
32660
33063
|
]
|
|
32661
33064
|
},
|
|
32662
|
-
"aiSearch": {
|
|
32663
|
-
"type": "object",
|
|
32664
|
-
"deprecated": true,
|
|
32665
|
-
"properties": {
|
|
32666
|
-
"enabled": {
|
|
32667
|
-
"type": "boolean",
|
|
32668
|
-
"description": "If true, AI search is enabled"
|
|
32669
|
-
}
|
|
32670
|
-
},
|
|
32671
|
-
"required": [
|
|
32672
|
-
"enabled"
|
|
32673
|
-
]
|
|
32674
|
-
},
|
|
32675
33065
|
"ai": {
|
|
32676
33066
|
"type": "object",
|
|
32677
33067
|
"properties": {
|
|
@@ -32707,6 +33097,23 @@
|
|
|
32707
33097
|
"showEditLink"
|
|
32708
33098
|
]
|
|
32709
33099
|
},
|
|
33100
|
+
"pageActions": {
|
|
33101
|
+
"type": "object",
|
|
33102
|
+
"properties": {
|
|
33103
|
+
"externalAI": {
|
|
33104
|
+
"type": "boolean",
|
|
33105
|
+
"description": "Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu."
|
|
33106
|
+
},
|
|
33107
|
+
"markdown": {
|
|
33108
|
+
"type": "boolean",
|
|
33109
|
+
"description": "Whether the copy and open the markdown version of the page should be available in the page menu."
|
|
33110
|
+
}
|
|
33111
|
+
},
|
|
33112
|
+
"required": [
|
|
33113
|
+
"externalAI",
|
|
33114
|
+
"markdown"
|
|
33115
|
+
]
|
|
33116
|
+
},
|
|
32710
33117
|
"externalLinks": {
|
|
32711
33118
|
"type": "object",
|
|
32712
33119
|
"properties": {
|
|
@@ -32781,12 +33188,12 @@
|
|
|
32781
33188
|
"themes",
|
|
32782
33189
|
"pdf",
|
|
32783
33190
|
"feedback",
|
|
32784
|
-
"aiSearch",
|
|
32785
33191
|
"ai",
|
|
32786
33192
|
"advancedCustomization",
|
|
32787
33193
|
"trademark",
|
|
32788
33194
|
"externalLinks",
|
|
32789
33195
|
"pagination",
|
|
33196
|
+
"pageActions",
|
|
32790
33197
|
"git",
|
|
32791
33198
|
"privacyPolicy",
|
|
32792
33199
|
"socialPreview",
|
|
@@ -34285,6 +34692,45 @@
|
|
|
34285
34692
|
}
|
|
34286
34693
|
]
|
|
34287
34694
|
},
|
|
34695
|
+
"SiteInsightsEventAskRateResponse": {
|
|
34696
|
+
"allOf": [
|
|
34697
|
+
{
|
|
34698
|
+
"$ref": "#/components/schemas/SiteInsightsEventBase"
|
|
34699
|
+
},
|
|
34700
|
+
{
|
|
34701
|
+
"type": "object",
|
|
34702
|
+
"properties": {
|
|
34703
|
+
"type": {
|
|
34704
|
+
"type": "string",
|
|
34705
|
+
"enum": [
|
|
34706
|
+
"ask_rate_response"
|
|
34707
|
+
]
|
|
34708
|
+
},
|
|
34709
|
+
"query": {
|
|
34710
|
+
"type": "string",
|
|
34711
|
+
"description": "Question asked."
|
|
34712
|
+
},
|
|
34713
|
+
"rating": {
|
|
34714
|
+
"type": "integer",
|
|
34715
|
+
"enum": [
|
|
34716
|
+
1,
|
|
34717
|
+
-1
|
|
34718
|
+
]
|
|
34719
|
+
},
|
|
34720
|
+
"responseId": {
|
|
34721
|
+
"type": "string",
|
|
34722
|
+
"description": "ID of the AI response."
|
|
34723
|
+
}
|
|
34724
|
+
},
|
|
34725
|
+
"required": [
|
|
34726
|
+
"type",
|
|
34727
|
+
"query",
|
|
34728
|
+
"rating",
|
|
34729
|
+
"responseId"
|
|
34730
|
+
]
|
|
34731
|
+
}
|
|
34732
|
+
]
|
|
34733
|
+
},
|
|
34288
34734
|
"SiteInsightsLinkPosition": {
|
|
34289
34735
|
"type": "string",
|
|
34290
34736
|
"enum": [
|
|
@@ -34514,6 +34960,9 @@
|
|
|
34514
34960
|
{
|
|
34515
34961
|
"$ref": "#/components/schemas/SiteInsightsEventAskQuestion"
|
|
34516
34962
|
},
|
|
34963
|
+
{
|
|
34964
|
+
"$ref": "#/components/schemas/SiteInsightsEventAskRateResponse"
|
|
34965
|
+
},
|
|
34517
34966
|
{
|
|
34518
34967
|
"$ref": "#/components/schemas/SiteInsightsEventLinkClick"
|
|
34519
34968
|
},
|
|
@@ -34917,6 +35366,20 @@
|
|
|
34917
35366
|
}
|
|
34918
35367
|
}
|
|
34919
35368
|
},
|
|
35369
|
+
{
|
|
35370
|
+
"type": "object",
|
|
35371
|
+
"required": [
|
|
35372
|
+
"column"
|
|
35373
|
+
],
|
|
35374
|
+
"properties": {
|
|
35375
|
+
"column": {
|
|
35376
|
+
"type": "string",
|
|
35377
|
+
"enum": [
|
|
35378
|
+
"eventAskResponseRating"
|
|
35379
|
+
]
|
|
35380
|
+
}
|
|
35381
|
+
}
|
|
35382
|
+
},
|
|
34920
35383
|
{
|
|
34921
35384
|
"type": "object",
|
|
34922
35385
|
"required": [
|
|
@@ -34931,6 +35394,20 @@
|
|
|
34931
35394
|
}
|
|
34932
35395
|
}
|
|
34933
35396
|
},
|
|
35397
|
+
{
|
|
35398
|
+
"type": "object",
|
|
35399
|
+
"required": [
|
|
35400
|
+
"column"
|
|
35401
|
+
],
|
|
35402
|
+
"properties": {
|
|
35403
|
+
"column": {
|
|
35404
|
+
"type": "string",
|
|
35405
|
+
"enum": [
|
|
35406
|
+
"askResponseRating"
|
|
35407
|
+
]
|
|
35408
|
+
}
|
|
35409
|
+
}
|
|
35410
|
+
},
|
|
34934
35411
|
{
|
|
34935
35412
|
"type": "object",
|
|
34936
35413
|
"required": [
|
|
@@ -35115,6 +35592,7 @@
|
|
|
35115
35592
|
"page_post_feedback",
|
|
35116
35593
|
"page_post_feedback_comment",
|
|
35117
35594
|
"ask_question",
|
|
35595
|
+
"ask_rate_response",
|
|
35118
35596
|
"link_click",
|
|
35119
35597
|
"api_client_open",
|
|
35120
35598
|
"api_client_request",
|
|
@@ -35827,6 +36305,39 @@
|
|
|
35827
36305
|
}
|
|
35828
36306
|
}
|
|
35829
36307
|
},
|
|
36308
|
+
{
|
|
36309
|
+
"type": "object",
|
|
36310
|
+
"required": [
|
|
36311
|
+
"column",
|
|
36312
|
+
"values"
|
|
36313
|
+
],
|
|
36314
|
+
"properties": {
|
|
36315
|
+
"column": {
|
|
36316
|
+
"type": "string",
|
|
36317
|
+
"enum": [
|
|
36318
|
+
"askResponseRating"
|
|
36319
|
+
]
|
|
36320
|
+
},
|
|
36321
|
+
"values": {
|
|
36322
|
+
"type": "array",
|
|
36323
|
+
"items": {
|
|
36324
|
+
"type": "object",
|
|
36325
|
+
"required": [
|
|
36326
|
+
"positive",
|
|
36327
|
+
"negative"
|
|
36328
|
+
],
|
|
36329
|
+
"properties": {
|
|
36330
|
+
"positive": {
|
|
36331
|
+
"type": "number"
|
|
36332
|
+
},
|
|
36333
|
+
"negative": {
|
|
36334
|
+
"type": "number"
|
|
36335
|
+
}
|
|
36336
|
+
}
|
|
36337
|
+
}
|
|
36338
|
+
}
|
|
36339
|
+
}
|
|
36340
|
+
},
|
|
35830
36341
|
{
|
|
35831
36342
|
"type": "object",
|
|
35832
36343
|
"required": [
|
|
@@ -35848,6 +36359,27 @@
|
|
|
35848
36359
|
}
|
|
35849
36360
|
}
|
|
35850
36361
|
},
|
|
36362
|
+
{
|
|
36363
|
+
"type": "object",
|
|
36364
|
+
"required": [
|
|
36365
|
+
"column",
|
|
36366
|
+
"values"
|
|
36367
|
+
],
|
|
36368
|
+
"properties": {
|
|
36369
|
+
"column": {
|
|
36370
|
+
"type": "string",
|
|
36371
|
+
"enum": [
|
|
36372
|
+
"eventAskResponseRating"
|
|
36373
|
+
]
|
|
36374
|
+
},
|
|
36375
|
+
"values": {
|
|
36376
|
+
"type": "array",
|
|
36377
|
+
"items": {
|
|
36378
|
+
"type": "integer"
|
|
36379
|
+
}
|
|
36380
|
+
}
|
|
36381
|
+
}
|
|
36382
|
+
},
|
|
35851
36383
|
{
|
|
35852
36384
|
"type": "object",
|
|
35853
36385
|
"required": [
|
|
@@ -37028,15 +37560,15 @@
|
|
|
37028
37560
|
},
|
|
37029
37561
|
"pathname": {
|
|
37030
37562
|
"type": "string",
|
|
37031
|
-
"description": "Path of the content relative to the
|
|
37563
|
+
"description": "Path of the content relative to the input URL being resolved"
|
|
37032
37564
|
},
|
|
37033
37565
|
"basePath": {
|
|
37034
37566
|
"type": "string",
|
|
37035
|
-
"description": "Prefix of the path in the URL
|
|
37567
|
+
"description": "Prefix of the path in the input URL being resolved"
|
|
37036
37568
|
},
|
|
37037
37569
|
"siteBasePath": {
|
|
37038
37570
|
"type": "string",
|
|
37039
|
-
"description": "Prefix of the path in the URL
|
|
37571
|
+
"description": "Prefix of the site path in the input URL being resolved"
|
|
37040
37572
|
},
|
|
37041
37573
|
"apiToken": {
|
|
37042
37574
|
"type": "string",
|
|
@@ -37284,6 +37816,89 @@
|
|
|
37284
37816
|
"gitbook:agent"
|
|
37285
37817
|
]
|
|
37286
37818
|
},
|
|
37819
|
+
"SpaceTemplate": {
|
|
37820
|
+
"type": "object",
|
|
37821
|
+
"properties": {
|
|
37822
|
+
"id": {
|
|
37823
|
+
"type": "string"
|
|
37824
|
+
},
|
|
37825
|
+
"contentId": {
|
|
37826
|
+
"type": "string"
|
|
37827
|
+
},
|
|
37828
|
+
"title": {
|
|
37829
|
+
"type": "string",
|
|
37830
|
+
"description": "A title of the template."
|
|
37831
|
+
},
|
|
37832
|
+
"subtitle": {
|
|
37833
|
+
"type": "string",
|
|
37834
|
+
"description": "A subtitle for the template."
|
|
37835
|
+
},
|
|
37836
|
+
"emoji": {
|
|
37837
|
+
"description": "An emoji representing the template.",
|
|
37838
|
+
"$ref": "#/components/schemas/Emoji"
|
|
37839
|
+
},
|
|
37840
|
+
"openAPISpec": {
|
|
37841
|
+
"description": "An optional OpenAPI spec to create along with the template.",
|
|
37842
|
+
"properties": {
|
|
37843
|
+
"slug": {
|
|
37844
|
+
"$ref": "#/components/schemas/OpenAPISpecSlug"
|
|
37845
|
+
},
|
|
37846
|
+
"sourceURL": {
|
|
37847
|
+
"$ref": "#/components/schemas/URL"
|
|
37848
|
+
}
|
|
37849
|
+
},
|
|
37850
|
+
"required": [
|
|
37851
|
+
"slug",
|
|
37852
|
+
"sourceURL"
|
|
37853
|
+
]
|
|
37854
|
+
},
|
|
37855
|
+
"features": {
|
|
37856
|
+
"type": "array",
|
|
37857
|
+
"description": "A list of features that the template supports.",
|
|
37858
|
+
"items": {
|
|
37859
|
+
"type": "string",
|
|
37860
|
+
"description": "A feature supported by the template."
|
|
37861
|
+
}
|
|
37862
|
+
},
|
|
37863
|
+
"previewImage": {
|
|
37864
|
+
"type": "object",
|
|
37865
|
+
"properties": {
|
|
37866
|
+
"light": {
|
|
37867
|
+
"$ref": "#/components/schemas/URL"
|
|
37868
|
+
},
|
|
37869
|
+
"dark": {
|
|
37870
|
+
"$ref": "#/components/schemas/URL"
|
|
37871
|
+
}
|
|
37872
|
+
},
|
|
37873
|
+
"required": [
|
|
37874
|
+
"light",
|
|
37875
|
+
"dark"
|
|
37876
|
+
]
|
|
37877
|
+
},
|
|
37878
|
+
"urls": {
|
|
37879
|
+
"type": "object",
|
|
37880
|
+
"description": "URLs associated with the object",
|
|
37881
|
+
"properties": {
|
|
37882
|
+
"preview": {
|
|
37883
|
+
"$ref": "#/components/schemas/URL"
|
|
37884
|
+
}
|
|
37885
|
+
},
|
|
37886
|
+
"required": [
|
|
37887
|
+
"preview"
|
|
37888
|
+
]
|
|
37889
|
+
}
|
|
37890
|
+
},
|
|
37891
|
+
"required": [
|
|
37892
|
+
"id",
|
|
37893
|
+
"contentId",
|
|
37894
|
+
"title",
|
|
37895
|
+
"subtitle",
|
|
37896
|
+
"emoji",
|
|
37897
|
+
"features",
|
|
37898
|
+
"previewImage",
|
|
37899
|
+
"urls"
|
|
37900
|
+
]
|
|
37901
|
+
},
|
|
37287
37902
|
"ComputedContentSource": {
|
|
37288
37903
|
"oneOf": [
|
|
37289
37904
|
{
|
|
@@ -38543,14 +39158,33 @@
|
|
|
38543
39158
|
"organization"
|
|
38544
39159
|
]
|
|
38545
39160
|
},
|
|
38546
|
-
"
|
|
39161
|
+
"OrganizationTranslationsChannel": {
|
|
38547
39162
|
"type": "object",
|
|
38548
|
-
"description": "Subscription channel for changes in
|
|
39163
|
+
"description": "Subscription channel for changes in translations in an organization.",
|
|
38549
39164
|
"properties": {
|
|
38550
39165
|
"channel": {
|
|
38551
39166
|
"type": "string",
|
|
38552
39167
|
"enum": [
|
|
38553
|
-
"organization-
|
|
39168
|
+
"organization-translations"
|
|
39169
|
+
]
|
|
39170
|
+
},
|
|
39171
|
+
"organization": {
|
|
39172
|
+
"type": "string"
|
|
39173
|
+
}
|
|
39174
|
+
},
|
|
39175
|
+
"required": [
|
|
39176
|
+
"channel",
|
|
39177
|
+
"organization"
|
|
39178
|
+
]
|
|
39179
|
+
},
|
|
39180
|
+
"OrganizationTranslationsGlossaryChannel": {
|
|
39181
|
+
"type": "object",
|
|
39182
|
+
"description": "Subscription channel for changes in the glossary in an organization.",
|
|
39183
|
+
"properties": {
|
|
39184
|
+
"channel": {
|
|
39185
|
+
"type": "string",
|
|
39186
|
+
"enum": [
|
|
39187
|
+
"organization-translations-glossary"
|
|
38554
39188
|
]
|
|
38555
39189
|
},
|
|
38556
39190
|
"organization": {
|
|
@@ -39137,24 +39771,6 @@
|
|
|
39137
39771
|
"customHostname"
|
|
39138
39772
|
]
|
|
39139
39773
|
},
|
|
39140
|
-
"GitSyncSettingsChannel": {
|
|
39141
|
-
"type": "object",
|
|
39142
|
-
"properties": {
|
|
39143
|
-
"channel": {
|
|
39144
|
-
"type": "string",
|
|
39145
|
-
"enum": [
|
|
39146
|
-
"space-gitsync-settings"
|
|
39147
|
-
]
|
|
39148
|
-
},
|
|
39149
|
-
"space": {
|
|
39150
|
-
"type": "string"
|
|
39151
|
-
}
|
|
39152
|
-
},
|
|
39153
|
-
"required": [
|
|
39154
|
-
"channel",
|
|
39155
|
-
"space"
|
|
39156
|
-
]
|
|
39157
|
-
},
|
|
39158
39774
|
"GitSyncOperationChannel": {
|
|
39159
39775
|
"type": "object",
|
|
39160
39776
|
"properties": {
|
|
@@ -39210,13 +39826,13 @@
|
|
|
39210
39826
|
"subdomain"
|
|
39211
39827
|
]
|
|
39212
39828
|
},
|
|
39213
|
-
"
|
|
39829
|
+
"TranslationChannel": {
|
|
39214
39830
|
"type": "object",
|
|
39215
39831
|
"properties": {
|
|
39216
39832
|
"channel": {
|
|
39217
39833
|
"type": "string",
|
|
39218
39834
|
"enum": [
|
|
39219
|
-
"translation
|
|
39835
|
+
"translation"
|
|
39220
39836
|
]
|
|
39221
39837
|
},
|
|
39222
39838
|
"translation": {
|
|
@@ -39373,7 +39989,10 @@
|
|
|
39373
39989
|
"$ref": "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
39374
39990
|
},
|
|
39375
39991
|
{
|
|
39376
|
-
"$ref": "#/components/schemas/
|
|
39992
|
+
"$ref": "#/components/schemas/OrganizationTranslationsChannel"
|
|
39993
|
+
},
|
|
39994
|
+
{
|
|
39995
|
+
"$ref": "#/components/schemas/OrganizationTranslationsGlossaryChannel"
|
|
39377
39996
|
},
|
|
39378
39997
|
{
|
|
39379
39998
|
"$ref": "#/components/schemas/OrganizationCustomFontsChannel"
|
|
@@ -39459,9 +40078,6 @@
|
|
|
39459
40078
|
{
|
|
39460
40079
|
"$ref": "#/components/schemas/CustomHostnameChannel"
|
|
39461
40080
|
},
|
|
39462
|
-
{
|
|
39463
|
-
"$ref": "#/components/schemas/GitSyncSettingsChannel"
|
|
39464
|
-
},
|
|
39465
40081
|
{
|
|
39466
40082
|
"$ref": "#/components/schemas/GitSyncOperationChannel"
|
|
39467
40083
|
},
|
|
@@ -39472,7 +40088,7 @@
|
|
|
39472
40088
|
"$ref": "#/components/schemas/SubdomainChannel"
|
|
39473
40089
|
},
|
|
39474
40090
|
{
|
|
39475
|
-
"$ref": "#/components/schemas/
|
|
40091
|
+
"$ref": "#/components/schemas/TranslationChannel"
|
|
39476
40092
|
},
|
|
39477
40093
|
{
|
|
39478
40094
|
"$ref": "#/components/schemas/AgentTaskChannel"
|
|
@@ -39645,6 +40261,46 @@
|
|
|
39645
40261
|
"propertyName": "channel"
|
|
39646
40262
|
}
|
|
39647
40263
|
},
|
|
40264
|
+
"SiteAdaptiveDeterministicJSONSchemaClaimsProperties": {
|
|
40265
|
+
"oneOf": [
|
|
40266
|
+
{
|
|
40267
|
+
"$ref": "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
|
|
40268
|
+
},
|
|
40269
|
+
{
|
|
40270
|
+
"type": "object",
|
|
40271
|
+
"properties": {
|
|
40272
|
+
"type": {
|
|
40273
|
+
"type": "string",
|
|
40274
|
+
"enum": [
|
|
40275
|
+
"object"
|
|
40276
|
+
]
|
|
40277
|
+
},
|
|
40278
|
+
"description": {
|
|
40279
|
+
"type": "string"
|
|
40280
|
+
},
|
|
40281
|
+
"properties": {
|
|
40282
|
+
"type": "object",
|
|
40283
|
+
"additionalProperties": {
|
|
40284
|
+
"$ref": "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaClaimsProperties"
|
|
40285
|
+
}
|
|
40286
|
+
},
|
|
40287
|
+
"additionalProperties": {
|
|
40288
|
+
"type": "boolean",
|
|
40289
|
+
"enum": [
|
|
40290
|
+
false
|
|
40291
|
+
]
|
|
40292
|
+
}
|
|
40293
|
+
},
|
|
40294
|
+
"required": [
|
|
40295
|
+
"type",
|
|
40296
|
+
"description",
|
|
40297
|
+
"properties",
|
|
40298
|
+
"additionalProperties"
|
|
40299
|
+
],
|
|
40300
|
+
"additionalProperties": false
|
|
40301
|
+
}
|
|
40302
|
+
]
|
|
40303
|
+
},
|
|
39648
40304
|
"SiteAdsStatus": {
|
|
39649
40305
|
"type": "string",
|
|
39650
40306
|
"description": "The status of ads on the site",
|
|
@@ -39954,6 +40610,9 @@
|
|
|
39954
40610
|
"SpaceVisitorAuthIntegrationBackend": {
|
|
39955
40611
|
"$ref": "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
39956
40612
|
},
|
|
40613
|
+
"ApplyTemplate": {
|
|
40614
|
+
"$ref": "#/components/schemas/ApplySpaceTemplate"
|
|
40615
|
+
},
|
|
39957
40616
|
"UserPermissions": {
|
|
39958
40617
|
"$ref": "#/components/schemas/_index"
|
|
39959
40618
|
},
|