2015-02-04 09:31:31 +00:00
|
|
|
/v1/projects
|
2015-02-13 17:27:08 +00:00
|
|
|
-----------------------------------------------------------------------------------------------------------------
|
2015-01-20 14:21:13 +00:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
2015-02-04 09:31:31 +00:00
|
|
|
POST /v1/projects
|
2015-02-13 17:27:08 +00:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2015-02-04 09:31:31 +00:00
|
|
|
Create a new project on the server
|
2015-01-20 14:21:13 +00:00
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
|
|
|
- **200**: OK
|
|
|
|
|
|
|
|
Input
|
|
|
|
*******
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
2015-02-13 17:27:08 +00:00
|
|
|
<tr><td>path</td> <td> </td> <td>['string', 'null']</td> <td>Project directory</td> </tr>
|
2015-02-04 09:31:31 +00:00
|
|
|
<tr><td>project_id</td> <td> </td> <td>['string', 'null']</td> <td>Project UUID</td> </tr>
|
2015-01-23 15:19:17 +00:00
|
|
|
<tr><td>temporary</td> <td> </td> <td>boolean</td> <td>If project is a temporary project</td> </tr>
|
2015-01-20 14:21:13 +00:00
|
|
|
</table>
|
|
|
|
|
|
|
|
Output
|
|
|
|
*******
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
2015-01-23 15:19:17 +00:00
|
|
|
<tr><td>location</td> <td>✔</td> <td>string</td> <td>Base directory where the project should be created on remote server</td> </tr>
|
2015-02-05 00:13:35 +00:00
|
|
|
<tr><td>path</td> <td> </td> <td>string</td> <td>Directory of the project on the server</td> </tr>
|
2015-02-04 09:31:31 +00:00
|
|
|
<tr><td>project_id</td> <td>✔</td> <td>string</td> <td>Project UUID</td> </tr>
|
2015-01-23 15:19:17 +00:00
|
|
|
<tr><td>temporary</td> <td>✔</td> <td>boolean</td> <td>If project is a temporary project</td> </tr>
|
2015-01-20 14:21:13 +00:00
|
|
|
</table>
|
|
|
|
|