Starter Lab Productions Play
Project Docs Github
Log in
ittf site webapi index.json.ittf Edit
  • /ittf/site/webapi/index.json.ittf

/ittf/site/webapi/index.json.ittf (primary)

edit
                                            
1 {
2 [ apis
3 {
4 title 'Wizzi - wrap ittf for schema'
5 method 'post'
6 url '/api/v1/wizzi/production/wrapittf'
7 [ parameters
8 {
9 type "string"
10 paramType "body"
11 name "schema"
12 label "schema"
13 demoValue 'js'
14 {
15 type "string"
16 paramType "body"
17 name "ittfText"
18 label "ittfText"
19 demoValue 'var i = 0'
20 {
21 title 'Wizzi - generate artifact'
22 method 'post'
23 url '/api/v1/wizzi/production/artifact'
24 [ parameters
25 {
26 type "object"
27 paramType "body"
28 name "ittfDocument"
29 label "ittfDocument"
30 demoValue '{ "source": "packi", "mainIttf": "index.html.ittf", "packiFiles":
31 \b { "index.html.ittf": { "type": "CODE", "contents": "html" } } }'
32 {
33 type "object"
34 paramType "body"
35 name "contextItems"
36 label "contextItems"
37 demoValue "[]"
38 {
39 title 'Wizzi - generate mTree'
40 method 'post'
41 url '/api/v1/wizzi/production/mtree'
42 [ parameters
43 {
44 type "object"
45 paramType "body"
46 name "ittfDocument"
47 label "ittfDocument"
48 demoValue '{ "source": "packi", "mainIttf": "index.html.ittf", "packiFiles":
49 \b { "index.html.ittf": { "type": "CODE", "contents": "html" } } }'
50 {
51 type "object"
52 paramType "body"
53 name "contextItems"
54 label "contextItems"
55 demoValue "[]"
56 {
57 title 'Wizzi - generate mTree buildup script'
58 method 'post'
59 url '/api/v1/wizzi/production/mtreescript'
60 [ parameters
61 {
62 type "object"
63 paramType "body"
64 name "ittfDocument"
65 label "ittfDocument"
66 demoValue '{ "source": "packi", "mainIttf": "index.html.ittf", "packiFiles":
67 \b { "index.html.ittf": { "type": "CODE", "contents": "html" } } }'
68 {
69 type "object"
70 paramType "body"
71 name "contextItems"
72 label "contextItems"
73 demoValue "[]"
74 {
75 title 'Packi - generate artifact from an artifact production'
76 method 'post'
77 url '/api/v1/production/generations/artifact/:filepath'
78 [ parameters
79 {
80 type "string"
81 paramType "url"
82 name "filepath"
83 label "File path"
84 demoValue "index.html.ittf"
85 {
86 type "string"
87 paramType "body"
88 name "productionKind"
89 label "Production kind"
90 demoValue "artifact"
91 {
92 type "string"
93 paramType "body"
94 name "productionName"
95 label "Production name"
96 demoValue "lab-css.html"
97 {
98 title 'Packi - generate mTree from an artifact production'
99 method 'post'
100 url '/api/v1/production/generations/mtree/:filepath'
101 [ parameters
102 {
103 type "string"
104 paramType "url"
105 name "filepath"
106 label "File path"
107 demoValue "index.html.ittf"
108 {
109 type "string"
110 paramType "body"
111 name "productionKind"
112 label "Production kind"
113 demoValue "artifact"
114 {
115 type "string"
116 paramType "body"
117 name "productionName"
118 label "Production name"
119 demoValue "lab-css.html"
120 {
121 title 'Packi - generate mTree buildup script from an artifact production'
122 method 'post'
123 url '/api/v1/production/generations/mtreescript/:filepath'
124 [ parameters
125 {
126 type "string"
127 paramType "url"
128 name "filepath"
129 label "File path"
130 demoValue "index.html.ittf"
131 {
132 type "string"
133 paramType "body"
134 name "productionKind"
135 label "Production kind"
136 demoValue "artifact"
137 {
138 type "string"
139 paramType "body"
140 name "productionName"
141 label "Production name"
142 demoValue "lab-css.html"
143 {
144 title 'Packi - load and transform an Ittf document from an artifact production'
145 method 'post'
146 url '/api/v1/production/generations/mtreescript/:filepath/:transform'
147 [ parameters
148 {
149 type "string"
150 paramType "url"
151 name "filepath"
152 label "File path"
153 demoValue "index.html.ittf"
154 {
155 type "string"
156 paramType "body"
157 name "productionKind"
158 label "Production kind"
159 demoValue "artifact"
160 {
161 type "string"
162 paramType "body"
163 name "productionName"
164 label "Production name"
165 demoValue "lab-css.html"
166 {
167 type "string"
168 paramType "url"
169 name "transform"
170 label "Transform name"
171 demoValue "6388d115351b9b4f611b972c"
172 {
173 title 'Wizzify the files of a Packifile object'
174 method 'post'
175 url '/api/v1/production/generations/wizzify'
176 [ parameters
177 {
178 type "string"
179 paramType "body"
180 name "packifiles"
181 label "Packifiles"
182 demoValue '.."
183 {
184 title 'Productions - get artifacts list'
185 method 'get'
186 url '/api/v1/production/artifact/:owner'
187 [ parameters
188 {
189 type "string"
190 paramType "url"
191 name "owner"
192 label "Owner"
193 demoValue "stfnbssl"
194 {
195 title 'Productions - get artifact'
196 method 'get'
197 url '/api/v1/production/artifact/:owner/:name'
198 [ parameters
199 {
200 type "string"
201 paramType "url"
202 name "owner"
203 label "Owner"
204 demoValue "stfnbssl"
205 {
206 type "string"
207 paramType "url"
208 name "name"
209 label "Name"
210 demoValue "docs/artifacts.html"
211 {
212 title 'Productions - get packages list'
213 method 'get'
214 url '/api/v1/production/package/:owner'
215 [ parameters
216 {
217 type "string"
218 paramType "url"
219 name "owner"
220 label "Owner"
221 demoValue "stfnbssl"
222 {
223 title 'Productions - get package'
224 method 'get'
225 url '/api/v1/production/package/:owner/:name'
226 [ parameters
227 {
228 type "string"
229 paramType "url"
230 name "owner"
231 label "Owner"
232 demoValue "stfnbssl"
233 {
234 type "string"
235 paramType "url"
236 name "name"
237 label "Name"
238 demoValue "react.app.sample"
239 {
240 title 'Productions - get metas list'
241 method 'get'
242 url '/api/v1/production/meta/:owner'
243 [ parameters
244 {
245 type "string"
246 paramType "url"
247 name "owner"
248 label "Owner"
249 demoValue "stfnbssl"
250 {
251 title 'Productions - get meta'
252 method 'get'
253 url '/api/v1/production/meta/:owner/:name'
254 [ parameters
255 {
256 type "string"
257 paramType "url"
258 name "owner"
259 label "Owner"
260 demoValue "stfnbssl"
261 {
262 type "string"
263 paramType "url"
264 name "name"
265 label "Name"
266 demoValue "webpack.react"
267 {
268 title 'Productions - get tFolders list'
269 method 'get'
270 url '/api/v1/production/tfolder/:owner'
271 [ parameters
272 {
273 type "string"
274 paramType "url"
275 name "owner"
276 label "Owner"
277 demoValue "stfnbssl"
278 {
279 title 'Productions - get tFolder'
280 method 'get'
281 url '/api/v1/production/tfolder/:owner/:name'
282 [ parameters
283 {
284 type "string"
285 paramType "url"
286 name "owner"
287 label "Owner"
288 demoValue "stfnbssl"
289 {
290 type "string"
291 paramType "url"
292 name "name"
293 label "Name"
294 demoValue "css"
295 {
296 title 'WizziAction - get list'
297 method 'get'
298 url '/api/v1/wizziAction'
299 [ parameters
300 {
301 type "string"
302 paramType "url"
303 name "owner"
304 label "Owner"
305 demoValue "stfnbssl"
306 {
307 title 'WizziAction - get item'
308 method 'get'
309 url '/api/v1/wizziAction/:owner/:kind/:name'
310 [ parameters
311 {
312 type "string"
313 paramType "url"
314 name "owner"
315 label "Owner"
316 demoValue "stfnbssl"
317 {
318 type "string"
319 paramType "url"
320 name "kind"
321 label "Kind"
322 demoValue ".."
323 {
324 type "string"
325 paramType "url"
326 name "name"
327 label "Name"
328 demoValue ".."
329 {
330 title 'WizziGist - get list'
331 method 'get'
332 url '/api/v1/gist/:owner'
333 [ parameters
334 {
335 type "string"
336 paramType "url"
337 name "owner"
338 label "Owner"
339 demoValue "stfnbssl"
340 {
341 title 'WizziGist - get item'
342 method 'get'
343 url '/api/v1/gist/:owner/:name'
344 [ parameters
345 {
346 type "string"
347 paramType "url"
348 name "owner"
349 label "Owner"
350 demoValue "stfnbssl"
351 {
352 type "string"
353 paramType "url"
354 name "kind"
355 label "Kind"
356 demoValue ".."
357 {
358 type "string"
359 paramType "url"
360 name "name"
361 label "Name"
362 demoValue ".."
363 {
364 title 'Docs - get cheatsheet'
365 method 'get'
366 url '/api/v1/docs/cheatsheet/:name'
367 [ parameters
368 {
369 type "string"
370 paramType "url"
371 name "name"
372 label "Name"
373 demoValue "css"
374 {
375 title 'Geop - get geop db list'
376 method 'get'
377 url '/api/v1/geop'
378 [ parameters
379 {
380 title 'Geop - get geop db'
381 method 'get'
382 url '/api/v1/geop/:name'
383 [ parameters
384 {
385 type "string"
386 paramType "url"
387 name "name"
388 label "Name"
389 demoValue "history_gb"
390 {
391 title 'Philos - get philos db list'
392 method 'get'
393 url '/api/v1/philos'
394 [ parameters
395 {
396 title 'Philos - get philos db'
397 method 'get'
398 url '/api/v1/philos/:name'
399 [ parameters
400 {
401 type "string"
402 paramType "url"
403 name "name"
404 label "Name"
405 demoValue "freud"
406 {
407 title 'Dev - scan'
408 method 'get'
409 url '/api/v1/dev/scan'
410 [ parameters
411 {
412 title 'Meta - get provides'
413 method 'get'
414 url '/api/v1/meta/provides'
415 [ parameters
416 $*
417 {
418 title 'Studio - summary of main infos'
419 method 'get'
420 url '/api/studio/check'
421 [ parameters
422 {
423 title 'Studio - common data'
424 method 'get'
425 url '/api/studio/commons'
426 [ parameters
427 {
428 title 'Studio - default artifacts'
429 method 'get'
430 url '/api/studio/commons/defaultartifacts'
431 [ parameters
432 {
433 title 'Studio - user'
434 method 'get'
435 url '/api/studio/user'
436 [ parameters
437 {
438 title 'Studio - schemas'
439 method 'get'
440 url '/api/studio/schemas'
441 [ parameters
442 {
443 title 'Studio - schema'
444 method 'get'
445 url '/api/studio/schema'
446 [ parameters
447 {
448 type "string"
449 name "uri"
450 label "Schema uri"
451 demoValue "v5-plugins/wizzi-core/wzjob"
452 {
453 title 'Studio - packages'
454 method 'get'
455 url '/api/studio/packages'
456 [ parameters
457 {
458 title 'Studio - package'
459 method 'get'
460 url '/api/studio/package'
461 [ parameters
462 {
463 type "string"
464 name "id"
465 label "Package Id"
466 demoValue "v5-plugins/wizzi-js"
467 {
468 title 'Studio - projects'
469 method 'get'
470 url '/api/studio/projects'
471 [ parameters
472 {
473 title 'Studio - documents'
474 method 'get'
475 url '/api/studio/documents'
476 [ parameters
477 {
478 type "string"
479 name "project"
480 label "Project Id"
481 demoValue "wizzi"
482 {
483 title 'Studio - document'
484 method 'get'
485 url '/api/studio/document'
486 [ parameters
487 {
488 type "string"
489 name "uri"
490 label "Document uri"
491 demoValue "/stefi/aa/bb/begus.undefined.ittf"
492 {
493 title 'Studio - document'
494 method 'post'
495 url '/api/studio/document'
496 [ parameters
497 {
498 type "string"
499 name "uri"
500 label "Document uri"
501 demoValue "/stefi/aa/bb/begus.undefined.ittf"
502 {
503 title 'Studio - fragments'
504 method 'get'
505 url '/api/studio/fragments'
506 [ parameters
507 {
508 type "string"
509 name "project"
510 label "Project Id"
511 demoValue "wizzi"
512 {
513 title 'Studio - fragment'
514 method 'get'
515 url '/api/studio/fragment'
516 [ parameters
517 {
518 type "string"
519 name "uri"
520 label "Fragment uri"
521 demoValue "/stefi/aa/bb/t/sum.js.ittf"
522 {
523 title 'Studio - artifact'
524 method 'get'
525 url '/api/studio/artifact'
526 [ parameters
527 {
528 type "string"
529 name "uri"
530 label "Document uri"
531 demoValue "/stefi/aa/bb/begus.undefined.ittf"
532 {
533 type "string"
534 name "artifact"
535 label "Artifact name"
536 demoValue "js/module"
537 {
538 title 'Wizzi - summary of main infos'
539 method 'get'
540 url '/api/wizzi/check'
541 [ parameters
542 {
543 title 'Wizzi - system packages'
544 method 'get'
545 url '/api/wizzi/system/packages'
546 [ parameters
547 {
548 title 'Wizzi - kernel info'
549 method 'get'
550 url '/api/wizzi/kernel/info'
551 [ parameters
552 {
553 title 'Wizzi - kernel packages'
554 method 'get'
555 url '/api/wizzi/kernel/packages'
556 [ parameters
557 {
558 title 'Wizzi - kernel package'
559 method 'get'
560 url '/api/wizzi/kernel/package'
561 [ parameters
562 {
563 type "string"
564 name "xpackage"
565 label "Package name"
566 demoValue "wizzi-mtree"
567 {
568 title 'Wizzi - plugin info'
569 method 'get'
570 url '/api/wizzi/plugin/info'
571 [ parameters
572 {
573 title 'Wizzi - plugin packages'
574 method 'get'
575 url '/api/wizzi/plugin/packages'
576 [ parameters
577 {
578 title 'Wizzi - plugin package'
579 method 'get'
580 [ parameters
581 {
582 type "string"
583 name "xpackage"
584 label "Package name"
585 demoValue "wizzi-js"
586 {
587 type "string"
588 name "schema"
589 label "Schema name"
590 demoValue "js"
591 {
592 title 'Wizzi - plugin schemas'
593 method 'get'
594 url '/api/wizzi/plugin/schemas'
595 [ parameters
596 {
597 type "string"
598 name "xpackage"
599 label "Package name"
600 demoValue "wizzi-web"
601 {
602 title 'Wizzi - plugin artifacts'
603 method 'get'
604 url '/api/wizzi/plugin/artifacts'
605 [ parameters
606 {
607 type "string"
608 name "xpackage"
609 label "Package name"
610 demoValue "wizzi-web"
611 {
612 title 'Wizzi - ittf - wizzi factory'
613 method 'get'
614 url '/api/wizzi/ittf/wizzifactory'
615 [ parameters
616 {
617 type "string"
618 name "storeKind"
619 label "Store kind"
620 demoValue "filesystem"
621 {
622 type "string"
623 name "plugins"
624 label "Plugins"
625 demoValue "wizzi-lab"
626 {
627 type "string"
628 name "globalContext"
629 label "Global context"
630 demoValue "name=wizzi studio;version=0.1.1"
631 {
632 title 'Wizzi - ittf - mtree'
633 method 'get'
634 url '/api/wizzi/ittf/mtree'
635 [ parameters
636 {
637 type "string"
638 name "hash"
639 label "Ittf hash"
640 demoValue "yRkyD16o8Kf9Q6xGKW6pH575nGmg9QTvdG8b7weGFBqalRp9X4u6zbk50JyoHkL3BJNPkLHdmQaByQkBC0YP19VyGRsqeYN59XWVh9bVBpXVxvFZeLB9Zg95CaydGLxGKgcdPmkM"
641 description "The hash is returned by ... "
642 {
643 title 'Wizzi - ittf - mtree debug'
644 method 'get'
645 url '/api/wizzi/ittf/mtreedebug'
646 [ parameters
647 {
648 type "string"
649 name "hash"
650 label "Ittf hash"
651 demoValue "yRkyD16o8Kf9Q6xGKW6pH575nGmg9QTvdG8b7weGFBqalRp9X4u6zbk50JyoHkL3BJNPkLHdmQaByQkBC0YP19VyGRsqeYN59XWVh9bVBpXVxvFZeLB9Zg95CaydGLxGKgcdPmkM"
652 description "The hash is returned by ... "
653 {
654 title 'Wizzi - ittf - default artifact'
655 method 'get'
656 url '/api/wizzi/ittf/defaultartifact'
657 [ parameters
658 {
659 type "string"
660 name "hash"
661 label "Ittf hash"
662 demoValue ""
663 description "The hash is returned by ... "
664 {
665 title 'Wizzi - wzjob'
666 method 'get'
667 url '/api/wizzi/wzjob'
668 [ parameters
669 {
670 type "string"
671 name "hash"
672 label "Job hash"
673 demoValue "079Bo665w9iMaWYk9QeVh090Rz1gd6cBEWZMymXEFAzd5mnzRRUx4DGVQdLehxXPXEB7QKslLX60gykbt344dzeWxphlxpqKVKmqtgWWodNNeJTB6GQW4M1kCQmbpk8JYXFbNmN3R3WBfGvd8KDK39CbPBE67QBgcYGbR6GQaoFebL415Q4eh3dMPZmmaJIVakXoQx50UA4x7onNK3TDdGz9Zm0"
674 description "The hash is returned by ... "
675 {
676 title 'Wizzi - wfschema'
677 method 'get'
678 url '/api/wizzi/wfschema'
679 [ parameters
680 {
681 type "string"
682 name "hash"
683 label "Schema hash"
684 demoValue "5xQqoDDK6QInzgboy0KvfY9YwpgynztVGaDPkZlGsLl7DyPlddCZaWQnYDxbUdQqQxEKBbTgBRWG8Xxmilee7ERbxktGEedKDKMdIqppyo99mNHkylXpbGoqC3l0Vz9awntvBlBR3RAKc45MVWDRzZt8JbmADVMWcW5Y61EZ3gcABKkRz7dZI89vbW0L7kte97Lbm3oZfzqdkNM"
685 description "The hash is returned by ... "
686 {
687 title 'Jobs - batches'
688 method 'get'
689 url '/api/jobs/batches'
690 [ parameters
691 {
692 title 'Jobs - batch'
693 method 'get'
694 url '/api/jobs/batch'
695 [ parameters
696 {
697 type "string"
698 name "hash"
699 label "Job batch hash"
700 demoValue "xRNGZvXlwKfG30Pvo70zCyMyPxWwXeHgB6NDaZnkhlA6PQNkkVHl7PWmo679S1AyWbPy4Vspd197gJX9UdY"
701 description "The hash is returned by ... "
702 {
703 title 'Jobs - gists'
704 method 'get'
705 url '/api/jobs/gists'
706 [ parameters
707 [ parameters
708 {
709 type "string"
710 name "kind"
711 label "Gist kind"
712 demoValue "gist"
713 {
714 title 'Jobs - gist'
715 method 'get'
716 url '/api/jobs/gist'
717 [ parameters
718 {
719 type "string"
720 name "hash"
721 label "Gist hash"
722 demoValue "wvmQl6l34ah1n5K8yW4pSNYNDz7K8yFYm4zwbPKmC6qoDdnqPPiPkZdDz5ReSke8e57A60SpbAKoE9M4sPGGK1eZ7wtNdD4BzBw4TzWW7E55lJheBnKPpg6GH7wk1Rg1YzfW9DdXazvnfxyXyzaBd6IDgoqmJewBuZDy0b77A8"
723 description "The hash is returned by ... "
724 {
725 title 'Jobs - execute gist'
726 method 'get'
727 url '/api/jobs/gistexec'
728 [ parameters
729 {
730 type "string"
731 name "hash"
732 label "Gist hash"
733 demoValue "wvmQl6l34ah1n5K8yW4pSNYNDz7K8yFYm4zwbPKmC6qoDdnqPPiPkZdDz5ReSke8e57A60SpbAKoE9M4sPGGK1eZ7wtNdD4BzBw4TzWW7E55lJheBnKPpg6GH7wk1Rg1YzfW9DdXazvnfxyXyzaBd6IDgoqmJewBuZDy0b77A8"
734 description "The hash is returned by ... "
735 {
736 title 'Jobs - wizzify snippet'
737 method 'get'
738 url '/api/jobs/wizzify'
739 [ parameters
740 {
741 type "string"
742 name "hash"
743 label "Snippet hash"
744 demoValue "3YPmqvqlpRUwgLaA7P9Rhbdbo6Q3pqc0B17LzJaBIyXQbW9XPPHaG14d8QA0iYWkWGqb4JC0NKWg7QRMT4RRwm95KVUmox45Y5e4heddEAaamXtW8PQd7xvAH76bokNP1wSQwlgG003XSqZJGNvNnacL95MLegQbiVggbZqYaMCD3nml8880UWnRqqoeAvi3b"
745 description "The hash is returned by ... "
746 {
747 title 'Studio - user'
748 method 'post'
749 url '/api/studio/user'
750 [ parameters
751 {
752 {
753 title 'Studio - create user'
754 method 'post'
755 url '/api/studio/user/create'
756 [ parameters
757 {
758 {
759 title 'Studio - project'
760 method 'post'
761 url '/api/studio/project'
762 [ parameters
763 {
764 {
765 title 'Studio - document'
766 method 'post'
767 url '/api/studio/document'
768 [ parameters
769 {
770 {
771 title 'Studio - fragment'
772 method 'post'
773 url '/api/studio/fragment'
774 [ parameters
775 {
776 {
777 title 'Repo - get user'
778 method 'get'
779 url '/repo/:user'
780 [ parameters
781 {
782 type "string"
783 paramType "url"
784 name "user"
785 label "User id"
786 demoValue "stefi"
787 {
788 title 'Repo - get project'
789 method 'get'
790 url '/repo/:user/:project'
791 [ parameters
792 {
793 type "string"
794 paramType "url"
795 name "user"
796 label "User id"
797 demoValue "stefi"
798 {
799 type "string"
800 paramType "url"
801 name "project"
802 label "Project id"
803 demoValue "studio"
804 {
805 title 'Repo - get folder or document'
806 method 'get'
807 url '/repo/:user/:project/:path'
808 [ parameters
809 {
810 type "string"
811 paramType "url"
812 name "user"
813 label "User id"
814 demoValue "stefi"
815 {
816 type "string"
817 paramType "url"
818 name "project"
819 label "Project id"
820 demoValue "studio"
821 {
822 type "string"
823 paramType "url"
824 name "path"
825 label "Folder or document path"
826 demoValue "wizzi"
827 {
828 title 'Repo - create folder'
829 method 'post'
830 url '/repo/:user/:project/:path'
831 [ parameters
832 {
833 type "string"
834 paramType "url"
835 name "user"
836 label "User id"
837 demoValue "stefi"
838 {
839 type "string"
840 paramType "url"
841 name "project"
842 label "Project id"
843 demoValue "studio"
844 {
845 type "string"
846 paramType "url"
847 name "path"
848 label "Folder path"
849 demoValue "temp/1"
850 {
851 type "static"
852 name "kind"
853 label "0 = folder 1 = document"
854 demoValue "0"
855 {
856 type "static"
857 name "action"
858 label "Action"
859 demoValue "create"
860 {
861 title 'Repo - create document'
862 method 'post'
863 url '/repo/:user/:project/:path'
864 [ parameters
865 {
866 type "string"
867 paramType "url"
868 name "user"
869 label "User id"
870 demoValue "stefi"
871 {
872 type "string"
873 paramType "url"
874 name "project"
875 label "Project id"
876 demoValue "studio"
877 {
878 type "string"
879 paramType "url"
880 name "path"
881 label "Folder path"
882 demoValue "temp/1/happy.html.ittf"
883 {
884 type "static"
885 name "kind"
886 label "0 = folder 1 = document"
887 demoValue "1"
888 {
889 type "static"
890 name "action"
891 label "Action"
892 demoValue "create"
893 {
894 title 'Repo - rename folder'
895 method 'post'
896 url '/repo/:user/:project/:path'
897 [ parameters
898 {
899 type "string"
900 paramType "url"
901 name "user"
902 label "User id"
903 demoValue "stefi"
904 {
905 type "string"
906 paramType "url"
907 name "project"
908 label "Project id"
909 demoValue "studio"
910 {
911 type "string"
912 paramType "url"
913 name "path"
914 label "Folder path"
915 demoValue "temp/1"
916 {
917 type "string"
918 name "newname"
919 label "New name"
920 demoValue "temp/2"
921 {
922 type "static"
923 name "kind"
924 label "0 = folder 1 = document"
925 demoValue "0"
926 {
927 type "static"
928 name "action"
929 label "Action"
930 demoValue "rename"
931 {
932 title 'Repo - rename document'
933 method 'post'
934 url '/repo/:user/:project/:path'
935 [ parameters
936 {
937 type "string"
938 paramType "url"
939 name "user"
940 label "User id"
941 demoValue "stefi"
942 {
943 type "string"
944 paramType "url"
945 name "project"
946 label "Project id"
947 demoValue "studio"
948 {
949 type "string"
950 paramType "url"
951 name "path"
952 label "Folder path"
953 demoValue "temp/1/happy.html.ittf"
954 {
955 type "string"
956 name "newname"
957 label "New name"
958 demoValue "temp/1/happy_new.html.ittf"
959 {
960 type "static"
961 name "kind"
962 label "0 = folder 1 = document"
963 demoValue "1"
964 {
965 type "static"
966 name "action"
967 label "Action"
968 demoValue "rename"
969 {
970 title 'Repo - delete folder'
971 method 'post'
972 url '/repo/:user/:project/:path'
973 [ parameters
974 {
975 type "string"
976 paramType "url"
977 name "user"
978 label "User id"
979 demoValue "stefi"
980 {
981 type "string"
982 paramType "url"
983 name "project"
984 label "Project id"
985 demoValue "studio"
986 {
987 type "string"
988 paramType "url"
989 name "path"
990 label "Folder path"
991 demoValue "temp/2"
992 {
993 type "static"
994 name "kind"
995 label "0 = folder 1 = document"
996 demoValue "0"
997 {
998 type "static"
999 name "action"
1000 label "Action"
1001 demoValue "delete"
1002 {
1003 title 'Repo - delete document'
1004 method 'post'
1005 url '/repo/:user/:project/:path'
1006 [ parameters
1007 {
1008 type "string"
1009 paramType "url"
1010 name "user"
1011 label "User id"
1012 demoValue "stefi"
1013 {
1014 type "string"
1015 paramType "url"
1016 name "project"
1017 label "Project id"
1018 demoValue "studio"
1019 {
1020 type "string"
1021 paramType "url"
1022 name "path"
1023 label "Folder path"
1024 demoValue "temp/1/happy_new.html.ittf"
1025 {
1026 type "static"
1027 name "kind"
1028 label "0 = folder 1 = document"
1029 demoValue "1"
1030 {
1031 type "static"
1032 name "action"
1033 label "Action"
1034 demoValue "delete"
1035 {
1036 title 'Wizzi factory - generation'
1037 method 'post'
1038 url '/api/wf/gen'
1039 [ parameters
1040 {
1041 {
1042 title 'Crawl - create snippet'
1043 method 'put'
1044 url '/api/crawl/snippet'
1045 [ parameters
1046 {
1047 type "string"
1048 paramType "body"
1049 name "name"
1050 label "Name"
1051 demoValue "myfirstsnippet.js"
1052 {
1053 type "string"
1054 paramType "body"
1055 name "code"
1056 label "Code"
1057 demoValue "function not(value) { return !value; }"
1058 {
1059 title 'Crawl - wizzify snippet'
1060 method 'post'
1061 url '/api/crawl/wizzify'
1062 [ parameters
1063 {
1064 type "string"
1065 paramType "body"
1066 name "code"
1067 label "Code"
1068 demoValue "function not(value) { return !value; }"
1069 {
1070 type "string"
1071 paramType "body"
1072 name "mime"
1073 label "Mime"
1074 demoValue "js"
1075 {
1076 title 'Github - clone repository'
1077 method 'get'
1078 url '/api/github/clone'
1079 [ parameters
1080 {
1081 type "string"
1082 paramType "query"
1083 name "url"
1084 label "Url"
1085 demoValue "https://github.com/vuejs-templates/webpack.git"
1086 {
1087 type "string"
1088 paramType "query"
1089 name "name"
1090 label "Name"
1091 demoValue "vue-webpack"
1092 {
1093 title 'Github - wizzify cloned repository'
1094 method 'get'
1095 url '/api/github/wizzify'
1096 [ parameters
1097 {
1098 type "string"
1099 paramType "query"
1100 name "name"
1101 label "name"
1102 demoValue "vue-webpack"
1103 {
1104 type "string"
1105 paramType "query"
1106 name "folder"
1107 label "Folder"
1108 demoValue ""
1109 *$
Save
Save & Refresh
Cancel