Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleBase URL for Snapshot REST API

http://host:port/flexdeploy/rest/release/{releaseId}/snapshot

Table of Contents
maxLevel1

...

This POST service will create a new snapshot with the same attributes as the given JSON object.

Info
titleAPI URL

http://host:port/flexdeploy/rest/release/{releaseId}/snapshot

Parameters

AttributesRequiredTypeDescription
releaseIdYesURLThe release to create a snapshot from
snapshotNameNoStringThe name of the snapshot is automatically generated at the time of creation
snapshotIdNoLongThe id of the snapshot is returned after being created
descriptionNoStringThe description of the snapshot
projectsNoList<Project>A list of projects associated with the snapshot
projectIdYesLongThe id of the project
packageNameYes*StringThe name of the package (used for partial deployment projects only)
projectVersionIdNoLongThe version id of the project to use instead of creating a new version
buildEnvironmentIdNoLongThe build environment associated with the project
forceBuildNoBooleanWhether 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,

...