generaltranslation 9.5.1 → 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 +9 -0
- package/dist/adapter/createGtApi.js +49 -51
- package/dist/{derive-sRw1yaMu.cjs → derive-BgahX4Pv.cjs} +7 -30
- package/dist/derive-BgahX4Pv.cjs.map +1 -0
- package/dist/{derive-BVRyqmWc.mjs → derive-BotyrXAq.mjs} +8 -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 +731 -87
- 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/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-BVRyqmWc.mjs.map +0 -1
- package/dist/derive-sRw1yaMu.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",
|
|
@@ -1724,8 +1725,7 @@
|
|
|
1724
1725
|
"not_text_node",
|
|
1725
1726
|
"empty_text",
|
|
1726
1727
|
"hidden_layer",
|
|
1727
|
-
"missing_characters"
|
|
1728
|
-
"in_component_master"
|
|
1728
|
+
"missing_characters"
|
|
1729
1729
|
]
|
|
1730
1730
|
},
|
|
1731
1731
|
"details": {
|
|
@@ -2144,6 +2144,383 @@
|
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
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
|
+
},
|
|
2147
2524
|
"/v1/integrations/plugins/{provider}/sync": {
|
|
2148
2525
|
"post": {
|
|
2149
2526
|
"operationId": "pluginSync",
|
|
@@ -2355,74 +2732,80 @@
|
|
|
2355
2732
|
"type": "object",
|
|
2356
2733
|
"properties": {
|
|
2357
2734
|
"start": {
|
|
2358
|
-
"type": "integer",
|
|
2359
|
-
"minimum": 0
|
|
2360
|
-
},
|
|
2361
|
-
"end": {
|
|
2362
|
-
"type": "integer",
|
|
2363
|
-
"minimum": 0
|
|
2364
|
-
},
|
|
2365
|
-
"fontName": {
|
|
2366
|
-
"type": "object",
|
|
2367
|
-
"properties": {
|
|
2368
|
-
"family": {
|
|
2369
|
-
"type": "string"
|
|
2370
|
-
},
|
|
2371
|
-
"style": {
|
|
2372
|
-
"type": "string"
|
|
2373
|
-
}
|
|
2374
|
-
},
|
|
2375
|
-
"required": ["family", "style"],
|
|
2376
|
-
"additionalProperties": false
|
|
2377
|
-
},
|
|
2378
|
-
"fontSize": {
|
|
2379
|
-
"type": "number"
|
|
2380
|
-
},
|
|
2381
|
-
"textDecoration": {
|
|
2382
|
-
"type": "string"
|
|
2735
|
+
"type": "integer",
|
|
2736
|
+
"minimum": 0
|
|
2383
2737
|
},
|
|
2384
|
-
"
|
|
2385
|
-
"type": "
|
|
2738
|
+
"end": {
|
|
2739
|
+
"type": "integer",
|
|
2740
|
+
"minimum": 0
|
|
2386
2741
|
},
|
|
2387
|
-
"
|
|
2742
|
+
"style": {
|
|
2388
2743
|
"type": "object",
|
|
2389
2744
|
"properties": {
|
|
2390
|
-
"
|
|
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": {
|
|
2391
2759
|
"type": "number"
|
|
2392
2760
|
},
|
|
2393
|
-
"
|
|
2761
|
+
"textDecoration": {
|
|
2394
2762
|
"type": "string"
|
|
2395
|
-
}
|
|
2396
|
-
},
|
|
2397
|
-
"required": ["value", "unit"],
|
|
2398
|
-
"additionalProperties": false
|
|
2399
|
-
},
|
|
2400
|
-
"lineHeight": {
|
|
2401
|
-
"type": "object",
|
|
2402
|
-
"properties": {
|
|
2403
|
-
"value": {
|
|
2404
|
-
"type": "number"
|
|
2405
2763
|
},
|
|
2406
|
-
"
|
|
2764
|
+
"textCase": {
|
|
2407
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": {}
|
|
2408
2803
|
}
|
|
2409
2804
|
},
|
|
2410
|
-
"required": ["unit"],
|
|
2411
2805
|
"additionalProperties": false
|
|
2412
|
-
},
|
|
2413
|
-
"fills": {
|
|
2414
|
-
"type": "array",
|
|
2415
|
-
"items": {
|
|
2416
|
-
"type": "object",
|
|
2417
|
-
"additionalProperties": {}
|
|
2418
|
-
}
|
|
2419
|
-
},
|
|
2420
|
-
"hyperlink": {
|
|
2421
|
-
"type": ["object", "null"],
|
|
2422
|
-
"additionalProperties": {}
|
|
2423
2806
|
}
|
|
2424
2807
|
},
|
|
2425
|
-
"required": ["start", "end"],
|
|
2808
|
+
"required": ["start", "end", "style"],
|
|
2426
2809
|
"additionalProperties": false
|
|
2427
2810
|
},
|
|
2428
2811
|
"maxItems": 512
|
|
@@ -2470,8 +2853,7 @@
|
|
|
2470
2853
|
"not_text_node",
|
|
2471
2854
|
"empty_text",
|
|
2472
2855
|
"hidden_layer",
|
|
2473
|
-
"missing_characters"
|
|
2474
|
-
"in_component_master"
|
|
2856
|
+
"missing_characters"
|
|
2475
2857
|
]
|
|
2476
2858
|
},
|
|
2477
2859
|
"details": {
|
|
@@ -3047,7 +3429,98 @@
|
|
|
3047
3429
|
"translations": {
|
|
3048
3430
|
"type": "object",
|
|
3049
3431
|
"additionalProperties": {
|
|
3050
|
-
"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
|
|
3051
3524
|
}
|
|
3052
3525
|
}
|
|
3053
3526
|
},
|
|
@@ -4196,7 +4669,161 @@
|
|
|
4196
4669
|
"translations": {
|
|
4197
4670
|
"type": "object",
|
|
4198
4671
|
"additionalProperties": {
|
|
4199
|
-
"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"]
|
|
4200
4827
|
}
|
|
4201
4828
|
},
|
|
4202
4829
|
"warnings": {
|
|
@@ -4555,7 +5182,7 @@
|
|
|
4555
5182
|
"get": {
|
|
4556
5183
|
"operationId": "getProjectInfo",
|
|
4557
5184
|
"summary": "Get Project information",
|
|
4558
|
-
"description": "
|
|
5185
|
+
"description": "Get a project's ID, name, Organization, locales, and auto-approval setting. Requires `project:files:read`.",
|
|
4559
5186
|
"security": [
|
|
4560
5187
|
{
|
|
4561
5188
|
"BearerAuth": []
|
|
@@ -4732,7 +5359,7 @@
|
|
|
4732
5359
|
"post": {
|
|
4733
5360
|
"operationId": "updateProjectInfo",
|
|
4734
5361
|
"summary": "Update Project information",
|
|
4735
|
-
"description": "Update
|
|
5362
|
+
"description": "Update a project's default locale or CDN delivery setting. Requires `project:write`. Omitted settings remain unchanged.",
|
|
4736
5363
|
"security": [
|
|
4737
5364
|
{
|
|
4738
5365
|
"BearerAuth": []
|
|
@@ -5540,7 +6167,7 @@
|
|
|
5540
6167
|
"post": {
|
|
5541
6168
|
"operationId": "createTag",
|
|
5542
6169
|
"summary": "Create or update a tag",
|
|
5543
|
-
"description": "Create or
|
|
6170
|
+
"description": "Create or update a tag for a set of file versions.",
|
|
5544
6171
|
"security": [
|
|
5545
6172
|
{
|
|
5546
6173
|
"BearerAuth": []
|
|
@@ -5755,7 +6382,7 @@
|
|
|
5755
6382
|
"post": {
|
|
5756
6383
|
"operationId": "uploadAssets",
|
|
5757
6384
|
"summary": "Upload Project assets",
|
|
5758
|
-
"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.",
|
|
5759
6386
|
"security": [
|
|
5760
6387
|
{
|
|
5761
6388
|
"BearerAuth": []
|
|
@@ -7397,7 +8024,7 @@
|
|
|
7397
8024
|
"post": {
|
|
7398
8025
|
"operationId": "getTranslationJobInfo",
|
|
7399
8026
|
"summary": "Get translation job status",
|
|
7400
|
-
"description": "
|
|
8027
|
+
"description": "Get the status of one or more translation or context generation jobs.",
|
|
7401
8028
|
"security": [
|
|
7402
8029
|
{
|
|
7403
8030
|
"BearerAuth": []
|
|
@@ -8859,7 +9486,7 @@
|
|
|
8859
9486
|
"post": {
|
|
8860
9487
|
"operationId": "translate",
|
|
8861
9488
|
"summary": "Translate content at runtime",
|
|
8862
|
-
"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.",
|
|
8863
9490
|
"security": [
|
|
8864
9491
|
{
|
|
8865
9492
|
"BearerAuth": []
|
|
@@ -9439,7 +10066,7 @@
|
|
|
9439
10066
|
"post": {
|
|
9440
10067
|
"operationId": "createProjectApiKey",
|
|
9441
10068
|
"summary": "Create a Project API Key",
|
|
9442
|
-
"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.",
|
|
9443
10070
|
"security": [
|
|
9444
10071
|
{
|
|
9445
10072
|
"BearerAuth": []
|
|
@@ -9478,7 +10105,8 @@
|
|
|
9478
10105
|
"name": {
|
|
9479
10106
|
"type": "string",
|
|
9480
10107
|
"minLength": 1,
|
|
9481
|
-
"maxLength": 255
|
|
10108
|
+
"maxLength": 255,
|
|
10109
|
+
"description": "Key name, 1–255 characters after trimming."
|
|
9482
10110
|
},
|
|
9483
10111
|
"permissions": {
|
|
9484
10112
|
"type": "array",
|
|
@@ -9486,7 +10114,7 @@
|
|
|
9486
10114
|
"$ref": "#/components/schemas/ProjectApiKeyPermission"
|
|
9487
10115
|
},
|
|
9488
10116
|
"minItems": 1,
|
|
9489
|
-
"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."
|
|
9490
10118
|
},
|
|
9491
10119
|
"type": {
|
|
9492
10120
|
"type": "string",
|
|
@@ -9652,7 +10280,7 @@
|
|
|
9652
10280
|
"get": {
|
|
9653
10281
|
"operationId": "listProjects",
|
|
9654
10282
|
"summary": "List Projects",
|
|
9655
|
-
"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.",
|
|
9656
10284
|
"security": [
|
|
9657
10285
|
{
|
|
9658
10286
|
"BearerAuth": []
|
|
@@ -9665,9 +10293,11 @@
|
|
|
9665
10293
|
{
|
|
9666
10294
|
"schema": {
|
|
9667
10295
|
"type": "string",
|
|
9668
|
-
"minLength": 1
|
|
10296
|
+
"minLength": 1,
|
|
10297
|
+
"description": "The nextCursor from the previous page. Omit for the first page."
|
|
9669
10298
|
},
|
|
9670
10299
|
"required": false,
|
|
10300
|
+
"description": "The nextCursor from the previous page. Omit for the first page.",
|
|
9671
10301
|
"name": "cursor",
|
|
9672
10302
|
"in": "query"
|
|
9673
10303
|
},
|
|
@@ -9676,9 +10306,11 @@
|
|
|
9676
10306
|
"type": "integer",
|
|
9677
10307
|
"minimum": 1,
|
|
9678
10308
|
"maximum": 100,
|
|
9679
|
-
"default": 50
|
|
10309
|
+
"default": 50,
|
|
10310
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50."
|
|
9680
10311
|
},
|
|
9681
10312
|
"required": false,
|
|
10313
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50.",
|
|
9682
10314
|
"name": "limit",
|
|
9683
10315
|
"in": "query"
|
|
9684
10316
|
},
|
|
@@ -9700,7 +10332,7 @@
|
|
|
9700
10332
|
"schema": {
|
|
9701
10333
|
"type": "object",
|
|
9702
10334
|
"properties": {
|
|
9703
|
-
"
|
|
10335
|
+
"items": {
|
|
9704
10336
|
"type": "array",
|
|
9705
10337
|
"items": {
|
|
9706
10338
|
"type": "object",
|
|
@@ -9722,10 +10354,11 @@
|
|
|
9722
10354
|
}
|
|
9723
10355
|
},
|
|
9724
10356
|
"nextCursor": {
|
|
9725
|
-
"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."
|
|
9726
10359
|
}
|
|
9727
10360
|
},
|
|
9728
|
-
"required": ["
|
|
10361
|
+
"required": ["items", "nextCursor"]
|
|
9729
10362
|
}
|
|
9730
10363
|
}
|
|
9731
10364
|
}
|
|
@@ -9813,7 +10446,7 @@
|
|
|
9813
10446
|
"post": {
|
|
9814
10447
|
"operationId": "createProject",
|
|
9815
10448
|
"summary": "Create a Project",
|
|
9816
|
-
"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.",
|
|
9817
10450
|
"security": [
|
|
9818
10451
|
{
|
|
9819
10452
|
"BearerAuth": []
|
|
@@ -9850,13 +10483,16 @@
|
|
|
9850
10483
|
"type": "object",
|
|
9851
10484
|
"properties": {
|
|
9852
10485
|
"name": {
|
|
9853
|
-
"type": "string"
|
|
10486
|
+
"type": "string",
|
|
10487
|
+
"description": "Trimmed Project name, 1–64 characters. Accepts ASCII letters, digits, spaces, dashes, underscores, apostrophes, parentheses, and periods."
|
|
9854
10488
|
},
|
|
9855
10489
|
"defaultLocale": {
|
|
9856
|
-
"type": "string"
|
|
10490
|
+
"type": "string",
|
|
10491
|
+
"description": "Source locale for the project."
|
|
9857
10492
|
},
|
|
9858
10493
|
"cdnEnabled": {
|
|
9859
|
-
"type": "boolean"
|
|
10494
|
+
"type": "boolean",
|
|
10495
|
+
"description": "Enable CDN delivery. Defaults to false when omitted."
|
|
9860
10496
|
}
|
|
9861
10497
|
},
|
|
9862
10498
|
"required": ["name", "defaultLocale"],
|
|
@@ -10010,8 +10646,11 @@
|
|
|
10010
10646
|
"get": {
|
|
10011
10647
|
"operationId": "listOrgs",
|
|
10012
10648
|
"summary": "List Organizations",
|
|
10013
|
-
"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.",
|
|
10014
10650
|
"security": [
|
|
10651
|
+
{
|
|
10652
|
+
"BearerAuth": []
|
|
10653
|
+
},
|
|
10015
10654
|
{
|
|
10016
10655
|
"UserBearerAuth": []
|
|
10017
10656
|
}
|
|
@@ -10020,9 +10659,11 @@
|
|
|
10020
10659
|
{
|
|
10021
10660
|
"schema": {
|
|
10022
10661
|
"type": "string",
|
|
10023
|
-
"minLength": 1
|
|
10662
|
+
"minLength": 1,
|
|
10663
|
+
"description": "The nextCursor from the previous page. Omit for the first page."
|
|
10024
10664
|
},
|
|
10025
10665
|
"required": false,
|
|
10666
|
+
"description": "The nextCursor from the previous page. Omit for the first page.",
|
|
10026
10667
|
"name": "cursor",
|
|
10027
10668
|
"in": "query"
|
|
10028
10669
|
},
|
|
@@ -10031,9 +10672,11 @@
|
|
|
10031
10672
|
"type": "integer",
|
|
10032
10673
|
"minimum": 1,
|
|
10033
10674
|
"maximum": 100,
|
|
10034
|
-
"default": 50
|
|
10675
|
+
"default": 50,
|
|
10676
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50."
|
|
10035
10677
|
},
|
|
10036
10678
|
"required": false,
|
|
10679
|
+
"description": "Maximum number of items to return, 1–100. Defaults to 50.",
|
|
10037
10680
|
"name": "limit",
|
|
10038
10681
|
"in": "query"
|
|
10039
10682
|
},
|
|
@@ -10055,7 +10698,7 @@
|
|
|
10055
10698
|
"schema": {
|
|
10056
10699
|
"type": "object",
|
|
10057
10700
|
"properties": {
|
|
10058
|
-
"
|
|
10701
|
+
"items": {
|
|
10059
10702
|
"type": "array",
|
|
10060
10703
|
"items": {
|
|
10061
10704
|
"type": "object",
|
|
@@ -10071,10 +10714,11 @@
|
|
|
10071
10714
|
}
|
|
10072
10715
|
},
|
|
10073
10716
|
"nextCursor": {
|
|
10074
|
-
"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."
|
|
10075
10719
|
}
|
|
10076
10720
|
},
|
|
10077
|
-
"required": ["
|
|
10721
|
+
"required": ["items", "nextCursor"]
|
|
10078
10722
|
}
|
|
10079
10723
|
}
|
|
10080
10724
|
}
|