This POST service will perform the same action found on the Release Screen. This is used to complete an approval gate without having to log into the FlexDeploy server.
API URL
http://host:port/flexdeploy/rest/release/completeExternalGate
Complete External Gate Sample JSON Request | |
---|---|
| Opening bracket Authentication section, used on all types of requests. |
Required parameters for creating or editing a release. | |
| Complete the The Gate we want to complete is named The gate we're approving is in the The Change Ticket associated with the gate being approved. The Status to give to the gate. Options are |
Optionally, include any of this information. Verify that your JSON is valid; check for trailing commas if you don't include this section. | |
"snapshotName": "09-24-2017 14:26:47" | The name of the Snapshot we want to approve is "09-24-2017 14:26:47" . If this is not specified, FlexDeploy will use the latest running snapshot. |
} | 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 | String | The name of the gate to update the status on. |
| N | String | The name of the executing snapshot that is waiting on the gate. |
| Y | String | The change ticket associated with this approval. |
| Y | String | The code for the environment the gate is executing in. |
| Y | String | The updated status to apply to the gate. Options are |