This POST service will promote existing project version to create new snapshot. This API was introduced with FlexDeploy 4.6.0.5.
...
Promote to Release JSON Request | |
---|---|
| Opening bracket Authentication section, used on all types of requests. |
Required parameters for creating or editing a release. | |
| Promote project version to release named Demo Release Version belongs to project Exact project version name |
Optionally, include any of this information. Verify that your JSON is valid; check for trailing commas if you don't include this section. | |
" | The package name associated with project version. Only applies for partial deploy project. |
} | Closing bracket |
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
| Y | Object | The login information for the user connecting to FlexDeploy. |
| Y | String | The name of the release containing the gate we want to completeto promote version. |
| Y | String | The name of the gate to update the status onFully qualified project name. |
| N | StringThe | name of the executing snapshot that is waiting on the gate. If not provided, latest Stage Execution will be usedPackage name, only applies when using partial deployment and package based builds. |
| Y | StringThe updated status to apply to the gate. Options are | Project version. |
Example Request
Code Block | ||||
---|---|---|---|---|
| ||||
{ "authentication": { "userId": "fdadmin", "password": "welcome1" }, "releaseName": "Demo Release", "qualifiedProjectName": "FlexDeploy/Demo/Project1", "projectVersion": "1.0.10" } |
...