generaltranslation 9.5.0 → 9.5.2
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 +18 -0
- package/dist/adapter/createGtApi.js +49 -51
- package/dist/{derive-t_E3ftJN.cjs → derive-BgahX4Pv.cjs} +8 -30
- package/dist/derive-BgahX4Pv.cjs.map +1 -0
- package/dist/{derive-Cv5_y8Tf.mjs → derive-BotyrXAq.mjs} +9 -31
- package/dist/derive-BotyrXAq.mjs.map +1 -0
- package/dist/{derive-texIAHzc.d.mts → derive-VfZjYfIU.d.mts} +1 -1
- package/dist/{diagnostics-DYtVjOm5.d.mts → diagnostics-BKjlDmJK.d.mts} +1 -1
- package/dist/diagnostics.d.mts +1 -1
- package/dist/errors.cjs +7 -2
- package/dist/errors.d.cts +2 -9
- package/dist/errors.d.mts +2 -9
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +1 -1
- package/dist/errors.mjs +1 -1
- package/dist/{file-Dga6cyM8.mjs → file-BZmC4OTj.mjs} +1 -1
- package/dist/{file-B37WkCqM.cjs.map → file-BZmC4OTj.mjs.map} +1 -1
- package/dist/{file-B37WkCqM.cjs → file-DNWSAhTC.cjs} +1 -1
- package/dist/{file-Dga6cyM8.mjs.map → file-DNWSAhTC.cjs.map} +1 -1
- package/dist/id.d.mts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/internal.cjs +2 -2
- package/dist/internal.d.mts +3 -3
- package/dist/internal.mjs +2 -2
- package/dist/openapi.json +743 -93
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/{runtimeTranslate-CVw143pQ.mjs → runtimeTranslate-CI936gg9.mjs} +3 -7
- package/dist/runtimeTranslate-CI936gg9.mjs.map +1 -0
- package/dist/{runtimeTranslate-DJioRjb6.cjs → runtimeTranslate-_gLYFBvE.cjs} +3 -7
- package/dist/runtimeTranslate-_gLYFBvE.cjs.map +1 -0
- package/dist/translate/utils/unwrapApiResult.js +2 -7
- package/dist/translate/utils/validateResponse.js +1 -1
- package/dist/{types-Si4UstLL.d.mts → types-CEsh60Yt.d.mts} +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +1 -1
- package/dist/utils/isSupportedFileFormatTransform.js +1 -0
- package/package.json +2 -2
- package/dist/ApiError-BCjEo_CM.cjs +0 -18
- package/dist/ApiError-BCjEo_CM.cjs.map +0 -1
- package/dist/ApiError-DxWKM0Xt.mjs +0 -13
- package/dist/ApiError-DxWKM0Xt.mjs.map +0 -1
- package/dist/derive-Cv5_y8Tf.mjs.map +0 -1
- package/dist/derive-t_E3ftJN.cjs.map +0 -1
- package/dist/errors/ApiError.d.ts +0 -5
- package/dist/errors/ApiError.js +0 -27
- package/dist/runtimeTranslate-CVw143pQ.mjs.map +0 -1
- package/dist/runtimeTranslate-DJioRjb6.cjs.map +0 -1
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "General Translation API",
|
|
5
5
|
"version": "2026-03-06.v1",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Translate content and manage projects with the General Translation API at `https://api.gtx.dev`.\n\nAuthenticate with `Authorization: Bearer <api-key>`. Each endpoint lists its required permissions. Project keys (`gtx-api-`) access one project; Organization keys (`gtx-org-`) access projects in one Organization.\n\nFor project-scoped requests, use the project ID in the path. If you also send `gt-project-id`, it must match. Without a project ID in the path, project keys use their own project; Organization keys require `gt-project-id`. Discovery endpoints need no project ID. Organization-scoped requests use the Organization ID in the path. You must have access to the selected project or Organization.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "General Translation Support",
|
|
9
9
|
"email": "support@generaltranslation.com",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"type": "http",
|
|
54
54
|
"scheme": "bearer",
|
|
55
55
|
"bearerFormat": "JWT",
|
|
56
|
-
"description": "OAuth 2.1 user access token."
|
|
56
|
+
"description": "OAuth 2.1 user access token.",
|
|
57
|
+
"x-internal": true
|
|
57
58
|
},
|
|
58
59
|
"GoogleIdentityToken": {
|
|
59
60
|
"type": "http",
|
|
@@ -102,7 +103,8 @@
|
|
|
102
103
|
"XCSTRINGS",
|
|
103
104
|
"DOT_STRINGS",
|
|
104
105
|
"DOT_STRINGSDICT",
|
|
105
|
-
"ANDROID_STRINGS"
|
|
106
|
+
"ANDROID_STRINGS",
|
|
107
|
+
"SRT"
|
|
106
108
|
]
|
|
107
109
|
},
|
|
108
110
|
"Branch": {
|
|
@@ -1723,8 +1725,7 @@
|
|
|
1723
1725
|
"not_text_node",
|
|
1724
1726
|
"empty_text",
|
|
1725
1727
|
"hidden_layer",
|
|
1726
|
-
"missing_characters"
|
|
1727
|
-
"in_component_master"
|
|
1728
|
+
"missing_characters"
|
|
1728
1729
|
]
|
|
1729
1730
|
},
|
|
1730
1731
|
"details": {
|
|
@@ -2143,6 +2144,383 @@
|
|
|
2143
2144
|
}
|
|
2144
2145
|
}
|
|
2145
2146
|
},
|
|
2147
|
+
"/v1/integrations/plugins/{provider}/layout": {
|
|
2148
|
+
"post": {
|
|
2149
|
+
"operationId": "pluginLayout",
|
|
2150
|
+
"x-internal": true,
|
|
2151
|
+
"summary": "Plugin layout",
|
|
2152
|
+
"description": "Run the layout command for a design-tool plugin.",
|
|
2153
|
+
"tags": ["Integrations"],
|
|
2154
|
+
"security": [
|
|
2155
|
+
{
|
|
2156
|
+
"BearerAuth": []
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"UserBearerAuth": []
|
|
2160
|
+
}
|
|
2161
|
+
],
|
|
2162
|
+
"parameters": [
|
|
2163
|
+
{
|
|
2164
|
+
"schema": {
|
|
2165
|
+
"type": "string",
|
|
2166
|
+
"enum": ["figma", "after-effects"]
|
|
2167
|
+
},
|
|
2168
|
+
"required": true,
|
|
2169
|
+
"name": "provider",
|
|
2170
|
+
"in": "path"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"schema": {
|
|
2174
|
+
"$ref": "#/components/schemas/ApiVersion"
|
|
2175
|
+
},
|
|
2176
|
+
"required": false,
|
|
2177
|
+
"description": "API contract version. Defaults to the oldest supported version.",
|
|
2178
|
+
"name": "gt-api-version",
|
|
2179
|
+
"in": "header"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"schema": {
|
|
2183
|
+
"type": "string",
|
|
2184
|
+
"description": "Target project ID when no project ID is present in the path. Project API keys default to their bound project. If supplied, the header must match both the path target and the key’s bound project."
|
|
2185
|
+
},
|
|
2186
|
+
"required": false,
|
|
2187
|
+
"description": "Target project ID when no project ID is present in the path. Project API keys default to their bound project. If supplied, the header must match both the path target and the key’s bound project.",
|
|
2188
|
+
"name": "gt-project-id",
|
|
2189
|
+
"in": "header"
|
|
2190
|
+
}
|
|
2191
|
+
],
|
|
2192
|
+
"requestBody": {
|
|
2193
|
+
"required": true,
|
|
2194
|
+
"content": {
|
|
2195
|
+
"application/json": {
|
|
2196
|
+
"schema": {
|
|
2197
|
+
"anyOf": [
|
|
2198
|
+
{
|
|
2199
|
+
"type": "object",
|
|
2200
|
+
"properties": {
|
|
2201
|
+
"fileName": {
|
|
2202
|
+
"type": "string",
|
|
2203
|
+
"minLength": 1,
|
|
2204
|
+
"maxLength": 255
|
|
2205
|
+
},
|
|
2206
|
+
"pageId": {
|
|
2207
|
+
"type": "string",
|
|
2208
|
+
"minLength": 1,
|
|
2209
|
+
"maxLength": 255
|
|
2210
|
+
},
|
|
2211
|
+
"locale": {
|
|
2212
|
+
"type": "string",
|
|
2213
|
+
"minLength": 2,
|
|
2214
|
+
"maxLength": 16
|
|
2215
|
+
},
|
|
2216
|
+
"frames": {
|
|
2217
|
+
"type": "array",
|
|
2218
|
+
"items": {
|
|
2219
|
+
"type": "object",
|
|
2220
|
+
"properties": {
|
|
2221
|
+
"frameId": {
|
|
2222
|
+
"type": "string",
|
|
2223
|
+
"minLength": 1,
|
|
2224
|
+
"maxLength": 255
|
|
2225
|
+
},
|
|
2226
|
+
"frameName": {
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"maxLength": 255
|
|
2229
|
+
},
|
|
2230
|
+
"before": {
|
|
2231
|
+
"type": "object",
|
|
2232
|
+
"properties": {
|
|
2233
|
+
"mediaType": {
|
|
2234
|
+
"type": "string",
|
|
2235
|
+
"enum": [
|
|
2236
|
+
"image/png",
|
|
2237
|
+
"image/jpeg",
|
|
2238
|
+
"image/webp"
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
"base64": {
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"minLength": 1,
|
|
2244
|
+
"maxLength": 6000000
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2247
|
+
"required": ["mediaType", "base64"],
|
|
2248
|
+
"additionalProperties": false
|
|
2249
|
+
},
|
|
2250
|
+
"after": {
|
|
2251
|
+
"type": "object",
|
|
2252
|
+
"properties": {
|
|
2253
|
+
"mediaType": {
|
|
2254
|
+
"type": "string",
|
|
2255
|
+
"enum": [
|
|
2256
|
+
"image/png",
|
|
2257
|
+
"image/jpeg",
|
|
2258
|
+
"image/webp"
|
|
2259
|
+
]
|
|
2260
|
+
},
|
|
2261
|
+
"base64": {
|
|
2262
|
+
"type": "string",
|
|
2263
|
+
"minLength": 1,
|
|
2264
|
+
"maxLength": 6000000
|
|
2265
|
+
}
|
|
2266
|
+
},
|
|
2267
|
+
"required": ["mediaType", "base64"],
|
|
2268
|
+
"additionalProperties": false
|
|
2269
|
+
},
|
|
2270
|
+
"nodes": {
|
|
2271
|
+
"type": "array",
|
|
2272
|
+
"items": {
|
|
2273
|
+
"type": "object",
|
|
2274
|
+
"properties": {
|
|
2275
|
+
"nodeId": {
|
|
2276
|
+
"type": "string",
|
|
2277
|
+
"minLength": 1,
|
|
2278
|
+
"maxLength": 255
|
|
2279
|
+
},
|
|
2280
|
+
"rect": {
|
|
2281
|
+
"type": "object",
|
|
2282
|
+
"properties": {
|
|
2283
|
+
"x": {
|
|
2284
|
+
"type": "number"
|
|
2285
|
+
},
|
|
2286
|
+
"y": {
|
|
2287
|
+
"type": "number"
|
|
2288
|
+
},
|
|
2289
|
+
"width": {
|
|
2290
|
+
"type": "number"
|
|
2291
|
+
},
|
|
2292
|
+
"height": {
|
|
2293
|
+
"type": "number"
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2296
|
+
"required": ["x", "y", "width", "height"],
|
|
2297
|
+
"additionalProperties": false
|
|
2298
|
+
},
|
|
2299
|
+
"text": {
|
|
2300
|
+
"type": "string",
|
|
2301
|
+
"maxLength": 4000
|
|
2302
|
+
},
|
|
2303
|
+
"measuredOverflow": {
|
|
2304
|
+
"type": "boolean"
|
|
2305
|
+
},
|
|
2306
|
+
"measuredCollision": {
|
|
2307
|
+
"type": "boolean"
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"required": ["nodeId", "rect", "text"],
|
|
2311
|
+
"additionalProperties": false
|
|
2312
|
+
},
|
|
2313
|
+
"maxItems": 200
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"required": ["frameId", "before", "after", "nodes"],
|
|
2317
|
+
"additionalProperties": false
|
|
2318
|
+
},
|
|
2319
|
+
"minItems": 1,
|
|
2320
|
+
"maxItems": 4
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
"required": ["fileName", "pageId", "locale", "frames"],
|
|
2324
|
+
"additionalProperties": false
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"type": "object",
|
|
2328
|
+
"properties": {},
|
|
2329
|
+
"additionalProperties": {}
|
|
2330
|
+
}
|
|
2331
|
+
]
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
"responses": {
|
|
2337
|
+
"200": {
|
|
2338
|
+
"description": "Plugin command result",
|
|
2339
|
+
"content": {
|
|
2340
|
+
"application/json": {
|
|
2341
|
+
"schema": {
|
|
2342
|
+
"anyOf": [
|
|
2343
|
+
{
|
|
2344
|
+
"type": "object",
|
|
2345
|
+
"properties": {
|
|
2346
|
+
"frames": {
|
|
2347
|
+
"type": "array",
|
|
2348
|
+
"items": {
|
|
2349
|
+
"type": "object",
|
|
2350
|
+
"properties": {
|
|
2351
|
+
"frameId": {
|
|
2352
|
+
"type": "string"
|
|
2353
|
+
},
|
|
2354
|
+
"remedies": {
|
|
2355
|
+
"type": "array",
|
|
2356
|
+
"items": {
|
|
2357
|
+
"type": "object",
|
|
2358
|
+
"properties": {
|
|
2359
|
+
"nodeId": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"rephrase": {
|
|
2363
|
+
"type": "string"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
"required": ["nodeId", "rephrase"]
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2370
|
+
"required": ["frameId", "remedies"]
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
"required": ["frames"]
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"type": "object",
|
|
2378
|
+
"properties": {},
|
|
2379
|
+
"additionalProperties": false
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2386
|
+
"400": {
|
|
2387
|
+
"description": "Request error",
|
|
2388
|
+
"content": {
|
|
2389
|
+
"application/json": {
|
|
2390
|
+
"schema": {
|
|
2391
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"text/html": {
|
|
2395
|
+
"schema": {
|
|
2396
|
+
"type": "string"
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
"401": {
|
|
2402
|
+
"description": "Request error",
|
|
2403
|
+
"content": {
|
|
2404
|
+
"application/json": {
|
|
2405
|
+
"schema": {
|
|
2406
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"text/html": {
|
|
2410
|
+
"schema": {
|
|
2411
|
+
"type": "string"
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2416
|
+
"403": {
|
|
2417
|
+
"description": "Request error",
|
|
2418
|
+
"content": {
|
|
2419
|
+
"application/json": {
|
|
2420
|
+
"schema": {
|
|
2421
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2422
|
+
}
|
|
2423
|
+
},
|
|
2424
|
+
"text/html": {
|
|
2425
|
+
"schema": {
|
|
2426
|
+
"type": "string"
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
"404": {
|
|
2432
|
+
"description": "Request error",
|
|
2433
|
+
"content": {
|
|
2434
|
+
"application/json": {
|
|
2435
|
+
"schema": {
|
|
2436
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2437
|
+
}
|
|
2438
|
+
},
|
|
2439
|
+
"text/html": {
|
|
2440
|
+
"schema": {
|
|
2441
|
+
"type": "string"
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
"409": {
|
|
2447
|
+
"description": "Request error",
|
|
2448
|
+
"content": {
|
|
2449
|
+
"application/json": {
|
|
2450
|
+
"schema": {
|
|
2451
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
"text/html": {
|
|
2455
|
+
"schema": {
|
|
2456
|
+
"type": "string"
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2461
|
+
"413": {
|
|
2462
|
+
"description": "Request error",
|
|
2463
|
+
"content": {
|
|
2464
|
+
"application/json": {
|
|
2465
|
+
"schema": {
|
|
2466
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
"text/html": {
|
|
2470
|
+
"schema": {
|
|
2471
|
+
"type": "string"
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
"423": {
|
|
2477
|
+
"description": "Request error",
|
|
2478
|
+
"content": {
|
|
2479
|
+
"application/json": {
|
|
2480
|
+
"schema": {
|
|
2481
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
"text/html": {
|
|
2485
|
+
"schema": {
|
|
2486
|
+
"type": "string"
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
},
|
|
2491
|
+
"429": {
|
|
2492
|
+
"description": "Request error",
|
|
2493
|
+
"content": {
|
|
2494
|
+
"application/json": {
|
|
2495
|
+
"schema": {
|
|
2496
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2497
|
+
}
|
|
2498
|
+
},
|
|
2499
|
+
"text/html": {
|
|
2500
|
+
"schema": {
|
|
2501
|
+
"type": "string"
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
"500": {
|
|
2507
|
+
"description": "Request error",
|
|
2508
|
+
"content": {
|
|
2509
|
+
"application/json": {
|
|
2510
|
+
"schema": {
|
|
2511
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
"text/html": {
|
|
2515
|
+
"schema": {
|
|
2516
|
+
"type": "string"
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2146
2524
|
"/v1/integrations/plugins/{provider}/sync": {
|
|
2147
2525
|
"post": {
|
|
2148
2526
|
"operationId": "pluginSync",
|
|
@@ -2354,74 +2732,80 @@
|
|
|
2354
2732
|
"type": "object",
|
|
2355
2733
|
"properties": {
|
|
2356
2734
|
"start": {
|
|
2357
|
-
"type": "integer",
|
|
2358
|
-
"minimum": 0
|
|
2359
|
-
},
|
|
2360
|
-
"end": {
|
|
2361
|
-
"type": "integer",
|
|
2362
|
-
"minimum": 0
|
|
2363
|
-
},
|
|
2364
|
-
"fontName": {
|
|
2365
|
-
"type": "object",
|
|
2366
|
-
"properties": {
|
|
2367
|
-
"family": {
|
|
2368
|
-
"type": "string"
|
|
2369
|
-
},
|
|
2370
|
-
"style": {
|
|
2371
|
-
"type": "string"
|
|
2372
|
-
}
|
|
2373
|
-
},
|
|
2374
|
-
"required": ["family", "style"],
|
|
2375
|
-
"additionalProperties": false
|
|
2376
|
-
},
|
|
2377
|
-
"fontSize": {
|
|
2378
|
-
"type": "number"
|
|
2379
|
-
},
|
|
2380
|
-
"textDecoration": {
|
|
2381
|
-
"type": "string"
|
|
2735
|
+
"type": "integer",
|
|
2736
|
+
"minimum": 0
|
|
2382
2737
|
},
|
|
2383
|
-
"
|
|
2384
|
-
"type": "
|
|
2738
|
+
"end": {
|
|
2739
|
+
"type": "integer",
|
|
2740
|
+
"minimum": 0
|
|
2385
2741
|
},
|
|
2386
|
-
"
|
|
2742
|
+
"style": {
|
|
2387
2743
|
"type": "object",
|
|
2388
2744
|
"properties": {
|
|
2389
|
-
"
|
|
2745
|
+
"fontName": {
|
|
2746
|
+
"type": "object",
|
|
2747
|
+
"properties": {
|
|
2748
|
+
"family": {
|
|
2749
|
+
"type": "string"
|
|
2750
|
+
},
|
|
2751
|
+
"style": {
|
|
2752
|
+
"type": "string"
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
"required": ["family", "style"],
|
|
2756
|
+
"additionalProperties": false
|
|
2757
|
+
},
|
|
2758
|
+
"fontSize": {
|
|
2390
2759
|
"type": "number"
|
|
2391
2760
|
},
|
|
2392
|
-
"
|
|
2761
|
+
"textDecoration": {
|
|
2393
2762
|
"type": "string"
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
"required": ["value", "unit"],
|
|
2397
|
-
"additionalProperties": false
|
|
2398
|
-
},
|
|
2399
|
-
"lineHeight": {
|
|
2400
|
-
"type": "object",
|
|
2401
|
-
"properties": {
|
|
2402
|
-
"value": {
|
|
2403
|
-
"type": "number"
|
|
2404
2763
|
},
|
|
2405
|
-
"
|
|
2764
|
+
"textCase": {
|
|
2406
2765
|
"type": "string"
|
|
2766
|
+
},
|
|
2767
|
+
"letterSpacing": {
|
|
2768
|
+
"type": "object",
|
|
2769
|
+
"properties": {
|
|
2770
|
+
"value": {
|
|
2771
|
+
"type": "number"
|
|
2772
|
+
},
|
|
2773
|
+
"unit": {
|
|
2774
|
+
"type": "string"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"required": ["value", "unit"],
|
|
2778
|
+
"additionalProperties": false
|
|
2779
|
+
},
|
|
2780
|
+
"lineHeight": {
|
|
2781
|
+
"type": "object",
|
|
2782
|
+
"properties": {
|
|
2783
|
+
"value": {
|
|
2784
|
+
"type": "number"
|
|
2785
|
+
},
|
|
2786
|
+
"unit": {
|
|
2787
|
+
"type": "string"
|
|
2788
|
+
}
|
|
2789
|
+
},
|
|
2790
|
+
"required": ["unit"],
|
|
2791
|
+
"additionalProperties": false
|
|
2792
|
+
},
|
|
2793
|
+
"fills": {
|
|
2794
|
+
"type": "array",
|
|
2795
|
+
"items": {
|
|
2796
|
+
"type": "object",
|
|
2797
|
+
"additionalProperties": {}
|
|
2798
|
+
}
|
|
2799
|
+
},
|
|
2800
|
+
"hyperlink": {
|
|
2801
|
+
"type": ["object", "null"],
|
|
2802
|
+
"additionalProperties": {}
|
|
2407
2803
|
}
|
|
2408
2804
|
},
|
|
2409
|
-
"required": ["unit"],
|
|
2410
2805
|
"additionalProperties": false
|
|
2411
|
-
},
|
|
2412
|
-
"fills": {
|
|
2413
|
-
"type": "array",
|
|
2414
|
-
"items": {
|
|
2415
|
-
"type": "object",
|
|
2416
|
-
"additionalProperties": {}
|
|
2417
|
-
}
|
|
2418
|
-
},
|
|
2419
|
-
"hyperlink": {
|
|
2420
|
-
"type": ["object", "null"],
|
|
2421
|
-
"additionalProperties": {}
|
|
2422
2806
|
}
|
|
2423
2807
|
},
|
|
2424
|
-
"required": ["start", "end"],
|
|
2808
|
+
"required": ["start", "end", "style"],
|
|
2425
2809
|
"additionalProperties": false
|
|
2426
2810
|
},
|
|
2427
2811
|
"maxItems": 512
|
|
@@ -2469,8 +2853,7 @@
|
|
|
2469
2853
|
"not_text_node",
|
|
2470
2854
|
"empty_text",
|
|
2471
2855
|
"hidden_layer",
|
|
2472
|
-
"missing_characters"
|
|
2473
|
-
"in_component_master"
|
|
2856
|
+
"missing_characters"
|
|
2474
2857
|
]
|
|
2475
2858
|
},
|
|
2476
2859
|
"details": {
|
|
@@ -3046,7 +3429,98 @@
|
|
|
3046
3429
|
"translations": {
|
|
3047
3430
|
"type": "object",
|
|
3048
3431
|
"additionalProperties": {
|
|
3049
|
-
"type": "
|
|
3432
|
+
"type": "object",
|
|
3433
|
+
"properties": {
|
|
3434
|
+
"text": {
|
|
3435
|
+
"type": "string"
|
|
3436
|
+
},
|
|
3437
|
+
"styleRuns": {
|
|
3438
|
+
"type": "array",
|
|
3439
|
+
"items": {
|
|
3440
|
+
"type": "object",
|
|
3441
|
+
"properties": {
|
|
3442
|
+
"start": {
|
|
3443
|
+
"type": "integer",
|
|
3444
|
+
"minimum": 0
|
|
3445
|
+
},
|
|
3446
|
+
"end": {
|
|
3447
|
+
"type": "integer",
|
|
3448
|
+
"minimum": 0
|
|
3449
|
+
},
|
|
3450
|
+
"style": {
|
|
3451
|
+
"type": "object",
|
|
3452
|
+
"properties": {
|
|
3453
|
+
"fontName": {
|
|
3454
|
+
"type": "object",
|
|
3455
|
+
"properties": {
|
|
3456
|
+
"family": {
|
|
3457
|
+
"type": "string"
|
|
3458
|
+
},
|
|
3459
|
+
"style": {
|
|
3460
|
+
"type": "string"
|
|
3461
|
+
}
|
|
3462
|
+
},
|
|
3463
|
+
"required": ["family", "style"],
|
|
3464
|
+
"additionalProperties": false
|
|
3465
|
+
},
|
|
3466
|
+
"fontSize": {
|
|
3467
|
+
"type": "number"
|
|
3468
|
+
},
|
|
3469
|
+
"textDecoration": {
|
|
3470
|
+
"type": "string"
|
|
3471
|
+
},
|
|
3472
|
+
"textCase": {
|
|
3473
|
+
"type": "string"
|
|
3474
|
+
},
|
|
3475
|
+
"letterSpacing": {
|
|
3476
|
+
"type": "object",
|
|
3477
|
+
"properties": {
|
|
3478
|
+
"value": {
|
|
3479
|
+
"type": "number"
|
|
3480
|
+
},
|
|
3481
|
+
"unit": {
|
|
3482
|
+
"type": "string"
|
|
3483
|
+
}
|
|
3484
|
+
},
|
|
3485
|
+
"required": ["value", "unit"],
|
|
3486
|
+
"additionalProperties": false
|
|
3487
|
+
},
|
|
3488
|
+
"lineHeight": {
|
|
3489
|
+
"type": "object",
|
|
3490
|
+
"properties": {
|
|
3491
|
+
"value": {
|
|
3492
|
+
"type": "number"
|
|
3493
|
+
},
|
|
3494
|
+
"unit": {
|
|
3495
|
+
"type": "string"
|
|
3496
|
+
}
|
|
3497
|
+
},
|
|
3498
|
+
"required": ["unit"],
|
|
3499
|
+
"additionalProperties": false
|
|
3500
|
+
},
|
|
3501
|
+
"fills": {
|
|
3502
|
+
"type": "array",
|
|
3503
|
+
"items": {
|
|
3504
|
+
"type": "object",
|
|
3505
|
+
"additionalProperties": {}
|
|
3506
|
+
}
|
|
3507
|
+
},
|
|
3508
|
+
"hyperlink": {
|
|
3509
|
+
"type": ["object", "null"],
|
|
3510
|
+
"additionalProperties": {}
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
"additionalProperties": false
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
"required": ["start", "end", "style"],
|
|
3517
|
+
"additionalProperties": false
|
|
3518
|
+
},
|
|
3519
|
+
"maxItems": 512
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3522
|
+
"required": ["text"],
|
|
3523
|
+
"additionalProperties": false
|
|
3050
3524
|
}
|
|
3051
3525
|
}
|
|
3052
3526
|
},
|
|
@@ -4195,7 +4669,161 @@
|
|
|
4195
4669
|
"translations": {
|
|
4196
4670
|
"type": "object",
|
|
4197
4671
|
"additionalProperties": {
|
|
4198
|
-
"type": "
|
|
4672
|
+
"type": "object",
|
|
4673
|
+
"properties": {
|
|
4674
|
+
"text": {
|
|
4675
|
+
"type": "string"
|
|
4676
|
+
},
|
|
4677
|
+
"baseStyle": {
|
|
4678
|
+
"type": "object",
|
|
4679
|
+
"properties": {
|
|
4680
|
+
"fontName": {
|
|
4681
|
+
"type": "object",
|
|
4682
|
+
"properties": {
|
|
4683
|
+
"family": {
|
|
4684
|
+
"type": "string"
|
|
4685
|
+
},
|
|
4686
|
+
"style": {
|
|
4687
|
+
"type": "string"
|
|
4688
|
+
}
|
|
4689
|
+
},
|
|
4690
|
+
"required": ["family", "style"],
|
|
4691
|
+
"additionalProperties": false
|
|
4692
|
+
},
|
|
4693
|
+
"fontSize": {
|
|
4694
|
+
"type": "number"
|
|
4695
|
+
},
|
|
4696
|
+
"textDecoration": {
|
|
4697
|
+
"type": "string"
|
|
4698
|
+
},
|
|
4699
|
+
"textCase": {
|
|
4700
|
+
"type": "string"
|
|
4701
|
+
},
|
|
4702
|
+
"letterSpacing": {
|
|
4703
|
+
"type": "object",
|
|
4704
|
+
"properties": {
|
|
4705
|
+
"value": {
|
|
4706
|
+
"type": "number"
|
|
4707
|
+
},
|
|
4708
|
+
"unit": {
|
|
4709
|
+
"type": "string"
|
|
4710
|
+
}
|
|
4711
|
+
},
|
|
4712
|
+
"required": ["value", "unit"],
|
|
4713
|
+
"additionalProperties": false
|
|
4714
|
+
},
|
|
4715
|
+
"lineHeight": {
|
|
4716
|
+
"type": "object",
|
|
4717
|
+
"properties": {
|
|
4718
|
+
"value": {
|
|
4719
|
+
"type": "number"
|
|
4720
|
+
},
|
|
4721
|
+
"unit": {
|
|
4722
|
+
"type": "string"
|
|
4723
|
+
}
|
|
4724
|
+
},
|
|
4725
|
+
"required": ["unit"],
|
|
4726
|
+
"additionalProperties": false
|
|
4727
|
+
},
|
|
4728
|
+
"fills": {
|
|
4729
|
+
"type": "array",
|
|
4730
|
+
"items": {
|
|
4731
|
+
"type": "object",
|
|
4732
|
+
"additionalProperties": {}
|
|
4733
|
+
}
|
|
4734
|
+
},
|
|
4735
|
+
"hyperlink": {
|
|
4736
|
+
"type": ["object", "null"],
|
|
4737
|
+
"additionalProperties": {}
|
|
4738
|
+
}
|
|
4739
|
+
},
|
|
4740
|
+
"additionalProperties": false
|
|
4741
|
+
},
|
|
4742
|
+
"styleRuns": {
|
|
4743
|
+
"type": "array",
|
|
4744
|
+
"items": {
|
|
4745
|
+
"type": "object",
|
|
4746
|
+
"properties": {
|
|
4747
|
+
"start": {
|
|
4748
|
+
"type": "integer",
|
|
4749
|
+
"minimum": 0
|
|
4750
|
+
},
|
|
4751
|
+
"end": {
|
|
4752
|
+
"type": "integer",
|
|
4753
|
+
"minimum": 0
|
|
4754
|
+
},
|
|
4755
|
+
"style": {
|
|
4756
|
+
"type": "object",
|
|
4757
|
+
"properties": {
|
|
4758
|
+
"fontName": {
|
|
4759
|
+
"type": "object",
|
|
4760
|
+
"properties": {
|
|
4761
|
+
"family": {
|
|
4762
|
+
"type": "string"
|
|
4763
|
+
},
|
|
4764
|
+
"style": {
|
|
4765
|
+
"type": "string"
|
|
4766
|
+
}
|
|
4767
|
+
},
|
|
4768
|
+
"required": ["family", "style"],
|
|
4769
|
+
"additionalProperties": false
|
|
4770
|
+
},
|
|
4771
|
+
"fontSize": {
|
|
4772
|
+
"type": "number"
|
|
4773
|
+
},
|
|
4774
|
+
"textDecoration": {
|
|
4775
|
+
"type": "string"
|
|
4776
|
+
},
|
|
4777
|
+
"textCase": {
|
|
4778
|
+
"type": "string"
|
|
4779
|
+
},
|
|
4780
|
+
"letterSpacing": {
|
|
4781
|
+
"type": "object",
|
|
4782
|
+
"properties": {
|
|
4783
|
+
"value": {
|
|
4784
|
+
"type": "number"
|
|
4785
|
+
},
|
|
4786
|
+
"unit": {
|
|
4787
|
+
"type": "string"
|
|
4788
|
+
}
|
|
4789
|
+
},
|
|
4790
|
+
"required": ["value", "unit"],
|
|
4791
|
+
"additionalProperties": false
|
|
4792
|
+
},
|
|
4793
|
+
"lineHeight": {
|
|
4794
|
+
"type": "object",
|
|
4795
|
+
"properties": {
|
|
4796
|
+
"value": {
|
|
4797
|
+
"type": "number"
|
|
4798
|
+
},
|
|
4799
|
+
"unit": {
|
|
4800
|
+
"type": "string"
|
|
4801
|
+
}
|
|
4802
|
+
},
|
|
4803
|
+
"required": ["unit"],
|
|
4804
|
+
"additionalProperties": false
|
|
4805
|
+
},
|
|
4806
|
+
"fills": {
|
|
4807
|
+
"type": "array",
|
|
4808
|
+
"items": {
|
|
4809
|
+
"type": "object",
|
|
4810
|
+
"additionalProperties": {}
|
|
4811
|
+
}
|
|
4812
|
+
},
|
|
4813
|
+
"hyperlink": {
|
|
4814
|
+
"type": ["object", "null"],
|
|
4815
|
+
"additionalProperties": {}
|
|
4816
|
+
}
|
|
4817
|
+
},
|
|
4818
|
+
"additionalProperties": false
|
|
4819
|
+
}
|
|
4820
|
+
},
|
|
4821
|
+
"required": ["start", "end", "style"],
|
|
4822
|
+
"additionalProperties": false
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
},
|
|
4826
|
+
"required": ["text", "styleRuns"]
|
|
4199
4827
|
}
|
|
4200
4828
|
},
|
|
4201
4829
|
"warnings": {
|
|
@@ -4554,7 +5182,7 @@
|
|
|
4554
5182
|
"get": {
|
|
4555
5183
|
"operationId": "getProjectInfo",
|
|
4556
5184
|
"summary": "Get Project information",
|
|
4557
|
-
"description": "
|
|
5185
|
+
"description": "Get a project's ID, name, Organization, locales, and auto-approval setting. Requires `project:files:read`.",
|
|
4558
5186
|
"security": [
|
|
4559
5187
|
{
|
|
4560
5188
|
"BearerAuth": []
|
|
@@ -4731,7 +5359,7 @@
|
|
|
4731
5359
|
"post": {
|
|
4732
5360
|
"operationId": "updateProjectInfo",
|
|
4733
5361
|
"summary": "Update Project information",
|
|
4734
|
-
"description": "Update
|
|
5362
|
+
"description": "Update a project's default locale or CDN delivery setting. Requires `project:write`. Omitted settings remain unchanged.",
|
|
4735
5363
|
"security": [
|
|
4736
5364
|
{
|
|
4737
5365
|
"BearerAuth": []
|
|
@@ -5539,7 +6167,7 @@
|
|
|
5539
6167
|
"post": {
|
|
5540
6168
|
"operationId": "createTag",
|
|
5541
6169
|
"summary": "Create or update a tag",
|
|
5542
|
-
"description": "Create or
|
|
6170
|
+
"description": "Create or update a tag for a set of file versions.",
|
|
5543
6171
|
"security": [
|
|
5544
6172
|
{
|
|
5545
6173
|
"BearerAuth": []
|
|
@@ -5754,7 +6382,7 @@
|
|
|
5754
6382
|
"post": {
|
|
5755
6383
|
"operationId": "uploadAssets",
|
|
5756
6384
|
"summary": "Upload Project assets",
|
|
5757
|
-
"description": "Upload OpenType or TrueType fonts
|
|
6385
|
+
"description": "Upload OpenType or TrueType fonts for Lottie translations across your Organization. Uploading the same font family, weight, and italic style replaces the existing font. You can safely retry the full upload after a `500` response.",
|
|
5758
6386
|
"security": [
|
|
5759
6387
|
{
|
|
5760
6388
|
"BearerAuth": []
|
|
@@ -7396,7 +8024,7 @@
|
|
|
7396
8024
|
"post": {
|
|
7397
8025
|
"operationId": "getTranslationJobInfo",
|
|
7398
8026
|
"summary": "Get translation job status",
|
|
7399
|
-
"description": "
|
|
8027
|
+
"description": "Get the status of one or more translation or context generation jobs.",
|
|
7400
8028
|
"security": [
|
|
7401
8029
|
{
|
|
7402
8030
|
"BearerAuth": []
|
|
@@ -8171,7 +8799,8 @@
|
|
|
8171
8799
|
"XCSTRINGS",
|
|
8172
8800
|
"DOT_STRINGS",
|
|
8173
8801
|
"DOT_STRINGSDICT",
|
|
8174
|
-
"ANDROID_STRINGS"
|
|
8802
|
+
"ANDROID_STRINGS",
|
|
8803
|
+
"SRT"
|
|
8175
8804
|
]
|
|
8176
8805
|
},
|
|
8177
8806
|
"dataFormat": {
|
|
@@ -8489,7 +9118,8 @@
|
|
|
8489
9118
|
"XCSTRINGS",
|
|
8490
9119
|
"DOT_STRINGS",
|
|
8491
9120
|
"DOT_STRINGSDICT",
|
|
8492
|
-
"ANDROID_STRINGS"
|
|
9121
|
+
"ANDROID_STRINGS",
|
|
9122
|
+
"SRT"
|
|
8493
9123
|
]
|
|
8494
9124
|
}
|
|
8495
9125
|
},
|
|
@@ -8856,7 +9486,7 @@
|
|
|
8856
9486
|
"post": {
|
|
8857
9487
|
"operationId": "translate",
|
|
8858
9488
|
"summary": "Translate content at runtime",
|
|
8859
|
-
"description": "Translate
|
|
9489
|
+
"description": "Translate strings, structured content, or Markdown and MDX documents. Send documents as strings with `fileFormat` set to `MD` or `MDX`. Requires `project:translations:generate`. Existing development API keys are also accepted.",
|
|
8860
9490
|
"security": [
|
|
8861
9491
|
{
|
|
8862
9492
|
"BearerAuth": []
|
|
@@ -9117,7 +9747,8 @@
|
|
|
9117
9747
|
"XCSTRINGS",
|
|
9118
9748
|
"DOT_STRINGS",
|
|
9119
9749
|
"DOT_STRINGSDICT",
|
|
9120
|
-
"ANDROID_STRINGS"
|
|
9750
|
+
"ANDROID_STRINGS",
|
|
9751
|
+
"SRT"
|
|
9121
9752
|
]
|
|
9122
9753
|
},
|
|
9123
9754
|
"dataFormat": {
|
|
@@ -9191,7 +9822,8 @@
|
|
|
9191
9822
|
"XCSTRINGS",
|
|
9192
9823
|
"DOT_STRINGS",
|
|
9193
9824
|
"DOT_STRINGSDICT",
|
|
9194
|
-
"ANDROID_STRINGS"
|
|
9825
|
+
"ANDROID_STRINGS",
|
|
9826
|
+
"SRT"
|
|
9195
9827
|
]
|
|
9196
9828
|
},
|
|
9197
9829
|
"dataFormat": {
|
|
@@ -9221,7 +9853,8 @@
|
|
|
9221
9853
|
"XCSTRINGS",
|
|
9222
9854
|
"DOT_STRINGS",
|
|
9223
9855
|
"DOT_STRINGSDICT",
|
|
9224
|
-
"ANDROID_STRINGS"
|
|
9856
|
+
"ANDROID_STRINGS",
|
|
9857
|
+
"SRT"
|
|
9225
9858
|
]
|
|
9226
9859
|
}
|
|
9227
9860
|
},
|
|
@@ -9433,7 +10066,7 @@
|
|
|
9433
10066
|
"post": {
|
|
9434
10067
|
"operationId": "createProjectApiKey",
|
|
9435
10068
|
"summary": "Create a Project API Key",
|
|
9436
|
-
"description": "Create
|
|
10069
|
+
"description": "Create a project API key. Requires `project:api_keys:write`; project keys cannot create other keys. If you cannot grant a selected permission, the request returns `403` without creating a key. Each successful request creates a new key. Store the returned secret securely.",
|
|
9437
10070
|
"security": [
|
|
9438
10071
|
{
|
|
9439
10072
|
"BearerAuth": []
|
|
@@ -9472,7 +10105,8 @@
|
|
|
9472
10105
|
"name": {
|
|
9473
10106
|
"type": "string",
|
|
9474
10107
|
"minLength": 1,
|
|
9475
|
-
"maxLength": 255
|
|
10108
|
+
"maxLength": 255,
|
|
10109
|
+
"description": "Key name, 1–255 characters after trimming."
|
|
9476
10110
|
},
|
|
9477
10111
|
"permissions": {
|
|
9478
10112
|
"type": "array",
|
|
@@ -9480,7 +10114,7 @@
|
|
|
9480
10114
|
"$ref": "#/components/schemas/ProjectApiKeyPermission"
|
|
9481
10115
|
},
|
|
9482
10116
|
"minItems": 1,
|
|
9483
|
-
"description": "Project permissions to grant.
|
|
10117
|
+
"description": "Project permissions to grant. Select at least one, or omit to grant all project permissions you can delegate. You must hold every selected permission. Duplicates are ignored. Write permissions do not include Read."
|
|
9484
10118
|
},
|
|
9485
10119
|
"type": {
|
|
9486
10120
|
"type": "string",
|
|
@@ -9646,7 +10280,7 @@
|
|
|
9646
10280
|
"get": {
|
|
9647
10281
|
"operationId": "listProjects",
|
|
9648
10282
|
"summary": "List Projects",
|
|
9649
|
-
"description": "List
|
|
10283
|
+
"description": "List projects you can access, ordered by ID. Requires `project:files:read`. No `gt-project-id` header is needed. Omit `cursor` for the first page. When the response's `nextCursor` is a string, pass it as `cursor` to fetch the next page; when it is `null`, there are no more results.",
|
|
9650
10284
|
"security": [
|
|
9651
10285
|
{
|
|
9652
10286
|
"BearerAuth": []
|
|
@@ -9659,9 +10293,11 @@
|
|
|
9659
10293
|
{
|
|
9660
10294
|
"schema": {
|
|
9661
10295
|
"type": "string",
|
|
9662
|
-
"minLength": 1
|
|
10296
|
+
"minLength": 1,
|
|
10297
|
+
"description": "The nextCursor from the previous page. Omit for the first page."
|
|
9663
10298
|
},
|
|
9664
10299
|
"required": false,
|
|
10300
|
+
"description": "The nextCursor from the previous page. Omit for the first page.",
|
|
9665
10301
|
"name": "cursor",
|
|
9666
10302
|
"in": "query"
|
|
9667
10303
|
},
|
|
@@ -9670,9 +10306,11 @@
|
|
|
9670
10306
|
"type": "integer",
|
|
9671
10307
|
"minimum": 1,
|
|
9672
10308
|
"maximum": 100,
|
|
9673
|
-
"default": 50
|
|
10309
|
+
"default": 50,
|
|
10310
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50."
|
|
9674
10311
|
},
|
|
9675
10312
|
"required": false,
|
|
10313
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50.",
|
|
9676
10314
|
"name": "limit",
|
|
9677
10315
|
"in": "query"
|
|
9678
10316
|
},
|
|
@@ -9694,7 +10332,7 @@
|
|
|
9694
10332
|
"schema": {
|
|
9695
10333
|
"type": "object",
|
|
9696
10334
|
"properties": {
|
|
9697
|
-
"
|
|
10335
|
+
"items": {
|
|
9698
10336
|
"type": "array",
|
|
9699
10337
|
"items": {
|
|
9700
10338
|
"type": "object",
|
|
@@ -9716,10 +10354,11 @@
|
|
|
9716
10354
|
}
|
|
9717
10355
|
},
|
|
9718
10356
|
"nextCursor": {
|
|
9719
|
-
"type": ["string", "null"]
|
|
10357
|
+
"type": ["string", "null"],
|
|
10358
|
+
"description": "Opaque cursor for the next page; `null` when there are no more items. Pages are read independently, so items changed between requests may be missed or repeated."
|
|
9720
10359
|
}
|
|
9721
10360
|
},
|
|
9722
|
-
"required": ["
|
|
10361
|
+
"required": ["items", "nextCursor"]
|
|
9723
10362
|
}
|
|
9724
10363
|
}
|
|
9725
10364
|
}
|
|
@@ -9807,7 +10446,7 @@
|
|
|
9807
10446
|
"post": {
|
|
9808
10447
|
"operationId": "createProject",
|
|
9809
10448
|
"summary": "Create a Project",
|
|
9810
|
-
"description": "Create a
|
|
10449
|
+
"description": "Create a project in the specified Organization. Requires `org:projects:create`. Returns `409` if your plan's project limit has been reached. Each successful request creates a new project.",
|
|
9811
10450
|
"security": [
|
|
9812
10451
|
{
|
|
9813
10452
|
"BearerAuth": []
|
|
@@ -9844,13 +10483,16 @@
|
|
|
9844
10483
|
"type": "object",
|
|
9845
10484
|
"properties": {
|
|
9846
10485
|
"name": {
|
|
9847
|
-
"type": "string"
|
|
10486
|
+
"type": "string",
|
|
10487
|
+
"description": "Trimmed Project name, 1–64 characters. Accepts ASCII letters, digits, spaces, dashes, underscores, apostrophes, parentheses, and periods."
|
|
9848
10488
|
},
|
|
9849
10489
|
"defaultLocale": {
|
|
9850
|
-
"type": "string"
|
|
10490
|
+
"type": "string",
|
|
10491
|
+
"description": "Source locale for the project."
|
|
9851
10492
|
},
|
|
9852
10493
|
"cdnEnabled": {
|
|
9853
|
-
"type": "boolean"
|
|
10494
|
+
"type": "boolean",
|
|
10495
|
+
"description": "Enable CDN delivery. Defaults to false when omitted."
|
|
9854
10496
|
}
|
|
9855
10497
|
},
|
|
9856
10498
|
"required": ["name", "defaultLocale"],
|
|
@@ -10004,8 +10646,11 @@
|
|
|
10004
10646
|
"get": {
|
|
10005
10647
|
"operationId": "listOrgs",
|
|
10006
10648
|
"summary": "List Organizations",
|
|
10007
|
-
"description": "List Organizations
|
|
10649
|
+
"description": "List Organizations accessible to your API key, ordered by ID. Organization and Project keys each return only their own Organization. No project ID or project-creation permission is required. Omit `cursor` for the first page. When the response's `nextCursor` is a string, pass it as `cursor` to fetch the next page; when it is `null`, there are no more results.",
|
|
10008
10650
|
"security": [
|
|
10651
|
+
{
|
|
10652
|
+
"BearerAuth": []
|
|
10653
|
+
},
|
|
10009
10654
|
{
|
|
10010
10655
|
"UserBearerAuth": []
|
|
10011
10656
|
}
|
|
@@ -10014,9 +10659,11 @@
|
|
|
10014
10659
|
{
|
|
10015
10660
|
"schema": {
|
|
10016
10661
|
"type": "string",
|
|
10017
|
-
"minLength": 1
|
|
10662
|
+
"minLength": 1,
|
|
10663
|
+
"description": "The nextCursor from the previous page. Omit for the first page."
|
|
10018
10664
|
},
|
|
10019
10665
|
"required": false,
|
|
10666
|
+
"description": "The nextCursor from the previous page. Omit for the first page.",
|
|
10020
10667
|
"name": "cursor",
|
|
10021
10668
|
"in": "query"
|
|
10022
10669
|
},
|
|
@@ -10025,9 +10672,11 @@
|
|
|
10025
10672
|
"type": "integer",
|
|
10026
10673
|
"minimum": 1,
|
|
10027
10674
|
"maximum": 100,
|
|
10028
|
-
"default": 50
|
|
10675
|
+
"default": 50,
|
|
10676
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50."
|
|
10029
10677
|
},
|
|
10030
10678
|
"required": false,
|
|
10679
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50.",
|
|
10031
10680
|
"name": "limit",
|
|
10032
10681
|
"in": "query"
|
|
10033
10682
|
},
|
|
@@ -10049,7 +10698,7 @@
|
|
|
10049
10698
|
"schema": {
|
|
10050
10699
|
"type": "object",
|
|
10051
10700
|
"properties": {
|
|
10052
|
-
"
|
|
10701
|
+
"items": {
|
|
10053
10702
|
"type": "array",
|
|
10054
10703
|
"items": {
|
|
10055
10704
|
"type": "object",
|
|
@@ -10065,10 +10714,11 @@
|
|
|
10065
10714
|
}
|
|
10066
10715
|
},
|
|
10067
10716
|
"nextCursor": {
|
|
10068
|
-
"type": ["string", "null"]
|
|
10717
|
+
"type": ["string", "null"],
|
|
10718
|
+
"description": "Opaque cursor for the next page; `null` when there are no more items. Pages are read independently, so items changed between requests may be missed or repeated."
|
|
10069
10719
|
}
|
|
10070
10720
|
},
|
|
10071
|
-
"required": ["
|
|
10721
|
+
"required": ["items", "nextCursor"]
|
|
10072
10722
|
}
|
|
10073
10723
|
}
|
|
10074
10724
|
}
|