Take a Snapshot Immediately
You can take an immediate snapshot for any mashable or mashup using the MashZone NextGen REST URL to run the mashable or mashup plus two MashZone NextGen headers: x-p-enableSnapshot and x-p-snapshotName.
For example:
http://app-server:port/mashzone/edge/api/rest/service/operation?service-params-if-any&x-p-enableSnapshot=true&x-p-snapshotName=name-or-uuid
You can find the REST API URL for any mashables or mashup in the Technical Specs tab on its artifact page. See
Use Mashable/Mashup Technical Specs for more information. Add any input parameters needed to run this mashable or mashup or any other
MashZone NextGen
Headers/Parameters, as needed.
Parameters
Parameter | Req? | Description |
x-p-enableSnapshot | yes | true = determines that the response for the mashable or mashup should create a snapshot. |
x-p-snapshotName | yes | Choose either: A specific name for this snapshot. uuid, to have MashZone NextGen automatically assign a unique ID to this snapshot. |