Get all base resources for an environment

This command returns a listing of all resources added as base resources to an environment.

Request

GET https://{hostname}:{port}
    /cli/environment/getBaseResources?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
environment string true Name or ID of the environment
application string false Name of the application; this value is required if you specify the environment name instead of ID
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example response

[
  {
    "id": "4db385d8-34bb-4625-8e62-c627175a2cf7",
    "name": "Tutorial agent 1",
    "path": "/JPetStore agents/Tutorial agent 1",
    "active": true,
    "description": "",
    "inheritTeam": true,
    "impersonationPassword": "****",
    "impersonationUseSudo": false,
    "impersonationForce": false,
    "type": "agent",
    "status": "ONLINE",
    "hasAgent": true,
    "tags": [
    ]
  }
]

Related CLI command: getEnvironmentBaseResources.