@gitbook/api 0.127.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/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": "listTranslationSettings",
10786
- "summary": "List all the translation settings",
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/TranslationSettings"
10950
+ "$ref": "#/components/schemas/Translation"
10826
10951
  }
10827
10952
  }
10828
10953
  }
@@ -10835,8 +10960,8 @@
10835
10960
  }
10836
10961
  },
10837
10962
  "post": {
10838
- "operationId": "createTranslationSettings",
10839
- "summary": "Create a translation settings",
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
- "title": {
10861
- "type": "string",
10862
- "description": "The title of the translation settings"
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
- "title"
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 settings has been created",
11005
+ "description": "Translation has been created",
10875
11006
  "content": {
10876
11007
  "application/json": {
10877
11008
  "schema": {
10878
- "$ref": "#/components/schemas/TranslationSettings"
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/{translationSettingsId}": {
11020
+ "/orgs/{organizationId}/translations/{translationId}": {
10890
11021
  "get": {
10891
- "operationId": "getTranslationSettings",
10892
- "summary": "Get a translation settings by its ID",
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/translationSettingsId"
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/TranslationSettings"
11046
+ "$ref": "#/components/schemas/Translation"
10916
11047
  }
10917
11048
  }
10918
11049
  }
10919
11050
  },
10920
11051
  "404": {
10921
- "description": "No matching translation settings found",
11052
+ "description": "No matching translation found",
10922
11053
  "$ref": "#/components/responses/NotFoundError"
10923
11054
  }
10924
11055
  }
10925
11056
  },
10926
11057
  "put": {
10927
- "operationId": "updateTranslationSettings",
10928
- "summary": "Update a translation settings",
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/translationSettingsId"
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
- "title": {
10953
- "type": "string",
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 settings has been updated",
11096
+ "description": "Translation has been updated",
10967
11097
  "content": {
10968
11098
  "application/json": {
10969
11099
  "schema": {
10970
- "$ref": "#/components/schemas/TranslationSettings"
11100
+ "$ref": "#/components/schemas/Translation"
10971
11101
  }
10972
11102
  }
10973
11103
  }
@@ -10978,8 +11108,8 @@
10978
11108
  }
10979
11109
  },
10980
11110
  "delete": {
10981
- "operationId": "deleteTranslationSettings",
10982
- "summary": "Delete a translation settings",
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/translationSettingsId"
11126
+ "$ref": "#/components/parameters/translationId"
10997
11127
  }
10998
11128
  ],
10999
11129
  "responses": {
11000
11130
  "204": {
11001
- "description": "Translation settings did not exist"
11131
+ "description": "Translation did not exist"
11002
11132
  },
11003
11133
  "205": {
11004
- "description": "Translation settings has been deleted"
11134
+ "description": "Translation has been deleted"
11005
11135
  }
11006
11136
  }
11007
11137
  }
11008
11138
  },
11009
- "/orgs/{organizationId}/translations/{translationSettingsId}/languages": {
11139
+ "/orgs/{organizationId}/translations-glossary": {
11010
11140
  "get": {
11011
- "operationId": "listTranslationLanguages",
11012
- "summary": "List all translation settings language",
11141
+ "operationId": "listGlossaryEntries",
11142
+ "summary": "List glossary entries",
11013
11143
  "tags": [
11014
- "translation-languages"
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/TranslationLanguageSettings"
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": "createOrUpdateTranslationLanguage",
11113
- "summary": "Create or update a translation settings language",
11194
+ "operationId": "updateGlossaryEntries",
11195
+ "summary": "Update glossary entries",
11114
11196
  "tags": [
11115
- "translation-languages"
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
- "instructions": {
11141
- "$ref": "#/components/schemas/JSONDocument"
11216
+ "operations": {
11217
+ "type": "array",
11218
+ "items": {
11219
+ "$ref": "#/components/schemas/GlossaryBatchOperation"
11220
+ }
11142
11221
  }
11143
11222
  },
11144
11223
  "required": [
11145
- "instructions"
11224
+ "operations"
11146
11225
  ]
11147
11226
  }
11148
11227
  }
11149
11228
  }
11150
11229
  },
11151
11230
  "responses": {
11152
- "200": {
11153
- "description": "Language settings successfully updated",
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
- "delete": {
11182
- "operationId": "deleteTranslationLanguage",
11183
- "summary": "Remove a translation settings language",
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
- "translation-languages"
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/translationSettingsId"
11198
- },
11199
- {
11200
- "$ref": "#/components/parameters/translationLanguage"
11257
+ "$ref": "#/components/parameters/glossaryEntryId"
11201
11258
  }
11202
11259
  ],
11203
11260
  "responses": {
11204
- "204": {
11205
- "description": "Translation language settings not found"
11261
+ "200": {
11262
+ "description": "OK",
11263
+ "content": {
11264
+ "application/json": {
11265
+ "schema": {
11266
+ "$ref": "#/components/schemas/GlossaryEntry"
11267
+ }
11268
+ }
11269
+ }
11206
11270
  },
11207
- "205": {
11208
- "description": "Language successfully removed"
11271
+ "404": {
11272
+ "$ref": "#/components/responses/NotFoundError"
11209
11273
  }
11210
11274
  }
11211
11275
  }
@@ -14166,21 +14230,6 @@
14166
14230
  }
14167
14231
  ]
14168
14232
  },
14169
- "font": {
14170
- "description": "The font family to use for the content. Set to null to reset the override.",
14171
- "oneOf": [
14172
- {
14173
- "$ref": "#/components/schemas/CustomizationFont"
14174
- },
14175
- {
14176
- "type": "string",
14177
- "nullable": true,
14178
- "enum": [
14179
- null
14180
- ]
14181
- }
14182
- ]
14183
- },
14184
14233
  "icons": {
14185
14234
  "description": "The icons style to use for the content. Set to null to reset the override.",
14186
14235
  "oneOf": [
@@ -14461,19 +14510,6 @@
14461
14510
  "enabled"
14462
14511
  ]
14463
14512
  },
14464
- "aiSearch": {
14465
- "type": "object",
14466
- "properties": {
14467
- "enabled": {
14468
- "type": "boolean",
14469
- "description": "If true, AI search is enabled. Set to null to reset the override.",
14470
- "nullable": true
14471
- }
14472
- },
14473
- "required": [
14474
- "enabled"
14475
- ]
14476
- },
14477
14513
  "git": {
14478
14514
  "type": "object",
14479
14515
  "properties": {
@@ -16728,6 +16764,15 @@
16728
16764
  "type": "string"
16729
16765
  }
16730
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
+ },
16731
16776
  "samlProviderId": {
16732
16777
  "name": "samlProviderId",
16733
16778
  "in": "path",
@@ -16773,22 +16818,22 @@
16773
16818
  "type": "string"
16774
16819
  }
16775
16820
  },
16776
- "translationSettingsId": {
16777
- "name": "translationSettingsId",
16821
+ "translationId": {
16822
+ "name": "translationId",
16778
16823
  "in": "path",
16779
16824
  "required": true,
16780
- "description": "The unique id of the translation settings",
16825
+ "description": "The unique id of the translation",
16781
16826
  "schema": {
16782
16827
  "type": "string"
16783
16828
  }
16784
16829
  },
16785
- "translationLanguage": {
16786
- "name": "translationLanguage",
16830
+ "glossaryEntryId": {
16831
+ "name": "glossaryEntryId",
16787
16832
  "in": "path",
16788
16833
  "required": true,
16789
- "description": "The language of the translation",
16834
+ "description": "The unique id of the glossary entry",
16790
16835
  "schema": {
16791
- "$ref": "#/components/schemas/TranslationLanguage"
16836
+ "type": "string"
16792
16837
  }
16793
16838
  },
16794
16839
  "fontId": {
@@ -16902,6 +16947,15 @@
16902
16947
  },
16903
16948
  "required": true
16904
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
+ },
16905
16959
  "pageFormat": {
16906
16960
  "$ref": "#/components/parameters/documentFormat"
16907
16961
  },
@@ -16999,6 +17053,10 @@
16999
17053
  }
17000
17054
  }
17001
17055
  },
17056
+ "APITokenLabel": {
17057
+ "type": "string",
17058
+ "maxLength": 50
17059
+ },
17002
17060
  "Timestamp": {
17003
17061
  "type": "string",
17004
17062
  "format": "date-time"
@@ -17012,8 +17070,8 @@
17012
17070
  "description": "The API token ID."
17013
17071
  },
17014
17072
  "label": {
17015
- "type": "string",
17016
- "description": "The API token name."
17073
+ "$ref": "#/components/schemas/APITokenLabel",
17074
+ "description": "A descriptive label for the API token."
17017
17075
  },
17018
17076
  "createdAt": {
17019
17077
  "$ref": "#/components/schemas/Timestamp",
@@ -20034,6 +20092,119 @@
20034
20092
  "data"
20035
20093
  ]
20036
20094
  },
20095
+ "DocumentBlocksTopLevels": {
20096
+ "oneOf": [
20097
+ {
20098
+ "$ref": "#/components/schemas/DocumentBlocksEssentials"
20099
+ },
20100
+ {
20101
+ "$ref": "#/components/schemas/DocumentBlockQuote"
20102
+ },
20103
+ {
20104
+ "$ref": "#/components/schemas/DocumentBlockHint"
20105
+ },
20106
+ {
20107
+ "$ref": "#/components/schemas/DocumentBlockImages"
20108
+ },
20109
+ {
20110
+ "$ref": "#/components/schemas/DocumentBlockFile"
20111
+ },
20112
+ {
20113
+ "$ref": "#/components/schemas/DocumentBlockDrawing"
20114
+ },
20115
+ {
20116
+ "$ref": "#/components/schemas/DocumentBlockEmbed"
20117
+ },
20118
+ {
20119
+ "$ref": "#/components/schemas/DocumentBlockCode"
20120
+ },
20121
+ {
20122
+ "$ref": "#/components/schemas/DocumentBlockMath"
20123
+ },
20124
+ {
20125
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
20126
+ },
20127
+ {
20128
+ "$ref": "#/components/schemas/DocumentBlockTabs"
20129
+ },
20130
+ {
20131
+ "$ref": "#/components/schemas/DocumentBlockTable"
20132
+ },
20133
+ {
20134
+ "$ref": "#/components/schemas/DocumentBlockOpenAPI"
20135
+ },
20136
+ {
20137
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIOperation"
20138
+ },
20139
+ {
20140
+ "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
20141
+ },
20142
+ {
20143
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIWebhook"
20144
+ },
20145
+ {
20146
+ "$ref": "#/components/schemas/DocumentBlockContentRef"
20147
+ },
20148
+ {
20149
+ "$ref": "#/components/schemas/DocumentBlockIntegration"
20150
+ },
20151
+ {
20152
+ "$ref": "#/components/schemas/DocumentBlockReusableContent"
20153
+ },
20154
+ {
20155
+ "$ref": "#/components/schemas/DocumentBlockStepper"
20156
+ }
20157
+ ]
20158
+ },
20159
+ "DocumentBlockIf": {
20160
+ "type": "object",
20161
+ "properties": {
20162
+ "object": {
20163
+ "type": "string",
20164
+ "enum": [
20165
+ "block"
20166
+ ]
20167
+ },
20168
+ "type": {
20169
+ "type": "string",
20170
+ "enum": [
20171
+ "if"
20172
+ ]
20173
+ },
20174
+ "key": {
20175
+ "type": "string"
20176
+ },
20177
+ "nodes": {
20178
+ "type": "array",
20179
+ "items": {
20180
+ "$ref": "#/components/schemas/DocumentBlocksTopLevels"
20181
+ }
20182
+ },
20183
+ "isVoid": {
20184
+ "type": "boolean",
20185
+ "enum": [
20186
+ false
20187
+ ]
20188
+ },
20189
+ "data": {
20190
+ "type": "object",
20191
+ "properties": {
20192
+ "expression": {
20193
+ "type": "string"
20194
+ }
20195
+ },
20196
+ "required": [
20197
+ "expression"
20198
+ ]
20199
+ }
20200
+ },
20201
+ "required": [
20202
+ "object",
20203
+ "type",
20204
+ "nodes",
20205
+ "data"
20206
+ ]
20207
+ },
20037
20208
  "Length": {
20038
20209
  "oneOf": [
20039
20210
  {
@@ -21560,6 +21731,9 @@
21560
21731
  {
21561
21732
  "$ref": "#/components/schemas/DocumentBlockHint"
21562
21733
  },
21734
+ {
21735
+ "$ref": "#/components/schemas/DocumentBlockIf"
21736
+ },
21563
21737
  {
21564
21738
  "$ref": "#/components/schemas/DocumentBlockImages"
21565
21739
  },
@@ -21747,70 +21921,6 @@
21747
21921
  "isVoid"
21748
21922
  ]
21749
21923
  },
21750
- "DocumentBlocksTopLevels": {
21751
- "oneOf": [
21752
- {
21753
- "$ref": "#/components/schemas/DocumentBlocksEssentials"
21754
- },
21755
- {
21756
- "$ref": "#/components/schemas/DocumentBlockQuote"
21757
- },
21758
- {
21759
- "$ref": "#/components/schemas/DocumentBlockHint"
21760
- },
21761
- {
21762
- "$ref": "#/components/schemas/DocumentBlockImages"
21763
- },
21764
- {
21765
- "$ref": "#/components/schemas/DocumentBlockFile"
21766
- },
21767
- {
21768
- "$ref": "#/components/schemas/DocumentBlockDrawing"
21769
- },
21770
- {
21771
- "$ref": "#/components/schemas/DocumentBlockEmbed"
21772
- },
21773
- {
21774
- "$ref": "#/components/schemas/DocumentBlockCode"
21775
- },
21776
- {
21777
- "$ref": "#/components/schemas/DocumentBlockMath"
21778
- },
21779
- {
21780
- "$ref": "#/components/schemas/DocumentBlockExpandable"
21781
- },
21782
- {
21783
- "$ref": "#/components/schemas/DocumentBlockTabs"
21784
- },
21785
- {
21786
- "$ref": "#/components/schemas/DocumentBlockTable"
21787
- },
21788
- {
21789
- "$ref": "#/components/schemas/DocumentBlockOpenAPI"
21790
- },
21791
- {
21792
- "$ref": "#/components/schemas/DocumentBlockOpenAPIOperation"
21793
- },
21794
- {
21795
- "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
21796
- },
21797
- {
21798
- "$ref": "#/components/schemas/DocumentBlockOpenAPIWebhook"
21799
- },
21800
- {
21801
- "$ref": "#/components/schemas/DocumentBlockContentRef"
21802
- },
21803
- {
21804
- "$ref": "#/components/schemas/DocumentBlockIntegration"
21805
- },
21806
- {
21807
- "$ref": "#/components/schemas/DocumentBlockReusableContent"
21808
- },
21809
- {
21810
- "$ref": "#/components/schemas/DocumentBlockStepper"
21811
- }
21812
- ]
21813
- },
21814
21924
  "JSONDocument": {
21815
21925
  "type": "object",
21816
21926
  "properties": {
@@ -22156,127 +22266,63 @@
22156
22266
  }
22157
22267
  ]
22158
22268
  },
22159
- "ComputedContentDependencySpace": {
22160
- "type": "object",
22161
- "properties": {
22162
- "ref": {
22163
- "$ref": "#/components/schemas/ContentRefSpace"
22164
- },
22165
- "value": {
22166
- "type": "object",
22167
- "nullable": true,
22168
- "description": "See `Space` schema component.",
22169
- "properties": {
22170
- "object": {
22171
- "type": "string",
22172
- "enum": [
22173
- "space"
22174
- ]
22175
- },
22176
- "id": {
22177
- "type": "string"
22178
- },
22179
- "revision": {
22180
- "type": "string"
22181
- }
22182
- },
22183
- "required": [
22184
- "object",
22185
- "id",
22186
- "revision"
22187
- ]
22188
- }
22189
- },
22190
- "required": [
22191
- "ref",
22192
- "value"
22193
- ]
22194
- },
22195
- "TranslationLanguage": {
22196
- "type": "string",
22197
- "enum": [
22198
- "en",
22199
- "fr",
22200
- "de",
22201
- "es",
22202
- "it",
22203
- "pt",
22204
- "ru",
22205
- "ja",
22206
- "zh",
22207
- "ko",
22208
- "ar",
22209
- "hi",
22210
- "nl",
22211
- "pl",
22212
- "tr",
22213
- "sv",
22214
- "no",
22215
- "da",
22216
- "fi",
22217
- "el",
22218
- "cs",
22219
- "hu",
22220
- "ro",
22221
- "th",
22222
- "vi",
22223
- "id",
22224
- "ms",
22225
- "he",
22226
- "uk",
22227
- "sk",
22228
- "bg",
22229
- "hr",
22230
- "lt",
22231
- "lv",
22232
- "et",
22233
- "sl"
22234
- ]
22235
- },
22236
- "TranslationLanguageRef": {
22269
+ "TranslationRef": {
22237
22270
  "type": "object",
22238
22271
  "properties": {
22239
22272
  "kind": {
22240
22273
  "type": "string",
22241
22274
  "enum": [
22242
- "translation-language"
22275
+ "translation"
22243
22276
  ]
22244
22277
  },
22245
- "translationSettings": {
22278
+ "translation": {
22246
22279
  "type": "string",
22247
- "description": "ID of the translation settings"
22248
- },
22249
- "language": {
22250
- "$ref": "#/components/schemas/TranslationLanguage"
22280
+ "description": "ID of the translation sync"
22251
22281
  }
22252
22282
  },
22253
22283
  "required": [
22254
22284
  "kind",
22255
- "translationSettings",
22256
- "language"
22285
+ "translation"
22257
22286
  ]
22258
22287
  },
22259
- "TranslationParameters": {
22288
+ "TranslationResult": {
22260
22289
  "type": "object",
22261
- "description": "Compiled parameters for the translation",
22290
+ "description": "Result of a translation.",
22262
22291
  "properties": {
22263
- "instructions": {
22292
+ "space": {
22293
+ "type": "string",
22294
+ "description": "ID of the space containing the result of the translation"
22295
+ },
22296
+ "revision": {
22264
22297
  "type": "string",
22265
- "description": "Instructions for the translation, formatted as markdown"
22298
+ "description": "ID of the revision generated by the translation"
22266
22299
  }
22267
22300
  },
22268
22301
  "required": [
22269
- "instructions"
22302
+ "space",
22303
+ "revision"
22270
22304
  ]
22271
22305
  },
22272
22306
  "ComputedContentDependencyTranslation": {
22273
22307
  "type": "object",
22274
22308
  "properties": {
22275
22309
  "ref": {
22276
- "$ref": "#/components/schemas/TranslationLanguageRef"
22310
+ "$ref": "#/components/schemas/TranslationRef"
22277
22311
  },
22278
22312
  "value": {
22279
- "$ref": "#/components/schemas/TranslationParameters"
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
+ ]
22280
22326
  }
22281
22327
  },
22282
22328
  "required": [
@@ -22284,9 +22330,9 @@
22284
22330
  "value"
22285
22331
  ]
22286
22332
  },
22287
- "ComputedContentSourceTranslationBase": {
22333
+ "ComputedContentSourceRevisionTranslation": {
22288
22334
  "type": "object",
22289
- "description": "Generic parameters from a translation computed content source",
22335
+ "description": "Parameters for a translation computed content source",
22290
22336
  "properties": {
22291
22337
  "type": {
22292
22338
  "type": "string",
@@ -22294,33 +22340,18 @@
22294
22340
  "builtin:translation"
22295
22341
  ]
22296
22342
  },
22343
+ "props": {
22344
+ "type": "object",
22345
+ "additionalProperties": false,
22346
+ "properties": {}
22347
+ },
22297
22348
  "dependencies": {
22298
22349
  "type": "object",
22299
22350
  "required": [
22300
- "source",
22301
- "settings"
22351
+ "translation"
22302
22352
  ],
22303
22353
  "properties": {
22304
- "source": {
22305
- "oneOf": [
22306
- {
22307
- "type": "object",
22308
- "additionalProperties": false,
22309
- "required": [
22310
- "ref"
22311
- ],
22312
- "properties": {
22313
- "ref": {
22314
- "$ref": "#/components/schemas/ContentRefSpace"
22315
- }
22316
- }
22317
- },
22318
- {
22319
- "$ref": "#/components/schemas/ComputedContentDependencySpace"
22320
- }
22321
- ]
22322
- },
22323
- "settings": {
22354
+ "translation": {
22324
22355
  "oneOf": [
22325
22356
  {
22326
22357
  "type": "object",
@@ -22330,7 +22361,7 @@
22330
22361
  ],
22331
22362
  "properties": {
22332
22363
  "ref": {
22333
- "$ref": "#/components/schemas/TranslationLanguageRef"
22364
+ "$ref": "#/components/schemas/TranslationRef"
22334
22365
  }
22335
22366
  }
22336
22367
  },
@@ -22344,35 +22375,10 @@
22344
22375
  },
22345
22376
  "required": [
22346
22377
  "type",
22378
+ "props",
22347
22379
  "dependencies"
22348
22380
  ]
22349
22381
  },
22350
- "ComputedContentSourceRevisionTranslation": {
22351
- "allOf": [
22352
- {
22353
- "$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
22354
- },
22355
- {
22356
- "type": "object",
22357
- "required": [
22358
- "props"
22359
- ],
22360
- "properties": {
22361
- "props": {
22362
- "type": "object",
22363
- "required": [
22364
- "sourceLanguage"
22365
- ],
22366
- "properties": {
22367
- "sourceLanguage": {
22368
- "$ref": "#/components/schemas/TranslationLanguage"
22369
- }
22370
- }
22371
- }
22372
- }
22373
- }
22374
- ]
22375
- },
22376
22382
  "ComputedContentDependency": {
22377
22383
  "type": "object",
22378
22384
  "description": "Dependency for a computation, before its resolution.",
@@ -22387,7 +22393,7 @@
22387
22393
  "$ref": "#/components/schemas/ContentRefOpenAPI"
22388
22394
  },
22389
22395
  {
22390
- "$ref": "#/components/schemas/TranslationLanguageRef"
22396
+ "$ref": "#/components/schemas/TranslationRef"
22391
22397
  }
22392
22398
  ]
22393
22399
  }
@@ -22396,6 +22402,42 @@
22396
22402
  "ref"
22397
22403
  ]
22398
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
+ },
22399
22441
  "ComputedContentDependencyResolved": {
22400
22442
  "description": "Dependency for a computation, with its resolved value.",
22401
22443
  "oneOf": [
@@ -22547,8 +22589,23 @@
22547
22589
  "pagination": {
22548
22590
  "type": "boolean",
22549
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?"
22550
22596
  }
22551
- }
22597
+ },
22598
+ "required": [
22599
+ "width",
22600
+ "cover",
22601
+ "coverSize",
22602
+ "title",
22603
+ "description",
22604
+ "tableOfContents",
22605
+ "outline",
22606
+ "pagination",
22607
+ "metadata"
22608
+ ]
22552
22609
  },
22553
22610
  "RevisionPageDocumentCover": {
22554
22611
  "type": "object",
@@ -22660,34 +22717,35 @@
22660
22717
  ]
22661
22718
  },
22662
22719
  "ComputedContentSourceDocumentTranslation": {
22663
- "allOf": [
22664
- {
22665
- "$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
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
+ ]
22666
22732
  },
22667
- {
22733
+ "props": {
22668
22734
  "type": "object",
22669
22735
  "required": [
22670
- "props"
22736
+ "space",
22737
+ "document"
22671
22738
  ],
22672
22739
  "properties": {
22673
- "props": {
22674
- "type": "object",
22675
- "required": [
22676
- "document",
22677
- "sourceLanguage"
22678
- ],
22679
- "properties": {
22680
- "document": {
22681
- "type": "string"
22682
- },
22683
- "sourceLanguage": {
22684
- "$ref": "#/components/schemas/TranslationLanguage"
22685
- }
22686
- }
22740
+ "space": {
22741
+ "type": "string"
22742
+ },
22743
+ "document": {
22744
+ "type": "string"
22687
22745
  }
22688
22746
  }
22689
22747
  }
22690
- ]
22748
+ }
22691
22749
  },
22692
22750
  "ComputedContentSourceDocument": {
22693
22751
  "oneOf": [
@@ -23272,6 +23330,18 @@
23272
23330
  }
23273
23331
  }
23274
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
+ },
23275
23345
  "OrganizationTitle": {
23276
23346
  "type": "string",
23277
23347
  "description": "Name of the organization",
@@ -23368,6 +23438,70 @@
23368
23438
  "yearly"
23369
23439
  ]
23370
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
+ },
23371
23505
  "OrganizationBilling": {
23372
23506
  "type": "object",
23373
23507
  "properties": {
@@ -23385,13 +23519,18 @@
23385
23519
  "isScheduledToCancel": {
23386
23520
  "description": "If true, the billing is set to cancel at the end of its current period",
23387
23521
  "type": "boolean"
23522
+ },
23523
+ "pricing": {
23524
+ "description": "Pricing information for the organization",
23525
+ "$ref": "#/components/schemas/OrganizationPricing"
23388
23526
  }
23389
23527
  },
23390
23528
  "required": [
23391
23529
  "interval",
23392
23530
  "endDate",
23393
23531
  "hasPaymentFailed",
23394
- "isScheduledToCancel"
23532
+ "isScheduledToCancel",
23533
+ "pricing"
23395
23534
  ]
23396
23535
  },
23397
23536
  "BillingTrialStatus": {
@@ -24019,6 +24158,14 @@
24019
24158
  "complete"
24020
24159
  ]
24021
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
+ },
24022
24169
  "OpenAPISpecProcessingErrorCode": {
24023
24170
  "description": "OpenAPI processing error code",
24024
24171
  "enum": [
@@ -24058,6 +24205,9 @@
24058
24205
  "processingState": {
24059
24206
  "$ref": "#/components/schemas/OpenAPISpecProcessingState"
24060
24207
  },
24208
+ "visibility": {
24209
+ "$ref": "#/components/schemas/OpenAPISpecVisibility"
24210
+ },
24061
24211
  "lastVersion": {
24062
24212
  "type": "string",
24063
24213
  "description": "ID of the latest version of the OpenAPI specification"
@@ -24099,6 +24249,11 @@
24099
24249
  "app": {
24100
24250
  "description": "URL of the OpenAPI specification in the application",
24101
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"
24102
24257
  }
24103
24258
  },
24104
24259
  "required": [
@@ -27751,6 +27906,7 @@
27751
27906
  "sites-advanced-insights",
27752
27907
  "sites-ads",
27753
27908
  "sites-ai-search",
27909
+ "sites-ai-assistant",
27754
27910
  "sites-api-playground",
27755
27911
  "sites-basic-customization",
27756
27912
  "sites-custom-domain",
@@ -30097,48 +30253,6 @@
30097
30253
  "changes": {
30098
30254
  "$ref": "#/components/schemas/SubscriptionChanges"
30099
30255
  },
30100
- "exclude": {
30101
- "deprecated": true,
30102
- "type": "object",
30103
- "description": "Deprecated. Use `changes` instead.",
30104
- "minProperties": 1,
30105
- "properties": {
30106
- "members": {
30107
- "description": "A list of member identifiers to be removed, `all` to remove all members but the current admin",
30108
- "oneOf": [
30109
- {
30110
- "type": "array",
30111
- "items": {
30112
- "type": "string"
30113
- }
30114
- },
30115
- {
30116
- "type": "string",
30117
- "enum": [
30118
- "all"
30119
- ]
30120
- }
30121
- ]
30122
- },
30123
- "sites": {
30124
- "description": "A list of site identifiers to be unpublished, 'all' to unpublish all sites",
30125
- "oneOf": [
30126
- {
30127
- "type": "array",
30128
- "items": {
30129
- "type": "string"
30130
- }
30131
- },
30132
- {
30133
- "type": "string",
30134
- "enum": [
30135
- "all"
30136
- ]
30137
- }
30138
- ]
30139
- }
30140
- }
30141
- },
30142
30256
  "reason": {
30143
30257
  "type": "string",
30144
30258
  "description": "Reason that triggered the billing upgrade"
@@ -30447,6 +30561,49 @@
30447
30561
  "switch_interval"
30448
30562
  ]
30449
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
+ },
30450
30607
  "SearchSpaceResult": {
30451
30608
  "type": "object",
30452
30609
  "description": "Search result representing a space.",
@@ -30483,6 +30640,13 @@
30483
30640
  "parent": {
30484
30641
  "type": "string",
30485
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"
30486
30650
  }
30487
30651
  }
30488
30652
  },
@@ -31563,33 +31727,98 @@
31563
31727
  "urls"
31564
31728
  ]
31565
31729
  },
31566
- "TranslationTitle": {
31730
+ "TranslationStatus": {
31567
31731
  "type": "string",
31568
- "description": "Title of the translation settings",
31569
- "minLength": 1,
31570
- "maxLength": 100
31732
+ "enum": [
31733
+ "pending",
31734
+ "running",
31735
+ "completed"
31736
+ ]
31571
31737
  },
31572
- "TranslationSettings": {
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": {
31573
31796
  "type": "object",
31574
31797
  "properties": {
31575
31798
  "object": {
31576
31799
  "type": "string",
31577
31800
  "enum": [
31578
- "translation-settings"
31801
+ "translation"
31579
31802
  ]
31580
31803
  },
31581
31804
  "id": {
31582
31805
  "type": "string",
31583
- "description": "Unique identifier of the translation settings"
31806
+ "description": "Unique identifier of the translation sync"
31584
31807
  },
31585
- "title": {
31586
- "$ref": "#/components/schemas/TranslationTitle"
31808
+ "status": {
31809
+ "$ref": "#/components/schemas/TranslationStatus"
31587
31810
  },
31588
- "languages": {
31589
- "type": "array",
31590
- "items": {
31591
- "$ref": "#/components/schemas/TranslationLanguage"
31592
- }
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"
31593
31822
  },
31594
31823
  "createdAt": {
31595
31824
  "type": "string",
@@ -31599,6 +31828,48 @@
31599
31828
  "type": "string",
31600
31829
  "format": "date-time"
31601
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
+ },
31602
31873
  "permissions": {
31603
31874
  "type": "object",
31604
31875
  "properties": {
@@ -31634,37 +31905,58 @@
31634
31905
  "required": [
31635
31906
  "object",
31636
31907
  "id",
31637
- "title",
31638
- "languages",
31908
+ "status",
31909
+ "source",
31910
+ "language",
31911
+ "instructions",
31639
31912
  "createdAt",
31640
31913
  "updatedAt",
31914
+ "stats",
31641
31915
  "permissions",
31642
31916
  "urls"
31643
31917
  ]
31644
31918
  },
31645
- "TranslationLanguageSettings": {
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": {
31646
31930
  "type": "object",
31647
31931
  "properties": {
31648
31932
  "object": {
31649
31933
  "type": "string",
31650
31934
  "enum": [
31651
- "translation-language-settings"
31935
+ "glossary-entry"
31652
31936
  ]
31653
31937
  },
31654
- "language": {
31655
- "$ref": "#/components/schemas/TranslationLanguage"
31938
+ "id": {
31939
+ "type": "string",
31940
+ "description": "Unique identifier of the glossary entry"
31656
31941
  },
31657
- "instructions": {
31658
- "$ref": "#/components/schemas/JSONDocument"
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"
31659
31952
  },
31660
31953
  "urls": {
31661
31954
  "type": "object",
31662
- "description": "URLs associated with the object",
31663
31955
  "properties": {
31664
31956
  "location": {
31665
31957
  "type": "string",
31666
- "description": "URL of the translation language settings in the API",
31667
- "format": "uri"
31958
+ "format": "uri",
31959
+ "description": "URL of the glossary entry in the API"
31668
31960
  }
31669
31961
  },
31670
31962
  "required": [
@@ -31674,11 +31966,75 @@
31674
31966
  },
31675
31967
  "required": [
31676
31968
  "object",
31677
- "language",
31678
- "instructions",
31969
+ "id",
31970
+ "translations",
31971
+ "createdAt",
31972
+ "updatedAt",
31679
31973
  "urls"
31680
31974
  ]
31681
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
+ },
31682
32038
  "StorageFileMetadata": {
31683
32039
  "type": "object",
31684
32040
  "properties": {
@@ -31904,7 +32260,7 @@
31904
32260
  }
31905
32261
  ]
31906
32262
  },
31907
- "SiteAdaptiveJSONSchemaClaimsProperties": {
32263
+ "SiteAdaptiveDeterministicJSONSchemaPrimitives": {
31908
32264
  "oneOf": [
31909
32265
  {
31910
32266
  "type": "object",
@@ -31950,6 +32306,81 @@
31950
32306
  "description"
31951
32307
  ],
31952
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
31953
32384
  },
31954
32385
  {
31955
32386
  "type": "object",
@@ -31996,9 +32427,6 @@
31996
32427
  "http://json-schema.org/draft-07/schema#"
31997
32428
  ]
31998
32429
  },
31999
- "$id": {
32000
- "type": "string"
32001
- },
32002
32430
  "type": {
32003
32431
  "type": "string",
32004
32432
  "enum": [
@@ -32198,6 +32626,29 @@
32198
32626
  }
32199
32627
  ]
32200
32628
  },
32629
+ "CustomizationDefaultMonospaceFont": {
32630
+ "type": "string",
32631
+ "enum": [
32632
+ "FiraCode",
32633
+ "IBMPlexMono",
32634
+ "JetBrainsMono",
32635
+ "SourceCodePro",
32636
+ "RobotoMono",
32637
+ "SpaceMono",
32638
+ "DMMono",
32639
+ "Inconsolata"
32640
+ ]
32641
+ },
32642
+ "CustomizationMonospaceFont": {
32643
+ "oneOf": [
32644
+ {
32645
+ "$ref": "#/components/schemas/CustomizationDefaultMonospaceFont"
32646
+ },
32647
+ {
32648
+ "$ref": "#/components/schemas/CustomizationFontDefinitionInput"
32649
+ }
32650
+ ]
32651
+ },
32201
32652
  "CustomizationBackground": {
32202
32653
  "type": "string",
32203
32654
  "enum": [
@@ -32395,6 +32846,14 @@
32395
32846
  "dark"
32396
32847
  ]
32397
32848
  },
32849
+ "CustomizationAIMode": {
32850
+ "type": "string",
32851
+ "enum": [
32852
+ "none",
32853
+ "search",
32854
+ "assistant"
32855
+ ]
32856
+ },
32398
32857
  "SiteExternalLinksTarget": {
32399
32858
  "type": "string",
32400
32859
  "description": "How external links should open when clicked.\n- `self`: External links open in the current tab.\n- `blank`: External links open in a new browser tab.\n",
@@ -32446,6 +32905,9 @@
32446
32905
  "font": {
32447
32906
  "$ref": "#/components/schemas/CustomizationFont"
32448
32907
  },
32908
+ "monospaceFont": {
32909
+ "$ref": "#/components/schemas/CustomizationMonospaceFont"
32910
+ },
32449
32911
  "background": {
32450
32912
  "deprecated": true,
32451
32913
  "$ref": "#/components/schemas/CustomizationBackground"
@@ -32483,6 +32945,7 @@
32483
32945
  "depth",
32484
32946
  "links",
32485
32947
  "font",
32948
+ "monospaceFont",
32486
32949
  "background",
32487
32950
  "icons",
32488
32951
  "sidebar",
@@ -32599,22 +33062,17 @@
32599
33062
  "enabled"
32600
33063
  ]
32601
33064
  },
32602
- "aiSearch": {
33065
+ "ai": {
32603
33066
  "type": "object",
32604
33067
  "properties": {
32605
- "enabled": {
32606
- "type": "boolean",
32607
- "description": "If true, AI search is enabled"
33068
+ "mode": {
33069
+ "$ref": "#/components/schemas/CustomizationAIMode"
32608
33070
  }
32609
33071
  },
32610
33072
  "required": [
32611
- "enabled"
33073
+ "mode"
32612
33074
  ]
32613
33075
  },
32614
- "ai": {
32615
- "type": "object",
32616
- "properties": {}
32617
- },
32618
33076
  "advancedCustomization": {
32619
33077
  "type": "object",
32620
33078
  "properties": {
@@ -32639,6 +33097,23 @@
32639
33097
  "showEditLink"
32640
33098
  ]
32641
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
+ },
32642
33117
  "externalLinks": {
32643
33118
  "type": "object",
32644
33119
  "properties": {
@@ -32713,11 +33188,12 @@
32713
33188
  "themes",
32714
33189
  "pdf",
32715
33190
  "feedback",
32716
- "aiSearch",
33191
+ "ai",
32717
33192
  "advancedCustomization",
32718
33193
  "trademark",
32719
33194
  "externalLinks",
32720
33195
  "pagination",
33196
+ "pageActions",
32721
33197
  "git",
32722
33198
  "privacyPolicy",
32723
33199
  "socialPreview",
@@ -34216,6 +34692,45 @@
34216
34692
  }
34217
34693
  ]
34218
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
+ },
34219
34734
  "SiteInsightsLinkPosition": {
34220
34735
  "type": "string",
34221
34736
  "enum": [
@@ -34445,6 +34960,9 @@
34445
34960
  {
34446
34961
  "$ref": "#/components/schemas/SiteInsightsEventAskQuestion"
34447
34962
  },
34963
+ {
34964
+ "$ref": "#/components/schemas/SiteInsightsEventAskRateResponse"
34965
+ },
34448
34966
  {
34449
34967
  "$ref": "#/components/schemas/SiteInsightsEventLinkClick"
34450
34968
  },
@@ -34848,6 +35366,20 @@
34848
35366
  }
34849
35367
  }
34850
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
+ },
34851
35383
  {
34852
35384
  "type": "object",
34853
35385
  "required": [
@@ -34862,6 +35394,20 @@
34862
35394
  }
34863
35395
  }
34864
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
+ },
34865
35411
  {
34866
35412
  "type": "object",
34867
35413
  "required": [
@@ -35046,6 +35592,7 @@
35046
35592
  "page_post_feedback",
35047
35593
  "page_post_feedback_comment",
35048
35594
  "ask_question",
35595
+ "ask_rate_response",
35049
35596
  "link_click",
35050
35597
  "api_client_open",
35051
35598
  "api_client_request",
@@ -35758,6 +36305,39 @@
35758
36305
  }
35759
36306
  }
35760
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
+ },
35761
36341
  {
35762
36342
  "type": "object",
35763
36343
  "required": [
@@ -35779,6 +36359,27 @@
35779
36359
  }
35780
36360
  }
35781
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
+ },
35782
36383
  {
35783
36384
  "type": "object",
35784
36385
  "required": [
@@ -36959,15 +37560,15 @@
36959
37560
  },
36960
37561
  "pathname": {
36961
37562
  "type": "string",
36962
- "description": "Path of the content relative to the space"
37563
+ "description": "Path of the content relative to the input URL being resolved"
36963
37564
  },
36964
37565
  "basePath": {
36965
37566
  "type": "string",
36966
- "description": "Prefix of the path in the URL dedicated to the space"
37567
+ "description": "Prefix of the path in the input URL being resolved"
36967
37568
  },
36968
37569
  "siteBasePath": {
36969
37570
  "type": "string",
36970
- "description": "Prefix of the path in the URL dedicated to the site"
37571
+ "description": "Prefix of the site path in the input URL being resolved"
36971
37572
  },
36972
37573
  "apiToken": {
36973
37574
  "type": "string",
@@ -37215,6 +37816,89 @@
37215
37816
  "gitbook:agent"
37216
37817
  ]
37217
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
+ },
37218
37902
  "ComputedContentSource": {
37219
37903
  "oneOf": [
37220
37904
  {
@@ -38474,14 +39158,33 @@
38474
39158
  "organization"
38475
39159
  ]
38476
39160
  },
38477
- "OrganizationTranslationSettingsChannel": {
39161
+ "OrganizationTranslationsChannel": {
38478
39162
  "type": "object",
38479
- "description": "Subscription channel for changes in translation settings in an organization.",
39163
+ "description": "Subscription channel for changes in translations in an organization.",
38480
39164
  "properties": {
38481
39165
  "channel": {
38482
39166
  "type": "string",
38483
39167
  "enum": [
38484
- "organization-translation-settings"
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"
38485
39188
  ]
38486
39189
  },
38487
39190
  "organization": {
@@ -39068,24 +39771,6 @@
39068
39771
  "customHostname"
39069
39772
  ]
39070
39773
  },
39071
- "GitSyncSettingsChannel": {
39072
- "type": "object",
39073
- "properties": {
39074
- "channel": {
39075
- "type": "string",
39076
- "enum": [
39077
- "space-gitsync-settings"
39078
- ]
39079
- },
39080
- "space": {
39081
- "type": "string"
39082
- }
39083
- },
39084
- "required": [
39085
- "channel",
39086
- "space"
39087
- ]
39088
- },
39089
39774
  "GitSyncOperationChannel": {
39090
39775
  "type": "object",
39091
39776
  "properties": {
@@ -39141,13 +39826,13 @@
39141
39826
  "subdomain"
39142
39827
  ]
39143
39828
  },
39144
- "TranslationSettingsChannel": {
39829
+ "TranslationChannel": {
39145
39830
  "type": "object",
39146
39831
  "properties": {
39147
39832
  "channel": {
39148
39833
  "type": "string",
39149
39834
  "enum": [
39150
- "translation-settings"
39835
+ "translation"
39151
39836
  ]
39152
39837
  },
39153
39838
  "translation": {
@@ -39304,7 +39989,10 @@
39304
39989
  "$ref": "#/components/schemas/OrganizationOpenAPISpecsChannel"
39305
39990
  },
39306
39991
  {
39307
- "$ref": "#/components/schemas/OrganizationTranslationSettingsChannel"
39992
+ "$ref": "#/components/schemas/OrganizationTranslationsChannel"
39993
+ },
39994
+ {
39995
+ "$ref": "#/components/schemas/OrganizationTranslationsGlossaryChannel"
39308
39996
  },
39309
39997
  {
39310
39998
  "$ref": "#/components/schemas/OrganizationCustomFontsChannel"
@@ -39390,9 +40078,6 @@
39390
40078
  {
39391
40079
  "$ref": "#/components/schemas/CustomHostnameChannel"
39392
40080
  },
39393
- {
39394
- "$ref": "#/components/schemas/GitSyncSettingsChannel"
39395
- },
39396
40081
  {
39397
40082
  "$ref": "#/components/schemas/GitSyncOperationChannel"
39398
40083
  },
@@ -39403,7 +40088,7 @@
39403
40088
  "$ref": "#/components/schemas/SubdomainChannel"
39404
40089
  },
39405
40090
  {
39406
- "$ref": "#/components/schemas/TranslationSettingsChannel"
40091
+ "$ref": "#/components/schemas/TranslationChannel"
39407
40092
  },
39408
40093
  {
39409
40094
  "$ref": "#/components/schemas/AgentTaskChannel"
@@ -39576,6 +40261,46 @@
39576
40261
  "propertyName": "channel"
39577
40262
  }
39578
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
+ },
39579
40304
  "SiteAdsStatus": {
39580
40305
  "type": "string",
39581
40306
  "description": "The status of ads on the site",
@@ -39885,6 +40610,9 @@
39885
40610
  "SpaceVisitorAuthIntegrationBackend": {
39886
40611
  "$ref": "#/components/schemas/VisitorAuthIntegrationBackend"
39887
40612
  },
40613
+ "ApplyTemplate": {
40614
+ "$ref": "#/components/schemas/ApplySpaceTemplate"
40615
+ },
39888
40616
  "UserPermissions": {
39889
40617
  "$ref": "#/components/schemas/_index"
39890
40618
  },