@generaltranslation/api 0.0.1 → 0.0.3
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +136 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +239 -10
- package/dist/index.d.mts +239 -10
- package/dist/index.mjs +136 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +420 -58
package/spec/openapi.json
CHANGED
|
@@ -2,8 +2,42 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "General Translation API",
|
|
5
|
-
"version": "2026-03-06.v1"
|
|
5
|
+
"version": "2026-03-06.v1",
|
|
6
|
+
"description": "The public General Translation API. Use it to upload source content and translated files, download translations, queue and translate content, create projects, manage branches and tags, and read project and job status.\n\nMost endpoints operate on a single project. All endpoints live under `https://api.gtx.dev`.\n\nAuthenticate every request with an API key as a bearer token in the standard `Authorization: Bearer <key>` header. Project keys (`gtx-api-`, `gtx-dev-`) are bound to one project. Organization keys (`gtx-org-`) work across projects but must include the target project in the `gt-project-id` header for project-scoped routes. Organization-scoped routes, such as `POST /v2/projects`, derive the organization from the key and do not use a `gt-project-id` header.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "General Translation Support",
|
|
9
|
+
"email": "support@generaltranslation.com",
|
|
10
|
+
"url": "https://generaltranslation.com"
|
|
11
|
+
}
|
|
6
12
|
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.gtx.dev",
|
|
16
|
+
"description": "General Translation API"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"tags": [
|
|
20
|
+
{
|
|
21
|
+
"name": "Files",
|
|
22
|
+
"description": "Upload, download, publish, move, and inspect project files."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Context",
|
|
26
|
+
"description": "Generate translation context such as glossaries and instructions."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Translation",
|
|
30
|
+
"description": "Translate content, queue files for translation, and read translation job status."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Project",
|
|
34
|
+
"description": "Create and manage projects, assets, branches, and file version tags."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "CLI Wizard",
|
|
38
|
+
"description": "Create and manage internal CLI wizard sessions."
|
|
39
|
+
}
|
|
40
|
+
],
|
|
7
41
|
"components": {
|
|
8
42
|
"securitySchemes": {
|
|
9
43
|
"BearerAuth": {
|
|
@@ -40,6 +74,58 @@
|
|
|
40
74
|
"SVG"
|
|
41
75
|
]
|
|
42
76
|
},
|
|
77
|
+
"ModelProvider": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": ["ANTHROPIC", "OPENAI", "XAI", "GOOGLE"]
|
|
80
|
+
},
|
|
81
|
+
"JsonObject": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": {
|
|
84
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"JsonValue": {
|
|
88
|
+
"anyOf": [
|
|
89
|
+
{
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "number"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "boolean"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "null"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "array",
|
|
103
|
+
"items": {
|
|
104
|
+
"oneOf": [
|
|
105
|
+
{
|
|
106
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "null"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": {
|
|
117
|
+
"oneOf": [
|
|
118
|
+
{
|
|
119
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "null"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
43
129
|
"Branch": {
|
|
44
130
|
"type": "object",
|
|
45
131
|
"properties": {
|
|
@@ -63,7 +149,9 @@
|
|
|
63
149
|
"type": "boolean",
|
|
64
150
|
"enum": [true]
|
|
65
151
|
},
|
|
66
|
-
"translation": {
|
|
152
|
+
"translation": {
|
|
153
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
154
|
+
},
|
|
67
155
|
"dataFormat": {
|
|
68
156
|
"type": "string",
|
|
69
157
|
"enum": ["JSX", "ICU", "I18NEXT", "STRING"]
|
|
@@ -124,7 +212,7 @@
|
|
|
124
212
|
},
|
|
125
213
|
"actionType": {
|
|
126
214
|
"type": "string",
|
|
127
|
-
"enum": ["fast"],
|
|
215
|
+
"enum": ["fast", "standard"],
|
|
128
216
|
"default": "fast"
|
|
129
217
|
},
|
|
130
218
|
"sourceCode": {
|
|
@@ -169,8 +257,7 @@
|
|
|
169
257
|
"type": "object",
|
|
170
258
|
"properties": {
|
|
171
259
|
"modelProvider": {
|
|
172
|
-
"
|
|
173
|
-
"enum": ["ANTHROPIC", "OPENAI", "XAI", "GOOGLE"]
|
|
260
|
+
"$ref": "#/components/schemas/ModelProvider"
|
|
174
261
|
}
|
|
175
262
|
}
|
|
176
263
|
}
|
|
@@ -262,7 +349,8 @@
|
|
|
262
349
|
"/v2/projects": {
|
|
263
350
|
"post": {
|
|
264
351
|
"operationId": "createProject",
|
|
265
|
-
"
|
|
352
|
+
"summary": "Create a Project",
|
|
353
|
+
"description": "Create a Project in the Organization associated with an Organization API key. The key must have the `org:projects:create` permission. Project keys cannot use this endpoint. Enabling CDN delivery also requires `project:write`.",
|
|
266
354
|
"security": [
|
|
267
355
|
{
|
|
268
356
|
"BearerAuth": []
|
|
@@ -446,13 +534,15 @@
|
|
|
446
534
|
}
|
|
447
535
|
}
|
|
448
536
|
}
|
|
449
|
-
}
|
|
537
|
+
},
|
|
538
|
+
"tags": ["Project"]
|
|
450
539
|
}
|
|
451
540
|
},
|
|
452
541
|
"/v2/project/files/upload-files": {
|
|
453
542
|
"post": {
|
|
454
543
|
"operationId": "uploadSourceFiles",
|
|
455
|
-
"
|
|
544
|
+
"summary": "Upload source files",
|
|
545
|
+
"description": "Upload one or more source files to the project. Max 100 files per request.",
|
|
456
546
|
"security": [
|
|
457
547
|
{
|
|
458
548
|
"BearerAuth": []
|
|
@@ -474,6 +564,16 @@
|
|
|
474
564
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
475
565
|
"name": "gt-api-version",
|
|
476
566
|
"in": "header"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"schema": {
|
|
570
|
+
"type": "string",
|
|
571
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
572
|
+
},
|
|
573
|
+
"required": false,
|
|
574
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
575
|
+
"name": "gt-project-id",
|
|
576
|
+
"in": "header"
|
|
477
577
|
}
|
|
478
578
|
],
|
|
479
579
|
"requestBody": {
|
|
@@ -746,13 +846,15 @@
|
|
|
746
846
|
}
|
|
747
847
|
}
|
|
748
848
|
}
|
|
749
|
-
}
|
|
849
|
+
},
|
|
850
|
+
"tags": ["Files"]
|
|
750
851
|
}
|
|
751
852
|
},
|
|
752
853
|
"/v2/project/files/upload-translations": {
|
|
753
854
|
"post": {
|
|
754
855
|
"operationId": "uploadTranslations",
|
|
755
|
-
"
|
|
856
|
+
"summary": "Upload translated files",
|
|
857
|
+
"description": "Upload translated files linked to their source files. Max 100 files per request.",
|
|
756
858
|
"security": [
|
|
757
859
|
{
|
|
758
860
|
"BearerAuth": []
|
|
@@ -774,6 +876,16 @@
|
|
|
774
876
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
775
877
|
"name": "gt-api-version",
|
|
776
878
|
"in": "header"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"schema": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
884
|
+
},
|
|
885
|
+
"required": false,
|
|
886
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
887
|
+
"name": "gt-project-id",
|
|
888
|
+
"in": "header"
|
|
777
889
|
}
|
|
778
890
|
],
|
|
779
891
|
"requestBody": {
|
|
@@ -1113,13 +1225,15 @@
|
|
|
1113
1225
|
}
|
|
1114
1226
|
}
|
|
1115
1227
|
}
|
|
1116
|
-
}
|
|
1228
|
+
},
|
|
1229
|
+
"tags": ["Files"]
|
|
1117
1230
|
}
|
|
1118
1231
|
},
|
|
1119
1232
|
"/v2/project/assets": {
|
|
1120
1233
|
"post": {
|
|
1121
1234
|
"operationId": "uploadAssets",
|
|
1122
|
-
"
|
|
1235
|
+
"summary": "Upload Project assets",
|
|
1236
|
+
"description": "Upload OpenType or TrueType fonts through a Project and make them available to Lottie translation workflows across its Organization. Each font is keyed by a normalized identity derived from its family, weight, and italic style (from the supplied `family` and `style`, or from the font metadata and file name). Re-uploading the same identity overwrites the existing asset, so complete retries after a `500` response are safe.",
|
|
1123
1237
|
"security": [
|
|
1124
1238
|
{
|
|
1125
1239
|
"BearerAuth": []
|
|
@@ -1141,6 +1255,16 @@
|
|
|
1141
1255
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
1142
1256
|
"name": "gt-api-version",
|
|
1143
1257
|
"in": "header"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"schema": {
|
|
1261
|
+
"type": "string",
|
|
1262
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
1263
|
+
},
|
|
1264
|
+
"required": false,
|
|
1265
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
1266
|
+
"name": "gt-project-id",
|
|
1267
|
+
"in": "header"
|
|
1144
1268
|
}
|
|
1145
1269
|
],
|
|
1146
1270
|
"requestBody": {
|
|
@@ -1167,7 +1291,7 @@
|
|
|
1167
1291
|
"type": "string",
|
|
1168
1292
|
"minLength": 1,
|
|
1169
1293
|
"maxLength": 255,
|
|
1170
|
-
"pattern": "\\.(
|
|
1294
|
+
"pattern": "\\.([tT][tT][fF]|[oO][tT][fF])$"
|
|
1171
1295
|
},
|
|
1172
1296
|
"family": {
|
|
1173
1297
|
"type": "string",
|
|
@@ -1332,13 +1456,15 @@
|
|
|
1332
1456
|
}
|
|
1333
1457
|
}
|
|
1334
1458
|
}
|
|
1335
|
-
}
|
|
1459
|
+
},
|
|
1460
|
+
"tags": ["Project"]
|
|
1336
1461
|
}
|
|
1337
1462
|
},
|
|
1338
1463
|
"/v2/project/files/diffs": {
|
|
1339
1464
|
"post": {
|
|
1340
1465
|
"operationId": "submitUserEditDiffs",
|
|
1341
|
-
"
|
|
1466
|
+
"summary": "Submit translation diffs",
|
|
1467
|
+
"description": "Overwrite translations with user-provided localized content.",
|
|
1342
1468
|
"security": [
|
|
1343
1469
|
{
|
|
1344
1470
|
"BearerAuth": []
|
|
@@ -1360,6 +1486,16 @@
|
|
|
1360
1486
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
1361
1487
|
"name": "gt-api-version",
|
|
1362
1488
|
"in": "header"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"schema": {
|
|
1492
|
+
"type": "string",
|
|
1493
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
1494
|
+
},
|
|
1495
|
+
"required": false,
|
|
1496
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
1497
|
+
"name": "gt-project-id",
|
|
1498
|
+
"in": "header"
|
|
1363
1499
|
}
|
|
1364
1500
|
],
|
|
1365
1501
|
"requestBody": {
|
|
@@ -1531,13 +1667,16 @@
|
|
|
1531
1667
|
}
|
|
1532
1668
|
}
|
|
1533
1669
|
}
|
|
1534
|
-
}
|
|
1670
|
+
},
|
|
1671
|
+
"tags": ["Files"]
|
|
1535
1672
|
}
|
|
1536
1673
|
},
|
|
1537
1674
|
"/v2/project/setup/should-generate": {
|
|
1538
1675
|
"get": {
|
|
1539
1676
|
"operationId": "shouldGenerateProjectContext",
|
|
1540
|
-
"
|
|
1677
|
+
"summary": "Check if context generation is needed",
|
|
1678
|
+
"deprecated": true,
|
|
1679
|
+
"description": "Check whether the Project needs translation context generated. This deprecated endpoint is retained for backward compatibility and is no longer called by current clients.",
|
|
1541
1680
|
"security": [
|
|
1542
1681
|
{
|
|
1543
1682
|
"BearerAuth": []
|
|
@@ -1559,6 +1698,16 @@
|
|
|
1559
1698
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
1560
1699
|
"name": "gt-api-version",
|
|
1561
1700
|
"in": "header"
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"schema": {
|
|
1704
|
+
"type": "string",
|
|
1705
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
1706
|
+
},
|
|
1707
|
+
"required": false,
|
|
1708
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
1709
|
+
"name": "gt-project-id",
|
|
1710
|
+
"in": "header"
|
|
1562
1711
|
}
|
|
1563
1712
|
],
|
|
1564
1713
|
"responses": {
|
|
@@ -1668,13 +1817,15 @@
|
|
|
1668
1817
|
}
|
|
1669
1818
|
}
|
|
1670
1819
|
}
|
|
1671
|
-
}
|
|
1820
|
+
},
|
|
1821
|
+
"tags": ["Context"]
|
|
1672
1822
|
}
|
|
1673
1823
|
},
|
|
1674
1824
|
"/v2/project/setup/generate": {
|
|
1675
1825
|
"post": {
|
|
1676
1826
|
"operationId": "generateProjectContext",
|
|
1677
|
-
"
|
|
1827
|
+
"summary": "Generate translation context",
|
|
1828
|
+
"description": "Generate glossaries and translation instructions for the project.",
|
|
1678
1829
|
"security": [
|
|
1679
1830
|
{
|
|
1680
1831
|
"BearerAuth": []
|
|
@@ -1696,6 +1847,16 @@
|
|
|
1696
1847
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
1697
1848
|
"name": "gt-api-version",
|
|
1698
1849
|
"in": "header"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"schema": {
|
|
1853
|
+
"type": "string",
|
|
1854
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
1855
|
+
},
|
|
1856
|
+
"required": false,
|
|
1857
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
1858
|
+
"name": "gt-project-id",
|
|
1859
|
+
"in": "header"
|
|
1699
1860
|
}
|
|
1700
1861
|
],
|
|
1701
1862
|
"requestBody": {
|
|
@@ -1883,13 +2044,16 @@
|
|
|
1883
2044
|
}
|
|
1884
2045
|
}
|
|
1885
2046
|
}
|
|
1886
|
-
}
|
|
2047
|
+
},
|
|
2048
|
+
"tags": ["Context"]
|
|
1887
2049
|
}
|
|
1888
2050
|
},
|
|
1889
2051
|
"/v2/project/setup/status/{jobId}": {
|
|
1890
2052
|
"get": {
|
|
1891
2053
|
"operationId": "getProjectContextGenerationStatus",
|
|
1892
|
-
"
|
|
2054
|
+
"summary": "Get context generation job status",
|
|
2055
|
+
"deprecated": true,
|
|
2056
|
+
"description": "Track a context generation job. This deprecated endpoint is retained for backward compatibility; new integrations should use `POST /v2/project/jobs/info`.",
|
|
1893
2057
|
"security": [
|
|
1894
2058
|
{
|
|
1895
2059
|
"BearerAuth": []
|
|
@@ -1920,6 +2084,16 @@
|
|
|
1920
2084
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
1921
2085
|
"name": "gt-api-version",
|
|
1922
2086
|
"in": "header"
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"schema": {
|
|
2090
|
+
"type": "string",
|
|
2091
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
2092
|
+
},
|
|
2093
|
+
"required": false,
|
|
2094
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
2095
|
+
"name": "gt-project-id",
|
|
2096
|
+
"in": "header"
|
|
1923
2097
|
}
|
|
1924
2098
|
],
|
|
1925
2099
|
"responses": {
|
|
@@ -2047,13 +2221,15 @@
|
|
|
2047
2221
|
}
|
|
2048
2222
|
}
|
|
2049
2223
|
}
|
|
2050
|
-
}
|
|
2224
|
+
},
|
|
2225
|
+
"tags": ["Context"]
|
|
2051
2226
|
}
|
|
2052
2227
|
},
|
|
2053
2228
|
"/v2/project/translations/enqueue": {
|
|
2054
2229
|
"post": {
|
|
2055
2230
|
"operationId": "enqueueFileTranslations",
|
|
2056
|
-
"
|
|
2231
|
+
"summary": "Queue files for translation",
|
|
2232
|
+
"description": "Enqueue uploaded source files for background translation. Max 100 files per request. The response shape depends on the requested `gt-api-version`.",
|
|
2057
2233
|
"security": [
|
|
2058
2234
|
{
|
|
2059
2235
|
"BearerAuth": []
|
|
@@ -2075,6 +2251,16 @@
|
|
|
2075
2251
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
2076
2252
|
"name": "gt-api-version",
|
|
2077
2253
|
"in": "header"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"schema": {
|
|
2257
|
+
"type": "string",
|
|
2258
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
2259
|
+
},
|
|
2260
|
+
"required": false,
|
|
2261
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
2262
|
+
"name": "gt-project-id",
|
|
2263
|
+
"in": "header"
|
|
2078
2264
|
}
|
|
2079
2265
|
],
|
|
2080
2266
|
"requestBody": {
|
|
@@ -2143,8 +2329,7 @@
|
|
|
2143
2329
|
"default": false
|
|
2144
2330
|
},
|
|
2145
2331
|
"modelProvider": {
|
|
2146
|
-
"
|
|
2147
|
-
"enum": ["ANTHROPIC", "OPENAI", "XAI", "GOOGLE"]
|
|
2332
|
+
"$ref": "#/components/schemas/ModelProvider"
|
|
2148
2333
|
},
|
|
2149
2334
|
"publish": {
|
|
2150
2335
|
"type": "boolean"
|
|
@@ -2199,8 +2384,7 @@
|
|
|
2199
2384
|
"$ref": "#/components/schemas/FileFormat"
|
|
2200
2385
|
},
|
|
2201
2386
|
"modelProvider": {
|
|
2202
|
-
"
|
|
2203
|
-
"enum": ["ANTHROPIC", "OPENAI", "XAI", "GOOGLE"]
|
|
2387
|
+
"$ref": "#/components/schemas/ModelProvider"
|
|
2204
2388
|
},
|
|
2205
2389
|
"glossaryRetranslate": {
|
|
2206
2390
|
"type": "boolean"
|
|
@@ -2477,13 +2661,15 @@
|
|
|
2477
2661
|
}
|
|
2478
2662
|
}
|
|
2479
2663
|
}
|
|
2480
|
-
}
|
|
2664
|
+
},
|
|
2665
|
+
"tags": ["Translation"]
|
|
2481
2666
|
}
|
|
2482
2667
|
},
|
|
2483
2668
|
"/v2/project/files/publish": {
|
|
2484
2669
|
"post": {
|
|
2485
2670
|
"operationId": "publishFiles",
|
|
2486
|
-
"
|
|
2671
|
+
"summary": "Publish or unpublish files",
|
|
2672
|
+
"description": "Publish or unpublish translated files to the CDN. Requires CDN to be enabled.",
|
|
2487
2673
|
"security": [
|
|
2488
2674
|
{
|
|
2489
2675
|
"BearerAuth": []
|
|
@@ -2505,6 +2691,16 @@
|
|
|
2505
2691
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
2506
2692
|
"name": "gt-api-version",
|
|
2507
2693
|
"in": "header"
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
"schema": {
|
|
2697
|
+
"type": "string",
|
|
2698
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
2699
|
+
},
|
|
2700
|
+
"required": false,
|
|
2701
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
2702
|
+
"name": "gt-project-id",
|
|
2703
|
+
"in": "header"
|
|
2508
2704
|
}
|
|
2509
2705
|
],
|
|
2510
2706
|
"requestBody": {
|
|
@@ -2696,13 +2892,16 @@
|
|
|
2696
2892
|
}
|
|
2697
2893
|
}
|
|
2698
2894
|
}
|
|
2699
|
-
}
|
|
2895
|
+
},
|
|
2896
|
+
"tags": ["Files"]
|
|
2700
2897
|
}
|
|
2701
2898
|
},
|
|
2702
2899
|
"/v2/project/files/download/{fileId}": {
|
|
2703
2900
|
"get": {
|
|
2704
2901
|
"operationId": "downloadFile",
|
|
2705
|
-
"
|
|
2902
|
+
"summary": "Download a single file",
|
|
2903
|
+
"deprecated": true,
|
|
2904
|
+
"description": "Download a single source or translated file. This deprecated endpoint is retained for backward compatibility; new integrations should use `POST /v2/project/files/download`.",
|
|
2706
2905
|
"security": [
|
|
2707
2906
|
{
|
|
2708
2907
|
"BearerAuth": []
|
|
@@ -2757,6 +2956,16 @@
|
|
|
2757
2956
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
2758
2957
|
"name": "gt-api-version",
|
|
2759
2958
|
"in": "header"
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"schema": {
|
|
2962
|
+
"type": "string",
|
|
2963
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
2964
|
+
},
|
|
2965
|
+
"required": false,
|
|
2966
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
2967
|
+
"name": "gt-project-id",
|
|
2968
|
+
"in": "header"
|
|
2760
2969
|
}
|
|
2761
2970
|
],
|
|
2762
2971
|
"responses": {
|
|
@@ -2886,13 +3095,15 @@
|
|
|
2886
3095
|
}
|
|
2887
3096
|
}
|
|
2888
3097
|
}
|
|
2889
|
-
}
|
|
3098
|
+
},
|
|
3099
|
+
"tags": ["Files"]
|
|
2890
3100
|
}
|
|
2891
3101
|
},
|
|
2892
3102
|
"/v2/project/files/download": {
|
|
2893
3103
|
"post": {
|
|
2894
3104
|
"operationId": "downloadFiles",
|
|
2895
|
-
"
|
|
3105
|
+
"summary": "Download multiple files",
|
|
3106
|
+
"description": "Download up to 100 source or translated files in one request.",
|
|
2896
3107
|
"security": [
|
|
2897
3108
|
{
|
|
2898
3109
|
"BearerAuth": []
|
|
@@ -2914,6 +3125,16 @@
|
|
|
2914
3125
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
2915
3126
|
"name": "gt-api-version",
|
|
2916
3127
|
"in": "header"
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"schema": {
|
|
3131
|
+
"type": "string",
|
|
3132
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
3133
|
+
},
|
|
3134
|
+
"required": false,
|
|
3135
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
3136
|
+
"name": "gt-project-id",
|
|
3137
|
+
"in": "header"
|
|
2917
3138
|
}
|
|
2918
3139
|
],
|
|
2919
3140
|
"requestBody": {
|
|
@@ -2988,8 +3209,7 @@
|
|
|
2988
3209
|
"type": "string"
|
|
2989
3210
|
},
|
|
2990
3211
|
"metadata": {
|
|
2991
|
-
"
|
|
2992
|
-
"additionalProperties": {}
|
|
3212
|
+
"$ref": "#/components/schemas/JsonObject"
|
|
2993
3213
|
},
|
|
2994
3214
|
"fileFormat": {
|
|
2995
3215
|
"$ref": "#/components/schemas/FileFormat"
|
|
@@ -3131,13 +3351,15 @@
|
|
|
3131
3351
|
}
|
|
3132
3352
|
}
|
|
3133
3353
|
}
|
|
3134
|
-
}
|
|
3354
|
+
},
|
|
3355
|
+
"tags": ["Files"]
|
|
3135
3356
|
}
|
|
3136
3357
|
},
|
|
3137
3358
|
"/v2/project/branches/info": {
|
|
3138
3359
|
"post": {
|
|
3139
3360
|
"operationId": "getBranchInfo",
|
|
3140
|
-
"
|
|
3361
|
+
"summary": "Get branch information",
|
|
3362
|
+
"description": "Return the Project's default branch and any branches requested by name.",
|
|
3141
3363
|
"security": [
|
|
3142
3364
|
{
|
|
3143
3365
|
"BearerAuth": []
|
|
@@ -3159,6 +3381,16 @@
|
|
|
3159
3381
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
3160
3382
|
"name": "gt-api-version",
|
|
3161
3383
|
"in": "header"
|
|
3384
|
+
},
|
|
3385
|
+
{
|
|
3386
|
+
"schema": {
|
|
3387
|
+
"type": "string",
|
|
3388
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
3389
|
+
},
|
|
3390
|
+
"required": false,
|
|
3391
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
3392
|
+
"name": "gt-project-id",
|
|
3393
|
+
"in": "header"
|
|
3162
3394
|
}
|
|
3163
3395
|
],
|
|
3164
3396
|
"requestBody": {
|
|
@@ -3300,13 +3532,15 @@
|
|
|
3300
3532
|
}
|
|
3301
3533
|
}
|
|
3302
3534
|
}
|
|
3303
|
-
}
|
|
3535
|
+
},
|
|
3536
|
+
"tags": ["Project"]
|
|
3304
3537
|
}
|
|
3305
3538
|
},
|
|
3306
3539
|
"/v2/project/branches/create": {
|
|
3307
3540
|
"post": {
|
|
3308
3541
|
"operationId": "createBranch",
|
|
3309
|
-
"
|
|
3542
|
+
"summary": "Create a branch",
|
|
3543
|
+
"description": "Create a new branch, or rename and confirm the default branch.",
|
|
3310
3544
|
"security": [
|
|
3311
3545
|
{
|
|
3312
3546
|
"BearerAuth": []
|
|
@@ -3328,6 +3562,16 @@
|
|
|
3328
3562
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
3329
3563
|
"name": "gt-api-version",
|
|
3330
3564
|
"in": "header"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"schema": {
|
|
3568
|
+
"type": "string",
|
|
3569
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
3570
|
+
},
|
|
3571
|
+
"required": false,
|
|
3572
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
3573
|
+
"name": "gt-project-id",
|
|
3574
|
+
"in": "header"
|
|
3331
3575
|
}
|
|
3332
3576
|
],
|
|
3333
3577
|
"requestBody": {
|
|
@@ -3473,13 +3717,15 @@
|
|
|
3473
3717
|
}
|
|
3474
3718
|
}
|
|
3475
3719
|
}
|
|
3476
|
-
}
|
|
3720
|
+
},
|
|
3721
|
+
"tags": ["Project"]
|
|
3477
3722
|
}
|
|
3478
3723
|
},
|
|
3479
3724
|
"/v2/project/tags/create": {
|
|
3480
3725
|
"post": {
|
|
3481
3726
|
"operationId": "createTag",
|
|
3482
|
-
"
|
|
3727
|
+
"summary": "Create or update a tag",
|
|
3728
|
+
"description": "Create or upsert a tag that points at a set of file versions.",
|
|
3483
3729
|
"security": [
|
|
3484
3730
|
{
|
|
3485
3731
|
"BearerAuth": []
|
|
@@ -3501,6 +3747,16 @@
|
|
|
3501
3747
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
3502
3748
|
"name": "gt-api-version",
|
|
3503
3749
|
"in": "header"
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"schema": {
|
|
3753
|
+
"type": "string",
|
|
3754
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
3755
|
+
},
|
|
3756
|
+
"required": false,
|
|
3757
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
3758
|
+
"name": "gt-project-id",
|
|
3759
|
+
"in": "header"
|
|
3504
3760
|
}
|
|
3505
3761
|
],
|
|
3506
3762
|
"requestBody": {
|
|
@@ -3680,13 +3936,15 @@
|
|
|
3680
3936
|
}
|
|
3681
3937
|
}
|
|
3682
3938
|
}
|
|
3683
|
-
}
|
|
3939
|
+
},
|
|
3940
|
+
"tags": ["Project"]
|
|
3684
3941
|
}
|
|
3685
3942
|
},
|
|
3686
3943
|
"/v2/project/info/{projectId}": {
|
|
3687
3944
|
"get": {
|
|
3688
3945
|
"operationId": "getProjectInfo",
|
|
3689
|
-
"
|
|
3946
|
+
"summary": "Get Project information",
|
|
3947
|
+
"description": "Read the authenticated Project's name, Organization ID, locale settings, and auto-approval setting.",
|
|
3690
3948
|
"security": [
|
|
3691
3949
|
{
|
|
3692
3950
|
"BearerAuth": []
|
|
@@ -3717,6 +3975,16 @@
|
|
|
3717
3975
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
3718
3976
|
"name": "gt-api-version",
|
|
3719
3977
|
"in": "header"
|
|
3978
|
+
},
|
|
3979
|
+
{
|
|
3980
|
+
"schema": {
|
|
3981
|
+
"type": "string",
|
|
3982
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
3983
|
+
},
|
|
3984
|
+
"required": false,
|
|
3985
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
3986
|
+
"name": "gt-project-id",
|
|
3987
|
+
"in": "header"
|
|
3720
3988
|
}
|
|
3721
3989
|
],
|
|
3722
3990
|
"responses": {
|
|
@@ -3851,11 +4119,13 @@
|
|
|
3851
4119
|
}
|
|
3852
4120
|
}
|
|
3853
4121
|
}
|
|
3854
|
-
}
|
|
4122
|
+
},
|
|
4123
|
+
"tags": ["Project"]
|
|
3855
4124
|
},
|
|
3856
4125
|
"post": {
|
|
3857
4126
|
"operationId": "updateProjectInfo",
|
|
3858
|
-
"
|
|
4127
|
+
"summary": "Update Project information",
|
|
4128
|
+
"description": "Update the Project's default locale or CDN delivery setting.",
|
|
3859
4129
|
"security": [
|
|
3860
4130
|
{
|
|
3861
4131
|
"BearerAuth": []
|
|
@@ -3886,6 +4156,16 @@
|
|
|
3886
4156
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
3887
4157
|
"name": "gt-api-version",
|
|
3888
4158
|
"in": "header"
|
|
4159
|
+
},
|
|
4160
|
+
{
|
|
4161
|
+
"schema": {
|
|
4162
|
+
"type": "string",
|
|
4163
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
4164
|
+
},
|
|
4165
|
+
"required": false,
|
|
4166
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
4167
|
+
"name": "gt-project-id",
|
|
4168
|
+
"in": "header"
|
|
3889
4169
|
}
|
|
3890
4170
|
],
|
|
3891
4171
|
"requestBody": {
|
|
@@ -4029,13 +4309,15 @@
|
|
|
4029
4309
|
}
|
|
4030
4310
|
}
|
|
4031
4311
|
}
|
|
4032
|
-
}
|
|
4312
|
+
},
|
|
4313
|
+
"tags": ["Project"]
|
|
4033
4314
|
}
|
|
4034
4315
|
},
|
|
4035
4316
|
"/v2/project/jobs/info": {
|
|
4036
4317
|
"post": {
|
|
4037
4318
|
"operationId": "getTranslationJobInfo",
|
|
4038
|
-
"
|
|
4319
|
+
"summary": "Get translation job status",
|
|
4320
|
+
"description": "Return normalized status information for one or more queued translation or context generation jobs.",
|
|
4039
4321
|
"security": [
|
|
4040
4322
|
{
|
|
4041
4323
|
"BearerAuth": []
|
|
@@ -4057,6 +4339,16 @@
|
|
|
4057
4339
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
4058
4340
|
"name": "gt-api-version",
|
|
4059
4341
|
"in": "header"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"schema": {
|
|
4345
|
+
"type": "string",
|
|
4346
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
4347
|
+
},
|
|
4348
|
+
"required": false,
|
|
4349
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
4350
|
+
"name": "gt-project-id",
|
|
4351
|
+
"in": "header"
|
|
4060
4352
|
}
|
|
4061
4353
|
],
|
|
4062
4354
|
"requestBody": {
|
|
@@ -4274,13 +4566,15 @@
|
|
|
4274
4566
|
}
|
|
4275
4567
|
}
|
|
4276
4568
|
}
|
|
4277
|
-
}
|
|
4569
|
+
},
|
|
4570
|
+
"tags": ["Translation"]
|
|
4278
4571
|
}
|
|
4279
4572
|
},
|
|
4280
4573
|
"/v2/translate": {
|
|
4281
4574
|
"post": {
|
|
4282
4575
|
"operationId": "translate",
|
|
4283
|
-
"
|
|
4576
|
+
"summary": "Translate content at runtime",
|
|
4577
|
+
"description": "Translate one or more strings or structured content entries with caching and memoization. Development API keys are accepted for this endpoint.",
|
|
4284
4578
|
"security": [
|
|
4285
4579
|
{
|
|
4286
4580
|
"BearerAuth": []
|
|
@@ -4302,6 +4596,16 @@
|
|
|
4302
4596
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
4303
4597
|
"name": "gt-api-version",
|
|
4304
4598
|
"in": "header"
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
"schema": {
|
|
4602
|
+
"type": "string",
|
|
4603
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
4604
|
+
},
|
|
4605
|
+
"required": false,
|
|
4606
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
4607
|
+
"name": "gt-project-id",
|
|
4608
|
+
"in": "header"
|
|
4305
4609
|
}
|
|
4306
4610
|
],
|
|
4307
4611
|
"requestBody": {
|
|
@@ -4455,13 +4759,15 @@
|
|
|
4455
4759
|
}
|
|
4456
4760
|
}
|
|
4457
4761
|
}
|
|
4458
|
-
}
|
|
4762
|
+
},
|
|
4763
|
+
"tags": ["Translation"]
|
|
4459
4764
|
}
|
|
4460
4765
|
},
|
|
4461
4766
|
"/v2/project/files/info": {
|
|
4462
4767
|
"post": {
|
|
4463
4768
|
"operationId": "getFileInfo",
|
|
4464
|
-
"
|
|
4769
|
+
"summary": "Get file metadata",
|
|
4770
|
+
"description": "Get detailed metadata for specific source and translated files.",
|
|
4465
4771
|
"security": [
|
|
4466
4772
|
{
|
|
4467
4773
|
"BearerAuth": []
|
|
@@ -4483,6 +4789,16 @@
|
|
|
4483
4789
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
4484
4790
|
"name": "gt-api-version",
|
|
4485
4791
|
"in": "header"
|
|
4792
|
+
},
|
|
4793
|
+
{
|
|
4794
|
+
"schema": {
|
|
4795
|
+
"type": "string",
|
|
4796
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
4797
|
+
},
|
|
4798
|
+
"required": false,
|
|
4799
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
4800
|
+
"name": "gt-project-id",
|
|
4801
|
+
"in": "header"
|
|
4486
4802
|
}
|
|
4487
4803
|
],
|
|
4488
4804
|
"requestBody": {
|
|
@@ -4766,13 +5082,15 @@
|
|
|
4766
5082
|
}
|
|
4767
5083
|
}
|
|
4768
5084
|
}
|
|
4769
|
-
}
|
|
5085
|
+
},
|
|
5086
|
+
"tags": ["Files"]
|
|
4770
5087
|
}
|
|
4771
5088
|
},
|
|
4772
5089
|
"/v2/project/translations/files/status/{fileId}": {
|
|
4773
5090
|
"get": {
|
|
4774
5091
|
"operationId": "getTranslationStatus",
|
|
4775
|
-
"
|
|
5092
|
+
"summary": "Get translation status for a file",
|
|
5093
|
+
"description": "Return translation progress and availability by locale for one source file, along with its source metadata.",
|
|
4776
5094
|
"security": [
|
|
4777
5095
|
{
|
|
4778
5096
|
"BearerAuth": []
|
|
@@ -4819,6 +5137,16 @@
|
|
|
4819
5137
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
4820
5138
|
"name": "gt-api-version",
|
|
4821
5139
|
"in": "header"
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
"schema": {
|
|
5143
|
+
"type": "string",
|
|
5144
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
5145
|
+
},
|
|
5146
|
+
"required": false,
|
|
5147
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
5148
|
+
"name": "gt-project-id",
|
|
5149
|
+
"in": "header"
|
|
4822
5150
|
}
|
|
4823
5151
|
],
|
|
4824
5152
|
"responses": {
|
|
@@ -5020,13 +5348,15 @@
|
|
|
5020
5348
|
}
|
|
5021
5349
|
}
|
|
5022
5350
|
}
|
|
5023
|
-
}
|
|
5351
|
+
},
|
|
5352
|
+
"tags": ["Files"]
|
|
5024
5353
|
}
|
|
5025
5354
|
},
|
|
5026
5355
|
"/v2/project/files/moves": {
|
|
5027
5356
|
"post": {
|
|
5028
5357
|
"operationId": "processFileMoves",
|
|
5029
|
-
"
|
|
5358
|
+
"summary": "Move or rename files",
|
|
5359
|
+
"description": "Clone source files and their translations under new file IDs.",
|
|
5030
5360
|
"security": [
|
|
5031
5361
|
{
|
|
5032
5362
|
"BearerAuth": []
|
|
@@ -5048,6 +5378,16 @@
|
|
|
5048
5378
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
5049
5379
|
"name": "gt-api-version",
|
|
5050
5380
|
"in": "header"
|
|
5381
|
+
},
|
|
5382
|
+
{
|
|
5383
|
+
"schema": {
|
|
5384
|
+
"type": "string",
|
|
5385
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
5386
|
+
},
|
|
5387
|
+
"required": false,
|
|
5388
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
5389
|
+
"name": "gt-project-id",
|
|
5390
|
+
"in": "header"
|
|
5051
5391
|
}
|
|
5052
5392
|
],
|
|
5053
5393
|
"requestBody": {
|
|
@@ -5251,13 +5591,15 @@
|
|
|
5251
5591
|
}
|
|
5252
5592
|
}
|
|
5253
5593
|
}
|
|
5254
|
-
}
|
|
5594
|
+
},
|
|
5595
|
+
"tags": ["Files"]
|
|
5255
5596
|
}
|
|
5256
5597
|
},
|
|
5257
5598
|
"/v2/project/files/orphaned": {
|
|
5258
5599
|
"post": {
|
|
5259
5600
|
"operationId": "getOrphanedFiles",
|
|
5260
|
-
"
|
|
5601
|
+
"summary": "Find orphaned files",
|
|
5602
|
+
"description": "Return files on a branch that are not present in the provided file ID list.",
|
|
5261
5603
|
"security": [
|
|
5262
5604
|
{
|
|
5263
5605
|
"BearerAuth": []
|
|
@@ -5279,6 +5621,16 @@
|
|
|
5279
5621
|
"description": "API contract version. Defaults to the oldest supported version.",
|
|
5280
5622
|
"name": "gt-api-version",
|
|
5281
5623
|
"in": "header"
|
|
5624
|
+
},
|
|
5625
|
+
{
|
|
5626
|
+
"schema": {
|
|
5627
|
+
"type": "string",
|
|
5628
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key)."
|
|
5629
|
+
},
|
|
5630
|
+
"required": false,
|
|
5631
|
+
"description": "Target project ID. Required when authenticating with an organization API key; ignored with project-scoped API keys (the project is resolved from the key).",
|
|
5632
|
+
"name": "gt-project-id",
|
|
5633
|
+
"in": "header"
|
|
5282
5634
|
}
|
|
5283
5635
|
],
|
|
5284
5636
|
"requestBody": {
|
|
@@ -5442,12 +5794,16 @@
|
|
|
5442
5794
|
}
|
|
5443
5795
|
}
|
|
5444
5796
|
}
|
|
5445
|
-
}
|
|
5797
|
+
},
|
|
5798
|
+
"tags": ["Files"]
|
|
5446
5799
|
}
|
|
5447
5800
|
},
|
|
5448
5801
|
"/cli/wizard/session": {
|
|
5449
5802
|
"post": {
|
|
5450
5803
|
"operationId": "createCliWizardSession",
|
|
5804
|
+
"x-internal": true,
|
|
5805
|
+
"summary": "Create a CLI wizard session",
|
|
5806
|
+
"description": "Create a temporary session for CLI browser authentication.",
|
|
5451
5807
|
"tags": ["CLI Wizard"],
|
|
5452
5808
|
"parameters": [
|
|
5453
5809
|
{
|
|
@@ -5554,6 +5910,9 @@
|
|
|
5554
5910
|
"/cli/wizard/{sessionId}": {
|
|
5555
5911
|
"get": {
|
|
5556
5912
|
"operationId": "getCliWizardSession",
|
|
5913
|
+
"x-internal": true,
|
|
5914
|
+
"summary": "Get a CLI wizard session",
|
|
5915
|
+
"description": "Get credentials for a completed CLI wizard session or its current waiting status.",
|
|
5557
5916
|
"tags": ["CLI Wizard"],
|
|
5558
5917
|
"parameters": [
|
|
5559
5918
|
{
|
|
@@ -5682,6 +6041,9 @@
|
|
|
5682
6041
|
},
|
|
5683
6042
|
"delete": {
|
|
5684
6043
|
"operationId": "deleteCliWizardSession",
|
|
6044
|
+
"x-internal": true,
|
|
6045
|
+
"summary": "Delete a CLI wizard session",
|
|
6046
|
+
"description": "Delete a completed or abandoned CLI wizard session.",
|
|
5685
6047
|
"tags": ["CLI Wizard"],
|
|
5686
6048
|
"parameters": [
|
|
5687
6049
|
{
|