Returns a list of campaign/Blueprint/resource that are available for the specific user. Filters for campaign, Blueprint and resource packages can be supplied, to narrow the result list. If none are provided, all results for the user are returned.
This resource can only be requested for Enterprise users.
Request URL
GET https://use.cloudshare.com/Api/v2/Env/CreateEntAppEnvOptions?projectFilter=<project>&blueprintFilter=<blueprint>&environmentPolicyDurationFilter=<envpol>&token=<token>×tamp=<time>&UserApiId=<id>&HMAC=<signature>
Parameters
projectFilter optional |
A filter string for the project name, to be applied to the result list. Example: MyProject |
BlueprintFilter optional |
A filter string for the Blueprint name, to be applied to the result list. Example: MyBlueprint |
environmentPolicyDurationFilter optional |
A filter string for the environment policy duration, to be applied to the result list. Example: AllowSuspendEnvs_0D_1h |
Response example
The response is a list of blueprints for the user.
Response example
{ "data": [ { "Blueprints": [ { "Name": "Linux2", "Snapshots": [ { "Author": "j smith", "Comment": "snapshot at initialization", "CreationTime": "3/16/2013 8:05 PM", "IsDefault": true, "IsLatest": true, "Name": "Initial snapshot", "SnapshotId": "SSM4ZJXROMFB" } ] } ], "EnvironmentPolicyDuration": "PoC (10 days)", "EnvironmentPolicyId": "RACFFKXJPD4B", "Organizations": [ "CloudShare" ], "Project": " Documentation Project" } ], "remaining__calls": 99998, "status_additional_data": null, "status_code": "0x20000", "status_text": "Success" }