@gitbook/api 0.105.0 → 0.107.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 +419 -48
- package/dist/index.cjs +131 -3
- package/dist/index.js +129 -2
- package/package.json +1 -1
- package/spec/openapi.json +1280 -124
- package/spec/openapi.yaml +821 -123
package/spec/openapi.json
CHANGED
|
@@ -119,6 +119,11 @@
|
|
|
119
119
|
"x-page-title": "Custom hostnames",
|
|
120
120
|
"x-page-description": "Configure and manage custom hostnames for your docs sites."
|
|
121
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"name": "email-domains",
|
|
124
|
+
"x-page-title": "Email domains",
|
|
125
|
+
"x-page-description": "Configure and manage email domains for organizations."
|
|
126
|
+
},
|
|
122
127
|
{
|
|
123
128
|
"name": "ads",
|
|
124
129
|
"x-page-title": "Ads",
|
|
@@ -1852,7 +1857,7 @@
|
|
|
1852
1857
|
"type": "object",
|
|
1853
1858
|
"properties": {
|
|
1854
1859
|
"source": {
|
|
1855
|
-
"$ref": "#/components/schemas/
|
|
1860
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
1856
1861
|
},
|
|
1857
1862
|
"seed": {
|
|
1858
1863
|
"type": "string",
|
|
@@ -1909,7 +1914,7 @@
|
|
|
1909
1914
|
"type": "object",
|
|
1910
1915
|
"properties": {
|
|
1911
1916
|
"source": {
|
|
1912
|
-
"$ref": "#/components/schemas/
|
|
1917
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
1913
1918
|
},
|
|
1914
1919
|
"seed": {
|
|
1915
1920
|
"type": "string",
|
|
@@ -10210,6 +10215,63 @@
|
|
|
10210
10215
|
"$ref": "#/components/responses/UnexpectedError"
|
|
10211
10216
|
}
|
|
10212
10217
|
}
|
|
10218
|
+
},
|
|
10219
|
+
"post": {
|
|
10220
|
+
"operationId": "createOpenAPISpec",
|
|
10221
|
+
"summary": "Create an organization OpenAPI specification",
|
|
10222
|
+
"tags": [
|
|
10223
|
+
"openapi"
|
|
10224
|
+
],
|
|
10225
|
+
"security": [
|
|
10226
|
+
{
|
|
10227
|
+
"user": []
|
|
10228
|
+
}
|
|
10229
|
+
],
|
|
10230
|
+
"parameters": [
|
|
10231
|
+
{
|
|
10232
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10233
|
+
}
|
|
10234
|
+
],
|
|
10235
|
+
"requestBody": {
|
|
10236
|
+
"required": true,
|
|
10237
|
+
"content": {
|
|
10238
|
+
"application/json": {
|
|
10239
|
+
"schema": {
|
|
10240
|
+
"type": "object",
|
|
10241
|
+
"properties": {
|
|
10242
|
+
"slug": {
|
|
10243
|
+
"$ref": "#/components/schemas/OpenAPISpecSlug"
|
|
10244
|
+
},
|
|
10245
|
+
"source": {
|
|
10246
|
+
"$ref": "#/components/schemas/OpenAPISpecSource"
|
|
10247
|
+
}
|
|
10248
|
+
},
|
|
10249
|
+
"required": [
|
|
10250
|
+
"source",
|
|
10251
|
+
"slug"
|
|
10252
|
+
]
|
|
10253
|
+
}
|
|
10254
|
+
}
|
|
10255
|
+
}
|
|
10256
|
+
},
|
|
10257
|
+
"responses": {
|
|
10258
|
+
"201": {
|
|
10259
|
+
"description": "OpenAPI specification has been created",
|
|
10260
|
+
"content": {
|
|
10261
|
+
"application/json": {
|
|
10262
|
+
"schema": {
|
|
10263
|
+
"$ref": "#/components/schemas/OpenAPISpec"
|
|
10264
|
+
}
|
|
10265
|
+
}
|
|
10266
|
+
}
|
|
10267
|
+
},
|
|
10268
|
+
"400": {
|
|
10269
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10270
|
+
},
|
|
10271
|
+
"default": {
|
|
10272
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10273
|
+
}
|
|
10274
|
+
}
|
|
10213
10275
|
}
|
|
10214
10276
|
},
|
|
10215
10277
|
"/orgs/{organizationId}/openapi/{specSlug}": {
|
|
@@ -10279,34 +10341,7 @@
|
|
|
10279
10341
|
"type": "object",
|
|
10280
10342
|
"properties": {
|
|
10281
10343
|
"source": {
|
|
10282
|
-
"
|
|
10283
|
-
{
|
|
10284
|
-
"description": "Create a specification from an URL",
|
|
10285
|
-
"type": "object",
|
|
10286
|
-
"properties": {
|
|
10287
|
-
"url": {
|
|
10288
|
-
"$ref": "#/components/schemas/URL"
|
|
10289
|
-
}
|
|
10290
|
-
},
|
|
10291
|
-
"required": [
|
|
10292
|
-
"url"
|
|
10293
|
-
]
|
|
10294
|
-
},
|
|
10295
|
-
{
|
|
10296
|
-
"description": "Create a specification from a text string",
|
|
10297
|
-
"type": "object",
|
|
10298
|
-
"properties": {
|
|
10299
|
-
"text": {
|
|
10300
|
-
"description": "OpenAPI specification as text",
|
|
10301
|
-
"type": "string",
|
|
10302
|
-
"minLength": 1
|
|
10303
|
-
}
|
|
10304
|
-
},
|
|
10305
|
-
"required": [
|
|
10306
|
-
"text"
|
|
10307
|
-
]
|
|
10308
|
-
}
|
|
10309
|
-
]
|
|
10344
|
+
"$ref": "#/components/schemas/OpenAPISpecSource"
|
|
10310
10345
|
}
|
|
10311
10346
|
},
|
|
10312
10347
|
"required": [
|
|
@@ -10609,6 +10644,461 @@
|
|
|
10609
10644
|
}
|
|
10610
10645
|
}
|
|
10611
10646
|
},
|
|
10647
|
+
"/orgs/{organizationId}/translations": {
|
|
10648
|
+
"get": {
|
|
10649
|
+
"operationId": "listTranslationSettings",
|
|
10650
|
+
"summary": "List all the translation settings in the organization",
|
|
10651
|
+
"tags": [
|
|
10652
|
+
"translations"
|
|
10653
|
+
],
|
|
10654
|
+
"security": [
|
|
10655
|
+
{
|
|
10656
|
+
"user": []
|
|
10657
|
+
}
|
|
10658
|
+
],
|
|
10659
|
+
"parameters": [
|
|
10660
|
+
{
|
|
10661
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10662
|
+
},
|
|
10663
|
+
{
|
|
10664
|
+
"$ref": "#/components/parameters/listPage"
|
|
10665
|
+
},
|
|
10666
|
+
{
|
|
10667
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10668
|
+
}
|
|
10669
|
+
],
|
|
10670
|
+
"responses": {
|
|
10671
|
+
"200": {
|
|
10672
|
+
"description": "OK",
|
|
10673
|
+
"content": {
|
|
10674
|
+
"application/json": {
|
|
10675
|
+
"schema": {
|
|
10676
|
+
"allOf": [
|
|
10677
|
+
{
|
|
10678
|
+
"$ref": "#/components/schemas/List"
|
|
10679
|
+
},
|
|
10680
|
+
{
|
|
10681
|
+
"type": "object",
|
|
10682
|
+
"required": [
|
|
10683
|
+
"items"
|
|
10684
|
+
],
|
|
10685
|
+
"properties": {
|
|
10686
|
+
"items": {
|
|
10687
|
+
"type": "array",
|
|
10688
|
+
"items": {
|
|
10689
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10690
|
+
}
|
|
10691
|
+
}
|
|
10692
|
+
}
|
|
10693
|
+
}
|
|
10694
|
+
]
|
|
10695
|
+
}
|
|
10696
|
+
}
|
|
10697
|
+
}
|
|
10698
|
+
},
|
|
10699
|
+
"default": {
|
|
10700
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10701
|
+
}
|
|
10702
|
+
}
|
|
10703
|
+
},
|
|
10704
|
+
"post": {
|
|
10705
|
+
"operationId": "createTranslationSettings",
|
|
10706
|
+
"summary": "Create translation settings in the organization",
|
|
10707
|
+
"tags": [
|
|
10708
|
+
"translations"
|
|
10709
|
+
],
|
|
10710
|
+
"security": [
|
|
10711
|
+
{
|
|
10712
|
+
"user": []
|
|
10713
|
+
}
|
|
10714
|
+
],
|
|
10715
|
+
"parameters": [
|
|
10716
|
+
{
|
|
10717
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10718
|
+
}
|
|
10719
|
+
],
|
|
10720
|
+
"requestBody": {
|
|
10721
|
+
"required": true,
|
|
10722
|
+
"content": {
|
|
10723
|
+
"application/json": {
|
|
10724
|
+
"schema": {
|
|
10725
|
+
"type": "object",
|
|
10726
|
+
"properties": {
|
|
10727
|
+
"title": {
|
|
10728
|
+
"type": "string",
|
|
10729
|
+
"description": "The title of the translation settings"
|
|
10730
|
+
}
|
|
10731
|
+
},
|
|
10732
|
+
"required": [
|
|
10733
|
+
"title"
|
|
10734
|
+
]
|
|
10735
|
+
}
|
|
10736
|
+
}
|
|
10737
|
+
}
|
|
10738
|
+
},
|
|
10739
|
+
"responses": {
|
|
10740
|
+
"201": {
|
|
10741
|
+
"description": "Translation settings has been created",
|
|
10742
|
+
"content": {
|
|
10743
|
+
"application/json": {
|
|
10744
|
+
"schema": {
|
|
10745
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10746
|
+
}
|
|
10747
|
+
}
|
|
10748
|
+
}
|
|
10749
|
+
},
|
|
10750
|
+
"400": {
|
|
10751
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10752
|
+
},
|
|
10753
|
+
"default": {
|
|
10754
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10755
|
+
}
|
|
10756
|
+
}
|
|
10757
|
+
}
|
|
10758
|
+
},
|
|
10759
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}": {
|
|
10760
|
+
"get": {
|
|
10761
|
+
"operationId": "getTranslationSettings",
|
|
10762
|
+
"summary": "Get an organization translation settings by its id",
|
|
10763
|
+
"tags": [
|
|
10764
|
+
"translations"
|
|
10765
|
+
],
|
|
10766
|
+
"security": [
|
|
10767
|
+
{
|
|
10768
|
+
"user": []
|
|
10769
|
+
}
|
|
10770
|
+
],
|
|
10771
|
+
"parameters": [
|
|
10772
|
+
{
|
|
10773
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10774
|
+
},
|
|
10775
|
+
{
|
|
10776
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10777
|
+
}
|
|
10778
|
+
],
|
|
10779
|
+
"responses": {
|
|
10780
|
+
"200": {
|
|
10781
|
+
"description": "OK",
|
|
10782
|
+
"content": {
|
|
10783
|
+
"application/json": {
|
|
10784
|
+
"schema": {
|
|
10785
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10786
|
+
}
|
|
10787
|
+
}
|
|
10788
|
+
}
|
|
10789
|
+
},
|
|
10790
|
+
"404": {
|
|
10791
|
+
"description": "No matching translation settings found",
|
|
10792
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10793
|
+
},
|
|
10794
|
+
"default": {
|
|
10795
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10796
|
+
}
|
|
10797
|
+
}
|
|
10798
|
+
},
|
|
10799
|
+
"put": {
|
|
10800
|
+
"operationId": "updateTranslationSettings",
|
|
10801
|
+
"summary": "Update an organization translation settings by its id",
|
|
10802
|
+
"tags": [
|
|
10803
|
+
"translations"
|
|
10804
|
+
],
|
|
10805
|
+
"security": [
|
|
10806
|
+
{
|
|
10807
|
+
"user": []
|
|
10808
|
+
}
|
|
10809
|
+
],
|
|
10810
|
+
"parameters": [
|
|
10811
|
+
{
|
|
10812
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10813
|
+
},
|
|
10814
|
+
{
|
|
10815
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10816
|
+
}
|
|
10817
|
+
],
|
|
10818
|
+
"requestBody": {
|
|
10819
|
+
"required": true,
|
|
10820
|
+
"content": {
|
|
10821
|
+
"application/json": {
|
|
10822
|
+
"schema": {
|
|
10823
|
+
"type": "object",
|
|
10824
|
+
"properties": {
|
|
10825
|
+
"title": {
|
|
10826
|
+
"type": "string",
|
|
10827
|
+
"description": "The title of the translation settings"
|
|
10828
|
+
}
|
|
10829
|
+
},
|
|
10830
|
+
"required": [
|
|
10831
|
+
"title"
|
|
10832
|
+
]
|
|
10833
|
+
}
|
|
10834
|
+
}
|
|
10835
|
+
}
|
|
10836
|
+
},
|
|
10837
|
+
"responses": {
|
|
10838
|
+
"200": {
|
|
10839
|
+
"description": "Translation settings has been updated",
|
|
10840
|
+
"content": {
|
|
10841
|
+
"application/json": {
|
|
10842
|
+
"schema": {
|
|
10843
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10844
|
+
}
|
|
10845
|
+
}
|
|
10846
|
+
}
|
|
10847
|
+
},
|
|
10848
|
+
"400": {
|
|
10849
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10850
|
+
},
|
|
10851
|
+
"default": {
|
|
10852
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10853
|
+
}
|
|
10854
|
+
}
|
|
10855
|
+
},
|
|
10856
|
+
"delete": {
|
|
10857
|
+
"operationId": "deleteTranslationSettings",
|
|
10858
|
+
"summary": "Delete an organization translation settings by its id",
|
|
10859
|
+
"tags": [
|
|
10860
|
+
"translations"
|
|
10861
|
+
],
|
|
10862
|
+
"security": [
|
|
10863
|
+
{
|
|
10864
|
+
"user": []
|
|
10865
|
+
}
|
|
10866
|
+
],
|
|
10867
|
+
"parameters": [
|
|
10868
|
+
{
|
|
10869
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10870
|
+
},
|
|
10871
|
+
{
|
|
10872
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10873
|
+
}
|
|
10874
|
+
],
|
|
10875
|
+
"responses": {
|
|
10876
|
+
"205": {
|
|
10877
|
+
"description": "Translation settings has been deleted"
|
|
10878
|
+
},
|
|
10879
|
+
"default": {
|
|
10880
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10881
|
+
}
|
|
10882
|
+
}
|
|
10883
|
+
}
|
|
10884
|
+
},
|
|
10885
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages": {
|
|
10886
|
+
"get": {
|
|
10887
|
+
"operationId": "listTranslationLanguages",
|
|
10888
|
+
"summary": "List languages in translation settings",
|
|
10889
|
+
"tags": [
|
|
10890
|
+
"translations"
|
|
10891
|
+
],
|
|
10892
|
+
"security": [
|
|
10893
|
+
{
|
|
10894
|
+
"user": []
|
|
10895
|
+
}
|
|
10896
|
+
],
|
|
10897
|
+
"parameters": [
|
|
10898
|
+
{
|
|
10899
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10900
|
+
},
|
|
10901
|
+
{
|
|
10902
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10903
|
+
},
|
|
10904
|
+
{
|
|
10905
|
+
"$ref": "#/components/parameters/listPage"
|
|
10906
|
+
},
|
|
10907
|
+
{
|
|
10908
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10909
|
+
}
|
|
10910
|
+
],
|
|
10911
|
+
"responses": {
|
|
10912
|
+
"200": {
|
|
10913
|
+
"description": "OK",
|
|
10914
|
+
"content": {
|
|
10915
|
+
"application/json": {
|
|
10916
|
+
"schema": {
|
|
10917
|
+
"allOf": [
|
|
10918
|
+
{
|
|
10919
|
+
"$ref": "#/components/schemas/List"
|
|
10920
|
+
},
|
|
10921
|
+
{
|
|
10922
|
+
"type": "object",
|
|
10923
|
+
"required": [
|
|
10924
|
+
"items"
|
|
10925
|
+
],
|
|
10926
|
+
"properties": {
|
|
10927
|
+
"items": {
|
|
10928
|
+
"type": "array",
|
|
10929
|
+
"items": {
|
|
10930
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
10931
|
+
}
|
|
10932
|
+
}
|
|
10933
|
+
}
|
|
10934
|
+
}
|
|
10935
|
+
]
|
|
10936
|
+
}
|
|
10937
|
+
}
|
|
10938
|
+
}
|
|
10939
|
+
},
|
|
10940
|
+
"404": {
|
|
10941
|
+
"description": "No matching translation settings found",
|
|
10942
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10943
|
+
},
|
|
10944
|
+
"default": {
|
|
10945
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10946
|
+
}
|
|
10947
|
+
}
|
|
10948
|
+
}
|
|
10949
|
+
},
|
|
10950
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}": {
|
|
10951
|
+
"get": {
|
|
10952
|
+
"operationId": "getTranslationLanguage",
|
|
10953
|
+
"summary": "Get language settings from translation",
|
|
10954
|
+
"tags": [
|
|
10955
|
+
"translations"
|
|
10956
|
+
],
|
|
10957
|
+
"security": [
|
|
10958
|
+
{
|
|
10959
|
+
"user": []
|
|
10960
|
+
}
|
|
10961
|
+
],
|
|
10962
|
+
"parameters": [
|
|
10963
|
+
{
|
|
10964
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10965
|
+
},
|
|
10966
|
+
{
|
|
10967
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10968
|
+
},
|
|
10969
|
+
{
|
|
10970
|
+
"$ref": "#/components/parameters/translationLanguage"
|
|
10971
|
+
}
|
|
10972
|
+
],
|
|
10973
|
+
"responses": {
|
|
10974
|
+
"200": {
|
|
10975
|
+
"description": "OK",
|
|
10976
|
+
"content": {
|
|
10977
|
+
"application/json": {
|
|
10978
|
+
"schema": {
|
|
10979
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
10980
|
+
}
|
|
10981
|
+
}
|
|
10982
|
+
}
|
|
10983
|
+
},
|
|
10984
|
+
"404": {
|
|
10985
|
+
"description": "No matching translation language settings found",
|
|
10986
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10987
|
+
},
|
|
10988
|
+
"default": {
|
|
10989
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10990
|
+
}
|
|
10991
|
+
}
|
|
10992
|
+
},
|
|
10993
|
+
"put": {
|
|
10994
|
+
"operationId": "createOrUpdateTranslationLanguage",
|
|
10995
|
+
"summary": "Create or update language settings in translation",
|
|
10996
|
+
"tags": [
|
|
10997
|
+
"translations"
|
|
10998
|
+
],
|
|
10999
|
+
"security": [
|
|
11000
|
+
{
|
|
11001
|
+
"user": []
|
|
11002
|
+
}
|
|
11003
|
+
],
|
|
11004
|
+
"parameters": [
|
|
11005
|
+
{
|
|
11006
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11007
|
+
},
|
|
11008
|
+
{
|
|
11009
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11010
|
+
},
|
|
11011
|
+
{
|
|
11012
|
+
"$ref": "#/components/parameters/translationLanguage"
|
|
11013
|
+
}
|
|
11014
|
+
],
|
|
11015
|
+
"requestBody": {
|
|
11016
|
+
"required": true,
|
|
11017
|
+
"content": {
|
|
11018
|
+
"application/json": {
|
|
11019
|
+
"schema": {
|
|
11020
|
+
"type": "object",
|
|
11021
|
+
"properties": {
|
|
11022
|
+
"instructions": {
|
|
11023
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
11024
|
+
}
|
|
11025
|
+
},
|
|
11026
|
+
"required": [
|
|
11027
|
+
"instructions"
|
|
11028
|
+
]
|
|
11029
|
+
}
|
|
11030
|
+
}
|
|
11031
|
+
}
|
|
11032
|
+
},
|
|
11033
|
+
"responses": {
|
|
11034
|
+
"200": {
|
|
11035
|
+
"description": "Language settings successfully updated",
|
|
11036
|
+
"content": {
|
|
11037
|
+
"application/json": {
|
|
11038
|
+
"schema": {
|
|
11039
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11040
|
+
}
|
|
11041
|
+
}
|
|
11042
|
+
}
|
|
11043
|
+
},
|
|
11044
|
+
"201": {
|
|
11045
|
+
"description": "Language settings successfully created",
|
|
11046
|
+
"content": {
|
|
11047
|
+
"application/json": {
|
|
11048
|
+
"schema": {
|
|
11049
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11050
|
+
}
|
|
11051
|
+
}
|
|
11052
|
+
}
|
|
11053
|
+
},
|
|
11054
|
+
"400": {
|
|
11055
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11056
|
+
},
|
|
11057
|
+
"404": {
|
|
11058
|
+
"description": "No matching translation language settings found",
|
|
11059
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11060
|
+
},
|
|
11061
|
+
"default": {
|
|
11062
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11063
|
+
}
|
|
11064
|
+
}
|
|
11065
|
+
},
|
|
11066
|
+
"delete": {
|
|
11067
|
+
"operationId": "deleteTranslationLanguage",
|
|
11068
|
+
"summary": "Remove language from translation",
|
|
11069
|
+
"tags": [
|
|
11070
|
+
"translations"
|
|
11071
|
+
],
|
|
11072
|
+
"security": [
|
|
11073
|
+
{
|
|
11074
|
+
"user": []
|
|
11075
|
+
}
|
|
11076
|
+
],
|
|
11077
|
+
"parameters": [
|
|
11078
|
+
{
|
|
11079
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11080
|
+
},
|
|
11081
|
+
{
|
|
11082
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11083
|
+
},
|
|
11084
|
+
{
|
|
11085
|
+
"$ref": "#/components/parameters/translationLanguage"
|
|
11086
|
+
}
|
|
11087
|
+
],
|
|
11088
|
+
"responses": {
|
|
11089
|
+
"205": {
|
|
11090
|
+
"description": "Language successfully removed"
|
|
11091
|
+
},
|
|
11092
|
+
"404": {
|
|
11093
|
+
"description": "No matching translation language settings found",
|
|
11094
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11095
|
+
},
|
|
11096
|
+
"default": {
|
|
11097
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11098
|
+
}
|
|
11099
|
+
}
|
|
11100
|
+
}
|
|
11101
|
+
},
|
|
10612
11102
|
"/orgs/{organizationId}/storage/upload": {
|
|
10613
11103
|
"post": {
|
|
10614
11104
|
"operationId": "generateStorageUploadURL",
|
|
@@ -14803,6 +15293,51 @@
|
|
|
14803
15293
|
}
|
|
14804
15294
|
}
|
|
14805
15295
|
},
|
|
15296
|
+
"/email-domains/{emailDomain}/orgs": {
|
|
15297
|
+
"get": {
|
|
15298
|
+
"operationId": "getOrganizationsForEmailDomain",
|
|
15299
|
+
"summary": "Get all organizations by email domain.",
|
|
15300
|
+
"tags": [
|
|
15301
|
+
"email-domains"
|
|
15302
|
+
],
|
|
15303
|
+
"security": [
|
|
15304
|
+
{
|
|
15305
|
+
"user-internal": []
|
|
15306
|
+
}
|
|
15307
|
+
],
|
|
15308
|
+
"parameters": [
|
|
15309
|
+
{
|
|
15310
|
+
"$ref": "#/components/parameters/emailDomain"
|
|
15311
|
+
}
|
|
15312
|
+
],
|
|
15313
|
+
"responses": {
|
|
15314
|
+
"200": {
|
|
15315
|
+
"description": "OK",
|
|
15316
|
+
"content": {
|
|
15317
|
+
"application/json": {
|
|
15318
|
+
"schema": {
|
|
15319
|
+
"type": "object",
|
|
15320
|
+
"properties": {
|
|
15321
|
+
"organizations": {
|
|
15322
|
+
"type": "array",
|
|
15323
|
+
"items": {
|
|
15324
|
+
"$ref": "#/components/schemas/Organization"
|
|
15325
|
+
}
|
|
15326
|
+
}
|
|
15327
|
+
},
|
|
15328
|
+
"required": [
|
|
15329
|
+
"organizaitons"
|
|
15330
|
+
]
|
|
15331
|
+
}
|
|
15332
|
+
}
|
|
15333
|
+
}
|
|
15334
|
+
},
|
|
15335
|
+
"default": {
|
|
15336
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15337
|
+
}
|
|
15338
|
+
}
|
|
15339
|
+
}
|
|
15340
|
+
},
|
|
14806
15341
|
"/ads/sites": {
|
|
14807
15342
|
"get": {
|
|
14808
15343
|
"operationId": "adsListSites",
|
|
@@ -15608,6 +16143,24 @@
|
|
|
15608
16143
|
"type": "string"
|
|
15609
16144
|
}
|
|
15610
16145
|
},
|
|
16146
|
+
"translationSettingsId": {
|
|
16147
|
+
"name": "translationSettingsId",
|
|
16148
|
+
"in": "path",
|
|
16149
|
+
"required": true,
|
|
16150
|
+
"description": "The unique id of the translation settings",
|
|
16151
|
+
"schema": {
|
|
16152
|
+
"type": "string"
|
|
16153
|
+
}
|
|
16154
|
+
},
|
|
16155
|
+
"translationLanguage": {
|
|
16156
|
+
"name": "translationLanguage",
|
|
16157
|
+
"in": "path",
|
|
16158
|
+
"required": true,
|
|
16159
|
+
"description": "The language of the translation",
|
|
16160
|
+
"schema": {
|
|
16161
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
16162
|
+
}
|
|
16163
|
+
},
|
|
15611
16164
|
"fontId": {
|
|
15612
16165
|
"name": "fontId",
|
|
15613
16166
|
"in": "path",
|
|
@@ -15693,6 +16246,15 @@
|
|
|
15693
16246
|
"type": "string"
|
|
15694
16247
|
}
|
|
15695
16248
|
},
|
|
16249
|
+
"emailDomain": {
|
|
16250
|
+
"name": "emailDomain",
|
|
16251
|
+
"in": "path",
|
|
16252
|
+
"required": true,
|
|
16253
|
+
"description": "Email domain",
|
|
16254
|
+
"schema": {
|
|
16255
|
+
"type": "string"
|
|
16256
|
+
}
|
|
16257
|
+
},
|
|
15696
16258
|
"xGitBookPartnerKey": {
|
|
15697
16259
|
"in": "header",
|
|
15698
16260
|
"name": "X-GitBook-Partner-Key",
|
|
@@ -19131,6 +19693,9 @@
|
|
|
19131
19693
|
{
|
|
19132
19694
|
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
19133
19695
|
},
|
|
19696
|
+
{
|
|
19697
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
19698
|
+
},
|
|
19134
19699
|
{
|
|
19135
19700
|
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
19136
19701
|
},
|
|
@@ -19745,6 +20310,11 @@
|
|
|
19745
20310
|
"type": "object",
|
|
19746
20311
|
"description": "Pointer to schemas in the OpenAPI spec.",
|
|
19747
20312
|
"properties": {
|
|
20313
|
+
"grouped": {
|
|
20314
|
+
"type": "boolean",
|
|
20315
|
+
"description": "Whether the schemas are grouped or not.",
|
|
20316
|
+
"default": true
|
|
20317
|
+
},
|
|
19748
20318
|
"schemas": {
|
|
19749
20319
|
"type": "array",
|
|
19750
20320
|
"description": "List of schemas name from the OpenAPI spec.",
|
|
@@ -20305,7 +20875,7 @@
|
|
|
20305
20875
|
"description": "Defined when the page was generated by a computed content.",
|
|
20306
20876
|
"properties": {
|
|
20307
20877
|
"computed": {
|
|
20308
|
-
"$ref": "#/components/schemas/
|
|
20878
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
20309
20879
|
},
|
|
20310
20880
|
"computedSeed": {
|
|
20311
20881
|
"type": "string",
|
|
@@ -20371,107 +20941,379 @@
|
|
|
20371
20941
|
}
|
|
20372
20942
|
]
|
|
20373
20943
|
},
|
|
20374
|
-
"
|
|
20375
|
-
"
|
|
20376
|
-
|
|
20377
|
-
|
|
20378
|
-
},
|
|
20379
|
-
{
|
|
20944
|
+
"ComputedContentDependencyOpenAPI": {
|
|
20945
|
+
"type": "object",
|
|
20946
|
+
"properties": {
|
|
20947
|
+
"ref": {
|
|
20380
20948
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
20949
|
+
},
|
|
20950
|
+
"value": {
|
|
20951
|
+
"type": "object",
|
|
20952
|
+
"nullable": true,
|
|
20953
|
+
"description": "See `OpenAPI` schema component.",
|
|
20954
|
+
"properties": {
|
|
20955
|
+
"object": {
|
|
20956
|
+
"type": "string",
|
|
20957
|
+
"enum": [
|
|
20958
|
+
"openapi-spec"
|
|
20959
|
+
]
|
|
20960
|
+
},
|
|
20961
|
+
"id": {
|
|
20962
|
+
"type": "string"
|
|
20963
|
+
},
|
|
20964
|
+
"slug": {
|
|
20965
|
+
"type": "string"
|
|
20966
|
+
},
|
|
20967
|
+
"lastVersion": {
|
|
20968
|
+
"type": "string"
|
|
20969
|
+
}
|
|
20970
|
+
},
|
|
20971
|
+
"required": [
|
|
20972
|
+
"object",
|
|
20973
|
+
"id",
|
|
20974
|
+
"organizationId",
|
|
20975
|
+
"slug"
|
|
20976
|
+
]
|
|
20381
20977
|
}
|
|
20978
|
+
},
|
|
20979
|
+
"required": [
|
|
20980
|
+
"ref",
|
|
20981
|
+
"value"
|
|
20382
20982
|
]
|
|
20383
20983
|
},
|
|
20384
|
-
"
|
|
20385
|
-
"
|
|
20386
|
-
"
|
|
20984
|
+
"ComputedContentSourceOpenAPIBase": {
|
|
20985
|
+
"type": "object",
|
|
20986
|
+
"description": "Generic parameters from an OpenAPI computed content source",
|
|
20987
|
+
"properties": {
|
|
20988
|
+
"type": {
|
|
20989
|
+
"type": "string",
|
|
20990
|
+
"enum": [
|
|
20991
|
+
"builtin:openapi"
|
|
20992
|
+
]
|
|
20993
|
+
},
|
|
20994
|
+
"dependencies": {
|
|
20995
|
+
"type": "object",
|
|
20996
|
+
"required": [
|
|
20997
|
+
"spec"
|
|
20998
|
+
],
|
|
20999
|
+
"properties": {
|
|
21000
|
+
"spec": {
|
|
21001
|
+
"oneOf": [
|
|
21002
|
+
{
|
|
21003
|
+
"type": "object",
|
|
21004
|
+
"additionalProperties": false,
|
|
21005
|
+
"required": [
|
|
21006
|
+
"ref"
|
|
21007
|
+
],
|
|
21008
|
+
"properties": {
|
|
21009
|
+
"ref": {
|
|
21010
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21011
|
+
}
|
|
21012
|
+
}
|
|
21013
|
+
},
|
|
21014
|
+
{
|
|
21015
|
+
"$ref": "#/components/schemas/ComputedContentDependencyOpenAPI"
|
|
21016
|
+
}
|
|
21017
|
+
]
|
|
21018
|
+
}
|
|
21019
|
+
}
|
|
21020
|
+
}
|
|
21021
|
+
},
|
|
21022
|
+
"required": [
|
|
21023
|
+
"type",
|
|
21024
|
+
"dependencies"
|
|
21025
|
+
]
|
|
21026
|
+
},
|
|
21027
|
+
"ComputedContentSourceRevisionOpenAPI": {
|
|
21028
|
+
"allOf": [
|
|
21029
|
+
{
|
|
21030
|
+
"$ref": "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
21031
|
+
},
|
|
20387
21032
|
{
|
|
20388
21033
|
"type": "object",
|
|
21034
|
+
"description": "Parameters for an OpenAPI computed revision",
|
|
21035
|
+
"required": [
|
|
21036
|
+
"props"
|
|
21037
|
+
],
|
|
20389
21038
|
"properties": {
|
|
20390
|
-
"
|
|
20391
|
-
"$ref": "#/components/schemas/ContentRefSpace"
|
|
20392
|
-
},
|
|
20393
|
-
"value": {
|
|
21039
|
+
"props": {
|
|
20394
21040
|
"type": "object",
|
|
20395
|
-
"nullable": true,
|
|
20396
|
-
"description": "See `Space` schema component.",
|
|
20397
21041
|
"properties": {
|
|
20398
|
-
"
|
|
20399
|
-
"type": "
|
|
20400
|
-
"enum": [
|
|
20401
|
-
"space"
|
|
20402
|
-
]
|
|
20403
|
-
},
|
|
20404
|
-
"id": {
|
|
20405
|
-
"type": "string"
|
|
20406
|
-
},
|
|
20407
|
-
"revision": {
|
|
20408
|
-
"type": "string"
|
|
21042
|
+
"models": {
|
|
21043
|
+
"type": "boolean"
|
|
20409
21044
|
}
|
|
20410
21045
|
},
|
|
20411
21046
|
"required": [
|
|
20412
|
-
"
|
|
20413
|
-
|
|
20414
|
-
|
|
21047
|
+
"models"
|
|
21048
|
+
]
|
|
21049
|
+
}
|
|
21050
|
+
}
|
|
21051
|
+
}
|
|
21052
|
+
]
|
|
21053
|
+
},
|
|
21054
|
+
"ComputedContentDependencySpace": {
|
|
21055
|
+
"type": "object",
|
|
21056
|
+
"properties": {
|
|
21057
|
+
"ref": {
|
|
21058
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21059
|
+
},
|
|
21060
|
+
"value": {
|
|
21061
|
+
"type": "object",
|
|
21062
|
+
"nullable": true,
|
|
21063
|
+
"description": "See `Space` schema component.",
|
|
21064
|
+
"properties": {
|
|
21065
|
+
"object": {
|
|
21066
|
+
"type": "string",
|
|
21067
|
+
"enum": [
|
|
21068
|
+
"space"
|
|
20415
21069
|
]
|
|
21070
|
+
},
|
|
21071
|
+
"id": {
|
|
21072
|
+
"type": "string"
|
|
21073
|
+
},
|
|
21074
|
+
"revision": {
|
|
21075
|
+
"type": "string"
|
|
20416
21076
|
}
|
|
20417
21077
|
},
|
|
20418
21078
|
"required": [
|
|
20419
|
-
"
|
|
20420
|
-
"
|
|
21079
|
+
"object",
|
|
21080
|
+
"id",
|
|
21081
|
+
"revision"
|
|
21082
|
+
]
|
|
21083
|
+
}
|
|
21084
|
+
},
|
|
21085
|
+
"required": [
|
|
21086
|
+
"ref",
|
|
21087
|
+
"value"
|
|
21088
|
+
]
|
|
21089
|
+
},
|
|
21090
|
+
"TranslationLanguage": {
|
|
21091
|
+
"type": "string",
|
|
21092
|
+
"enum": [
|
|
21093
|
+
"en",
|
|
21094
|
+
"fr",
|
|
21095
|
+
"de",
|
|
21096
|
+
"es",
|
|
21097
|
+
"it",
|
|
21098
|
+
"pt",
|
|
21099
|
+
"ru",
|
|
21100
|
+
"ja",
|
|
21101
|
+
"zh",
|
|
21102
|
+
"ko",
|
|
21103
|
+
"ar",
|
|
21104
|
+
"hi",
|
|
21105
|
+
"nl",
|
|
21106
|
+
"pl",
|
|
21107
|
+
"tr",
|
|
21108
|
+
"sv",
|
|
21109
|
+
"no",
|
|
21110
|
+
"da",
|
|
21111
|
+
"fi",
|
|
21112
|
+
"el",
|
|
21113
|
+
"cs",
|
|
21114
|
+
"hu",
|
|
21115
|
+
"ro",
|
|
21116
|
+
"th",
|
|
21117
|
+
"vi",
|
|
21118
|
+
"id",
|
|
21119
|
+
"ms",
|
|
21120
|
+
"he",
|
|
21121
|
+
"uk",
|
|
21122
|
+
"sk",
|
|
21123
|
+
"bg",
|
|
21124
|
+
"hr",
|
|
21125
|
+
"lt",
|
|
21126
|
+
"lv",
|
|
21127
|
+
"et",
|
|
21128
|
+
"sl"
|
|
21129
|
+
]
|
|
21130
|
+
},
|
|
21131
|
+
"TranslationLanguageRef": {
|
|
21132
|
+
"type": "object",
|
|
21133
|
+
"properties": {
|
|
21134
|
+
"kind": {
|
|
21135
|
+
"type": "string",
|
|
21136
|
+
"enum": [
|
|
21137
|
+
"translation-language"
|
|
20421
21138
|
]
|
|
20422
21139
|
},
|
|
20423
|
-
{
|
|
21140
|
+
"translationSettings": {
|
|
21141
|
+
"type": "string",
|
|
21142
|
+
"description": "ID of the translation settings"
|
|
21143
|
+
},
|
|
21144
|
+
"language": {
|
|
21145
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
21146
|
+
}
|
|
21147
|
+
},
|
|
21148
|
+
"required": [
|
|
21149
|
+
"kind",
|
|
21150
|
+
"translationSettings",
|
|
21151
|
+
"language"
|
|
21152
|
+
]
|
|
21153
|
+
},
|
|
21154
|
+
"TranslationParameters": {
|
|
21155
|
+
"type": "object",
|
|
21156
|
+
"description": "Compiled parameters for the translation",
|
|
21157
|
+
"properties": {
|
|
21158
|
+
"instructions": {
|
|
21159
|
+
"type": "string",
|
|
21160
|
+
"description": "Instructions for the translation, formatted as markdown"
|
|
21161
|
+
}
|
|
21162
|
+
},
|
|
21163
|
+
"required": [
|
|
21164
|
+
"instructions"
|
|
21165
|
+
]
|
|
21166
|
+
},
|
|
21167
|
+
"ComputedContentDependencyTranslation": {
|
|
21168
|
+
"type": "object",
|
|
21169
|
+
"properties": {
|
|
21170
|
+
"ref": {
|
|
21171
|
+
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
21172
|
+
},
|
|
21173
|
+
"value": {
|
|
21174
|
+
"$ref": "#/components/schemas/TranslationParameters"
|
|
21175
|
+
}
|
|
21176
|
+
},
|
|
21177
|
+
"required": [
|
|
21178
|
+
"ref",
|
|
21179
|
+
"value"
|
|
21180
|
+
]
|
|
21181
|
+
},
|
|
21182
|
+
"ComputedContentSourceTranslationBase": {
|
|
21183
|
+
"type": "object",
|
|
21184
|
+
"description": "Generic parameters from a translation computed content source",
|
|
21185
|
+
"properties": {
|
|
21186
|
+
"type": {
|
|
21187
|
+
"type": "string",
|
|
21188
|
+
"enum": [
|
|
21189
|
+
"builtin:translation"
|
|
21190
|
+
]
|
|
21191
|
+
},
|
|
21192
|
+
"dependencies": {
|
|
20424
21193
|
"type": "object",
|
|
21194
|
+
"required": [
|
|
21195
|
+
"source",
|
|
21196
|
+
"settings"
|
|
21197
|
+
],
|
|
20425
21198
|
"properties": {
|
|
20426
|
-
"
|
|
20427
|
-
"
|
|
20428
|
-
|
|
20429
|
-
|
|
20430
|
-
|
|
20431
|
-
|
|
20432
|
-
|
|
20433
|
-
|
|
20434
|
-
|
|
20435
|
-
|
|
20436
|
-
|
|
20437
|
-
|
|
20438
|
-
|
|
20439
|
-
},
|
|
20440
|
-
"id": {
|
|
20441
|
-
"type": "string"
|
|
21199
|
+
"source": {
|
|
21200
|
+
"oneOf": [
|
|
21201
|
+
{
|
|
21202
|
+
"type": "object",
|
|
21203
|
+
"additionalProperties": false,
|
|
21204
|
+
"required": [
|
|
21205
|
+
"ref"
|
|
21206
|
+
],
|
|
21207
|
+
"properties": {
|
|
21208
|
+
"ref": {
|
|
21209
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21210
|
+
}
|
|
21211
|
+
}
|
|
20442
21212
|
},
|
|
20443
|
-
|
|
20444
|
-
"
|
|
21213
|
+
{
|
|
21214
|
+
"$ref": "#/components/schemas/ComputedContentDependencySpace"
|
|
21215
|
+
}
|
|
21216
|
+
]
|
|
21217
|
+
},
|
|
21218
|
+
"settings": {
|
|
21219
|
+
"oneOf": [
|
|
21220
|
+
{
|
|
21221
|
+
"type": "object",
|
|
21222
|
+
"additionalProperties": false,
|
|
21223
|
+
"required": [
|
|
21224
|
+
"ref"
|
|
21225
|
+
],
|
|
21226
|
+
"properties": {
|
|
21227
|
+
"ref": {
|
|
21228
|
+
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
21229
|
+
}
|
|
21230
|
+
}
|
|
20445
21231
|
},
|
|
20446
|
-
|
|
20447
|
-
"
|
|
21232
|
+
{
|
|
21233
|
+
"$ref": "#/components/schemas/ComputedContentDependencyTranslation"
|
|
20448
21234
|
}
|
|
20449
|
-
},
|
|
20450
|
-
"required": [
|
|
20451
|
-
"object",
|
|
20452
|
-
"id",
|
|
20453
|
-
"slug"
|
|
20454
21235
|
]
|
|
20455
21236
|
}
|
|
20456
|
-
}
|
|
21237
|
+
}
|
|
21238
|
+
}
|
|
21239
|
+
},
|
|
21240
|
+
"required": [
|
|
21241
|
+
"type",
|
|
21242
|
+
"dependencies"
|
|
21243
|
+
]
|
|
21244
|
+
},
|
|
21245
|
+
"ComputedContentSourceRevisionTranslation": {
|
|
21246
|
+
"allOf": [
|
|
21247
|
+
{
|
|
21248
|
+
"$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
|
|
21249
|
+
},
|
|
21250
|
+
{
|
|
21251
|
+
"type": "object",
|
|
20457
21252
|
"required": [
|
|
20458
|
-
"
|
|
20459
|
-
|
|
20460
|
-
|
|
21253
|
+
"props"
|
|
21254
|
+
],
|
|
21255
|
+
"properties": {
|
|
21256
|
+
"props": {
|
|
21257
|
+
"type": "object",
|
|
21258
|
+
"required": [
|
|
21259
|
+
"sourceLanguage"
|
|
21260
|
+
],
|
|
21261
|
+
"properties": {
|
|
21262
|
+
"sourceLanguage": {
|
|
21263
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
21264
|
+
}
|
|
21265
|
+
}
|
|
21266
|
+
}
|
|
21267
|
+
}
|
|
20461
21268
|
}
|
|
20462
21269
|
]
|
|
20463
21270
|
},
|
|
20464
|
-
"
|
|
21271
|
+
"ComputedContentDependency": {
|
|
20465
21272
|
"type": "object",
|
|
20466
|
-
"description": "
|
|
21273
|
+
"description": "Dependency for a computation, before its resolution.",
|
|
21274
|
+
"additionalProperties": false,
|
|
20467
21275
|
"properties": {
|
|
20468
|
-
"
|
|
20469
|
-
"
|
|
20470
|
-
|
|
21276
|
+
"ref": {
|
|
21277
|
+
"oneOf": [
|
|
21278
|
+
{
|
|
21279
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21280
|
+
},
|
|
21281
|
+
{
|
|
21282
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21283
|
+
},
|
|
21284
|
+
{
|
|
21285
|
+
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
21286
|
+
}
|
|
21287
|
+
]
|
|
21288
|
+
}
|
|
21289
|
+
},
|
|
21290
|
+
"required": [
|
|
21291
|
+
"ref"
|
|
21292
|
+
]
|
|
21293
|
+
},
|
|
21294
|
+
"ComputedContentDependencyResolved": {
|
|
21295
|
+
"description": "Dependency for a computation, with its resolved value.",
|
|
21296
|
+
"oneOf": [
|
|
21297
|
+
{
|
|
21298
|
+
"$ref": "#/components/schemas/ComputedContentDependencySpace"
|
|
20471
21299
|
},
|
|
20472
|
-
|
|
21300
|
+
{
|
|
21301
|
+
"$ref": "#/components/schemas/ComputedContentDependencyOpenAPI"
|
|
21302
|
+
},
|
|
21303
|
+
{
|
|
21304
|
+
"$ref": "#/components/schemas/ComputedContentDependencyTranslation"
|
|
21305
|
+
}
|
|
21306
|
+
]
|
|
21307
|
+
},
|
|
21308
|
+
"ComputedContentSourceIntegration": {
|
|
21309
|
+
"type": "object",
|
|
21310
|
+
"description": "Parameters for a computed content managed by an integration",
|
|
21311
|
+
"properties": {
|
|
21312
|
+
"type": {
|
|
20473
21313
|
"type": "string",
|
|
20474
|
-
"description": "
|
|
21314
|
+
"description": "Type of the computed source",
|
|
21315
|
+
"pattern": "^integration:[^:]+:[^:]+$",
|
|
21316
|
+
"x-typescript": "`integration:${string}:${string}`"
|
|
20475
21317
|
},
|
|
20476
21318
|
"props": {
|
|
20477
21319
|
"description": "Properties to be passed to the computation",
|
|
@@ -20483,29 +21325,33 @@
|
|
|
20483
21325
|
"additionalProperties": {
|
|
20484
21326
|
"anyOf": [
|
|
20485
21327
|
{
|
|
20486
|
-
"
|
|
20487
|
-
"properties": {
|
|
20488
|
-
"ref": {
|
|
20489
|
-
"$ref": "#/components/schemas/ComputedContentDependencyRef"
|
|
20490
|
-
}
|
|
20491
|
-
},
|
|
20492
|
-
"required": [
|
|
20493
|
-
"ref"
|
|
20494
|
-
]
|
|
21328
|
+
"$ref": "#/components/schemas/ComputedContentDependency"
|
|
20495
21329
|
},
|
|
20496
21330
|
{
|
|
20497
|
-
"$ref": "#/components/schemas/
|
|
21331
|
+
"$ref": "#/components/schemas/ComputedContentDependencyResolved"
|
|
20498
21332
|
}
|
|
20499
21333
|
]
|
|
20500
21334
|
}
|
|
20501
21335
|
}
|
|
20502
21336
|
},
|
|
20503
21337
|
"required": [
|
|
20504
|
-
"
|
|
20505
|
-
"source",
|
|
21338
|
+
"type",
|
|
20506
21339
|
"props"
|
|
20507
21340
|
]
|
|
20508
21341
|
},
|
|
21342
|
+
"ComputedContentSourceRevision": {
|
|
21343
|
+
"oneOf": [
|
|
21344
|
+
{
|
|
21345
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevisionOpenAPI"
|
|
21346
|
+
},
|
|
21347
|
+
{
|
|
21348
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevisionTranslation"
|
|
21349
|
+
},
|
|
21350
|
+
{
|
|
21351
|
+
"$ref": "#/components/schemas/ComputedContentSourceIntegration"
|
|
21352
|
+
}
|
|
21353
|
+
]
|
|
21354
|
+
},
|
|
20509
21355
|
"RevisionPageComputed": {
|
|
20510
21356
|
"allOf": [
|
|
20511
21357
|
{
|
|
@@ -20521,7 +21367,7 @@
|
|
|
20521
21367
|
]
|
|
20522
21368
|
},
|
|
20523
21369
|
"computed": {
|
|
20524
|
-
"$ref": "#/components/schemas/
|
|
21370
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
20525
21371
|
}
|
|
20526
21372
|
},
|
|
20527
21373
|
"required": [
|
|
@@ -20604,6 +21450,103 @@
|
|
|
20604
21450
|
"yPos"
|
|
20605
21451
|
]
|
|
20606
21452
|
},
|
|
21453
|
+
"ComputedContentSourceDocumentOpenAPI": {
|
|
21454
|
+
"allOf": [
|
|
21455
|
+
{
|
|
21456
|
+
"$ref": "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
21457
|
+
},
|
|
21458
|
+
{
|
|
21459
|
+
"type": "object",
|
|
21460
|
+
"description": "Parameters for an OpenAPI computed document",
|
|
21461
|
+
"required": [
|
|
21462
|
+
"props"
|
|
21463
|
+
],
|
|
21464
|
+
"properties": {
|
|
21465
|
+
"props": {
|
|
21466
|
+
"oneOf": [
|
|
21467
|
+
{
|
|
21468
|
+
"type": "object",
|
|
21469
|
+
"required": [
|
|
21470
|
+
"doc"
|
|
21471
|
+
],
|
|
21472
|
+
"properties": {
|
|
21473
|
+
"doc": {
|
|
21474
|
+
"type": "string",
|
|
21475
|
+
"enum": [
|
|
21476
|
+
"models"
|
|
21477
|
+
]
|
|
21478
|
+
}
|
|
21479
|
+
}
|
|
21480
|
+
},
|
|
21481
|
+
{
|
|
21482
|
+
"type": "object",
|
|
21483
|
+
"required": [
|
|
21484
|
+
"doc",
|
|
21485
|
+
"page"
|
|
21486
|
+
],
|
|
21487
|
+
"properties": {
|
|
21488
|
+
"doc": {
|
|
21489
|
+
"type": "string",
|
|
21490
|
+
"enum": [
|
|
21491
|
+
"operations",
|
|
21492
|
+
"info"
|
|
21493
|
+
]
|
|
21494
|
+
},
|
|
21495
|
+
"page": {
|
|
21496
|
+
"type": "string",
|
|
21497
|
+
"minLength": 1
|
|
21498
|
+
}
|
|
21499
|
+
}
|
|
21500
|
+
}
|
|
21501
|
+
]
|
|
21502
|
+
}
|
|
21503
|
+
}
|
|
21504
|
+
}
|
|
21505
|
+
]
|
|
21506
|
+
},
|
|
21507
|
+
"ComputedContentSourceDocumentTranslation": {
|
|
21508
|
+
"allOf": [
|
|
21509
|
+
{
|
|
21510
|
+
"$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
|
|
21511
|
+
},
|
|
21512
|
+
{
|
|
21513
|
+
"type": "object",
|
|
21514
|
+
"required": [
|
|
21515
|
+
"props"
|
|
21516
|
+
],
|
|
21517
|
+
"properties": {
|
|
21518
|
+
"props": {
|
|
21519
|
+
"type": "object",
|
|
21520
|
+
"required": [
|
|
21521
|
+
"document",
|
|
21522
|
+
"sourceLanguage"
|
|
21523
|
+
],
|
|
21524
|
+
"properties": {
|
|
21525
|
+
"document": {
|
|
21526
|
+
"type": "string"
|
|
21527
|
+
},
|
|
21528
|
+
"sourceLanguage": {
|
|
21529
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
21530
|
+
}
|
|
21531
|
+
}
|
|
21532
|
+
}
|
|
21533
|
+
}
|
|
21534
|
+
}
|
|
21535
|
+
]
|
|
21536
|
+
},
|
|
21537
|
+
"ComputedContentSourceDocument": {
|
|
21538
|
+
"oneOf": [
|
|
21539
|
+
{
|
|
21540
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocumentOpenAPI"
|
|
21541
|
+
},
|
|
21542
|
+
{
|
|
21543
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocumentTranslation"
|
|
21544
|
+
},
|
|
21545
|
+
{
|
|
21546
|
+
"$ref": "#/components/schemas/ComputedContentSourceIntegration"
|
|
21547
|
+
}
|
|
21548
|
+
]
|
|
21549
|
+
},
|
|
20607
21550
|
"RevisionPageGroup": {
|
|
20608
21551
|
"allOf": [
|
|
20609
21552
|
{
|
|
@@ -23728,6 +24671,17 @@
|
|
|
23728
24671
|
},
|
|
23729
24672
|
"default": {
|
|
23730
24673
|
"type": "string"
|
|
24674
|
+
},
|
|
24675
|
+
"completion_url": {
|
|
24676
|
+
"description": "If specified, this URL will be called to fetch suggestions for auto-completing the property.",
|
|
24677
|
+
"type": "string"
|
|
24678
|
+
},
|
|
24679
|
+
"enum": {
|
|
24680
|
+
"type": "array",
|
|
24681
|
+
"description": "If specified, only values from this array are allowed as inputs.",
|
|
24682
|
+
"items": {
|
|
24683
|
+
"type": "string"
|
|
24684
|
+
}
|
|
23731
24685
|
}
|
|
23732
24686
|
},
|
|
23733
24687
|
"required": [
|
|
@@ -25453,7 +26407,7 @@
|
|
|
25453
26407
|
"description": "Dependencies of the computation.",
|
|
25454
26408
|
"type": "object",
|
|
25455
26409
|
"additionalProperties": {
|
|
25456
|
-
"$ref": "#/components/schemas/
|
|
26410
|
+
"$ref": "#/components/schemas/ComputedContentDependencyResolved"
|
|
25457
26411
|
}
|
|
25458
26412
|
}
|
|
25459
26413
|
},
|
|
@@ -29077,6 +30031,36 @@
|
|
|
29077
30031
|
"answer"
|
|
29078
30032
|
]
|
|
29079
30033
|
},
|
|
30034
|
+
"OpenAPISpecSource": {
|
|
30035
|
+
"oneOf": [
|
|
30036
|
+
{
|
|
30037
|
+
"description": "Create a specification from an URL",
|
|
30038
|
+
"type": "object",
|
|
30039
|
+
"properties": {
|
|
30040
|
+
"url": {
|
|
30041
|
+
"$ref": "#/components/schemas/URL"
|
|
30042
|
+
}
|
|
30043
|
+
},
|
|
30044
|
+
"required": [
|
|
30045
|
+
"url"
|
|
30046
|
+
]
|
|
30047
|
+
},
|
|
30048
|
+
{
|
|
30049
|
+
"description": "Create a specification from a text string",
|
|
30050
|
+
"type": "object",
|
|
30051
|
+
"properties": {
|
|
30052
|
+
"text": {
|
|
30053
|
+
"description": "OpenAPI specification as text",
|
|
30054
|
+
"type": "string",
|
|
30055
|
+
"minLength": 1
|
|
30056
|
+
}
|
|
30057
|
+
},
|
|
30058
|
+
"required": [
|
|
30059
|
+
"text"
|
|
30060
|
+
]
|
|
30061
|
+
}
|
|
30062
|
+
]
|
|
30063
|
+
},
|
|
29080
30064
|
"OpenAPISpecVersion": {
|
|
29081
30065
|
"type": "object",
|
|
29082
30066
|
"properties": {
|
|
@@ -29142,6 +30126,117 @@
|
|
|
29142
30126
|
"url"
|
|
29143
30127
|
]
|
|
29144
30128
|
},
|
|
30129
|
+
"TranslationTitle": {
|
|
30130
|
+
"type": "string",
|
|
30131
|
+
"description": "Title of the translation settings",
|
|
30132
|
+
"minLength": 1,
|
|
30133
|
+
"maxLength": 100
|
|
30134
|
+
},
|
|
30135
|
+
"TranslationSettings": {
|
|
30136
|
+
"type": "object",
|
|
30137
|
+
"properties": {
|
|
30138
|
+
"object": {
|
|
30139
|
+
"type": "string",
|
|
30140
|
+
"enum": [
|
|
30141
|
+
"translation-settings"
|
|
30142
|
+
]
|
|
30143
|
+
},
|
|
30144
|
+
"id": {
|
|
30145
|
+
"type": "string",
|
|
30146
|
+
"description": "Unique identifier of the translation settings"
|
|
30147
|
+
},
|
|
30148
|
+
"title": {
|
|
30149
|
+
"$ref": "#/components/schemas/TranslationTitle"
|
|
30150
|
+
},
|
|
30151
|
+
"languages": {
|
|
30152
|
+
"type": "array",
|
|
30153
|
+
"items": {
|
|
30154
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
30155
|
+
}
|
|
30156
|
+
},
|
|
30157
|
+
"createdAt": {
|
|
30158
|
+
"type": "string",
|
|
30159
|
+
"format": "date-time"
|
|
30160
|
+
},
|
|
30161
|
+
"updatedAt": {
|
|
30162
|
+
"type": "string",
|
|
30163
|
+
"format": "date-time"
|
|
30164
|
+
},
|
|
30165
|
+
"permissions": {
|
|
30166
|
+
"type": "object",
|
|
30167
|
+
"properties": {
|
|
30168
|
+
"edit": {
|
|
30169
|
+
"type": "boolean",
|
|
30170
|
+
"description": "Whether the user can edit the object"
|
|
30171
|
+
}
|
|
30172
|
+
},
|
|
30173
|
+
"required": [
|
|
30174
|
+
"edit"
|
|
30175
|
+
]
|
|
30176
|
+
},
|
|
30177
|
+
"urls": {
|
|
30178
|
+
"type": "object",
|
|
30179
|
+
"description": "URLs associated with the object",
|
|
30180
|
+
"properties": {
|
|
30181
|
+
"location": {
|
|
30182
|
+
"type": "string",
|
|
30183
|
+
"description": "URL of the translation settings in the API",
|
|
30184
|
+
"format": "uri"
|
|
30185
|
+
}
|
|
30186
|
+
},
|
|
30187
|
+
"required": [
|
|
30188
|
+
"location"
|
|
30189
|
+
]
|
|
30190
|
+
}
|
|
30191
|
+
},
|
|
30192
|
+
"required": [
|
|
30193
|
+
"object",
|
|
30194
|
+
"id",
|
|
30195
|
+
"title",
|
|
30196
|
+
"languages",
|
|
30197
|
+
"createdAt",
|
|
30198
|
+
"updatedAt",
|
|
30199
|
+
"permissions",
|
|
30200
|
+
"urls"
|
|
30201
|
+
]
|
|
30202
|
+
},
|
|
30203
|
+
"TranslationLanguageSettings": {
|
|
30204
|
+
"type": "object",
|
|
30205
|
+
"properties": {
|
|
30206
|
+
"object": {
|
|
30207
|
+
"type": "string",
|
|
30208
|
+
"enum": [
|
|
30209
|
+
"translation-language-settings"
|
|
30210
|
+
]
|
|
30211
|
+
},
|
|
30212
|
+
"language": {
|
|
30213
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
30214
|
+
},
|
|
30215
|
+
"instructions": {
|
|
30216
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
30217
|
+
},
|
|
30218
|
+
"urls": {
|
|
30219
|
+
"type": "object",
|
|
30220
|
+
"description": "URLs associated with the object",
|
|
30221
|
+
"properties": {
|
|
30222
|
+
"location": {
|
|
30223
|
+
"type": "string",
|
|
30224
|
+
"description": "URL of the translation language settings in the API",
|
|
30225
|
+
"format": "uri"
|
|
30226
|
+
}
|
|
30227
|
+
},
|
|
30228
|
+
"required": [
|
|
30229
|
+
"location"
|
|
30230
|
+
]
|
|
30231
|
+
}
|
|
30232
|
+
},
|
|
30233
|
+
"required": [
|
|
30234
|
+
"object",
|
|
30235
|
+
"language",
|
|
30236
|
+
"instructions",
|
|
30237
|
+
"urls"
|
|
30238
|
+
]
|
|
30239
|
+
},
|
|
29145
30240
|
"StorageFileMetadata": {
|
|
29146
30241
|
"type": "object",
|
|
29147
30242
|
"properties": {
|
|
@@ -29902,6 +30997,26 @@
|
|
|
29902
30997
|
"enabled"
|
|
29903
30998
|
]
|
|
29904
30999
|
},
|
|
31000
|
+
"ai": {
|
|
31001
|
+
"type": "object",
|
|
31002
|
+
"properties": {
|
|
31003
|
+
"pageLinkSummaries": {
|
|
31004
|
+
"type": "object",
|
|
31005
|
+
"properties": {
|
|
31006
|
+
"enabled": {
|
|
31007
|
+
"type": "boolean",
|
|
31008
|
+
"description": "If true, AI page links summaries is enabled"
|
|
31009
|
+
}
|
|
31010
|
+
},
|
|
31011
|
+
"required": [
|
|
31012
|
+
"enabled"
|
|
31013
|
+
]
|
|
31014
|
+
}
|
|
31015
|
+
},
|
|
31016
|
+
"required": [
|
|
31017
|
+
"pageLinkSummaries"
|
|
31018
|
+
]
|
|
31019
|
+
},
|
|
29905
31020
|
"advancedCustomization": {
|
|
29906
31021
|
"type": "object",
|
|
29907
31022
|
"properties": {
|
|
@@ -34124,16 +35239,14 @@
|
|
|
34124
35239
|
"privateKey"
|
|
34125
35240
|
]
|
|
34126
35241
|
},
|
|
34127
|
-
"
|
|
34128
|
-
"
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
34132
|
-
|
|
35242
|
+
"ComputedContentSource": {
|
|
35243
|
+
"oneOf": [
|
|
35244
|
+
{
|
|
35245
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
35246
|
+
},
|
|
35247
|
+
{
|
|
35248
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
34133
35249
|
}
|
|
34134
|
-
},
|
|
34135
|
-
"required": [
|
|
34136
|
-
"ref"
|
|
34137
35250
|
]
|
|
34138
35251
|
},
|
|
34139
35252
|
"InputPageBase": {
|
|
@@ -34222,7 +35335,7 @@
|
|
|
34222
35335
|
}
|
|
34223
35336
|
},
|
|
34224
35337
|
"computed": {
|
|
34225
|
-
"$ref": "#/components/schemas/
|
|
35338
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
34226
35339
|
}
|
|
34227
35340
|
},
|
|
34228
35341
|
"required": [
|
|
@@ -34271,7 +35384,7 @@
|
|
|
34271
35384
|
]
|
|
34272
35385
|
},
|
|
34273
35386
|
"computed": {
|
|
34274
|
-
"$ref": "#/components/schemas/
|
|
35387
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
34275
35388
|
}
|
|
34276
35389
|
},
|
|
34277
35390
|
"required": [
|
|
@@ -35437,6 +36550,25 @@
|
|
|
35437
36550
|
"organization"
|
|
35438
36551
|
]
|
|
35439
36552
|
},
|
|
36553
|
+
"OrganizationTranslationSettingsChannel": {
|
|
36554
|
+
"type": "object",
|
|
36555
|
+
"description": "Subscription channel for changes in translation settings in an organization.",
|
|
36556
|
+
"properties": {
|
|
36557
|
+
"channel": {
|
|
36558
|
+
"type": "string",
|
|
36559
|
+
"enum": [
|
|
36560
|
+
"organization-translation-settings"
|
|
36561
|
+
]
|
|
36562
|
+
},
|
|
36563
|
+
"organization": {
|
|
36564
|
+
"type": "string"
|
|
36565
|
+
}
|
|
36566
|
+
},
|
|
36567
|
+
"required": [
|
|
36568
|
+
"channel",
|
|
36569
|
+
"organization"
|
|
36570
|
+
]
|
|
36571
|
+
},
|
|
35440
36572
|
"OrganizationCustomFontsChannel": {
|
|
35441
36573
|
"type": "object",
|
|
35442
36574
|
"description": "Subscription channel for changes in custom fonts in an organization.",
|
|
@@ -36027,6 +37159,24 @@
|
|
|
36027
37159
|
"subdomain"
|
|
36028
37160
|
]
|
|
36029
37161
|
},
|
|
37162
|
+
"TranslationSettingsChannel": {
|
|
37163
|
+
"type": "object",
|
|
37164
|
+
"properties": {
|
|
37165
|
+
"channel": {
|
|
37166
|
+
"type": "string",
|
|
37167
|
+
"enum": [
|
|
37168
|
+
"translation-settings"
|
|
37169
|
+
]
|
|
37170
|
+
},
|
|
37171
|
+
"translation": {
|
|
37172
|
+
"type": "string"
|
|
37173
|
+
}
|
|
37174
|
+
},
|
|
37175
|
+
"required": [
|
|
37176
|
+
"channel",
|
|
37177
|
+
"translation"
|
|
37178
|
+
]
|
|
37179
|
+
},
|
|
36030
37180
|
"SubscriptionChannel": {
|
|
36031
37181
|
"description": "Channel to subscribe to for realtime updates.",
|
|
36032
37182
|
"oneOf": [
|
|
@@ -36132,6 +37282,9 @@
|
|
|
36132
37282
|
{
|
|
36133
37283
|
"$ref": "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
36134
37284
|
},
|
|
37285
|
+
{
|
|
37286
|
+
"$ref": "#/components/schemas/OrganizationTranslationSettingsChannel"
|
|
37287
|
+
},
|
|
36135
37288
|
{
|
|
36136
37289
|
"$ref": "#/components/schemas/OrganizationCustomFontsChannel"
|
|
36137
37290
|
},
|
|
@@ -36218,6 +37371,9 @@
|
|
|
36218
37371
|
},
|
|
36219
37372
|
{
|
|
36220
37373
|
"$ref": "#/components/schemas/SubdomainChannel"
|
|
37374
|
+
},
|
|
37375
|
+
{
|
|
37376
|
+
"$ref": "#/components/schemas/TranslationSettingsChannel"
|
|
36221
37377
|
}
|
|
36222
37378
|
],
|
|
36223
37379
|
"discriminator": {
|