Environment endpoints

Version 1.2 by Outhman Moustaghfir on 2021/11/22 12:39

Introduction :

This section will describe in detail how to manage the Environment entity.

Endpoints :

URL [method]DescriptionInput exampleOutput 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": ""
        }
    ]
}
    
    
    
    
    
    

 

Tags:
Created by Outhman Moustaghfir on 2021/11/22 12:33
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian