From version 1.1 >
edited by Outhman Moustaghfir
on 2021/11/22 12:33
To version < 1.3 >
edited by Outhman Moustaghfir
on 2021/11/22 13:16
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,17 +2,71 @@
2 2  
3 3  This section will describe in detail how to manage the Environment entity.
4 4  
5 -
6 6  = Endpoints : =
7 7  
8 -|(% style="width:294px" %)**URL [method]**|(% style="width:539px" %)**Description**|(% style="width:338px" %)**Input example**|(% style="width:479px" %)**Output example**
9 -|(% style="width:294px" %)/rest/environments [GET]|(% style="width:539px" %)Get a list that contains the current environment and its sub-environments |(% style="width:338px" %)(no input required)|(% style="width:479px" %)
10 -|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:338px" %) |(% style="width:479px" %)
11 -|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:338px" %) |(% style="width:479px" %)
12 -|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:338px" %) |(% style="width:479px" %)
13 -|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:338px" %) |(% style="width:479px" %)
14 -|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:338px" %) |(% style="width:479px" %)
15 -|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:338px" %) |(% style="width:479px" %)
7 +|(% style="width:294px" %)**URL [method]**|(% style="width:539px" %)**Description**|(% style="width:322px" %)**Input example**|(% style="width:495px" %)**Output example**
8 +|(% style="width:294px" %)/rest/environments [GET]|(% style="width:539px" %)Get a list that contains the current environment and its sub-environments |(% style="width:322px" %)(no input required)|(% style="width:495px" %){{code language="JSON"}}{
9 + "timestamp": 1637580872193,
10 + "status": "200",
11 + "data": [
12 + {
13 + "envid": 20,
14 + "parent": 19,
15 + "alias": "TestEnv1",
16 + "code": "",
17 + "sendurl": false,
18 + "active": true,
19 + "timezone": "GMT",
20 + "gitRepository": ""
21 + },
22 + {
23 + "envid": 19,
24 + "parent": 1,
25 + "alias": "greatEnv",
26 + "code": "122",
27 + "sendurl": false,
28 + "active": true,
29 + "timezone": "GMT",
30 + "gitRepository": ""
31 + },
32 + {
33 + "envid": 1,
34 + "parent": 1,
35 + "alias": "iXPath",
36 + "code": "",
37 + "sendurl": false,
38 + "active": true,
39 + "timezone": "Europe/Paris",
40 + "gitRepository": ""
41 + },
42 + {
43 + "envid": 25,
44 + "parent": 1,
45 + "alias": "PAR",
46 + "code": "",
47 + "sendurl": false,
48 + "active": true,
49 + "timezone": "GMT",
50 + "gitRepository": ""
51 + },
52 + {
53 + "envid": 26,
54 + "parent": 25,
55 + "alias": "PARR",
56 + "code": "",
57 + "sendurl": false,
58 + "active": true,
59 + "timezone": "GMT",
60 + "gitRepository": ""
61 + }
62 + ]
63 +}{{/code}}
64 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %)
65 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %)
66 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %)
67 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %)
68 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %)
69 +|(% style="width:294px" %) |(% style="width:539px" %) |(% style="width:322px" %) |(% style="width:495px" %)
16 16  
17 17  
18 18  
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian