impossiblefxv1 1.13.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.
Files changed (68) hide show
  1. package/HOWTO-PUBLISH.txt +15 -0
  2. package/README.md +21 -0
  3. package/apis/edit-2016-06-02.json +15 -0
  4. package/apis/metadata.json +31 -0
  5. package/apis/project-2016-06-01.json +56 -0
  6. package/apis/project-2016-06-02.json +767 -0
  7. package/apis/project-2023-03-07.json +767 -0
  8. package/apis/project-2023-12-11.json +767 -0
  9. package/apis/render-2016-06-02.json +764 -0
  10. package/apis/render-2023-12-11.json +764 -0
  11. package/dist/fx-sdk-latest.js +22494 -0
  12. package/dist-tools/build-browser.js +109 -0
  13. package/dist-tools/build-sdk.sh +6 -0
  14. package/dist-tools/es6-promise.js +957 -0
  15. package/dist-tools/foo.sh +4 -0
  16. package/dist-tools/publish.sh +6 -0
  17. package/lib/browser.js +58 -0
  18. package/lib/config.js +125 -0
  19. package/lib/core.js +15 -0
  20. package/lib/credentials/chain.js +54 -0
  21. package/lib/credentials/environment.js +69 -0
  22. package/lib/credentials/inifile.js +57 -0
  23. package/lib/credentials/token.js +38 -0
  24. package/lib/credentials.js +53 -0
  25. package/lib/encoding.js +36 -0
  26. package/lib/endpoint.js +18 -0
  27. package/lib/fx.js +50 -0
  28. package/lib/http/node.js +69 -0
  29. package/lib/http/xhr.js +12 -0
  30. package/lib/http.js +57 -0
  31. package/lib/proto.js +38 -0
  32. package/lib/protocol.js +56 -0
  33. package/lib/request.js +252 -0
  34. package/lib/response.js +24 -0
  35. package/lib/service.js +182 -0
  36. package/lib/services/batch.js +5 -0
  37. package/lib/services/edit.js +9 -0
  38. package/lib/services/project.js +102 -0
  39. package/lib/services/render.js +63 -0
  40. package/lib/services/story.js +5 -0
  41. package/lib/services.js +30 -0
  42. package/lib/util.js +126 -0
  43. package/package.json +37 -0
  44. package/package.json.save +36 -0
  45. package/proto/Movie.proto +4081 -0
  46. package/proto/fx.proto +43 -0
  47. package/templates/config.html +91 -0
  48. package/templates/examples.html +69 -0
  49. package/templates/getstarted.html +30 -0
  50. package/templates/index.html +6 -0
  51. package/templates/makeexample.py +57 -0
  52. package/templates/makerequests.html +210 -0
  53. package/templates/operation.html +36 -0
  54. package/templates/service.html +9 -0
  55. package/templates/services.html +19 -0
  56. package/templates/version.html +12 -0
  57. package/templates/versions.html +10 -0
  58. package/templates/workservice.html +68 -0
  59. package/test/circles.mp4 +0 -0
  60. package/test/config.js +131 -0
  61. package/test/index.html +35 -0
  62. package/test/mocha.opts +4 -0
  63. package/test/project.js +148 -0
  64. package/test/render.js +136 -0
  65. package/test/retry.js +53 -0
  66. package/test/sdktests.js +62 -0
  67. package/test/sdl.js +125 -0
  68. package/test/servertest/simple.js +20 -0
@@ -0,0 +1,764 @@
1
+ {
2
+ "version": "2.0",
3
+ "metadata": {
4
+ "apiVersion": "2016-06-01",
5
+ "nameSpace": "Render",
6
+ "protocol": "json",
7
+ "serviceFullName": "Impossible FX Render API"
8
+ },
9
+ "config": {
10
+ "requiresAuth": false
11
+ },
12
+ "endpoint": "render-{region}{domainSuffix}",
13
+ "globalEndpoint": "render{domainSuffix}",
14
+ "operations": {
15
+ "GetToken": {
16
+ "http": {
17
+ "method": "POST",
18
+ "path": "/v2/render/{prjuid}"
19
+ },
20
+ "input": {
21
+ "type": "structure",
22
+ "members": {
23
+ "ProjectId": {
24
+ "type": "string",
25
+ "required": true,
26
+ "location": "uri",
27
+ "locationName": "prjuid",
28
+ "documentation": "A Project ID"
29
+ },
30
+ "Movie": {
31
+ "type": "string",
32
+ "required": true,
33
+ "location": "jsonbody",
34
+ "locationName": "movie",
35
+ "documentation": "Movie to render"
36
+ },
37
+ "Params": {
38
+ "type": "map",
39
+ "required": true,
40
+ "location": "jsonbody",
41
+ "locationName": "params",
42
+ "documentation": "Render Parameters"
43
+ },
44
+ "Parallel": {
45
+ "type": "number",
46
+ "required": false,
47
+ "location": "jsonbody",
48
+ "locationName": "parallel",
49
+ "documentation": "Number of parallel render servers to use"
50
+ },
51
+ "Routingkey": {
52
+ "type": "string",
53
+ "required": false,
54
+ "location": "jsonbody",
55
+ "locationName": "routingkey",
56
+ "documentation": "Routing key for dedicate render servers"
57
+ }
58
+ },
59
+ "encoding": "json"
60
+ },
61
+ "output": {
62
+ "shape": "Token"
63
+ },
64
+ "transform": {
65
+ "output": {
66
+ "method": "TransformTokenGet"
67
+ }
68
+ },
69
+ "documentation": "Create a render token"
70
+ },
71
+ "GetRenderURL": {
72
+ "http": {
73
+ "method": "POST",
74
+ "path": "/v2/render/{prjuid}"
75
+ },
76
+ "input": {
77
+ "type": "structure",
78
+ "members": {
79
+ "ProjectId": {
80
+ "type": "string",
81
+ "required": true,
82
+ "location": "uri",
83
+ "locationName": "prjuid",
84
+ "documentation": "A Project ID"
85
+ },
86
+ "Movie": {
87
+ "type": "string",
88
+ "required": true,
89
+ "location": "jsonbody",
90
+ "locationName": "movie",
91
+ "documentation": "Movie to render"
92
+ },
93
+ "Params": {
94
+ "type": "map",
95
+ "required": true,
96
+ "location": "jsonbody",
97
+ "locationName": "params",
98
+ "documentation": "Render Parameters"
99
+ },
100
+ "Endpoint": {
101
+ "type": "string",
102
+ "location": "endpoint",
103
+ "documentation": "Render Endpoint",
104
+ "default": "https://render.impossible.io"
105
+ },
106
+ "Mode": {
107
+ "type": "string",
108
+ "location": "transform",
109
+ "documentation": "Render Mode",
110
+ "default": "render"
111
+ },
112
+ "Format": {
113
+ "type": "string",
114
+ "location": "transform",
115
+ "documentation": "Format of video",
116
+ "default": "mp4"
117
+ },
118
+ "Parallel": {
119
+ "type": "number",
120
+ "required": false,
121
+ "location": "jsonbody",
122
+ "locationName": "parallel",
123
+ "documentation": "Number of parallel render servers to use"
124
+ },
125
+ "Routingkey": {
126
+ "type": "string",
127
+ "required": false,
128
+ "location": "jsonbody",
129
+ "locationName": "routingkey",
130
+ "documentation": "Routing key for dedicate render servers"
131
+ }
132
+ },
133
+ "encoding": "json"
134
+ },
135
+ "output": {
136
+ "shape": "TokenURL"
137
+ },
138
+ "transform": {
139
+ "output": {
140
+ "method": "TransformRenderURL"
141
+ }
142
+ },
143
+ "documentation": "Create a render URL"
144
+ },
145
+ "GetPosterFrameURL": {
146
+ "http": {
147
+ "method": "POST",
148
+ "path": "/v2/render/{prjuid}"
149
+ },
150
+ "input": {
151
+ "type": "structure",
152
+ "members": {
153
+ "ProjectId": {
154
+ "type": "string",
155
+ "required": true,
156
+ "location": "uri",
157
+ "locationName": "prjuid",
158
+ "documentation": "A Project ID"
159
+ },
160
+ "Movie": {
161
+ "type": "string",
162
+ "required": true,
163
+ "location": "jsonbody",
164
+ "locationName": "movie",
165
+ "documentation": "Movie to render"
166
+ },
167
+ "Params": {
168
+ "type": "map",
169
+ "required": true,
170
+ "location": "jsonbody",
171
+ "locationName": "params",
172
+ "documentation": "Render Parameters"
173
+ },
174
+ "Frame": {
175
+ "type": "string",
176
+ "required": true,
177
+ "location": "jsonbody",
178
+ "locationName": "params.frame",
179
+ "documentation": "Frame Number"
180
+ },
181
+ "Endpoint": {
182
+ "type": "string",
183
+ "location": "endpoint",
184
+ "documentation": "Render Endpoint",
185
+ "default": "https://render.impossible.io"
186
+ },
187
+ "Mode": {
188
+ "type": "string",
189
+ "hidden": true,
190
+ "location": "transform",
191
+ "documentation": "Render Mode",
192
+ "default": "render"
193
+ },
194
+ "Format": {
195
+ "type": "string",
196
+ "location": "transform",
197
+ "documentation": "Format of image (jpg|png)",
198
+ "default": "jpg"
199
+ }
200
+ },
201
+ "encoding": "json"
202
+ },
203
+ "output": {
204
+ "shape": "TokenURL"
205
+ },
206
+ "transform": {
207
+ "output": {
208
+ "method": "TransformRenderURL"
209
+ }
210
+ },
211
+ "documentation": "Create a render URL"
212
+ },
213
+ "RenderToS3": {
214
+ "http": {
215
+ "method": "POST",
216
+ "path": "/v2/render/{prjuid}"
217
+ },
218
+ "input": {
219
+ "type": "structure",
220
+ "members": {
221
+ "ProjectId": {
222
+ "type": "string",
223
+ "required": true,
224
+ "location": "uri",
225
+ "locationName": "prjuid",
226
+ "documentation": "A Project ID"
227
+ },
228
+ "Movie": {
229
+ "type": "string",
230
+ "required": true,
231
+ "location": "jsonbody",
232
+ "locationName": "movie",
233
+ "documentation": "Movie to render"
234
+ },
235
+ "Params": {
236
+ "type": "map",
237
+ "required": true,
238
+ "location": "jsonbody",
239
+ "locationName": "params",
240
+ "documentation": "Render Parameters"
241
+ },
242
+ "Async": {
243
+ "type": "boolean",
244
+ "location": "jsonbody",
245
+ "locationName": "upload.async",
246
+ "documentation": "Perform Async"
247
+ },
248
+ "Format": {
249
+ "type": "string",
250
+ "required": true,
251
+ "location": "jsonbody",
252
+ "locationName": "upload.extension",
253
+ "documentation": "Format to Render"
254
+ },
255
+ "Type": {
256
+ "type": "string",
257
+ "hidden": true,
258
+ "location": "jsonbody",
259
+ "locationName": "upload.destination.type",
260
+ "locationValue": "s3"
261
+ },
262
+ "Bucket": {
263
+ "type": "string",
264
+ "required": true,
265
+ "location": "jsonbody",
266
+ "locationName": "upload.destination.bucket",
267
+ "documentation": "S3 Bucket Name"
268
+ },
269
+ "Filename": {
270
+ "type": "string",
271
+ "required": true,
272
+ "location": "jsonbody",
273
+ "locationName": "upload.destination.filename",
274
+ "documentation": "S3 Filename"
275
+ },
276
+ "UsePolicy": {
277
+ "type": "boolean",
278
+ "location": "jsonbody",
279
+ "locationName": "upload.destination.aws_use_policy",
280
+ "documentation": "Use S3 Bucket Policy instead of AccessKey/SecretAccessKey"
281
+ },
282
+ "AccessKeyId": {
283
+ "type": "string",
284
+ "location": "jsonbody",
285
+ "locationName": "upload.destination.aws_access_key_id",
286
+ "documentation": "AWS Access Key ID"
287
+ },
288
+ "SecretAccessKey": {
289
+ "type": "string",
290
+ "location": "jsonbody",
291
+ "locationName": "upload.destination.aws_secret_access_key",
292
+ "documentation": "AWS Secret Access Key"
293
+ },
294
+ "ContentType": {
295
+ "type": "string",
296
+ "location": "jsonbody",
297
+ "locationName": "upload.destination.contenttype",
298
+ "documentation": "CMediatype (MIME) for the destination object"
299
+ },
300
+ "ContentDisposition": {
301
+ "type": "string",
302
+ "location": "jsonbody",
303
+ "locationName": "upload.destination.contentdisposition",
304
+ "documentation": "Content disposition type for the destination object"
305
+ },
306
+ "Acl": {
307
+ "type": "string",
308
+ "location": "jsonbody",
309
+ "locationName": "upload.destination.acl",
310
+ "documentation": "Access Control for the destination object. Can be one of: private | public-read | public-read-write | authenticated-read"
311
+ },
312
+ "CacheControl": {
313
+ "type": "string",
314
+ "location": "jsonbody",
315
+ "locationName": "upload.destination.cachecontrol",
316
+ "documentation": "Extra controls for the \"Cache-Control\"-header"
317
+ },
318
+ "Secure": {
319
+ "type": "boolean",
320
+ "location": "jsonbody",
321
+ "locationName": "upload.destination.secure",
322
+ "documentation": "Return HTTPS URLs for Object URL"
323
+ },
324
+ "S3Host": {
325
+ "type": "string",
326
+ "location": "jsonbody",
327
+ "locationName": "upload.destination.s3host",
328
+ "documentation": "For Signature V4 regions (e.g. eu-central-1), the S3 endpoint is required."
329
+ },
330
+ "ReducedRedundancy": {
331
+ "type": "boolean",
332
+ "location": "jsonbody",
333
+ "locationName": "upload.destination.reduced_redundancy",
334
+ "documentation": "Use reduced redundancy for the destination object."
335
+ },
336
+ "Metadata": {
337
+ "type": "map",
338
+ "location": "jsonbody",
339
+ "locationName": "upload.destination.metadata",
340
+ "documentation": "Extra Metadata ('x-amz-meta-*')"
341
+ }
342
+ },
343
+ "encoding": "json"
344
+ },
345
+ "output": {
346
+ "shape": "TokenUpload"
347
+ },
348
+ "transform": {
349
+ "output": {
350
+ "method": "TransformTokenGet"
351
+ }
352
+ },
353
+ "documentation": "This operation renders a video and uploads the file to Amazon S3"
354
+ },
355
+ "RenderToAzure": {
356
+ "http": {
357
+ "method": "POST",
358
+ "path": "/v2/render/{prjuid}"
359
+ },
360
+ "input": {
361
+ "type": "structure",
362
+ "members": {
363
+ "ProjectId": {
364
+ "type": "string",
365
+ "required": true,
366
+ "location": "uri",
367
+ "locationName": "prjuid",
368
+ "documentation": "A Project ID"
369
+ },
370
+ "Movie": {
371
+ "type": "string",
372
+ "required": true,
373
+ "location": "jsonbody",
374
+ "locationName": "movie",
375
+ "documentation": "Movie to render"
376
+ },
377
+ "Params": {
378
+ "type": "map",
379
+ "required": true,
380
+ "location": "jsonbody",
381
+ "locationName": "params",
382
+ "documentation": "Render Parameters"
383
+ },
384
+ "Async": {
385
+ "type": "boolean",
386
+ "location": "jsonbody",
387
+ "locationName": "upload.async",
388
+ "documentation": "Perform Async"
389
+ },
390
+ "Format": {
391
+ "type": "string",
392
+ "required": true,
393
+ "location": "jsonbody",
394
+ "locationName": "upload.extension",
395
+ "documentation": "Format to Render"
396
+ },
397
+ "Type": {
398
+ "type": "string",
399
+ "hidden": true,
400
+ "location": "jsonbody",
401
+ "locationName": "upload.destination.type",
402
+ "locationValue": "azureblob"
403
+ },
404
+ "Account": {
405
+ "type": "string",
406
+ "required": true,
407
+ "location": "jsonbody",
408
+ "locationName": "upload.destination.account",
409
+ "documentation": "Storage account name"
410
+ },
411
+ "Container": {
412
+ "type": "string",
413
+ "required": true,
414
+ "location": "jsonbody",
415
+ "locationName": "upload.destination.container",
416
+ "documentation": "Name of storage container"
417
+ },
418
+ "Key": {
419
+ "type": "string",
420
+ "required": true,
421
+ "location": "jsonbody",
422
+ "locationName": "upload.destination.key",
423
+ "documentation": "Filename for the destination object"
424
+ },
425
+ "ContentType": {
426
+ "type": "string",
427
+ "location": "jsonbody",
428
+ "locationName": "upload.destination.contenttype",
429
+ "documentation": "Mediatype (MIME) for the destination object"
430
+ },
431
+ "Filename": {
432
+ "type": "string",
433
+ "required": true,
434
+ "location": "jsonbody",
435
+ "locationName": "upload.destination.filename",
436
+ "documentation": "Filename for the destination object"
437
+ }
438
+ },
439
+ "encoding": "json"
440
+ },
441
+ "output": {
442
+ "shape": "TokenUpload"
443
+ },
444
+ "documentation": "This operation renders a video and uploads the file to Microsoft Azure Blob Storage"
445
+ },
446
+ "RenderToYoutube": {
447
+ "http": {
448
+ "method": "POST",
449
+ "path": "/v2/render/{prjuid}"
450
+ },
451
+ "input": {
452
+ "type": "structure",
453
+ "members": {
454
+ "ProjectId": {
455
+ "type": "string",
456
+ "required": true,
457
+ "location": "uri",
458
+ "locationName": "prjuid",
459
+ "documentation": "A Project ID"
460
+ },
461
+ "Movie": {
462
+ "type": "string",
463
+ "required": true,
464
+ "location": "jsonbody",
465
+ "locationName": "movie",
466
+ "documentation": "Movie to render"
467
+ },
468
+ "Params": {
469
+ "type": "map",
470
+ "required": true,
471
+ "location": "jsonbody",
472
+ "locationName": "params",
473
+ "documentation": "Render Parameters"
474
+ },
475
+ "Async": {
476
+ "type": "boolean",
477
+ "location": "jsonbody",
478
+ "locationName": "upload.async",
479
+ "documentation": "Perform Async"
480
+ },
481
+ "Format": {
482
+ "type": "string",
483
+ "required": true,
484
+ "location": "jsonbody",
485
+ "locationName": "upload.extension",
486
+ "documentation": "Format to Render"
487
+ },
488
+ "Type": {
489
+ "type": "string",
490
+ "hidden": true,
491
+ "location": "jsonbody",
492
+ "locationName": "upload.destination.type",
493
+ "locationValue": "youtube"
494
+ },
495
+ "OAuthAccessToken": {
496
+ "type": "string",
497
+ "location": "jsonbody",
498
+ "locationName": "upload.destination.oauth_access_token",
499
+ "documentation": "Youtube OAuth 2.0 access token"
500
+ },
501
+ "AuthSecret": {
502
+ "type": "string",
503
+ "location": "jsonbody",
504
+ "locationName": "upload.destination.auth_secret",
505
+ "documentation": "ImpossibleFX auth secret"
506
+ },
507
+ "Title": {
508
+ "type": "string",
509
+ "required": true,
510
+ "location": "jsonbody",
511
+ "locationName": "upload.destination.title",
512
+ "documentation": "Video title"
513
+ },
514
+ "Description": {
515
+ "type": "string",
516
+ "required": true,
517
+ "location": "jsonbody",
518
+ "locationName": "upload.destination.description",
519
+ "documentation": "Video description"
520
+ },
521
+ "Category": {
522
+ "type": "string",
523
+ "required": true,
524
+ "location": "jsonbody",
525
+ "locationName": "upload.destination.category",
526
+ "documentation": "Numerical ID for category. See List of <a href=\" https://www.impossiblesoftware.com/docs/rendering/uploading/youtube.html#categories\">Youtube Categories</a>"
527
+ },
528
+ "Status": {
529
+ "type": "string",
530
+ "location": "jsonbody",
531
+ "locationName": "upload.destination.status",
532
+ "documentation": "One of \"private\", \"public\", \"unlisted\""
533
+ },
534
+ "Tags": {
535
+ "type": "List<String>",
536
+ "location": "jsonbody",
537
+ "locationName": "upload.destination.tags",
538
+ "documentation": "Tags, e.g. [\"tag1\", \"tag2\"]"
539
+ },
540
+ "PlaylistID": {
541
+ "type": "string",
542
+ "location": "jsonbody",
543
+ "locationName": "upload.destination.playlistid",
544
+ "documentation": "Add video to playlist (playlistID, not name!)"
545
+ },
546
+ "NotifySubscribers": {
547
+ "type": "boolean",
548
+ "location": "jsonbody",
549
+ "locationName": "upload.destination.notifysubscribers",
550
+ "documentation": "Notify Subscribers (default: false)"
551
+ }
552
+ },
553
+ "encoding": "json"
554
+ },
555
+ "output": {
556
+ "shape": "TokenUpload"
557
+ },
558
+ "documentation": "This operation renders a video and uploads the video to Youtube"
559
+ },
560
+ "RenderToFacebook": {
561
+ "http": {
562
+ "method": "POST",
563
+ "path": "/v2/render/{prjuid}"
564
+ },
565
+ "input": {
566
+ "type": "structure",
567
+ "members": {
568
+ "ProjectId": {
569
+ "type": "string",
570
+ "required": true,
571
+ "location": "uri",
572
+ "locationName": "prjuid",
573
+ "documentation": "A Project ID"
574
+ },
575
+ "Movie": {
576
+ "type": "string",
577
+ "required": true,
578
+ "location": "jsonbody",
579
+ "locationName": "movie",
580
+ "documentation": "Movie to render"
581
+ },
582
+ "Params": {
583
+ "type": "map",
584
+ "required": true,
585
+ "location": "jsonbody",
586
+ "locationName": "params",
587
+ "documentation": "Render Parameters"
588
+ },
589
+ "Async": {
590
+ "type": "boolean",
591
+ "location": "jsonbody",
592
+ "locationName": "upload.async",
593
+ "documentation": "Perform Async"
594
+ },
595
+ "Format": {
596
+ "type": "string",
597
+ "required": true,
598
+ "location": "jsonbody",
599
+ "locationName": "upload.extension",
600
+ "documentation": "Format to Render"
601
+ },
602
+ "Type": {
603
+ "type": "string",
604
+ "hidden": true,
605
+ "location": "jsonbody",
606
+ "locationName": "upload.destination.type",
607
+ "locationValue": "facebook"
608
+ },
609
+ "OAuthAccessToken": {
610
+ "type": "string",
611
+ "required": true,
612
+ "location": "jsonbody",
613
+ "locationName": "upload.destination.oauth_access_token",
614
+ "documentation": "Facebook OAuth 2.0 access token"
615
+ },
616
+ "Title": {
617
+ "type": "string",
618
+ "location": "jsonbody",
619
+ "locationName": "upload.destination.title",
620
+ "documentation": "Video title"
621
+ },
622
+ "Description": {
623
+ "type": "string",
624
+ "location": "jsonbody",
625
+ "locationName": "upload.destination.description",
626
+ "documentation": "Video description"
627
+ },
628
+ "Caption": {
629
+ "type": "string",
630
+ "location": "jsonbody",
631
+ "locationName": "upload.destination.caption",
632
+ "documentation": "Video caption"
633
+ },
634
+ "Name": {
635
+ "type": "string",
636
+ "location": "jsonbody",
637
+ "locationName": "upload.destination.name",
638
+ "documentation": "Video name"
639
+ }
640
+ },
641
+ "encoding": "json"
642
+ },
643
+ "output": {
644
+ "shape": "TokenUpload"
645
+ },
646
+ "documentation": "This operation renders a video and uploads the video to Facebook"
647
+ },
648
+ "RenderToDropbox": {
649
+ "http": {
650
+ "method": "POST",
651
+ "path": "/v2/render/{prjuid}"
652
+ },
653
+ "input": {
654
+ "type": "structure",
655
+ "members": {
656
+ "ProjectId": {
657
+ "type": "string",
658
+ "required": true,
659
+ "location": "uri",
660
+ "locationName": "prjuid",
661
+ "documentation": "A Project ID"
662
+ },
663
+ "Movie": {
664
+ "type": "string",
665
+ "required": true,
666
+ "location": "jsonbody",
667
+ "locationName": "movie",
668
+ "documentation": "Movie to render"
669
+ },
670
+ "Params": {
671
+ "type": "map",
672
+ "required": true,
673
+ "location": "jsonbody",
674
+ "locationName": "params",
675
+ "documentation": "Render Parameters"
676
+ },
677
+ "Async": {
678
+ "type": "boolean",
679
+ "location": "jsonbody",
680
+ "locationName": "upload.async",
681
+ "documentation": "Perform Async"
682
+ },
683
+ "Format": {
684
+ "type": "string",
685
+ "required": true,
686
+ "location": "jsonbody",
687
+ "locationName": "upload.extension",
688
+ "documentation": "Format to Render"
689
+ },
690
+ "Type": {
691
+ "type": "string",
692
+ "hidden": true,
693
+ "location": "jsonbody",
694
+ "locationName": "upload.destination.type",
695
+ "locationValue": "facebook"
696
+ },
697
+ "OAuthAccessToken": {
698
+ "type": "string",
699
+ "required": true,
700
+ "location": "jsonbody",
701
+ "locationName": "upload.destination.oauth_access_token",
702
+ "documentation": "Dropbox OAuth 2.0 access token"
703
+ },
704
+ "AuthSecret": {
705
+ "type": "string",
706
+ "required": true,
707
+ "location": "jsonbody",
708
+ "locationName": "upload.destination.auth_secret",
709
+ "documentation": "Impossible FX auth secret"
710
+ },
711
+ "Filename": {
712
+ "type": "string",
713
+ "required": true,
714
+ "location": "jsonbody",
715
+ "locationName": "upload.destination.filename",
716
+ "documentation": "Filename for uploaded video"
717
+ }
718
+ },
719
+ "encoding": "json"
720
+ },
721
+ "output": {
722
+ "shape": "TokenUpload"
723
+ },
724
+ "documentation": "This operation renders a video and uploads the video to Dropbox"
725
+ }
726
+ },
727
+ "shapes": {
728
+ "Token": {
729
+ "type": "structure",
730
+ "members": {
731
+ "Token": {
732
+ "type": "string",
733
+ "documentation": ""
734
+ }
735
+ }
736
+ },
737
+ "TokenUpload": {
738
+ "type": "structure",
739
+ "members": {
740
+ "Token": {
741
+ "type": "string",
742
+ "documentation": ""
743
+ },
744
+ "Upload": {
745
+ "type": "string",
746
+ "documentation": ""
747
+ }
748
+ }
749
+ },
750
+ "TokenURL": {
751
+ "type": "structure",
752
+ "members": {
753
+ "Token": {
754
+ "type": "string",
755
+ "documentation": "Render token"
756
+ },
757
+ "URL": {
758
+ "type": "string",
759
+ "documentation": "URL to render the video"
760
+ }
761
+ }
762
+ }
763
+ }
764
+ }