Environment endpoints
Version 1.3 by Outhman Moustaghfir on 2021/11/22 13:16
Introduction :
This section will describe in detail how to manage the Environment entity.
Endpoints :
URL [method] | Description | Input example | Output example |
/rest/environments [GET] | Get a list that contains the current environment and its sub-environments | (no input required) | { "timestamp": 1637580872193, "status": "200", "data": [ { "envid": 20, "parent": 19, "alias": "TestEnv1", "code": "", "sendurl": false, "active": true, "timezone": "GMT", "gitRepository": "" }, { "envid": 19, "parent": 1, "alias": "greatEnv", "code": "122", "sendurl": false, "active": true, "timezone": "GMT", "gitRepository": "" }, { "envid": 1, "parent": 1, "alias": "iXPath", "code": "", "sendurl": false, "active": true, "timezone": "Europe/Paris", "gitRepository": "" }, { "envid": 25, "parent": 1, "alias": "PAR", "code": "", "sendurl": false, "active": true, "timezone": "GMT", "gitRepository": "" }, { "envid": 26, "parent": 25, "alias": "PARR", "code": "", "sendurl": false, "active": true, "timezone": "GMT", "gitRepository": "" } ] } |