...
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/release/{releaseId}/snapshot |
Table of Contents | ||
---|---|---|
|
...
This POST service will create a new snapshot with the same attributes as the given JSON object.
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/release/{releaseId}/snapshot |
Parameters
Attributes | Required | Type | Description |
---|---|---|---|
releaseId | Yes | URL | The release to create a snapshot from |
snapshotName | No | String | The name of the snapshot is automatically generated at the time of creation |
snapshotId | No | Long | The id of the snapshot is returned after being created |
description | No | String | The description of the snapshot |
projects | No | List<Project> | A list of projects associated with the snapshot |
projectId | Yes | Long | The id of the project |
packageName | Yes* | String | The name of the package (used for partial deployment projects only) |
projectVersionId | No | Long | The version id of the project to use instead of creating a new version |
buildEnvironmentId | No | Long | The build environment associated with the project |
forceBuild | No | Boolean | Whether or not the project should be force built |
...
If the POST request sent to http://host:port/flexdeploy/rest/release/12345/snapshot receives the following JSON environment object,
...