This command checks that an environment name is not already in use. If the specified name is in use, the command returns a similar unique name.
Request
GET http://{hostname}:{port}
/landscaper/rest/blueprint/{environmentName}/uniqueEnvironmentName/
Accept: application/json
Table 1. URL parameters
Parameter |
Type |
Required |
Description |
environmentName |
string |
true |
The environment name to check. |
Example
curl -u jsmith:passwd
http://myserver.example.com:8080/landscaper/rest/
blueprint/myNewEnvironment/uniqueEnvironmentName/
-H "Accept: application/json"
Example response
{"unique":"myNewEnvironment1"}