Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This POST service will promote existing project version to create new snapshot. This API was introduced with FlexDeploy 4.6.0.5.

API URL

http://host:port/flexdeploy/rest/release/promoteToRelease

The authenticated user must be FlexDeploy administrator.

Promote to Release JSON Request


{

"authentication": { "userId":"fdadmin", "password":"password1" },

Opening bracket

Authentication section, used on all types of requests.

Required parameters for creating or editing a release.

"releaseName": "Demo Release",

"qualifiedProjectName": "FlexDeploy/Demo/Project1",

"projectVersion": "1.0.10",

Promote project version to release named Demo Release

Version belongs to project "FlexDeploy/Demo/Project1".

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.

"packageName": "ALM150"The package name associated with project version.
}Closing bracket

Parameters

Parameter

Required

Type

Description

authentication

Y

Object

The login information for the user connecting to FlexDeploy.

releaseName

Y

String

The name of the release containing the gate we want to complete.

qualifiedProjectName

Y

String

The name of the gate to update the status on.

packageName

N

String

The name of the executing snapshot that is waiting on the gate. If not provided, latest Stage Execution will be used.

projectVersion

Y

String

The updated status to apply to the gate. Options are [APPROVED, REJECTED]

Example Request

{
   "authentication": 
    {
       "userId": "fdadmin",
       "password": "welcome1"
    },
   "releaseName": "Demo Release",
   "qualifiedProjectName": "FlexDeploy/Demo/Project1",
   "projectVersion": "1.0.10"
}


  • No labels