EnvironmentService
Retrieves information about Environments: which DeployedApplications and which Hosts are there in an environment? A User must have READ permission on the environment to obtain the requested info.
GET | /environment/{id:.+}/deployed-applications | Finds DeployedApplications on an environment. |
GET | /environment/{id:.+}/infrastructure | Finds Hosts that take part in the specified environment. |
GET /environment/{id:.+}/deployed-applications
Finds DeployedApplications on an environment. Optionally (a part of) an application name can be specified to narrow your
search results, e.g. specifying deployedAppName=Depl will find XL Deploy
- Parameters
-
Path id String the environment ID to query Query deployedAppName String (Optional) (part of the) deployed application name to look for. Request body Paging Which page and how many results per page to retrieve Query order Ordering Which ordering to use when listing results.
- Response body
- List of ConfigurationItemId - a list of com.xebialabs.deployit.engine.api.dto.ConfigurationItemId objects corresponding to deployed applications on the indicated environment
- Content type:
GET /environment/{id:.+}/infrastructure
Finds Hosts that take part in the specified environment. Will return only hosts that the user has READ permission on.
Optionally, (part of) a host name can be specified to narrow search results. A list of DeploymentInfo objects will be
returned detailing the host ID, the host Type, and when and by whom a deployment to this host has taken place.
- Parameters
-
Path id String the environment ID to query Query name String (Optional) (part of) the host name to look for Request body Paging Which page and how many results per page to retrieve Query order Ordering Which ordering to use when listing results
- Response body
- List of DeploymentInfo - a list of com.xebialabs.deployit.engine.api.dto.DeploymentInfo objects
- Content type: