Request
GET http://{hostname}:{port}
/landscaper/rest/blueprint/{blueprintId}/environments/
Accept: application/json
Location: {blueprintLocation}
Table 1. URL parameters
Parameter |
Type |
Required |
Description |
blueprintId |
string |
true |
The name or ID of the blueprint. The command assumes that the blueprint is in the default repository and that the file has the name of the parameter value with the extension .yml. If the Location header is specified, this parameter is ignored. |
Example
curl -u jsmith:passwd
http://myserver.example.com:8080/landscaper/rest/blueprint/MyBlueprint/
environments/
-H "Location: /landscaper/orion/file/jsmith_8a6bfff7_2c77_45db_a235_adda61ad6653-OrionContent/myTeam/myBlueprint/myBlueprint.yml"
Example response
[
{
"id": "5d0ac4gg-13e0-462c-af67-80a762a5b084",
"name": "ENV 1 from MyBlueprint"
}
]