Changes for page Environment endpoints
Last modified by Outhman Moustaghfir on 2022/06/13 13:17
<
>
edited by Outhman Moustaghfir
on 2021/11/22 15:24
on 2021/11/22 15:24
edited by Outhman Moustaghfir
on 2021/11/22 14:46
on 2021/11/22 14:46
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -121,40 +121,13 @@ 121 121 } 122 122 {{/code}} 123 123 ))) 124 -|(% style="width:294px" %)/rest/environments/folder/{alias} [GET]|(% style="width:539px" %) __Create__all folders needed for the environment. |(% style="width:322px" %)The {alias} bracket should be replaced by the environment's alias.|(% style="width:495px" %){{code language="JSON"}} {124 +|(% style="width:294px" %)/rest/environments/folder/{alias} [GET]|(% style="width:539px" %)Create all folders needed for the environment. |(% style="width:322px" %)The {alias} bracket should be replaced by the environment's alias.|(% style="width:495px" %){{code language="JSON"}} { 125 125 "timestamp": 1637587991054, 126 126 "status": "200", 127 127 "data": "OK" 128 128 }{{/code}} 129 -|(% style="width:294px" %)/rest/environments [POST]|(% style="width:539px" %)__Create__ a new environment in the database|(% style="width:322px" %){{code language="json"}} { 130 - "alias" : "eud", 131 - "parent" : 1, 132 - "active" : true, 133 - "code" : "ADE", 134 - "sendurl" : true, 135 - "timezone" : "GMT", 136 - "gitRepository" : null 137 - }{{/code}}((( 138 - 139 - 140 -NB : **"alias"** , **"parent"** and **"active" **are mandatory fields. 141 - 142 - 143 -)))|(% style="width:495px" %){{code language="json"}}{ 144 - "timestamp": 1637590549094, 145 - "status": "200", 146 - "data": { 147 - "envid": 37, 148 - "parent": 1, 149 - "alias": "eud", 150 - "code": "ADE", 151 - "sendurl": true, 152 - "active": true, 153 - "timezone": "GMT", 154 - "gitRepository": null 155 - } 156 -}{{/code}} 157 157 |(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %) 130 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %) 158 158 159 159 160 160