This POST service will perform the same action found on the Release Screen. add projects and/or packages to a release in FlexDeploy. This API returns the release id, which is a required input for some of the other APIs.
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/release/addProjectsToRelease |
Note |
---|
The authenticated user must be a member of a group which has FlexDeploy Administrator privileges. |
Add Projects to Release Sample JSON Request
| |||||||
---|---|---|---|---|---|---|---|
| Opening bracket Authentication section, used on all types of requests. | ||||||
Required parameters for creating or editing a release. | |||||||
| Add projects to the release named Demo Release. A list of Projects and Add the Project located at Set the Priority of this project to Build this project in the Put Associate this project in with " Add the Project located at Set the Priority of this project to Build this project in the Put Associate this project in with Optionally Request All Files when performing a | ||||||
} | 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 complete. |
| Y | ListArray | A list of projects and configurations to add to the release. |
| Y | String | The full path and name of a project to add to the release. |
| N | StringInteger | The project's deployment priority in the release. |
| YN | String | The stream to build this project from. Defaults to the main stream. |
| N | String | The name of the group on the release to add this project to. |
requestAllFiles | N | Boolean | Request All Files when building a Partial Build project Defaults to false. |
packageName | N | String | The name of the package to build and deploy in the release. Used and required when requestAllFiles is false. |