@gitbook/api 0.105.0 → 0.106.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 +398 -47
- package/dist/index.cjs +122 -3
- package/dist/index.js +120 -2
- package/package.json +1 -1
- package/spec/openapi.json +1466 -392
- package/spec/openapi.yaml +795 -147
package/spec/openapi.json
CHANGED
|
@@ -1852,7 +1852,7 @@
|
|
|
1852
1852
|
"type": "object",
|
|
1853
1853
|
"properties": {
|
|
1854
1854
|
"source": {
|
|
1855
|
-
"$ref": "#/components/schemas/
|
|
1855
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
1856
1856
|
},
|
|
1857
1857
|
"seed": {
|
|
1858
1858
|
"type": "string",
|
|
@@ -1909,7 +1909,7 @@
|
|
|
1909
1909
|
"type": "object",
|
|
1910
1910
|
"properties": {
|
|
1911
1911
|
"source": {
|
|
1912
|
-
"$ref": "#/components/schemas/
|
|
1912
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
1913
1913
|
},
|
|
1914
1914
|
"seed": {
|
|
1915
1915
|
"type": "string",
|
|
@@ -10210,6 +10210,63 @@
|
|
|
10210
10210
|
"$ref": "#/components/responses/UnexpectedError"
|
|
10211
10211
|
}
|
|
10212
10212
|
}
|
|
10213
|
+
},
|
|
10214
|
+
"post": {
|
|
10215
|
+
"operationId": "createOpenAPISpec",
|
|
10216
|
+
"summary": "Create an organization OpenAPI specification",
|
|
10217
|
+
"tags": [
|
|
10218
|
+
"openapi"
|
|
10219
|
+
],
|
|
10220
|
+
"security": [
|
|
10221
|
+
{
|
|
10222
|
+
"user": []
|
|
10223
|
+
}
|
|
10224
|
+
],
|
|
10225
|
+
"parameters": [
|
|
10226
|
+
{
|
|
10227
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10228
|
+
}
|
|
10229
|
+
],
|
|
10230
|
+
"requestBody": {
|
|
10231
|
+
"required": true,
|
|
10232
|
+
"content": {
|
|
10233
|
+
"application/json": {
|
|
10234
|
+
"schema": {
|
|
10235
|
+
"type": "object",
|
|
10236
|
+
"properties": {
|
|
10237
|
+
"slug": {
|
|
10238
|
+
"$ref": "#/components/schemas/OpenAPISpecSlug"
|
|
10239
|
+
},
|
|
10240
|
+
"source": {
|
|
10241
|
+
"$ref": "#/components/schemas/OpenAPISpecSource"
|
|
10242
|
+
}
|
|
10243
|
+
},
|
|
10244
|
+
"required": [
|
|
10245
|
+
"source",
|
|
10246
|
+
"slug"
|
|
10247
|
+
]
|
|
10248
|
+
}
|
|
10249
|
+
}
|
|
10250
|
+
}
|
|
10251
|
+
},
|
|
10252
|
+
"responses": {
|
|
10253
|
+
"201": {
|
|
10254
|
+
"description": "OpenAPI specification has been created",
|
|
10255
|
+
"content": {
|
|
10256
|
+
"application/json": {
|
|
10257
|
+
"schema": {
|
|
10258
|
+
"$ref": "#/components/schemas/OpenAPISpec"
|
|
10259
|
+
}
|
|
10260
|
+
}
|
|
10261
|
+
}
|
|
10262
|
+
},
|
|
10263
|
+
"400": {
|
|
10264
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10265
|
+
},
|
|
10266
|
+
"default": {
|
|
10267
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10268
|
+
}
|
|
10269
|
+
}
|
|
10213
10270
|
}
|
|
10214
10271
|
},
|
|
10215
10272
|
"/orgs/{organizationId}/openapi/{specSlug}": {
|
|
@@ -10279,34 +10336,7 @@
|
|
|
10279
10336
|
"type": "object",
|
|
10280
10337
|
"properties": {
|
|
10281
10338
|
"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
|
-
]
|
|
10339
|
+
"$ref": "#/components/schemas/OpenAPISpecSource"
|
|
10310
10340
|
}
|
|
10311
10341
|
},
|
|
10312
10342
|
"required": [
|
|
@@ -10609,81 +10639,27 @@
|
|
|
10609
10639
|
}
|
|
10610
10640
|
}
|
|
10611
10641
|
},
|
|
10612
|
-
"/orgs/{organizationId}/
|
|
10613
|
-
"
|
|
10614
|
-
"operationId": "
|
|
10615
|
-
"summary": "
|
|
10616
|
-
"description": "Generate a pre-signed URL that can be used to upload a file to storage",
|
|
10642
|
+
"/orgs/{organizationId}/translations": {
|
|
10643
|
+
"get": {
|
|
10644
|
+
"operationId": "listTranslationSettings",
|
|
10645
|
+
"summary": "List all the translation settings in the organization",
|
|
10617
10646
|
"tags": [
|
|
10618
|
-
"
|
|
10647
|
+
"translations"
|
|
10619
10648
|
],
|
|
10620
10649
|
"security": [
|
|
10621
10650
|
{
|
|
10622
|
-
"user
|
|
10651
|
+
"user": []
|
|
10623
10652
|
}
|
|
10624
10653
|
],
|
|
10625
10654
|
"parameters": [
|
|
10626
10655
|
{
|
|
10627
10656
|
"$ref": "#/components/parameters/organizationId"
|
|
10628
|
-
}
|
|
10629
|
-
],
|
|
10630
|
-
"requestBody": {
|
|
10631
|
-
"required": true,
|
|
10632
|
-
"content": {
|
|
10633
|
-
"application/json": {
|
|
10634
|
-
"schema": {
|
|
10635
|
-
"type": "object",
|
|
10636
|
-
"required": [
|
|
10637
|
-
"file",
|
|
10638
|
-
"kind"
|
|
10639
|
-
],
|
|
10640
|
-
"properties": {
|
|
10641
|
-
"file": {
|
|
10642
|
-
"$ref": "#/components/schemas/StorageFileMetadata"
|
|
10643
|
-
},
|
|
10644
|
-
"kind": {
|
|
10645
|
-
"$ref": "#/components/schemas/StorageUploadKind"
|
|
10646
|
-
}
|
|
10647
|
-
}
|
|
10648
|
-
}
|
|
10649
|
-
}
|
|
10650
|
-
}
|
|
10651
|
-
},
|
|
10652
|
-
"responses": {
|
|
10653
|
-
"201": {
|
|
10654
|
-
"description": "Successfully generated signed URL for file upload",
|
|
10655
|
-
"content": {
|
|
10656
|
-
"application/json": {
|
|
10657
|
-
"schema": {
|
|
10658
|
-
"$ref": "#/components/schemas/StorageUploadURL"
|
|
10659
|
-
}
|
|
10660
|
-
}
|
|
10661
|
-
}
|
|
10662
10657
|
},
|
|
10663
|
-
"400": {
|
|
10664
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
10665
|
-
},
|
|
10666
|
-
"default": {
|
|
10667
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
10668
|
-
}
|
|
10669
|
-
}
|
|
10670
|
-
}
|
|
10671
|
-
},
|
|
10672
|
-
"/orgs/{organizationId}/fonts": {
|
|
10673
|
-
"get": {
|
|
10674
|
-
"operationId": "listCustomFonts",
|
|
10675
|
-
"summary": "List custom fonts in organization",
|
|
10676
|
-
"tags": [
|
|
10677
|
-
"organizations"
|
|
10678
|
-
],
|
|
10679
|
-
"security": [
|
|
10680
10658
|
{
|
|
10681
|
-
"
|
|
10682
|
-
}
|
|
10683
|
-
],
|
|
10684
|
-
"parameters": [
|
|
10659
|
+
"$ref": "#/components/parameters/listPage"
|
|
10660
|
+
},
|
|
10685
10661
|
{
|
|
10686
|
-
"$ref": "#/components/parameters/
|
|
10662
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10687
10663
|
}
|
|
10688
10664
|
],
|
|
10689
10665
|
"responses": {
|
|
@@ -10705,7 +10681,7 @@
|
|
|
10705
10681
|
"items": {
|
|
10706
10682
|
"type": "array",
|
|
10707
10683
|
"items": {
|
|
10708
|
-
"$ref": "#/components/schemas/
|
|
10684
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10709
10685
|
}
|
|
10710
10686
|
}
|
|
10711
10687
|
}
|
|
@@ -10715,23 +10691,20 @@
|
|
|
10715
10691
|
}
|
|
10716
10692
|
}
|
|
10717
10693
|
},
|
|
10718
|
-
"404": {
|
|
10719
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
10720
|
-
},
|
|
10721
10694
|
"default": {
|
|
10722
10695
|
"$ref": "#/components/responses/UnexpectedError"
|
|
10723
10696
|
}
|
|
10724
10697
|
}
|
|
10725
10698
|
},
|
|
10726
|
-
"
|
|
10727
|
-
"operationId": "
|
|
10728
|
-
"summary": "Create
|
|
10699
|
+
"post": {
|
|
10700
|
+
"operationId": "createTranslationSettings",
|
|
10701
|
+
"summary": "Create translation settings in the organization",
|
|
10729
10702
|
"tags": [
|
|
10730
|
-
"
|
|
10703
|
+
"translations"
|
|
10731
10704
|
],
|
|
10732
10705
|
"security": [
|
|
10733
10706
|
{
|
|
10734
|
-
"user
|
|
10707
|
+
"user": []
|
|
10735
10708
|
}
|
|
10736
10709
|
],
|
|
10737
10710
|
"parameters": [
|
|
@@ -10745,35 +10718,14 @@
|
|
|
10745
10718
|
"application/json": {
|
|
10746
10719
|
"schema": {
|
|
10747
10720
|
"type": "object",
|
|
10748
|
-
"description": "Defines a custom font and associated font faces with storage references.",
|
|
10749
10721
|
"properties": {
|
|
10750
|
-
"
|
|
10751
|
-
"
|
|
10752
|
-
|
|
10753
|
-
"fontFaces": {
|
|
10754
|
-
"type": "array",
|
|
10755
|
-
"description": "Array of font faces specifying weights and their corresponding storage keys.\nAt least one font face with weight 400 (regular) must be provided.\n",
|
|
10756
|
-
"items": {
|
|
10757
|
-
"type": "object",
|
|
10758
|
-
"properties": {
|
|
10759
|
-
"weight": {
|
|
10760
|
-
"$ref": "#/components/schemas/FontWeight"
|
|
10761
|
-
},
|
|
10762
|
-
"storageKey": {
|
|
10763
|
-
"$ref": "#/components/schemas/StorageFileKey"
|
|
10764
|
-
}
|
|
10765
|
-
},
|
|
10766
|
-
"required": [
|
|
10767
|
-
"weight",
|
|
10768
|
-
"storageKey"
|
|
10769
|
-
]
|
|
10770
|
-
},
|
|
10771
|
-
"minItems": 1
|
|
10722
|
+
"title": {
|
|
10723
|
+
"type": "string",
|
|
10724
|
+
"description": "The title of the translation settings"
|
|
10772
10725
|
}
|
|
10773
10726
|
},
|
|
10774
10727
|
"required": [
|
|
10775
|
-
"
|
|
10776
|
-
"fontFaces"
|
|
10728
|
+
"title"
|
|
10777
10729
|
]
|
|
10778
10730
|
}
|
|
10779
10731
|
}
|
|
@@ -10781,21 +10733,17 @@
|
|
|
10781
10733
|
},
|
|
10782
10734
|
"responses": {
|
|
10783
10735
|
"201": {
|
|
10784
|
-
"description": "
|
|
10736
|
+
"description": "Translation settings has been created",
|
|
10785
10737
|
"content": {
|
|
10786
10738
|
"application/json": {
|
|
10787
10739
|
"schema": {
|
|
10788
|
-
"$ref": "#/components/schemas/
|
|
10740
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10789
10741
|
}
|
|
10790
10742
|
}
|
|
10791
10743
|
}
|
|
10792
10744
|
},
|
|
10793
|
-
"
|
|
10794
|
-
"$ref": "#/components/responses/
|
|
10795
|
-
},
|
|
10796
|
-
"412": {
|
|
10797
|
-
"description": "Invalid request data, such as missing required font weights.",
|
|
10798
|
-
"$ref": "#/components/responses/PreconditionFailedError"
|
|
10745
|
+
"400": {
|
|
10746
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10799
10747
|
},
|
|
10800
10748
|
"default": {
|
|
10801
10749
|
"$ref": "#/components/responses/UnexpectedError"
|
|
@@ -10803,16 +10751,16 @@
|
|
|
10803
10751
|
}
|
|
10804
10752
|
}
|
|
10805
10753
|
},
|
|
10806
|
-
"/orgs/{organizationId}/
|
|
10754
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}": {
|
|
10807
10755
|
"get": {
|
|
10808
|
-
"operationId": "
|
|
10809
|
-
"summary": "Get
|
|
10756
|
+
"operationId": "getTranslationSettings",
|
|
10757
|
+
"summary": "Get an organization translation settings by its id",
|
|
10810
10758
|
"tags": [
|
|
10811
|
-
"
|
|
10759
|
+
"translations"
|
|
10812
10760
|
],
|
|
10813
10761
|
"security": [
|
|
10814
10762
|
{
|
|
10815
|
-
"user
|
|
10763
|
+
"user": []
|
|
10816
10764
|
}
|
|
10817
10765
|
],
|
|
10818
10766
|
"parameters": [
|
|
@@ -10820,22 +10768,22 @@
|
|
|
10820
10768
|
"$ref": "#/components/parameters/organizationId"
|
|
10821
10769
|
},
|
|
10822
10770
|
{
|
|
10823
|
-
"$ref": "#/components/parameters/
|
|
10771
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10824
10772
|
}
|
|
10825
10773
|
],
|
|
10826
10774
|
"responses": {
|
|
10827
10775
|
"200": {
|
|
10828
|
-
"description": "
|
|
10776
|
+
"description": "OK",
|
|
10829
10777
|
"content": {
|
|
10830
10778
|
"application/json": {
|
|
10831
10779
|
"schema": {
|
|
10832
|
-
"$ref": "#/components/schemas/
|
|
10780
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10833
10781
|
}
|
|
10834
10782
|
}
|
|
10835
10783
|
}
|
|
10836
10784
|
},
|
|
10837
10785
|
"404": {
|
|
10838
|
-
"description": "
|
|
10786
|
+
"description": "No matching translation settings found",
|
|
10839
10787
|
"$ref": "#/components/responses/NotFoundError"
|
|
10840
10788
|
},
|
|
10841
10789
|
"default": {
|
|
@@ -10843,15 +10791,15 @@
|
|
|
10843
10791
|
}
|
|
10844
10792
|
}
|
|
10845
10793
|
},
|
|
10846
|
-
"
|
|
10847
|
-
"operationId": "
|
|
10848
|
-
"summary": "Update
|
|
10794
|
+
"put": {
|
|
10795
|
+
"operationId": "updateTranslationSettings",
|
|
10796
|
+
"summary": "Update an organization translation settings by its id",
|
|
10849
10797
|
"tags": [
|
|
10850
|
-
"
|
|
10798
|
+
"translations"
|
|
10851
10799
|
],
|
|
10852
10800
|
"security": [
|
|
10853
10801
|
{
|
|
10854
|
-
"user
|
|
10802
|
+
"user": []
|
|
10855
10803
|
}
|
|
10856
10804
|
],
|
|
10857
10805
|
"parameters": [
|
|
@@ -10859,7 +10807,7 @@
|
|
|
10859
10807
|
"$ref": "#/components/parameters/organizationId"
|
|
10860
10808
|
},
|
|
10861
10809
|
{
|
|
10862
|
-
"$ref": "#/components/parameters/
|
|
10810
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10863
10811
|
}
|
|
10864
10812
|
],
|
|
10865
10813
|
"requestBody": {
|
|
@@ -10868,63 +10816,32 @@
|
|
|
10868
10816
|
"application/json": {
|
|
10869
10817
|
"schema": {
|
|
10870
10818
|
"type": "object",
|
|
10871
|
-
"description": "Defines a custom font and associated font faces with storage references.",
|
|
10872
10819
|
"properties": {
|
|
10873
|
-
"
|
|
10874
|
-
"
|
|
10875
|
-
|
|
10876
|
-
"fontFaces": {
|
|
10877
|
-
"type": "array",
|
|
10878
|
-
"description": "Array of font faces specifying weights and their corresponding storage keys. Passing null as the storage key will remove that weight.\n",
|
|
10879
|
-
"items": {
|
|
10880
|
-
"type": "object",
|
|
10881
|
-
"properties": {
|
|
10882
|
-
"weight": {
|
|
10883
|
-
"$ref": "#/components/schemas/FontWeight"
|
|
10884
|
-
},
|
|
10885
|
-
"storageKey": {
|
|
10886
|
-
"oneOf": [
|
|
10887
|
-
{
|
|
10888
|
-
"$ref": "#/components/schemas/StorageFileKey"
|
|
10889
|
-
},
|
|
10890
|
-
{
|
|
10891
|
-
"type": "string",
|
|
10892
|
-
"nullable": true,
|
|
10893
|
-
"enum": [
|
|
10894
|
-
null
|
|
10895
|
-
]
|
|
10896
|
-
}
|
|
10897
|
-
]
|
|
10898
|
-
}
|
|
10899
|
-
},
|
|
10900
|
-
"required": [
|
|
10901
|
-
"weight",
|
|
10902
|
-
"storageKey"
|
|
10903
|
-
]
|
|
10904
|
-
}
|
|
10820
|
+
"title": {
|
|
10821
|
+
"type": "string",
|
|
10822
|
+
"description": "The title of the translation settings"
|
|
10905
10823
|
}
|
|
10906
|
-
}
|
|
10824
|
+
},
|
|
10825
|
+
"required": [
|
|
10826
|
+
"title"
|
|
10827
|
+
]
|
|
10907
10828
|
}
|
|
10908
10829
|
}
|
|
10909
10830
|
}
|
|
10910
10831
|
},
|
|
10911
10832
|
"responses": {
|
|
10912
|
-
"
|
|
10913
|
-
"description": "
|
|
10833
|
+
"200": {
|
|
10834
|
+
"description": "Translation settings has been updated",
|
|
10914
10835
|
"content": {
|
|
10915
10836
|
"application/json": {
|
|
10916
10837
|
"schema": {
|
|
10917
|
-
"$ref": "#/components/schemas/
|
|
10838
|
+
"$ref": "#/components/schemas/TranslationSettings"
|
|
10918
10839
|
}
|
|
10919
10840
|
}
|
|
10920
10841
|
}
|
|
10921
10842
|
},
|
|
10922
|
-
"
|
|
10923
|
-
"$ref": "#/components/responses/
|
|
10924
|
-
},
|
|
10925
|
-
"412": {
|
|
10926
|
-
"description": "Invalid request data, such as missing required font weights.",
|
|
10927
|
-
"$ref": "#/components/responses/PreconditionFailedError"
|
|
10843
|
+
"400": {
|
|
10844
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10928
10845
|
},
|
|
10929
10846
|
"default": {
|
|
10930
10847
|
"$ref": "#/components/responses/UnexpectedError"
|
|
@@ -10932,14 +10849,14 @@
|
|
|
10932
10849
|
}
|
|
10933
10850
|
},
|
|
10934
10851
|
"delete": {
|
|
10935
|
-
"operationId": "
|
|
10936
|
-
"summary": "Delete
|
|
10852
|
+
"operationId": "deleteTranslationSettings",
|
|
10853
|
+
"summary": "Delete an organization translation settings by its id",
|
|
10937
10854
|
"tags": [
|
|
10938
|
-
"
|
|
10855
|
+
"translations"
|
|
10939
10856
|
],
|
|
10940
10857
|
"security": [
|
|
10941
10858
|
{
|
|
10942
|
-
"user
|
|
10859
|
+
"user": []
|
|
10943
10860
|
}
|
|
10944
10861
|
],
|
|
10945
10862
|
"parameters": [
|
|
@@ -10947,16 +10864,12 @@
|
|
|
10947
10864
|
"$ref": "#/components/parameters/organizationId"
|
|
10948
10865
|
},
|
|
10949
10866
|
{
|
|
10950
|
-
"$ref": "#/components/parameters/
|
|
10867
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10951
10868
|
}
|
|
10952
10869
|
],
|
|
10953
10870
|
"responses": {
|
|
10954
|
-
"
|
|
10955
|
-
"description": "
|
|
10956
|
-
},
|
|
10957
|
-
"404": {
|
|
10958
|
-
"description": "Organization or font not found.",
|
|
10959
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
10871
|
+
"205": {
|
|
10872
|
+
"description": "Translation settings has been deleted"
|
|
10960
10873
|
},
|
|
10961
10874
|
"default": {
|
|
10962
10875
|
"$ref": "#/components/responses/UnexpectedError"
|
|
@@ -10964,13 +10877,12 @@
|
|
|
10964
10877
|
}
|
|
10965
10878
|
}
|
|
10966
10879
|
},
|
|
10967
|
-
"/orgs/{organizationId}/
|
|
10880
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages": {
|
|
10968
10881
|
"get": {
|
|
10969
|
-
"operationId": "
|
|
10970
|
-
"summary": "List
|
|
10882
|
+
"operationId": "listTranslationLanguages",
|
|
10883
|
+
"summary": "List languages in translation settings",
|
|
10971
10884
|
"tags": [
|
|
10972
|
-
"
|
|
10973
|
-
"critical"
|
|
10885
|
+
"translations"
|
|
10974
10886
|
],
|
|
10975
10887
|
"security": [
|
|
10976
10888
|
{
|
|
@@ -10982,49 +10894,622 @@
|
|
|
10982
10894
|
"$ref": "#/components/parameters/organizationId"
|
|
10983
10895
|
},
|
|
10984
10896
|
{
|
|
10985
|
-
"$ref": "#/components/parameters/
|
|
10986
|
-
},
|
|
10987
|
-
{
|
|
10988
|
-
"$ref": "#/components/parameters/listLimit"
|
|
10989
|
-
},
|
|
10990
|
-
{
|
|
10991
|
-
"name": "space",
|
|
10992
|
-
"in": "query",
|
|
10993
|
-
"description": "Identifier of the space to filter the sites by",
|
|
10994
|
-
"required": false,
|
|
10995
|
-
"schema": {
|
|
10996
|
-
"type": "string"
|
|
10997
|
-
}
|
|
10998
|
-
},
|
|
10999
|
-
{
|
|
11000
|
-
"name": "title",
|
|
11001
|
-
"in": "query",
|
|
11002
|
-
"description": "Filter sites by their title",
|
|
11003
|
-
"required": false,
|
|
11004
|
-
"schema": {
|
|
11005
|
-
"type": "string"
|
|
11006
|
-
}
|
|
10897
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11007
10898
|
},
|
|
11008
10899
|
{
|
|
11009
|
-
"
|
|
11010
|
-
"in": "query",
|
|
11011
|
-
"description": "Filter sites by their published status",
|
|
11012
|
-
"required": false,
|
|
11013
|
-
"schema": {
|
|
11014
|
-
"type": "boolean"
|
|
11015
|
-
}
|
|
10900
|
+
"$ref": "#/components/parameters/listPage"
|
|
11016
10901
|
},
|
|
11017
10902
|
{
|
|
11018
|
-
"
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
10903
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10904
|
+
}
|
|
10905
|
+
],
|
|
10906
|
+
"responses": {
|
|
10907
|
+
"200": {
|
|
10908
|
+
"description": "OK",
|
|
10909
|
+
"content": {
|
|
10910
|
+
"application/json": {
|
|
10911
|
+
"schema": {
|
|
10912
|
+
"allOf": [
|
|
10913
|
+
{
|
|
10914
|
+
"$ref": "#/components/schemas/List"
|
|
10915
|
+
},
|
|
10916
|
+
{
|
|
10917
|
+
"type": "object",
|
|
10918
|
+
"required": [
|
|
10919
|
+
"items"
|
|
10920
|
+
],
|
|
10921
|
+
"properties": {
|
|
10922
|
+
"items": {
|
|
10923
|
+
"type": "array",
|
|
10924
|
+
"items": {
|
|
10925
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
10926
|
+
}
|
|
10927
|
+
}
|
|
10928
|
+
}
|
|
10929
|
+
}
|
|
10930
|
+
]
|
|
10931
|
+
}
|
|
10932
|
+
}
|
|
10933
|
+
}
|
|
10934
|
+
},
|
|
10935
|
+
"404": {
|
|
10936
|
+
"description": "No matching translation settings found",
|
|
10937
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10938
|
+
},
|
|
10939
|
+
"default": {
|
|
10940
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10941
|
+
}
|
|
10942
|
+
}
|
|
10943
|
+
}
|
|
10944
|
+
},
|
|
10945
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}": {
|
|
10946
|
+
"get": {
|
|
10947
|
+
"operationId": "getTranslationLanguage",
|
|
10948
|
+
"summary": "Get language settings from translation",
|
|
10949
|
+
"tags": [
|
|
10950
|
+
"translations"
|
|
10951
|
+
],
|
|
10952
|
+
"security": [
|
|
10953
|
+
{
|
|
10954
|
+
"user": []
|
|
10955
|
+
}
|
|
10956
|
+
],
|
|
10957
|
+
"parameters": [
|
|
10958
|
+
{
|
|
10959
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10960
|
+
},
|
|
10961
|
+
{
|
|
10962
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
10963
|
+
},
|
|
10964
|
+
{
|
|
10965
|
+
"$ref": "#/components/parameters/translationLanguage"
|
|
10966
|
+
}
|
|
10967
|
+
],
|
|
10968
|
+
"responses": {
|
|
10969
|
+
"200": {
|
|
10970
|
+
"description": "OK",
|
|
10971
|
+
"content": {
|
|
10972
|
+
"application/json": {
|
|
10973
|
+
"schema": {
|
|
10974
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
10975
|
+
}
|
|
10976
|
+
}
|
|
10977
|
+
}
|
|
10978
|
+
},
|
|
10979
|
+
"404": {
|
|
10980
|
+
"description": "No matching translation language settings found",
|
|
10981
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10982
|
+
},
|
|
10983
|
+
"default": {
|
|
10984
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
10985
|
+
}
|
|
10986
|
+
}
|
|
10987
|
+
},
|
|
10988
|
+
"put": {
|
|
10989
|
+
"operationId": "createOrUpdateTranslationLanguage",
|
|
10990
|
+
"summary": "Create or update language settings in translation",
|
|
10991
|
+
"tags": [
|
|
10992
|
+
"translations"
|
|
10993
|
+
],
|
|
10994
|
+
"security": [
|
|
10995
|
+
{
|
|
10996
|
+
"user": []
|
|
10997
|
+
}
|
|
10998
|
+
],
|
|
10999
|
+
"parameters": [
|
|
11000
|
+
{
|
|
11001
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11002
|
+
},
|
|
11003
|
+
{
|
|
11004
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11005
|
+
},
|
|
11006
|
+
{
|
|
11007
|
+
"$ref": "#/components/parameters/translationLanguage"
|
|
11008
|
+
}
|
|
11009
|
+
],
|
|
11010
|
+
"requestBody": {
|
|
11011
|
+
"required": true,
|
|
11012
|
+
"content": {
|
|
11013
|
+
"application/json": {
|
|
11014
|
+
"schema": {
|
|
11015
|
+
"type": "object",
|
|
11016
|
+
"properties": {
|
|
11017
|
+
"instructions": {
|
|
11018
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
11019
|
+
}
|
|
11020
|
+
},
|
|
11021
|
+
"required": [
|
|
11022
|
+
"instructions"
|
|
11023
|
+
]
|
|
11024
|
+
}
|
|
11025
|
+
}
|
|
11026
|
+
}
|
|
11027
|
+
},
|
|
11028
|
+
"responses": {
|
|
11029
|
+
"200": {
|
|
11030
|
+
"description": "Language settings successfully updated",
|
|
11031
|
+
"content": {
|
|
11032
|
+
"application/json": {
|
|
11033
|
+
"schema": {
|
|
11034
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11035
|
+
}
|
|
11036
|
+
}
|
|
11037
|
+
}
|
|
11038
|
+
},
|
|
11039
|
+
"201": {
|
|
11040
|
+
"description": "Language settings successfully created",
|
|
11041
|
+
"content": {
|
|
11042
|
+
"application/json": {
|
|
11043
|
+
"schema": {
|
|
11044
|
+
"$ref": "#/components/schemas/TranslationLanguageSettings"
|
|
11045
|
+
}
|
|
11046
|
+
}
|
|
11047
|
+
}
|
|
11048
|
+
},
|
|
11049
|
+
"400": {
|
|
11050
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11051
|
+
},
|
|
11052
|
+
"404": {
|
|
11053
|
+
"description": "No matching translation language settings found",
|
|
11054
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11055
|
+
},
|
|
11056
|
+
"default": {
|
|
11057
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11058
|
+
}
|
|
11059
|
+
}
|
|
11060
|
+
},
|
|
11061
|
+
"delete": {
|
|
11062
|
+
"operationId": "deleteTranslationLanguage",
|
|
11063
|
+
"summary": "Remove language from translation",
|
|
11064
|
+
"tags": [
|
|
11065
|
+
"translations"
|
|
11066
|
+
],
|
|
11067
|
+
"security": [
|
|
11068
|
+
{
|
|
11069
|
+
"user": []
|
|
11070
|
+
}
|
|
11071
|
+
],
|
|
11072
|
+
"parameters": [
|
|
11073
|
+
{
|
|
11074
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11075
|
+
},
|
|
11076
|
+
{
|
|
11077
|
+
"$ref": "#/components/parameters/translationSettingsId"
|
|
11078
|
+
},
|
|
11079
|
+
{
|
|
11080
|
+
"$ref": "#/components/parameters/translationLanguage"
|
|
11081
|
+
}
|
|
11082
|
+
],
|
|
11083
|
+
"responses": {
|
|
11084
|
+
"205": {
|
|
11085
|
+
"description": "Language successfully removed"
|
|
11086
|
+
},
|
|
11087
|
+
"404": {
|
|
11088
|
+
"description": "No matching translation language settings found",
|
|
11089
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11090
|
+
},
|
|
11091
|
+
"default": {
|
|
11092
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11093
|
+
}
|
|
11094
|
+
}
|
|
11095
|
+
}
|
|
11096
|
+
},
|
|
11097
|
+
"/orgs/{organizationId}/storage/upload": {
|
|
11098
|
+
"post": {
|
|
11099
|
+
"operationId": "generateStorageUploadURL",
|
|
11100
|
+
"summary": "Create a signed URL to upload a file",
|
|
11101
|
+
"description": "Generate a pre-signed URL that can be used to upload a file to storage",
|
|
11102
|
+
"tags": [
|
|
11103
|
+
"organizations"
|
|
11104
|
+
],
|
|
11105
|
+
"security": [
|
|
11106
|
+
{
|
|
11107
|
+
"user-internal": []
|
|
11108
|
+
}
|
|
11109
|
+
],
|
|
11110
|
+
"parameters": [
|
|
11111
|
+
{
|
|
11112
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11113
|
+
}
|
|
11114
|
+
],
|
|
11115
|
+
"requestBody": {
|
|
11116
|
+
"required": true,
|
|
11117
|
+
"content": {
|
|
11118
|
+
"application/json": {
|
|
11119
|
+
"schema": {
|
|
11120
|
+
"type": "object",
|
|
11121
|
+
"required": [
|
|
11122
|
+
"file",
|
|
11123
|
+
"kind"
|
|
11124
|
+
],
|
|
11125
|
+
"properties": {
|
|
11126
|
+
"file": {
|
|
11127
|
+
"$ref": "#/components/schemas/StorageFileMetadata"
|
|
11128
|
+
},
|
|
11129
|
+
"kind": {
|
|
11130
|
+
"$ref": "#/components/schemas/StorageUploadKind"
|
|
11131
|
+
}
|
|
11132
|
+
}
|
|
11133
|
+
}
|
|
11134
|
+
}
|
|
11135
|
+
}
|
|
11136
|
+
},
|
|
11137
|
+
"responses": {
|
|
11138
|
+
"201": {
|
|
11139
|
+
"description": "Successfully generated signed URL for file upload",
|
|
11140
|
+
"content": {
|
|
11141
|
+
"application/json": {
|
|
11142
|
+
"schema": {
|
|
11143
|
+
"$ref": "#/components/schemas/StorageUploadURL"
|
|
11144
|
+
}
|
|
11145
|
+
}
|
|
11146
|
+
}
|
|
11147
|
+
},
|
|
11148
|
+
"400": {
|
|
11149
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11150
|
+
},
|
|
11151
|
+
"default": {
|
|
11152
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11153
|
+
}
|
|
11154
|
+
}
|
|
11155
|
+
}
|
|
11156
|
+
},
|
|
11157
|
+
"/orgs/{organizationId}/fonts": {
|
|
11158
|
+
"get": {
|
|
11159
|
+
"operationId": "listCustomFonts",
|
|
11160
|
+
"summary": "List custom fonts in organization",
|
|
11161
|
+
"tags": [
|
|
11162
|
+
"organizations"
|
|
11163
|
+
],
|
|
11164
|
+
"security": [
|
|
11165
|
+
{
|
|
11166
|
+
"user-internal": []
|
|
11167
|
+
}
|
|
11168
|
+
],
|
|
11169
|
+
"parameters": [
|
|
11170
|
+
{
|
|
11171
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11172
|
+
}
|
|
11173
|
+
],
|
|
11174
|
+
"responses": {
|
|
11175
|
+
"200": {
|
|
11176
|
+
"description": "OK",
|
|
11177
|
+
"content": {
|
|
11178
|
+
"application/json": {
|
|
11179
|
+
"schema": {
|
|
11180
|
+
"allOf": [
|
|
11181
|
+
{
|
|
11182
|
+
"$ref": "#/components/schemas/List"
|
|
11183
|
+
},
|
|
11184
|
+
{
|
|
11185
|
+
"type": "object",
|
|
11186
|
+
"required": [
|
|
11187
|
+
"items"
|
|
11188
|
+
],
|
|
11189
|
+
"properties": {
|
|
11190
|
+
"items": {
|
|
11191
|
+
"type": "array",
|
|
11192
|
+
"items": {
|
|
11193
|
+
"$ref": "#/components/schemas/CustomizationFontDefinition"
|
|
11194
|
+
}
|
|
11195
|
+
}
|
|
11196
|
+
}
|
|
11197
|
+
}
|
|
11198
|
+
]
|
|
11199
|
+
}
|
|
11200
|
+
}
|
|
11201
|
+
}
|
|
11202
|
+
},
|
|
11203
|
+
"404": {
|
|
11204
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11205
|
+
},
|
|
11206
|
+
"default": {
|
|
11207
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11208
|
+
}
|
|
11209
|
+
}
|
|
11210
|
+
},
|
|
11211
|
+
"put": {
|
|
11212
|
+
"operationId": "createCustomFont",
|
|
11213
|
+
"summary": "Create a custom font in organization",
|
|
11214
|
+
"tags": [
|
|
11215
|
+
"organizations"
|
|
11216
|
+
],
|
|
11217
|
+
"security": [
|
|
11218
|
+
{
|
|
11219
|
+
"user-internal": []
|
|
11220
|
+
}
|
|
11221
|
+
],
|
|
11222
|
+
"parameters": [
|
|
11223
|
+
{
|
|
11224
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11225
|
+
}
|
|
11226
|
+
],
|
|
11227
|
+
"requestBody": {
|
|
11228
|
+
"required": true,
|
|
11229
|
+
"content": {
|
|
11230
|
+
"application/json": {
|
|
11231
|
+
"schema": {
|
|
11232
|
+
"type": "object",
|
|
11233
|
+
"description": "Defines a custom font and associated font faces with storage references.",
|
|
11234
|
+
"properties": {
|
|
11235
|
+
"fontFamily": {
|
|
11236
|
+
"$ref": "#/components/schemas/FontFamily"
|
|
11237
|
+
},
|
|
11238
|
+
"fontFaces": {
|
|
11239
|
+
"type": "array",
|
|
11240
|
+
"description": "Array of font faces specifying weights and their corresponding storage keys.\nAt least one font face with weight 400 (regular) must be provided.\n",
|
|
11241
|
+
"items": {
|
|
11242
|
+
"type": "object",
|
|
11243
|
+
"properties": {
|
|
11244
|
+
"weight": {
|
|
11245
|
+
"$ref": "#/components/schemas/FontWeight"
|
|
11246
|
+
},
|
|
11247
|
+
"storageKey": {
|
|
11248
|
+
"$ref": "#/components/schemas/StorageFileKey"
|
|
11249
|
+
}
|
|
11250
|
+
},
|
|
11251
|
+
"required": [
|
|
11252
|
+
"weight",
|
|
11253
|
+
"storageKey"
|
|
11254
|
+
]
|
|
11255
|
+
},
|
|
11256
|
+
"minItems": 1
|
|
11257
|
+
}
|
|
11258
|
+
},
|
|
11259
|
+
"required": [
|
|
11260
|
+
"fontFamily",
|
|
11261
|
+
"fontFaces"
|
|
11262
|
+
]
|
|
11263
|
+
}
|
|
11264
|
+
}
|
|
11265
|
+
}
|
|
11266
|
+
},
|
|
11267
|
+
"responses": {
|
|
11268
|
+
"201": {
|
|
11269
|
+
"description": "Custom font created successfully.",
|
|
11270
|
+
"content": {
|
|
11271
|
+
"application/json": {
|
|
11272
|
+
"schema": {
|
|
11273
|
+
"$ref": "#/components/schemas/CustomizationFontDefinition"
|
|
11274
|
+
}
|
|
11275
|
+
}
|
|
11276
|
+
}
|
|
11277
|
+
},
|
|
11278
|
+
"404": {
|
|
11279
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11280
|
+
},
|
|
11281
|
+
"412": {
|
|
11282
|
+
"description": "Invalid request data, such as missing required font weights.",
|
|
11283
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
11284
|
+
},
|
|
11285
|
+
"default": {
|
|
11286
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11287
|
+
}
|
|
11288
|
+
}
|
|
11289
|
+
}
|
|
11290
|
+
},
|
|
11291
|
+
"/orgs/{organizationId}/fonts/{fontId}": {
|
|
11292
|
+
"get": {
|
|
11293
|
+
"operationId": "getCustomFont",
|
|
11294
|
+
"summary": "Get a custom font by its id",
|
|
11295
|
+
"tags": [
|
|
11296
|
+
"organizations"
|
|
11297
|
+
],
|
|
11298
|
+
"security": [
|
|
11299
|
+
{
|
|
11300
|
+
"user-internal": []
|
|
11301
|
+
}
|
|
11302
|
+
],
|
|
11303
|
+
"parameters": [
|
|
11304
|
+
{
|
|
11305
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"$ref": "#/components/parameters/fontId"
|
|
11309
|
+
}
|
|
11310
|
+
],
|
|
11311
|
+
"responses": {
|
|
11312
|
+
"200": {
|
|
11313
|
+
"description": "Custom font.",
|
|
11314
|
+
"content": {
|
|
11315
|
+
"application/json": {
|
|
11316
|
+
"schema": {
|
|
11317
|
+
"$ref": "#/components/schemas/CustomizationFontDefinition"
|
|
11318
|
+
}
|
|
11319
|
+
}
|
|
11320
|
+
}
|
|
11321
|
+
},
|
|
11322
|
+
"404": {
|
|
11323
|
+
"description": "Organization or font not found.",
|
|
11324
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11325
|
+
},
|
|
11326
|
+
"default": {
|
|
11327
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11328
|
+
}
|
|
11329
|
+
}
|
|
11330
|
+
},
|
|
11331
|
+
"post": {
|
|
11332
|
+
"operationId": "updateCustomFont",
|
|
11333
|
+
"summary": "Update a custom font",
|
|
11334
|
+
"tags": [
|
|
11335
|
+
"organizations"
|
|
11336
|
+
],
|
|
11337
|
+
"security": [
|
|
11338
|
+
{
|
|
11339
|
+
"user-internal": []
|
|
11340
|
+
}
|
|
11341
|
+
],
|
|
11342
|
+
"parameters": [
|
|
11343
|
+
{
|
|
11344
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11345
|
+
},
|
|
11346
|
+
{
|
|
11347
|
+
"$ref": "#/components/parameters/fontId"
|
|
11348
|
+
}
|
|
11349
|
+
],
|
|
11350
|
+
"requestBody": {
|
|
11351
|
+
"required": true,
|
|
11352
|
+
"content": {
|
|
11353
|
+
"application/json": {
|
|
11354
|
+
"schema": {
|
|
11355
|
+
"type": "object",
|
|
11356
|
+
"description": "Defines a custom font and associated font faces with storage references.",
|
|
11357
|
+
"properties": {
|
|
11358
|
+
"fontFamily": {
|
|
11359
|
+
"$ref": "#/components/schemas/FontFamily"
|
|
11360
|
+
},
|
|
11361
|
+
"fontFaces": {
|
|
11362
|
+
"type": "array",
|
|
11363
|
+
"description": "Array of font faces specifying weights and their corresponding storage keys. Passing null as the storage key will remove that weight.\n",
|
|
11364
|
+
"items": {
|
|
11365
|
+
"type": "object",
|
|
11366
|
+
"properties": {
|
|
11367
|
+
"weight": {
|
|
11368
|
+
"$ref": "#/components/schemas/FontWeight"
|
|
11369
|
+
},
|
|
11370
|
+
"storageKey": {
|
|
11371
|
+
"oneOf": [
|
|
11372
|
+
{
|
|
11373
|
+
"$ref": "#/components/schemas/StorageFileKey"
|
|
11374
|
+
},
|
|
11375
|
+
{
|
|
11376
|
+
"type": "string",
|
|
11377
|
+
"nullable": true,
|
|
11378
|
+
"enum": [
|
|
11379
|
+
null
|
|
11380
|
+
]
|
|
11381
|
+
}
|
|
11382
|
+
]
|
|
11383
|
+
}
|
|
11384
|
+
},
|
|
11385
|
+
"required": [
|
|
11386
|
+
"weight",
|
|
11387
|
+
"storageKey"
|
|
11388
|
+
]
|
|
11389
|
+
}
|
|
11390
|
+
}
|
|
11391
|
+
}
|
|
11392
|
+
}
|
|
11393
|
+
}
|
|
11394
|
+
}
|
|
11395
|
+
},
|
|
11396
|
+
"responses": {
|
|
11397
|
+
"201": {
|
|
11398
|
+
"description": "Custom font created successfully.",
|
|
11399
|
+
"content": {
|
|
11400
|
+
"application/json": {
|
|
11401
|
+
"schema": {
|
|
11402
|
+
"$ref": "#/components/schemas/CustomizationFontDefinition"
|
|
11403
|
+
}
|
|
11404
|
+
}
|
|
11405
|
+
}
|
|
11406
|
+
},
|
|
11407
|
+
"404": {
|
|
11408
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11409
|
+
},
|
|
11410
|
+
"412": {
|
|
11411
|
+
"description": "Invalid request data, such as missing required font weights.",
|
|
11412
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
11413
|
+
},
|
|
11414
|
+
"default": {
|
|
11415
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11416
|
+
}
|
|
11417
|
+
}
|
|
11418
|
+
},
|
|
11419
|
+
"delete": {
|
|
11420
|
+
"operationId": "deleteCustomFont",
|
|
11421
|
+
"summary": "Delete a custom font from an organization",
|
|
11422
|
+
"tags": [
|
|
11423
|
+
"organizations"
|
|
11424
|
+
],
|
|
11425
|
+
"security": [
|
|
11426
|
+
{
|
|
11427
|
+
"user-internal": []
|
|
11428
|
+
}
|
|
11429
|
+
],
|
|
11430
|
+
"parameters": [
|
|
11431
|
+
{
|
|
11432
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11433
|
+
},
|
|
11434
|
+
{
|
|
11435
|
+
"$ref": "#/components/parameters/fontId"
|
|
11436
|
+
}
|
|
11437
|
+
],
|
|
11438
|
+
"responses": {
|
|
11439
|
+
"204": {
|
|
11440
|
+
"description": "Custom font deleted successfully."
|
|
11441
|
+
},
|
|
11442
|
+
"404": {
|
|
11443
|
+
"description": "Organization or font not found.",
|
|
11444
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11445
|
+
},
|
|
11446
|
+
"default": {
|
|
11447
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
11448
|
+
}
|
|
11449
|
+
}
|
|
11450
|
+
}
|
|
11451
|
+
},
|
|
11452
|
+
"/orgs/{organizationId}/sites": {
|
|
11453
|
+
"get": {
|
|
11454
|
+
"operationId": "listSites",
|
|
11455
|
+
"summary": "List all the sites created in an organization",
|
|
11456
|
+
"tags": [
|
|
11457
|
+
"sites",
|
|
11458
|
+
"critical"
|
|
11459
|
+
],
|
|
11460
|
+
"security": [
|
|
11461
|
+
{
|
|
11462
|
+
"user": []
|
|
11463
|
+
}
|
|
11464
|
+
],
|
|
11465
|
+
"parameters": [
|
|
11466
|
+
{
|
|
11467
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11468
|
+
},
|
|
11469
|
+
{
|
|
11470
|
+
"$ref": "#/components/parameters/listPage"
|
|
11471
|
+
},
|
|
11472
|
+
{
|
|
11473
|
+
"$ref": "#/components/parameters/listLimit"
|
|
11474
|
+
},
|
|
11475
|
+
{
|
|
11476
|
+
"name": "space",
|
|
11477
|
+
"in": "query",
|
|
11478
|
+
"description": "Identifier of the space to filter the sites by",
|
|
11479
|
+
"required": false,
|
|
11480
|
+
"schema": {
|
|
11481
|
+
"type": "string"
|
|
11482
|
+
}
|
|
11483
|
+
},
|
|
11484
|
+
{
|
|
11485
|
+
"name": "title",
|
|
11486
|
+
"in": "query",
|
|
11487
|
+
"description": "Filter sites by their title",
|
|
11488
|
+
"required": false,
|
|
11489
|
+
"schema": {
|
|
11490
|
+
"type": "string"
|
|
11491
|
+
}
|
|
11492
|
+
},
|
|
11493
|
+
{
|
|
11494
|
+
"name": "published",
|
|
11495
|
+
"in": "query",
|
|
11496
|
+
"description": "Filter sites by their published status",
|
|
11497
|
+
"required": false,
|
|
11498
|
+
"schema": {
|
|
11499
|
+
"type": "boolean"
|
|
11500
|
+
}
|
|
11501
|
+
},
|
|
11502
|
+
{
|
|
11503
|
+
"name": "type",
|
|
11504
|
+
"in": "query",
|
|
11505
|
+
"description": "Filter by site type",
|
|
11506
|
+
"required": false,
|
|
11507
|
+
"schema": {
|
|
11508
|
+
"type": "array",
|
|
11509
|
+
"items": {
|
|
11510
|
+
"$ref": "#/components/schemas/SiteType"
|
|
11511
|
+
}
|
|
11512
|
+
}
|
|
11028
11513
|
}
|
|
11029
11514
|
],
|
|
11030
11515
|
"responses": {
|
|
@@ -15608,6 +16093,24 @@
|
|
|
15608
16093
|
"type": "string"
|
|
15609
16094
|
}
|
|
15610
16095
|
},
|
|
16096
|
+
"translationSettingsId": {
|
|
16097
|
+
"name": "translationSettingsId",
|
|
16098
|
+
"in": "path",
|
|
16099
|
+
"required": true,
|
|
16100
|
+
"description": "The unique id of the translation settings",
|
|
16101
|
+
"schema": {
|
|
16102
|
+
"type": "string"
|
|
16103
|
+
}
|
|
16104
|
+
},
|
|
16105
|
+
"translationLanguage": {
|
|
16106
|
+
"name": "translationLanguage",
|
|
16107
|
+
"in": "path",
|
|
16108
|
+
"required": true,
|
|
16109
|
+
"description": "The language of the translation",
|
|
16110
|
+
"schema": {
|
|
16111
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
16112
|
+
}
|
|
16113
|
+
},
|
|
15611
16114
|
"fontId": {
|
|
15612
16115
|
"name": "fontId",
|
|
15613
16116
|
"in": "path",
|
|
@@ -19745,6 +20248,11 @@
|
|
|
19745
20248
|
"type": "object",
|
|
19746
20249
|
"description": "Pointer to schemas in the OpenAPI spec.",
|
|
19747
20250
|
"properties": {
|
|
20251
|
+
"grouped": {
|
|
20252
|
+
"type": "boolean",
|
|
20253
|
+
"description": "Whether the schemas are grouped or not.",
|
|
20254
|
+
"default": true
|
|
20255
|
+
},
|
|
19748
20256
|
"schemas": {
|
|
19749
20257
|
"type": "array",
|
|
19750
20258
|
"description": "List of schemas name from the OpenAPI spec.",
|
|
@@ -20302,176 +20810,448 @@
|
|
|
20302
20810
|
"oneOf": [
|
|
20303
20811
|
{
|
|
20304
20812
|
"type": "object",
|
|
20305
|
-
"description": "Defined when the page was generated by a computed content.",
|
|
20813
|
+
"description": "Defined when the page was generated by a computed content.",
|
|
20814
|
+
"properties": {
|
|
20815
|
+
"computed": {
|
|
20816
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
20817
|
+
},
|
|
20818
|
+
"computedSeed": {
|
|
20819
|
+
"type": "string",
|
|
20820
|
+
"description": "Seed to use for the generation of IDs."
|
|
20821
|
+
}
|
|
20822
|
+
},
|
|
20823
|
+
"required": [
|
|
20824
|
+
"computed",
|
|
20825
|
+
"computedSeed"
|
|
20826
|
+
]
|
|
20827
|
+
},
|
|
20828
|
+
{
|
|
20829
|
+
"type": "object",
|
|
20830
|
+
"properties": {
|
|
20831
|
+
"documentId": {
|
|
20832
|
+
"type": "string",
|
|
20833
|
+
"description": "ID of the document with the page body. If undefined, the page is empty."
|
|
20834
|
+
}
|
|
20835
|
+
}
|
|
20836
|
+
}
|
|
20837
|
+
]
|
|
20838
|
+
}
|
|
20839
|
+
]
|
|
20840
|
+
},
|
|
20841
|
+
"RevisionPageLink": {
|
|
20842
|
+
"allOf": [
|
|
20843
|
+
{
|
|
20844
|
+
"$ref": "#/components/schemas/RevisionPageBase"
|
|
20845
|
+
},
|
|
20846
|
+
{
|
|
20847
|
+
"type": "object",
|
|
20848
|
+
"properties": {
|
|
20849
|
+
"kind": {
|
|
20850
|
+
"type": "string",
|
|
20851
|
+
"deprecated": true,
|
|
20852
|
+
"enum": [
|
|
20853
|
+
"link"
|
|
20854
|
+
]
|
|
20855
|
+
},
|
|
20856
|
+
"type": {
|
|
20857
|
+
"type": "string",
|
|
20858
|
+
"enum": [
|
|
20859
|
+
"link"
|
|
20860
|
+
]
|
|
20861
|
+
},
|
|
20862
|
+
"target": {
|
|
20863
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
20864
|
+
},
|
|
20865
|
+
"href": {
|
|
20866
|
+
"type": "string"
|
|
20867
|
+
},
|
|
20868
|
+
"hidden": {
|
|
20869
|
+
"type": "boolean",
|
|
20870
|
+
"description": "If true, the page is not displayed in the navigation, while still being accessible.",
|
|
20871
|
+
"default": false
|
|
20872
|
+
}
|
|
20873
|
+
},
|
|
20874
|
+
"required": [
|
|
20875
|
+
"kind",
|
|
20876
|
+
"type",
|
|
20877
|
+
"target"
|
|
20878
|
+
]
|
|
20879
|
+
}
|
|
20880
|
+
]
|
|
20881
|
+
},
|
|
20882
|
+
"ComputedContentDependencyOpenAPI": {
|
|
20883
|
+
"type": "object",
|
|
20884
|
+
"properties": {
|
|
20885
|
+
"ref": {
|
|
20886
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
20887
|
+
},
|
|
20888
|
+
"value": {
|
|
20889
|
+
"type": "object",
|
|
20890
|
+
"nullable": true,
|
|
20891
|
+
"description": "See `OpenAPI` schema component.",
|
|
20892
|
+
"properties": {
|
|
20893
|
+
"object": {
|
|
20894
|
+
"type": "string",
|
|
20895
|
+
"enum": [
|
|
20896
|
+
"openapi-spec"
|
|
20897
|
+
]
|
|
20898
|
+
},
|
|
20899
|
+
"id": {
|
|
20900
|
+
"type": "string"
|
|
20901
|
+
},
|
|
20902
|
+
"slug": {
|
|
20903
|
+
"type": "string"
|
|
20904
|
+
},
|
|
20905
|
+
"lastVersion": {
|
|
20906
|
+
"type": "string"
|
|
20907
|
+
}
|
|
20908
|
+
},
|
|
20909
|
+
"required": [
|
|
20910
|
+
"object",
|
|
20911
|
+
"id",
|
|
20912
|
+
"organizationId",
|
|
20913
|
+
"slug"
|
|
20914
|
+
]
|
|
20915
|
+
}
|
|
20916
|
+
},
|
|
20917
|
+
"required": [
|
|
20918
|
+
"ref",
|
|
20919
|
+
"value"
|
|
20920
|
+
]
|
|
20921
|
+
},
|
|
20922
|
+
"ComputedContentSourceOpenAPIBase": {
|
|
20923
|
+
"type": "object",
|
|
20924
|
+
"description": "Generic parameters from an OpenAPI computed content source",
|
|
20925
|
+
"properties": {
|
|
20926
|
+
"type": {
|
|
20927
|
+
"type": "string",
|
|
20928
|
+
"enum": [
|
|
20929
|
+
"builtin:openapi"
|
|
20930
|
+
]
|
|
20931
|
+
},
|
|
20932
|
+
"dependencies": {
|
|
20933
|
+
"type": "object",
|
|
20934
|
+
"required": [
|
|
20935
|
+
"spec"
|
|
20936
|
+
],
|
|
20937
|
+
"properties": {
|
|
20938
|
+
"spec": {
|
|
20939
|
+
"oneOf": [
|
|
20940
|
+
{
|
|
20941
|
+
"type": "object",
|
|
20942
|
+
"additionalProperties": false,
|
|
20943
|
+
"required": [
|
|
20944
|
+
"ref"
|
|
20945
|
+
],
|
|
20946
|
+
"properties": {
|
|
20947
|
+
"ref": {
|
|
20948
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
20949
|
+
}
|
|
20950
|
+
}
|
|
20951
|
+
},
|
|
20952
|
+
{
|
|
20953
|
+
"$ref": "#/components/schemas/ComputedContentDependencyOpenAPI"
|
|
20954
|
+
}
|
|
20955
|
+
]
|
|
20956
|
+
}
|
|
20957
|
+
}
|
|
20958
|
+
}
|
|
20959
|
+
},
|
|
20960
|
+
"required": [
|
|
20961
|
+
"type",
|
|
20962
|
+
"dependencies"
|
|
20963
|
+
]
|
|
20964
|
+
},
|
|
20965
|
+
"ComputedContentSourceRevisionOpenAPI": {
|
|
20966
|
+
"allOf": [
|
|
20967
|
+
{
|
|
20968
|
+
"$ref": "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
20969
|
+
},
|
|
20970
|
+
{
|
|
20971
|
+
"type": "object",
|
|
20972
|
+
"description": "Parameters for an OpenAPI computed revision",
|
|
20973
|
+
"required": [
|
|
20974
|
+
"props"
|
|
20975
|
+
],
|
|
20976
|
+
"properties": {
|
|
20977
|
+
"props": {
|
|
20978
|
+
"type": "object",
|
|
20306
20979
|
"properties": {
|
|
20307
|
-
"
|
|
20308
|
-
"
|
|
20309
|
-
},
|
|
20310
|
-
"computedSeed": {
|
|
20311
|
-
"type": "string",
|
|
20312
|
-
"description": "Seed to use for the generation of IDs."
|
|
20980
|
+
"models": {
|
|
20981
|
+
"type": "boolean"
|
|
20313
20982
|
}
|
|
20314
20983
|
},
|
|
20315
20984
|
"required": [
|
|
20316
|
-
"
|
|
20317
|
-
"computedSeed"
|
|
20985
|
+
"models"
|
|
20318
20986
|
]
|
|
20319
|
-
},
|
|
20320
|
-
{
|
|
20321
|
-
"type": "object",
|
|
20322
|
-
"properties": {
|
|
20323
|
-
"documentId": {
|
|
20324
|
-
"type": "string",
|
|
20325
|
-
"description": "ID of the document with the page body. If undefined, the page is empty."
|
|
20326
|
-
}
|
|
20327
|
-
}
|
|
20328
20987
|
}
|
|
20329
|
-
|
|
20988
|
+
}
|
|
20330
20989
|
}
|
|
20331
20990
|
]
|
|
20332
20991
|
},
|
|
20333
|
-
"
|
|
20334
|
-
"
|
|
20335
|
-
|
|
20336
|
-
|
|
20992
|
+
"ComputedContentDependencySpace": {
|
|
20993
|
+
"type": "object",
|
|
20994
|
+
"properties": {
|
|
20995
|
+
"ref": {
|
|
20996
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
20337
20997
|
},
|
|
20338
|
-
{
|
|
20998
|
+
"value": {
|
|
20339
20999
|
"type": "object",
|
|
21000
|
+
"nullable": true,
|
|
21001
|
+
"description": "See `Space` schema component.",
|
|
20340
21002
|
"properties": {
|
|
20341
|
-
"
|
|
20342
|
-
"type": "string",
|
|
20343
|
-
"deprecated": true,
|
|
20344
|
-
"enum": [
|
|
20345
|
-
"link"
|
|
20346
|
-
]
|
|
20347
|
-
},
|
|
20348
|
-
"type": {
|
|
21003
|
+
"object": {
|
|
20349
21004
|
"type": "string",
|
|
20350
21005
|
"enum": [
|
|
20351
|
-
"
|
|
21006
|
+
"space"
|
|
20352
21007
|
]
|
|
20353
21008
|
},
|
|
20354
|
-
"
|
|
20355
|
-
"$ref": "#/components/schemas/ContentRef"
|
|
20356
|
-
},
|
|
20357
|
-
"href": {
|
|
21009
|
+
"id": {
|
|
20358
21010
|
"type": "string"
|
|
20359
21011
|
},
|
|
20360
|
-
"
|
|
20361
|
-
"type": "
|
|
20362
|
-
"description": "If true, the page is not displayed in the navigation, while still being accessible.",
|
|
20363
|
-
"default": false
|
|
21012
|
+
"revision": {
|
|
21013
|
+
"type": "string"
|
|
20364
21014
|
}
|
|
20365
21015
|
},
|
|
20366
21016
|
"required": [
|
|
20367
|
-
"
|
|
20368
|
-
"
|
|
20369
|
-
"
|
|
21017
|
+
"object",
|
|
21018
|
+
"id",
|
|
21019
|
+
"revision"
|
|
20370
21020
|
]
|
|
20371
21021
|
}
|
|
21022
|
+
},
|
|
21023
|
+
"required": [
|
|
21024
|
+
"ref",
|
|
21025
|
+
"value"
|
|
20372
21026
|
]
|
|
20373
21027
|
},
|
|
20374
|
-
"
|
|
20375
|
-
"
|
|
20376
|
-
|
|
20377
|
-
|
|
21028
|
+
"TranslationLanguage": {
|
|
21029
|
+
"type": "string",
|
|
21030
|
+
"enum": [
|
|
21031
|
+
"en",
|
|
21032
|
+
"fr",
|
|
21033
|
+
"de",
|
|
21034
|
+
"es",
|
|
21035
|
+
"it",
|
|
21036
|
+
"pt",
|
|
21037
|
+
"ru",
|
|
21038
|
+
"ja",
|
|
21039
|
+
"zh",
|
|
21040
|
+
"ko",
|
|
21041
|
+
"ar",
|
|
21042
|
+
"hi",
|
|
21043
|
+
"nl",
|
|
21044
|
+
"pl",
|
|
21045
|
+
"tr",
|
|
21046
|
+
"sv",
|
|
21047
|
+
"no",
|
|
21048
|
+
"da",
|
|
21049
|
+
"fi",
|
|
21050
|
+
"el",
|
|
21051
|
+
"cs",
|
|
21052
|
+
"hu",
|
|
21053
|
+
"ro",
|
|
21054
|
+
"th",
|
|
21055
|
+
"vi",
|
|
21056
|
+
"id",
|
|
21057
|
+
"ms",
|
|
21058
|
+
"he",
|
|
21059
|
+
"uk",
|
|
21060
|
+
"sk",
|
|
21061
|
+
"bg",
|
|
21062
|
+
"hr",
|
|
21063
|
+
"lt",
|
|
21064
|
+
"lv",
|
|
21065
|
+
"et",
|
|
21066
|
+
"sl"
|
|
21067
|
+
]
|
|
21068
|
+
},
|
|
21069
|
+
"TranslationLanguageRef": {
|
|
21070
|
+
"type": "object",
|
|
21071
|
+
"properties": {
|
|
21072
|
+
"kind": {
|
|
21073
|
+
"type": "string",
|
|
21074
|
+
"enum": [
|
|
21075
|
+
"translation-language"
|
|
21076
|
+
]
|
|
20378
21077
|
},
|
|
20379
|
-
{
|
|
20380
|
-
"
|
|
21078
|
+
"translationSettings": {
|
|
21079
|
+
"type": "string",
|
|
21080
|
+
"description": "ID of the translation settings"
|
|
21081
|
+
},
|
|
21082
|
+
"language": {
|
|
21083
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
20381
21084
|
}
|
|
21085
|
+
},
|
|
21086
|
+
"required": [
|
|
21087
|
+
"kind",
|
|
21088
|
+
"translationSettings",
|
|
21089
|
+
"language"
|
|
20382
21090
|
]
|
|
20383
21091
|
},
|
|
20384
|
-
"
|
|
20385
|
-
"
|
|
20386
|
-
"
|
|
20387
|
-
|
|
21092
|
+
"TranslationParameters": {
|
|
21093
|
+
"type": "object",
|
|
21094
|
+
"description": "Compiled parameters for the translation",
|
|
21095
|
+
"properties": {
|
|
21096
|
+
"instructions": {
|
|
21097
|
+
"type": "string",
|
|
21098
|
+
"description": "Instructions for the translation, formatted as markdown"
|
|
21099
|
+
}
|
|
21100
|
+
},
|
|
21101
|
+
"required": [
|
|
21102
|
+
"instructions"
|
|
21103
|
+
]
|
|
21104
|
+
},
|
|
21105
|
+
"ComputedContentDependencyTranslation": {
|
|
21106
|
+
"type": "object",
|
|
21107
|
+
"properties": {
|
|
21108
|
+
"ref": {
|
|
21109
|
+
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
21110
|
+
},
|
|
21111
|
+
"value": {
|
|
21112
|
+
"$ref": "#/components/schemas/TranslationParameters"
|
|
21113
|
+
}
|
|
21114
|
+
},
|
|
21115
|
+
"required": [
|
|
21116
|
+
"ref",
|
|
21117
|
+
"value"
|
|
21118
|
+
]
|
|
21119
|
+
},
|
|
21120
|
+
"ComputedContentSourceTranslationBase": {
|
|
21121
|
+
"type": "object",
|
|
21122
|
+
"description": "Generic parameters from a translation computed content source",
|
|
21123
|
+
"properties": {
|
|
21124
|
+
"type": {
|
|
21125
|
+
"type": "string",
|
|
21126
|
+
"enum": [
|
|
21127
|
+
"builtin:translation"
|
|
21128
|
+
]
|
|
21129
|
+
},
|
|
21130
|
+
"dependencies": {
|
|
20388
21131
|
"type": "object",
|
|
21132
|
+
"required": [
|
|
21133
|
+
"source",
|
|
21134
|
+
"settings"
|
|
21135
|
+
],
|
|
20389
21136
|
"properties": {
|
|
20390
|
-
"
|
|
20391
|
-
"
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
20396
|
-
|
|
20397
|
-
|
|
20398
|
-
|
|
20399
|
-
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
|
|
21137
|
+
"source": {
|
|
21138
|
+
"oneOf": [
|
|
21139
|
+
{
|
|
21140
|
+
"type": "object",
|
|
21141
|
+
"additionalProperties": false,
|
|
21142
|
+
"required": [
|
|
21143
|
+
"ref"
|
|
21144
|
+
],
|
|
21145
|
+
"properties": {
|
|
21146
|
+
"ref": {
|
|
21147
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21148
|
+
}
|
|
21149
|
+
}
|
|
20403
21150
|
},
|
|
20404
|
-
|
|
20405
|
-
"
|
|
21151
|
+
{
|
|
21152
|
+
"$ref": "#/components/schemas/ComputedContentDependencySpace"
|
|
21153
|
+
}
|
|
21154
|
+
]
|
|
21155
|
+
},
|
|
21156
|
+
"settings": {
|
|
21157
|
+
"oneOf": [
|
|
21158
|
+
{
|
|
21159
|
+
"type": "object",
|
|
21160
|
+
"additionalProperties": false,
|
|
21161
|
+
"required": [
|
|
21162
|
+
"ref"
|
|
21163
|
+
],
|
|
21164
|
+
"properties": {
|
|
21165
|
+
"ref": {
|
|
21166
|
+
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
21167
|
+
}
|
|
21168
|
+
}
|
|
20406
21169
|
},
|
|
20407
|
-
|
|
20408
|
-
"
|
|
21170
|
+
{
|
|
21171
|
+
"$ref": "#/components/schemas/ComputedContentDependencyTranslation"
|
|
20409
21172
|
}
|
|
20410
|
-
},
|
|
20411
|
-
"required": [
|
|
20412
|
-
"object",
|
|
20413
|
-
"id",
|
|
20414
|
-
"revision"
|
|
20415
21173
|
]
|
|
20416
21174
|
}
|
|
20417
|
-
}
|
|
20418
|
-
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
|
|
21175
|
+
}
|
|
21176
|
+
}
|
|
21177
|
+
},
|
|
21178
|
+
"required": [
|
|
21179
|
+
"type",
|
|
21180
|
+
"dependencies"
|
|
21181
|
+
]
|
|
21182
|
+
},
|
|
21183
|
+
"ComputedContentSourceRevisionTranslation": {
|
|
21184
|
+
"allOf": [
|
|
21185
|
+
{
|
|
21186
|
+
"$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
|
|
20422
21187
|
},
|
|
20423
21188
|
{
|
|
20424
21189
|
"type": "object",
|
|
21190
|
+
"required": [
|
|
21191
|
+
"props"
|
|
21192
|
+
],
|
|
20425
21193
|
"properties": {
|
|
20426
|
-
"
|
|
20427
|
-
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
20428
|
-
},
|
|
20429
|
-
"value": {
|
|
21194
|
+
"props": {
|
|
20430
21195
|
"type": "object",
|
|
20431
|
-
"
|
|
20432
|
-
|
|
21196
|
+
"required": [
|
|
21197
|
+
"sourceLanguage"
|
|
21198
|
+
],
|
|
20433
21199
|
"properties": {
|
|
20434
|
-
"
|
|
20435
|
-
"
|
|
20436
|
-
"enum": [
|
|
20437
|
-
"openapi-spec"
|
|
20438
|
-
]
|
|
20439
|
-
},
|
|
20440
|
-
"id": {
|
|
20441
|
-
"type": "string"
|
|
20442
|
-
},
|
|
20443
|
-
"slug": {
|
|
20444
|
-
"type": "string"
|
|
20445
|
-
},
|
|
20446
|
-
"lastVersion": {
|
|
20447
|
-
"type": "string"
|
|
21200
|
+
"sourceLanguage": {
|
|
21201
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
20448
21202
|
}
|
|
20449
|
-
}
|
|
20450
|
-
"required": [
|
|
20451
|
-
"object",
|
|
20452
|
-
"id",
|
|
20453
|
-
"slug"
|
|
20454
|
-
]
|
|
21203
|
+
}
|
|
20455
21204
|
}
|
|
20456
|
-
}
|
|
20457
|
-
"required": [
|
|
20458
|
-
"ref",
|
|
20459
|
-
"value"
|
|
20460
|
-
]
|
|
21205
|
+
}
|
|
20461
21206
|
}
|
|
20462
21207
|
]
|
|
20463
21208
|
},
|
|
20464
|
-
"
|
|
21209
|
+
"ComputedContentDependency": {
|
|
20465
21210
|
"type": "object",
|
|
20466
|
-
"description": "
|
|
21211
|
+
"description": "Dependency for a computation, before its resolution.",
|
|
21212
|
+
"additionalProperties": false,
|
|
20467
21213
|
"properties": {
|
|
20468
|
-
"
|
|
20469
|
-
"
|
|
20470
|
-
|
|
21214
|
+
"ref": {
|
|
21215
|
+
"oneOf": [
|
|
21216
|
+
{
|
|
21217
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21218
|
+
},
|
|
21219
|
+
{
|
|
21220
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21221
|
+
},
|
|
21222
|
+
{
|
|
21223
|
+
"$ref": "#/components/schemas/TranslationLanguageRef"
|
|
21224
|
+
}
|
|
21225
|
+
]
|
|
21226
|
+
}
|
|
21227
|
+
},
|
|
21228
|
+
"required": [
|
|
21229
|
+
"ref"
|
|
21230
|
+
]
|
|
21231
|
+
},
|
|
21232
|
+
"ComputedContentDependencyResolved": {
|
|
21233
|
+
"description": "Dependency for a computation, with its resolved value.",
|
|
21234
|
+
"oneOf": [
|
|
21235
|
+
{
|
|
21236
|
+
"$ref": "#/components/schemas/ComputedContentDependencySpace"
|
|
20471
21237
|
},
|
|
20472
|
-
|
|
21238
|
+
{
|
|
21239
|
+
"$ref": "#/components/schemas/ComputedContentDependencyOpenAPI"
|
|
21240
|
+
},
|
|
21241
|
+
{
|
|
21242
|
+
"$ref": "#/components/schemas/ComputedContentDependencyTranslation"
|
|
21243
|
+
}
|
|
21244
|
+
]
|
|
21245
|
+
},
|
|
21246
|
+
"ComputedContentSourceIntegration": {
|
|
21247
|
+
"type": "object",
|
|
21248
|
+
"description": "Parameters for a computed content managed by an integration",
|
|
21249
|
+
"properties": {
|
|
21250
|
+
"type": {
|
|
20473
21251
|
"type": "string",
|
|
20474
|
-
"description": "
|
|
21252
|
+
"description": "Type of the computed source",
|
|
21253
|
+
"pattern": "^integration:[^:]+:[^:]+$",
|
|
21254
|
+
"x-typescript": "`integration:${string}:${string}`"
|
|
20475
21255
|
},
|
|
20476
21256
|
"props": {
|
|
20477
21257
|
"description": "Properties to be passed to the computation",
|
|
@@ -20483,29 +21263,33 @@
|
|
|
20483
21263
|
"additionalProperties": {
|
|
20484
21264
|
"anyOf": [
|
|
20485
21265
|
{
|
|
20486
|
-
"
|
|
20487
|
-
"properties": {
|
|
20488
|
-
"ref": {
|
|
20489
|
-
"$ref": "#/components/schemas/ComputedContentDependencyRef"
|
|
20490
|
-
}
|
|
20491
|
-
},
|
|
20492
|
-
"required": [
|
|
20493
|
-
"ref"
|
|
20494
|
-
]
|
|
21266
|
+
"$ref": "#/components/schemas/ComputedContentDependency"
|
|
20495
21267
|
},
|
|
20496
21268
|
{
|
|
20497
|
-
"$ref": "#/components/schemas/
|
|
21269
|
+
"$ref": "#/components/schemas/ComputedContentDependencyResolved"
|
|
20498
21270
|
}
|
|
20499
21271
|
]
|
|
20500
21272
|
}
|
|
20501
21273
|
}
|
|
20502
21274
|
},
|
|
20503
21275
|
"required": [
|
|
20504
|
-
"
|
|
20505
|
-
"source",
|
|
21276
|
+
"type",
|
|
20506
21277
|
"props"
|
|
20507
21278
|
]
|
|
20508
21279
|
},
|
|
21280
|
+
"ComputedContentSourceRevision": {
|
|
21281
|
+
"oneOf": [
|
|
21282
|
+
{
|
|
21283
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevisionOpenAPI"
|
|
21284
|
+
},
|
|
21285
|
+
{
|
|
21286
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevisionTranslation"
|
|
21287
|
+
},
|
|
21288
|
+
{
|
|
21289
|
+
"$ref": "#/components/schemas/ComputedContentSourceIntegration"
|
|
21290
|
+
}
|
|
21291
|
+
]
|
|
21292
|
+
},
|
|
20509
21293
|
"RevisionPageComputed": {
|
|
20510
21294
|
"allOf": [
|
|
20511
21295
|
{
|
|
@@ -20521,7 +21305,7 @@
|
|
|
20521
21305
|
]
|
|
20522
21306
|
},
|
|
20523
21307
|
"computed": {
|
|
20524
|
-
"$ref": "#/components/schemas/
|
|
21308
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
20525
21309
|
}
|
|
20526
21310
|
},
|
|
20527
21311
|
"required": [
|
|
@@ -20604,6 +21388,103 @@
|
|
|
20604
21388
|
"yPos"
|
|
20605
21389
|
]
|
|
20606
21390
|
},
|
|
21391
|
+
"ComputedContentSourceDocumentOpenAPI": {
|
|
21392
|
+
"allOf": [
|
|
21393
|
+
{
|
|
21394
|
+
"$ref": "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
21395
|
+
},
|
|
21396
|
+
{
|
|
21397
|
+
"type": "object",
|
|
21398
|
+
"description": "Parameters for an OpenAPI computed document",
|
|
21399
|
+
"required": [
|
|
21400
|
+
"props"
|
|
21401
|
+
],
|
|
21402
|
+
"properties": {
|
|
21403
|
+
"props": {
|
|
21404
|
+
"oneOf": [
|
|
21405
|
+
{
|
|
21406
|
+
"type": "object",
|
|
21407
|
+
"required": [
|
|
21408
|
+
"doc"
|
|
21409
|
+
],
|
|
21410
|
+
"properties": {
|
|
21411
|
+
"doc": {
|
|
21412
|
+
"type": "string",
|
|
21413
|
+
"enum": [
|
|
21414
|
+
"models"
|
|
21415
|
+
]
|
|
21416
|
+
}
|
|
21417
|
+
}
|
|
21418
|
+
},
|
|
21419
|
+
{
|
|
21420
|
+
"type": "object",
|
|
21421
|
+
"required": [
|
|
21422
|
+
"doc",
|
|
21423
|
+
"page"
|
|
21424
|
+
],
|
|
21425
|
+
"properties": {
|
|
21426
|
+
"doc": {
|
|
21427
|
+
"type": "string",
|
|
21428
|
+
"enum": [
|
|
21429
|
+
"operations",
|
|
21430
|
+
"info"
|
|
21431
|
+
]
|
|
21432
|
+
},
|
|
21433
|
+
"page": {
|
|
21434
|
+
"type": "string",
|
|
21435
|
+
"minLength": 1
|
|
21436
|
+
}
|
|
21437
|
+
}
|
|
21438
|
+
}
|
|
21439
|
+
]
|
|
21440
|
+
}
|
|
21441
|
+
}
|
|
21442
|
+
}
|
|
21443
|
+
]
|
|
21444
|
+
},
|
|
21445
|
+
"ComputedContentSourceDocumentTranslation": {
|
|
21446
|
+
"allOf": [
|
|
21447
|
+
{
|
|
21448
|
+
"$ref": "#/components/schemas/ComputedContentSourceTranslationBase"
|
|
21449
|
+
},
|
|
21450
|
+
{
|
|
21451
|
+
"type": "object",
|
|
21452
|
+
"required": [
|
|
21453
|
+
"props"
|
|
21454
|
+
],
|
|
21455
|
+
"properties": {
|
|
21456
|
+
"props": {
|
|
21457
|
+
"type": "object",
|
|
21458
|
+
"required": [
|
|
21459
|
+
"document",
|
|
21460
|
+
"sourceLanguage"
|
|
21461
|
+
],
|
|
21462
|
+
"properties": {
|
|
21463
|
+
"document": {
|
|
21464
|
+
"type": "string"
|
|
21465
|
+
},
|
|
21466
|
+
"sourceLanguage": {
|
|
21467
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
21468
|
+
}
|
|
21469
|
+
}
|
|
21470
|
+
}
|
|
21471
|
+
}
|
|
21472
|
+
}
|
|
21473
|
+
]
|
|
21474
|
+
},
|
|
21475
|
+
"ComputedContentSourceDocument": {
|
|
21476
|
+
"oneOf": [
|
|
21477
|
+
{
|
|
21478
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocumentOpenAPI"
|
|
21479
|
+
},
|
|
21480
|
+
{
|
|
21481
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocumentTranslation"
|
|
21482
|
+
},
|
|
21483
|
+
{
|
|
21484
|
+
"$ref": "#/components/schemas/ComputedContentSourceIntegration"
|
|
21485
|
+
}
|
|
21486
|
+
]
|
|
21487
|
+
},
|
|
20607
21488
|
"RevisionPageGroup": {
|
|
20608
21489
|
"allOf": [
|
|
20609
21490
|
{
|
|
@@ -23728,6 +24609,17 @@
|
|
|
23728
24609
|
},
|
|
23729
24610
|
"default": {
|
|
23730
24611
|
"type": "string"
|
|
24612
|
+
},
|
|
24613
|
+
"completion_url": {
|
|
24614
|
+
"description": "If specified, this URL will be called to fetch suggestions for auto-completing the property.",
|
|
24615
|
+
"type": "string"
|
|
24616
|
+
},
|
|
24617
|
+
"enum": {
|
|
24618
|
+
"type": "array",
|
|
24619
|
+
"description": "If specified, only values from this array are allowed as inputs.",
|
|
24620
|
+
"items": {
|
|
24621
|
+
"type": "string"
|
|
24622
|
+
}
|
|
23731
24623
|
}
|
|
23732
24624
|
},
|
|
23733
24625
|
"required": [
|
|
@@ -25453,7 +26345,7 @@
|
|
|
25453
26345
|
"description": "Dependencies of the computation.",
|
|
25454
26346
|
"type": "object",
|
|
25455
26347
|
"additionalProperties": {
|
|
25456
|
-
"$ref": "#/components/schemas/
|
|
26348
|
+
"$ref": "#/components/schemas/ComputedContentDependencyResolved"
|
|
25457
26349
|
}
|
|
25458
26350
|
}
|
|
25459
26351
|
},
|
|
@@ -29077,6 +29969,36 @@
|
|
|
29077
29969
|
"answer"
|
|
29078
29970
|
]
|
|
29079
29971
|
},
|
|
29972
|
+
"OpenAPISpecSource": {
|
|
29973
|
+
"oneOf": [
|
|
29974
|
+
{
|
|
29975
|
+
"description": "Create a specification from an URL",
|
|
29976
|
+
"type": "object",
|
|
29977
|
+
"properties": {
|
|
29978
|
+
"url": {
|
|
29979
|
+
"$ref": "#/components/schemas/URL"
|
|
29980
|
+
}
|
|
29981
|
+
},
|
|
29982
|
+
"required": [
|
|
29983
|
+
"url"
|
|
29984
|
+
]
|
|
29985
|
+
},
|
|
29986
|
+
{
|
|
29987
|
+
"description": "Create a specification from a text string",
|
|
29988
|
+
"type": "object",
|
|
29989
|
+
"properties": {
|
|
29990
|
+
"text": {
|
|
29991
|
+
"description": "OpenAPI specification as text",
|
|
29992
|
+
"type": "string",
|
|
29993
|
+
"minLength": 1
|
|
29994
|
+
}
|
|
29995
|
+
},
|
|
29996
|
+
"required": [
|
|
29997
|
+
"text"
|
|
29998
|
+
]
|
|
29999
|
+
}
|
|
30000
|
+
]
|
|
30001
|
+
},
|
|
29080
30002
|
"OpenAPISpecVersion": {
|
|
29081
30003
|
"type": "object",
|
|
29082
30004
|
"properties": {
|
|
@@ -29142,6 +30064,117 @@
|
|
|
29142
30064
|
"url"
|
|
29143
30065
|
]
|
|
29144
30066
|
},
|
|
30067
|
+
"TranslationTitle": {
|
|
30068
|
+
"type": "string",
|
|
30069
|
+
"description": "Title of the translation settings",
|
|
30070
|
+
"minLength": 1,
|
|
30071
|
+
"maxLength": 100
|
|
30072
|
+
},
|
|
30073
|
+
"TranslationSettings": {
|
|
30074
|
+
"type": "object",
|
|
30075
|
+
"properties": {
|
|
30076
|
+
"object": {
|
|
30077
|
+
"type": "string",
|
|
30078
|
+
"enum": [
|
|
30079
|
+
"translation-settings"
|
|
30080
|
+
]
|
|
30081
|
+
},
|
|
30082
|
+
"id": {
|
|
30083
|
+
"type": "string",
|
|
30084
|
+
"description": "Unique identifier of the translation settings"
|
|
30085
|
+
},
|
|
30086
|
+
"title": {
|
|
30087
|
+
"$ref": "#/components/schemas/TranslationTitle"
|
|
30088
|
+
},
|
|
30089
|
+
"languages": {
|
|
30090
|
+
"type": "array",
|
|
30091
|
+
"items": {
|
|
30092
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
30093
|
+
}
|
|
30094
|
+
},
|
|
30095
|
+
"createdAt": {
|
|
30096
|
+
"type": "string",
|
|
30097
|
+
"format": "date-time"
|
|
30098
|
+
},
|
|
30099
|
+
"updatedAt": {
|
|
30100
|
+
"type": "string",
|
|
30101
|
+
"format": "date-time"
|
|
30102
|
+
},
|
|
30103
|
+
"permissions": {
|
|
30104
|
+
"type": "object",
|
|
30105
|
+
"properties": {
|
|
30106
|
+
"edit": {
|
|
30107
|
+
"type": "boolean",
|
|
30108
|
+
"description": "Whether the user can edit the object"
|
|
30109
|
+
}
|
|
30110
|
+
},
|
|
30111
|
+
"required": [
|
|
30112
|
+
"edit"
|
|
30113
|
+
]
|
|
30114
|
+
},
|
|
30115
|
+
"urls": {
|
|
30116
|
+
"type": "object",
|
|
30117
|
+
"description": "URLs associated with the object",
|
|
30118
|
+
"properties": {
|
|
30119
|
+
"location": {
|
|
30120
|
+
"type": "string",
|
|
30121
|
+
"description": "URL of the translation settings in the API",
|
|
30122
|
+
"format": "uri"
|
|
30123
|
+
}
|
|
30124
|
+
},
|
|
30125
|
+
"required": [
|
|
30126
|
+
"location"
|
|
30127
|
+
]
|
|
30128
|
+
}
|
|
30129
|
+
},
|
|
30130
|
+
"required": [
|
|
30131
|
+
"object",
|
|
30132
|
+
"id",
|
|
30133
|
+
"title",
|
|
30134
|
+
"languages",
|
|
30135
|
+
"createdAt",
|
|
30136
|
+
"updatedAt",
|
|
30137
|
+
"permissions",
|
|
30138
|
+
"urls"
|
|
30139
|
+
]
|
|
30140
|
+
},
|
|
30141
|
+
"TranslationLanguageSettings": {
|
|
30142
|
+
"type": "object",
|
|
30143
|
+
"properties": {
|
|
30144
|
+
"object": {
|
|
30145
|
+
"type": "string",
|
|
30146
|
+
"enum": [
|
|
30147
|
+
"translation-language-settings"
|
|
30148
|
+
]
|
|
30149
|
+
},
|
|
30150
|
+
"language": {
|
|
30151
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
30152
|
+
},
|
|
30153
|
+
"instructions": {
|
|
30154
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
30155
|
+
},
|
|
30156
|
+
"urls": {
|
|
30157
|
+
"type": "object",
|
|
30158
|
+
"description": "URLs associated with the object",
|
|
30159
|
+
"properties": {
|
|
30160
|
+
"location": {
|
|
30161
|
+
"type": "string",
|
|
30162
|
+
"description": "URL of the translation language settings in the API",
|
|
30163
|
+
"format": "uri"
|
|
30164
|
+
}
|
|
30165
|
+
},
|
|
30166
|
+
"required": [
|
|
30167
|
+
"location"
|
|
30168
|
+
]
|
|
30169
|
+
}
|
|
30170
|
+
},
|
|
30171
|
+
"required": [
|
|
30172
|
+
"object",
|
|
30173
|
+
"language",
|
|
30174
|
+
"instructions",
|
|
30175
|
+
"urls"
|
|
30176
|
+
]
|
|
30177
|
+
},
|
|
29145
30178
|
"StorageFileMetadata": {
|
|
29146
30179
|
"type": "object",
|
|
29147
30180
|
"properties": {
|
|
@@ -34124,16 +35157,14 @@
|
|
|
34124
35157
|
"privateKey"
|
|
34125
35158
|
]
|
|
34126
35159
|
},
|
|
34127
|
-
"
|
|
34128
|
-
"
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
34132
|
-
|
|
35160
|
+
"ComputedContentSource": {
|
|
35161
|
+
"oneOf": [
|
|
35162
|
+
{
|
|
35163
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
35164
|
+
},
|
|
35165
|
+
{
|
|
35166
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
34133
35167
|
}
|
|
34134
|
-
},
|
|
34135
|
-
"required": [
|
|
34136
|
-
"ref"
|
|
34137
35168
|
]
|
|
34138
35169
|
},
|
|
34139
35170
|
"InputPageBase": {
|
|
@@ -34222,7 +35253,7 @@
|
|
|
34222
35253
|
}
|
|
34223
35254
|
},
|
|
34224
35255
|
"computed": {
|
|
34225
|
-
"$ref": "#/components/schemas/
|
|
35256
|
+
"$ref": "#/components/schemas/ComputedContentSourceDocument"
|
|
34226
35257
|
}
|
|
34227
35258
|
},
|
|
34228
35259
|
"required": [
|
|
@@ -34271,7 +35302,7 @@
|
|
|
34271
35302
|
]
|
|
34272
35303
|
},
|
|
34273
35304
|
"computed": {
|
|
34274
|
-
"$ref": "#/components/schemas/
|
|
35305
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
34275
35306
|
}
|
|
34276
35307
|
},
|
|
34277
35308
|
"required": [
|
|
@@ -35437,6 +36468,25 @@
|
|
|
35437
36468
|
"organization"
|
|
35438
36469
|
]
|
|
35439
36470
|
},
|
|
36471
|
+
"OrganizationTranslationSettingsChannel": {
|
|
36472
|
+
"type": "object",
|
|
36473
|
+
"description": "Subscription channel for changes in translation settings in an organization.",
|
|
36474
|
+
"properties": {
|
|
36475
|
+
"channel": {
|
|
36476
|
+
"type": "string",
|
|
36477
|
+
"enum": [
|
|
36478
|
+
"organization-translation-settings"
|
|
36479
|
+
]
|
|
36480
|
+
},
|
|
36481
|
+
"organization": {
|
|
36482
|
+
"type": "string"
|
|
36483
|
+
}
|
|
36484
|
+
},
|
|
36485
|
+
"required": [
|
|
36486
|
+
"channel",
|
|
36487
|
+
"organization"
|
|
36488
|
+
]
|
|
36489
|
+
},
|
|
35440
36490
|
"OrganizationCustomFontsChannel": {
|
|
35441
36491
|
"type": "object",
|
|
35442
36492
|
"description": "Subscription channel for changes in custom fonts in an organization.",
|
|
@@ -36027,6 +37077,24 @@
|
|
|
36027
37077
|
"subdomain"
|
|
36028
37078
|
]
|
|
36029
37079
|
},
|
|
37080
|
+
"TranslationSettingsChannel": {
|
|
37081
|
+
"type": "object",
|
|
37082
|
+
"properties": {
|
|
37083
|
+
"channel": {
|
|
37084
|
+
"type": "string",
|
|
37085
|
+
"enum": [
|
|
37086
|
+
"translation-settings"
|
|
37087
|
+
]
|
|
37088
|
+
},
|
|
37089
|
+
"translation": {
|
|
37090
|
+
"type": "string"
|
|
37091
|
+
}
|
|
37092
|
+
},
|
|
37093
|
+
"required": [
|
|
37094
|
+
"channel",
|
|
37095
|
+
"translation"
|
|
37096
|
+
]
|
|
37097
|
+
},
|
|
36030
37098
|
"SubscriptionChannel": {
|
|
36031
37099
|
"description": "Channel to subscribe to for realtime updates.",
|
|
36032
37100
|
"oneOf": [
|
|
@@ -36132,6 +37200,9 @@
|
|
|
36132
37200
|
{
|
|
36133
37201
|
"$ref": "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
36134
37202
|
},
|
|
37203
|
+
{
|
|
37204
|
+
"$ref": "#/components/schemas/OrganizationTranslationSettingsChannel"
|
|
37205
|
+
},
|
|
36135
37206
|
{
|
|
36136
37207
|
"$ref": "#/components/schemas/OrganizationCustomFontsChannel"
|
|
36137
37208
|
},
|
|
@@ -36218,6 +37289,9 @@
|
|
|
36218
37289
|
},
|
|
36219
37290
|
{
|
|
36220
37291
|
"$ref": "#/components/schemas/SubdomainChannel"
|
|
37292
|
+
},
|
|
37293
|
+
{
|
|
37294
|
+
"$ref": "#/components/schemas/TranslationSettingsChannel"
|
|
36221
37295
|
}
|
|
36222
37296
|
],
|
|
36223
37297
|
"discriminator": {
|