Develop > API calls > Release gate APIs > Retrieve a release gate action based on a specified action ID

Retrieve a release gate action based on a specified action ID

Retrieves the details of a release gate action based on the action type for a specified action ID. This API accepts actionId as input. actionId is mandatory and is the UUID of the release gate action.

URI Method Parameters Returns
http://[host]:[port]/csa/api/codar/release-gate/gate-action/{actionId} GET

actionId

200 - Success
400 - Bad request
401 - Authorization failure
404 - Not found
500 - Internal server error

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/release-gate/gate-action/5791d61b-4541-411b-b397-172e50fe7319

The following JSON was returned:

{ "@self": "/csa/codar/release-gate/gate-action/5791d61b-4541-411b-b397-172e50fe7319", "id": "5791d61b-4541-411b-b397-172e50fe7319", "name": "deploy2", "description": "deploy two", "type": "DEPLOY", "typeDisplayName": "Deploy Action", "order": 2, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-12-22T04:31:58.697Z", "lastUpdated": "2015-12-22T04:31:58.697Z", "updatedBy": "admin", "rejectOnFailure": true, "notifyOnSuccess": false, "notifyOnFailure": false, "deployAction": { "deploymentName": "deploy2", "environmentId": "null", "cleanupOnSuccess": true, "cleanupOnFailure": true, "designType": "PARTIAL", "infraDesignParameters": [ { "requirementId": "Complete", "modelId": "243c7c75-ec05-40cd-9f36-9fa45751a76c" } ] } }