ProjectSetRequestHandler as REST API
[idea/community.git] / platform / platform-impl / src / com / intellij / platform / ProjectSetRequestHandler.coffee
1 ###
2   @apiDefine OpenProjectSetRequestExample
3
4   @apiExample {json} Request-Example:
5 {
6   "vcs": {
7     "git": {"url": "https://github.com/JetBrains/idea-templates.git"}
8   },
9   "project": "/spring/SpringApp"
10 }
11 ###
12
13 ###
14   @apiDefine OpenProjectSetRequestExampleMulti
15
16   @apiExample {json} Request-Example (multi-repository):
17 {
18   "vcs": {
19     "git": [
20       {
21         "url": "git@git.labs.intellij.net:idea/community"
22       },
23       {
24         "url": "git://git.jetbrains.org/idea/android.git",
25         "targetDir": "android"
26       },
27       {
28         "url": "git://git.jetbrains.org/idea/adt-tools-base.git",
29         "targetDir": "android/tools-base"
30       }
31     ]
32   },
33   "project": ""
34 }
35 ###