EntAppTakeSnapshot

Takes a snapshot of the specified environment and saves it as part of the current prototype. It can optionally be set as the default snapshot for this prototype.

Request URL

GET https://use.cloudshare.com/Api/v1/Env/EntAppTakeSnapshot?description=<desc> &envApiId=<envId>&>&setAsDefault=<def>&snapshotName=<snap_name>&timestamp=<time_t>UserApiId=<user>&HMAC=<signature>

Parameters

Description
optional
A description to be applied to the snapshot
Example: myNewSnapshot
envApiId The id of the environment
snapshotName The name to be assigned to the snapshot
Example: myNewSnapshot
setAsDefault Flag indicating whether this snapshot should be set as default
Values: true/false

Response example

{
    "envApiId": "LB4IUA1HFT4B"
}

Code sample