Returns a URL (permalink) that, when visited, will create an environment for the visiting user, based on the environment policy and snapshot information supplied as parameters. The URL will be unique per project, per policy and per snapshot, and can be used by any member of the project, and only that project. If the user already has an environment from the Permalink’s snapshot and policy, the URL will only redirect him to that environment.
Request URL
GET https://use.cloudshare.com/Api/v2/Env/GeneratePermalink?environmentPolicyId=<envPolId>&projectId=<prjId>&snapshotId=<snapId>×tamp=<time>&token=<token>&UserApiId=<id>&HMAC=<signature>
Parameters
environmentPolicyId | The unique environment policy Id |
projectId | The unique project Id |
snapshotId | The unique Id of the snapshot |
Response example
{ "data": "https://use.cloudshare.com/Ent/Permalink.mvc/I_05lS49RrlPgDRqxA8wuGgKTyKEEB11YhwvZnnZLMU1", "remaining_api_calls": 99997, "status_additional_data": null, "status_code": "0x20000", "status_text": "Success" }