Advertisement
chrisrouse

PVP 3 API - Transitions (Complete)

Jun 5th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.89 KB | None | 0 0
  1. Each transition includes the curl for the transition and effects PLUS the curl for
  2. Duration, which is a separate API element for some reason.
  3.  
  4. Some transitions have a function called "min value" (or similar). These are not useful
  5. for anything other than reference. Same with the Direction lists. Change these pieces
  6. has no impact on the transition effect.
  7.  
  8. Everything has been tested and seems to work and change things correctly.
  9.  
  10. curl commands were built using https://curlbuilder.com/ for the initial reference.
  11.  
  12. To apply any of these to a specific Layer, replace the addresses at the end of the calls
  13. with:
  14.  
  15. curl -X POST http://localhost:8080/api/0/transition/layer/0
  16.  
  17. curl -X POST http://localhost:8080/api/0/transitionDuration/layer/0
  18.  
  19.  
  20. You can replace the "0" with the index, uuid, or name of the layer.
  21.  
  22. ////////////////////////////////
  23. || ||
  24. || Layer Transition Example ||
  25. || ||
  26. ////////////////////////////////
  27.  
  28. curl -XPOST -H "Content-type: application/json" -d '{
  29. "transition" : {
  30. "variables" : [
  31. {
  32. "type" : "Color",
  33. "base" : {
  34. "name" : "Burn Color",
  35. "color" : "#6C6C6C"Colo
  36. }
  37. }
  38. ],
  39. "enabled" : false,
  40. "name" : "Color Burn",
  41. "uuid" : "2B855B65-6ABC-4F65-8198-A19A5EF97821"
  42. }
  43. }' 'http://localhost:8080/api/0/transition/layer/0'
  44.  
  45. curl -XPOST -H "Content-type: application/json" -d '{
  46. "value" : 1.0
  47. }' 'http://localhost:8080/api/0/transitionDuration/layer/0'
  48.  
  49.  
  50.  
  51. /////////////////////////////
  52. || ||
  53. || Workspace Transitions ||
  54. || ||
  55. /////////////////////////////
  56.  
  57. "Amoeba"
  58.  
  59. curl -XPOST -H "Content-type: application/json" -d '{
  60. "transition" : {
  61. "variables" : [
  62. {
  63. "type" : "Float",
  64. "base" : {
  65. "value" : 40,
  66. "max_value" : 100,
  67. "min_value" : 10,
  68. "name" : "Scale"
  69. }
  70. }
  71. ],
  72. "duration" : 0.5,
  73. "enabled" : false,
  74. "name" : "Amoeba",
  75. "uuid" : "B5E9AD29-DCEC-4AD2-A78D-3C49A101E1D2"
  76. }
  77. }' 'http://localhost:8080/api/0/transition/workspace'
  78.  
  79. curl -XPOST -H "Content-type: application/json" -d '{
  80. "value" : 1.0
  81. }' 'http://localhost:8080/api/0/transitionDuration/layer/0'
  82.  
  83.  
  84.  
  85. "Color Burn"
  86.  
  87. curl -XPOST -H "Content-type: application/json" -d '{
  88. "transition" : {
  89. "variables" : [
  90. {
  91. "type" : "Color",
  92. "base" : {
  93. "name" : "Burn Color",
  94. "color" : "#6C6C6C"
  95. }
  96. }
  97. ],
  98. "enabled" : false,
  99. "name" : "Color Burn",
  100. "uuid" : "2B855B65-6ABC-4F65-8198-A19A5EF97821"
  101. }
  102. }' 'http://localhost:8080/api/0/transition/workspace'
  103.  
  104. curl -XPOST -H "Content-type: application/json" -d '{
  105. "value" : 1.0
  106. }' 'http://localhost:8080/api/0/transitionDuration/layer/0'
  107.  
  108.  
  109. "Color Push"
  110.  
  111. curl -XPOST -H "Content-type: application/json" -d '{
  112. "transition" : {
  113. "variables" : [
  114.  
  115. ],
  116. "enabled" : false,
  117. "name" : "Color Push",
  118. "uuid" : "E958E7B0-E5C2-4C10-9B22-D1FE4FEA1E49"
  119. }
  120.  
  121. }' 'http://localhost:8080/api/0/transition/workspace'
  122.  
  123. curl -XPOST -H "Content-type: application/json" -d '{
  124. "value" : 1.0
  125. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  126.  
  127.  
  128. "Color Warp"
  129.  
  130. curl -XPOST -H "Content-type: application/json" -d '{
  131. "transition" : {
  132. "variables" : [
  133. {
  134. "type" : "Float",
  135. "base" : {
  136. "value" : 20.049999237060547,
  137. "max_value" : 40.099998474121094,
  138. "min_value" : 10.010000228881836,
  139. "name" : "Zoom"
  140. }
  141. },
  142. {
  143. "type" : "Float",
  144. "base" : {
  145. "value" : 0.05000000074505806,
  146. "max_value" : 1.1000000238418579,
  147. "min_value" : 0.0099999997764825821,
  148. "name" : "Size"
  149. }
  150. },
  151. {
  152. "type" : "Float",
  153. "base" : {
  154. "value" : 0.85000002384185791,
  155. "max_value" : 4.0999999046325684,
  156. "min_value" : 0.0099999997764825821,
  157. "name" : "Color Separation"
  158. }
  159. }
  160. ],
  161. "enabled" : false,
  162. "name" : "Color Warp",
  163. "uuid" : "1EC1B05C-4E79-460C-9429-4129D9094E73"
  164. }
  165. }' 'http://localhost:8080/api/0/transition/workspace'
  166.  
  167. curl -XPOST -H "Content-type: application/json" -d '{
  168. "value" : 1.0
  169. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  170.  
  171.  
  172. "Cross Hatch"
  173.  
  174. curl -XPOST -H "Content-type: application/json" -d '{
  175. "transition" : {
  176. "variables" : [
  177.  
  178. ],
  179. "enabled" : false,
  180. "name" : "Cross Hatch",
  181. "uuid" : "5584E51F-5C92-47B5-9B65-3C2540C1F20C"
  182. }
  183. }' 'http://localhost:8080/api/0/transition/workspace'
  184.  
  185. curl -XPOST -H "Content-type: application/json" -d '{
  186. "value" : 1.0
  187. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  188.  
  189.  
  190. "Cube"
  191.  
  192. curl -XPOST -H "Content-type: application/json" -d '{
  193. "transition" : {
  194. "variables" : [
  195.  
  196. ],
  197. "enabled" : false,
  198. "name" : "Cube",
  199. "uuid" : "CD545FC3-70FA-4120-8A48-29EFE903BD10"
  200. }
  201. }' 'http://localhost:8080/api/0/transition/workspace'
  202.  
  203. curl -XPOST -H "Content-type: application/json" -d '{
  204. "value" : 1.0
  205. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  206.  
  207.  
  208. "Cut"
  209.  
  210. curl -XPOST -H "Content-type: application/json" -d '{
  211. "transition" : {
  212. "variables" : [
  213.  
  214. ],
  215. "enabled" : false,
  216. "name" : "Cut",
  217. "uuid" : "AB29D07B-E9E2-4E0A-93BD-AD3EA58120FA"
  218. }
  219. }' 'http://localhost:8080/api/0/transition/workspace'
  220.  
  221.  
  222. "Dispersion Blur"
  223.  
  224. curl -XPOST -H "Content-type: application/json" -d '{
  225. "transition" : {
  226. "variables" : [
  227. {
  228. "type" : "Float",
  229. "base" : {
  230. "value" : 0.5,
  231. "max_value" : 2,
  232. "min_value" : 0,
  233. "name" : "Radius"
  234. }
  235. },
  236. {
  237. "type" : "Float",
  238. "base" : {
  239. "value" : 0.5,
  240. "max_value" : 4,
  241. "min_value" : 0,
  242. "name" : "Angle"
  243. }
  244. }
  245. ],
  246. "enabled" : false,
  247. "name" : "Dispersion Blur",
  248. "uuid" : "F1475C78-329A-4897-B5C0-266C6433CCCC"
  249. }
  250. }' 'http://localhost:8080/api/0/transition/workspace'
  251.  
  252. curl -XPOST -H "Content-type: application/json" -d '{
  253. "value" : 1.0
  254. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  255.  
  256.  
  257. "Dissolve"
  258.  
  259. curl -XPOST -H "Content-type: application/json" -d '{
  260. "transition" : {
  261. "variables" : [
  262.  
  263. ],
  264. "enabled" : false,
  265. "name" : "Dissolve",
  266. "uuid" : "EC52A828-AD85-4602-B70C-1DEE7C904DB6"
  267. }
  268. }' 'http://localhost:8080/api/0/transition/workspace'
  269.  
  270. curl -XPOST -H "Content-type: application/json" -d '{
  271. "value" : 1.0
  272. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  273.  
  274.  
  275. "Door"
  276.  
  277. curl -XPOST -H "Content-type: application/json" -d '{
  278. "transition" : {
  279. "variables" : [
  280.  
  281. ],
  282. "enabled" : false,
  283. "name" : "Door",
  284. "uuid" : "DAA798F1-359A-46C3-AEC6-5C3DFE93635A"
  285. }
  286. }' 'http://localhost:8080/api/0/transition/workspace'
  287.  
  288. curl -XPOST -H "Content-type: application/json" -d '{
  289. "value" : 1.0
  290. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  291.  
  292.  
  293. "Fade"
  294.  
  295. curl -XPOST -H "Content-type: application/json" -d '{
  296. "transition" : {
  297. "variables" : [
  298.  
  299. ],
  300. "enabled" : false,
  301. "name" : "Fade",
  302. "uuid" : "99BDD1C3-EE98-4E80-A8DE-3699CE9F338E"
  303. }
  304. }' 'http://localhost:8080/api/0/transition/workspace'
  305.  
  306. curl -XPOST -H "Content-type: application/json" -d '{
  307. "value" : 1.0
  308. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  309.  
  310.  
  311. "Fade Black"
  312.  
  313. curl -XPOST -H "Content-type: application/json" -d '{
  314. "transition" : {
  315. "variables" : [
  316.  
  317. ],
  318. "enabled" : false,
  319. "name" : "Fade Black",
  320. "uuid" : "01E95287-E84D-4638-9E28-18C8735ABE47"
  321. }
  322. }' 'http://localhost:8080/api/0/transition/workspace'
  323.  
  324. curl -XPOST -H "Content-type: application/json" -d '{
  325. "value" : 1.0
  326. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  327.  
  328.  
  329. "Fade Bright"
  330.  
  331. curl -XPOST -H "Content-type: application/json" -d '{
  332. "transition" : {
  333. "variables" : [
  334.  
  335. ],
  336. "enabled" : false,
  337. "name" : "Fade Bright",
  338. "uuid" : "802181F9-E290-4FA9-A9ED-06CAA2306A12"
  339. }
  340. }' 'http://localhost:8080/api/0/transition/workspace'
  341.  
  342. curl -XPOST -H "Content-type: application/json" -d '{
  343. "value" : 1.0
  344. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  345.  
  346.  
  347. "Fade Dark"
  348.  
  349. curl -XPOST -H "Content-type: application/json" -d '{
  350. "transition" : {
  351. "variables" : [
  352.  
  353. ],
  354. "enabled" : false,
  355. "name" : "Fade Dark",
  356. "uuid" : "E4D84DA7-E8E3-43B5-820E-8D883416D355"
  357. }
  358. }' 'http://localhost:8080/api/0/transition/workspace'
  359.  
  360. curl -XPOST -H "Content-type: application/json" -d '{
  361. "value" : 1.0
  362. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  363.  
  364.  
  365. "Fade Gray"
  366.  
  367. curl -XPOST -H "Content-type: application/json" -d '{
  368. "transition" : {
  369. "variables" : [
  370.  
  371. ],
  372. "enabled" : false,
  373. "name" : "Fade Gray",
  374. "uuid" : "C30699D4-3249-4B51-A809-191662294ED0"
  375. }
  376. }' 'http://localhost:8080/api/0/transition/workspace'
  377.  
  378. curl -XPOST -H "Content-type: application/json" -d '{
  379. "value" : 1.0
  380. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  381.  
  382.  
  383. "Fade White"
  384.  
  385. curl -XPOST -H "Content-type: application/json" -d '{
  386. "transition" : {
  387. "variables" : [
  388.  
  389. ],
  390. "enabled" : false,
  391. "name" : "Fade White",
  392. "uuid" : "C2123A39-357E-4626-9257-783AF40918FC"
  393. }
  394. }' 'http://localhost:8080/api/0/transition/workspace'
  395.  
  396. curl -XPOST -H "Content-type: application/json" -d '{
  397. "value" : 1.0
  398. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  399.  
  400.  
  401. "Film Burn"
  402.  
  403. curl -XPOST -H "Content-type: application/json" -d '{
  404. "transition" : {
  405. "variables" : [
  406.  
  407. ],
  408. "enabled" : false,
  409. "name" : "Film Burn",
  410. "uuid" : "2CB0361E-5E77-4E7F-AEDB-EA6673F743EF"
  411. }
  412. }' 'http://localhost:8080/api/0/transition/workspace'
  413.  
  414. curl -XPOST -H "Content-type: application/json" -d '{
  415. "value" : 1.0
  416. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  417.  
  418.  
  419. "Flip"
  420.  
  421. curl -XPOST -H "Content-type: application/json" -d '{
  422. "transition" : {
  423. "variables" : [
  424.  
  425. ],
  426. "enabled" : false,
  427. "name" : "Flip",
  428. "uuid" : "82DE5438-1851-4011-929C-D59A292D9C79"
  429. }
  430. }' 'http://localhost:8080/api/0/transition/workspace'
  431.  
  432. curl -XPOST -H "Content-type: application/json" -d '{
  433. "value" : 1.0
  434. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  435.  
  436.  
  437. "Fly In"
  438. Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center;
  439. (32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right
  440.  
  441. curl -XPOST -H "Content-type: application/json" -d '{
  442. "transition" : {
  443. "variables" : [
  444. {
  445. "type" : "Direction",
  446. "base" : {
  447. "name" : "Direction",
  448. "direction" : 1,
  449. "availableDirections" : [
  450. 1,
  451. 2,
  452. 4,
  453. 8,
  454. 16,
  455. 32,
  456. 64,
  457. 128,
  458. 256
  459. ]
  460. }
  461. }
  462. ],
  463. "enabled" : false,
  464. "name" : "Fly In",
  465. "uuid" : "ADF02083-C3B8-4A47-BC9A-BA57A887C404"
  466. }
  467. }' 'http://localhost:8080/api/0/transition/workspace'
  468.  
  469. curl -XPOST -H "Content-type: application/json" -d '{
  470. "value" : 1.0
  471. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  472.  
  473.  
  474. "Iris"
  475.  
  476. curl -XPOST -H "Content-type: application/json" -d '{
  477. "transition" : {
  478. "variables" : [
  479.  
  480. ],
  481. "enabled" : false,
  482. "name" : "Iris",
  483. "uuid" : "F694B97E-2C1C-4888-B6AE-0619617A16CF"
  484. }
  485. }' 'http://localhost:8080/api/0/transition/workspace'
  486.  
  487. curl -XPOST -H "Content-type: application/json" -d '{
  488. "value" : 1.0
  489. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  490.  
  491.  
  492. "Kaleidoscope Wipe"
  493.  
  494. curl -XPOST -H "Content-type: application/json" -d '{
  495. "transition" : {
  496. "variables" : [
  497.  
  498. ],
  499. "enabled" : false,
  500. "name" : "Kaleidoscope Wipe",
  501. "uuid" : "5717B340-8ED9-457C-A6EE-74A8D2679E43"
  502. }
  503. }' 'http://localhost:8080/api/0/transition/workspace'
  504.  
  505. curl -XPOST -H "Content-type: application/json" -d '{
  506. "value" : 1.0
  507. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  508.  
  509.  
  510. "Melt"
  511.  
  512. curl -XPOST -H "Content-type: application/json" -d '{
  513. "transition" : {
  514. "variables" : [
  515.  
  516. ],
  517. "enabled" : false,
  518. "name" : "Melt",
  519. "uuid" : "CE40507F-4B24-4C3D-8697-E44CE78FDD40"
  520. }
  521. }' 'http://localhost:8080/api/0/transition/workspace'
  522.  
  523. curl -XPOST -H "Content-type: application/json" -d '{
  524. "value" : 1.0
  525. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  526.  
  527.  
  528. "Mosaic"
  529.  
  530. curl -XPOST -H "Content-type: application/json" -d '{
  531. "transition" : {
  532. "variables" : [
  533.  
  534. ],
  535. "enabled" : false,
  536. "name" : "Mosaic",
  537. "uuid" : "9BE0AB3A-9239-4976-BA34-417EADB27995"
  538. }
  539. }' 'http://localhost:8080/api/0/transition/workspace'
  540.  
  541. curl -XPOST -H "Content-type: application/json" -d '{
  542. "value" : 1.0
  543. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  544.  
  545.  
  546. "Move In"
  547. Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center;
  548. (32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right
  549.  
  550. curl -XPOST -H "Content-type: application/json" -d '{
  551. "transition" : {
  552. "variables" : [
  553. {
  554. "type" : "Direction",
  555. "base" : {
  556. "name" : "Direction",
  557. "direction" : 1,
  558. "availableDirections" : [
  559. 1,
  560. 2,
  561. 4,
  562. 8,
  563. 16,
  564. 32,
  565. 64,
  566. 128,
  567. 256
  568. ]
  569. }
  570. }
  571. ],
  572. "enabled" : false,
  573. "name" : "Move In",
  574. "uuid" : "31B698F6-500B-4097-B209-C6F811A99A7C"
  575. }
  576. }' 'http://localhost:8080/api/0/transition/workspace'
  577.  
  578. curl -XPOST -H "Content-type: application/json" -d '{
  579. "value" : 1.0
  580. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  581.  
  582.  
  583. "Noisy Zoom"
  584.  
  585. curl -XPOST -H "Content-type: application/json" -d '{
  586. "transition" : {
  587. "variables" : [
  588.  
  589. ],
  590. "enabled" : false,
  591. "name" : "Noisy Zoom",
  592. "uuid" : "F6AF1CC0-F049-40DC-926E-8CA350C2909D"
  593. }
  594. }' 'http://localhost:8080/api/0/transition/workspace'
  595.  
  596. curl -XPOST -H "Content-type: application/json" -d '{
  597. "value" : 1.0
  598. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  599.  
  600.  
  601. "Push"
  602. Available Directions: (2) Top; (4) Left; (32) Right; (128) Bottom
  603.  
  604. curl -XPOST -H "Content-type: application/json" -d '{
  605. "transition" : {
  606. "variables" : [
  607. {
  608. "type" : "Direction",
  609. "base" : {
  610. "name" : "Direction",
  611. "direction" : 1,
  612. }
  613. }
  614. ],
  615. "enabled" : false,
  616. "name" : "Push",
  617. "uuid" : "B400F82E-CF9D-4700-89FD-F3889DAA06C5"
  618. }
  619. }' 'http://localhost:8080/api/0/transition/workspace'
  620.  
  621. curl -XPOST -H "Content-type: application/json" -d '{
  622. "value" : 1.0
  623. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  624.  
  625.  
  626. "Random Pixels"
  627.  
  628. curl -XPOST -H "Content-type: application/json" -d '{
  629. "transition" : {
  630. "variables" : [
  631.  
  632. ],
  633. "enabled" : false,
  634. "name" : "Random Pixels",
  635. "uuid" : "DF2C1B6C-5B62-49A1-B72E-C80CB3C0CA75"
  636. }
  637. }' 'http://localhost:8080/api/0/transition/workspace'
  638.  
  639. curl -XPOST -H "Content-type: application/json" -d '{
  640. "value" : 1.0
  641. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  642.  
  643.  
  644. "Random Squares"
  645.  
  646. curl -XPOST -H "Content-type: application/json" -d '{
  647. "transition" : {
  648. "variables" : [
  649. {
  650. "type" : "Float",
  651. "base" : {
  652. "value" : 2.5,
  653. "max_value" : 10,
  654. "min_value" : 1,
  655. "name" : "Size"
  656. }
  657. }
  658. ],
  659. "enabled" : false,
  660. "name" : "Random Squares",
  661. "uuid" : "39030834-E94F-417E-A8B4-4870C9C7D413"
  662. }
  663. }' 'http://localhost:8080/api/0/transition/workspace'
  664.  
  665. curl -XPOST -H "Content-type: application/json" -d '{
  666. "value" : 1.0
  667. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  668.  
  669.  
  670. "Random Squares Flicker"
  671.  
  672. curl -XPOST -H "Content-type: application/json" -d '{
  673. "transition" : {
  674. "variables" : [
  675.  
  676. ],
  677. "enabled" : false,
  678. "name" : "Random Squares Flicker",
  679. "uuid" : "E4650E1F-B42E-4492-9824-BE4D8E27E833"
  680. }
  681. }' 'http://localhost:8080/api/0/transition/workspace'
  682.  
  683. curl -XPOST -H "Content-type: application/json" -d '{
  684. "value" : 1.0
  685. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  686.  
  687.  
  688. "Reveal"
  689. Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center;
  690. (32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right
  691.  
  692. curl -XPOST -H "Content-type: application/json" -d '{
  693. "transition" : {
  694. "variables" : [
  695. {
  696. "type" : "Direction",
  697. "base" : {
  698. "name" : "Direction",
  699. "direction" : 1,
  700. "availableDirections" : [
  701. 1,
  702. 2,
  703. 4,
  704. 8,
  705. 32,
  706. 64,
  707. 128,
  708. 256
  709. ]
  710. }
  711. }
  712. ],
  713. "enabled" : false,
  714. "name" : "Reveal",
  715. "uuid" : "3EA3BC78-9A06-480D-8E6E-3A51A47BD0D6"
  716. }
  717. }' 'http://localhost:8080/api/0/transition/workspace'
  718.  
  719. curl -XPOST -H "Content-type: application/json" -d '{
  720. "value" : 1.0
  721. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  722.  
  723.  
  724. "Ripple"
  725.  
  726. curl -XPOST -H "Content-type: application/json" -d '{
  727. "transition" : {
  728. "variables" : [
  729.  
  730. ],
  731. "enabled" : false,
  732. "name" : "Ripple",
  733. "uuid" : "47A0842A-E064-4282-854A-27224E48D7B0"
  734. }
  735. }' 'http://localhost:8080/api/0/transition/workspace'
  736.  
  737. curl -XPOST -H "Content-type: application/json" -d '{
  738. "value" : 1.0
  739. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  740.  
  741.  
  742. "Square Wipe"
  743. Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center;
  744. (32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right
  745.  
  746. curl -XPOST -H "Content-type: application/json" -d '{
  747. "transition" : {
  748. "variables" : [
  749. {
  750. "type" : "Direction",
  751. "base" : {
  752. "name" : "Direction",
  753. "direction" : 1,
  754. "availableDirections" : [
  755. 1,
  756. 2,
  757. 4,
  758. 8,
  759. 32,
  760. 64,
  761. 128,
  762. 256
  763. ]
  764. }
  765. }
  766. ],
  767. "enabled" : false,
  768. "name" : "Square Wipe",
  769. "uuid" : "DF000B14-0F80-4A8B-86A5-903564032437"
  770. }
  771. }' 'http://localhost:8080/api/0/transition/workspace'
  772.  
  773. curl -XPOST -H "Content-type: application/json" -d '{
  774. "value" : 1.0
  775. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  776.  
  777.  
  778. "Swap"
  779.  
  780. curl -XPOST -H "Content-type: application/json" -d '{
  781. "transition" : {
  782. "variables" : [
  783.  
  784. ],
  785. "enabled" : false,
  786. "name" : "Swap",
  787. "uuid" : "6E087942-135D-4239-9093-98AD4BA86274"
  788. }
  789. }' 'http://localhost:8080/api/0/transition/workspace'
  790.  
  791. curl -XPOST -H "Content-type: application/json" -d '{
  792. "value" : 1.0
  793. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  794.  
  795.  
  796. "Warp Fade
  797. curl -XPOST -H "Content-type: application/json" -d '{
  798. "transition" : {
  799. "variables" : [
  800.  
  801. ],
  802. "enabled" : false,
  803. "name" : "Warp Fade",
  804. "uuid" : "72091328-AA13-4312-86FD-D54A5FC10A9C"
  805. }
  806. }' 'http://localhost:8080/api/0/transition/workspace'
  807.  
  808. curl -XPOST -H "Content-type: application/json" -d '{
  809. "value" : 1.0
  810. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  811.  
  812.  
  813. "Wave Dissolve"
  814.  
  815. curl -XPOST -H "Content-type: application/json" -d '{
  816. "transition" : {
  817. "variables" : [
  818.  
  819. ],
  820. "enabled" : false,
  821. "name" : "Wave Dissolve",
  822. "uuid" : "0540598C-5CED-4F80-AB0E-3566FEA85BCF"
  823. }
  824. }' 'http://localhost:8080/api/0/transition/workspace'
  825.  
  826. curl -XPOST -H "Content-type: application/json" -d '{
  827. "value" : 1.0
  828. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  829.  
  830.  
  831. "Wipe"
  832.  
  833. curl -XPOST -H "Content-type: application/json" -d '{
  834. "transition" : {
  835. "variables" : [
  836.  
  837. ],
  838. "enabled" : false,
  839. "name" : "Wipe",
  840. "uuid" : "7084A71F-C12C-4EEA-8D90-A2D30FB0B256"
  841. }
  842. }' 'http://localhost:8080/api/0/transition/workspace'
  843.  
  844. curl -XPOST -H "Content-type: application/json" -d '{
  845. "value" : 1.0
  846. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
  847.  
  848.  
  849. "Zoom In"
  850. Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center;
  851. (32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right
  852.  
  853. curl -XPOST -H "Content-type: application/json" -d '{
  854. "transition" : {
  855. "variables" : [
  856. {
  857. "type" : "Direction",
  858. "base" : {
  859. "name" : "Direction",
  860. "direction" : 1,
  861. "availableDirections" : [
  862. 1,
  863. 2,
  864. 4,
  865. 8,
  866. 16,
  867. 32,
  868. 64,
  869. 128,
  870. 256
  871. ]
  872. }
  873. }
  874. ],
  875. "enabled" : false,
  876. "name" : "Zoom In",
  877. "uuid" : "928B442C-4912-42F6-B526-60921E0F0D40"
  878. }
  879. }' 'http://localhost:8080/api/0/transition/workspace'
  880.  
  881. curl -XPOST -H "Content-type: application/json" -d '{
  882. "value" : 1.0
  883. }' 'http://localhost:8080/api/0/transitionDuration/workspace'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement