EntAppTakeSnapshotToExistingPrototype

Takes a snapshot of the specified environment and saves it as part of an existing prototype (but not the current one).

Request URL

GET https://use.cloudshare.com/Api/v1/Env/EntAppTakeSnapshotToExistingPrototype?envApiId=<envId>&snapshotName=<snap>&setAsDefault=<def>&otherPrototypeApiId=<otherProto>&UserApiId=<user>&timestamp=<time_t>&HMAC=<signature>

Parameters

envApiId The id of the environment
Example: LB4IUA1HFT4B
snapshotName A name to be assigned to the snapshot
Example: myNewSnapshot
setAsDefault Flag indicating whether the snapshot is to be set as default
Values: true/false
otherPrototypeApiId The id of the prototype to which the snapshot is to be assigned.
Example: UGK0MB1B0VRB

Response example

{
    "envApiId": "LB4IUA1HFT4B"
}

Code sample