Develop > API calls > Release gate APIs > List all release gate actions

List all release gate actions

Lists all the release gate actions, which includes deploy, custom, and approval actions. This API accepts applicationDesignId and lifecycleStage as input. The applicationDesignId parameter is mandatory and is the UUID of the application design. The lifecycleStage parameter is optional. The applicationDesignId and lifecycleStage parameters must be valid.

URI Method Parameters Returns
http://[host]:[port]/csa/api/codar/release-gate/gate-action GET
  • applicationDesignId

  • (Optional) lifecycleStage

200 - successful
400 - bad request
404 - not found
500 - Internal server error

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/release-gate/gate-action/?applicationDesignId=4ed560b1-a533-43c0-ae7b-eb635dd3a3cc

The following JSON was returned:

{ "@total_results": "4", "@self": "/csa/codar/release-gate/gate-action/", "@type": "urn:x-hp:2012:software:cloud:data_model:ReleaseGateAction", "members": [ { "@self": "/csa/api/codar/app-lifecycle/stages/84905d24-d92f-4916-b312-78af206d31a5", "id": "84905d24-d92f-4916-b312-78af206d31a5", "name": "DEVELOPMENT", "displayName": "Development", "count": "8", "color": "#ffb878", "icon": "/csa/api/blobstore/lifecycle_stage_development.png?tag=library", "actions": [ { "@self": "/csa/codar/release-gate/gate-action/6decf992-8d51-41d6-b994-8f7b5f6a7425", "id": "6decf992-8d51-41d6-b994-8f7b5f6a7425", "name": "Deploy1", "description": null, "type": "DEPLOY", "typeDisplayName": "Deploy Action", "order": 0, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-11-25T07:01:12.657Z", "rejectOnFailure": false }, { "@self": "/csa/codar/release-gate/gate-action/1ce957c0-f49c-4048-9989-fedcffb7bda8", "id": "1ce957c0-f49c-4048-9989-fedcffb7bda8", "name": "deploy3", "description": "Action description", "type": "DEPLOY", "typeDisplayName": "Deploy Action", "order": 1, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-11-26T07:31:04.041Z", "rejectOnFailure": true }, { "@self": "/csa/codar/release-gate/gate-action/80862c3f-dcb7-46b4-8c1d-4d024cbbe2f8", "id": "80862c3f-dcb7-46b4-8c1d-4d024cbbe2f8", "name": "deploy2 kunal", "description": "", "type": "DEPLOY", "typeDisplayName": "Deploy Action", "order": 1, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-11-26T06:35:48.686Z", "rejectOnFailure": false }, { "@self": "/csa/codar/release-gate/gate-action/10c04bc8-2f8d-4ff0-bb8e-97b029e83f20", "id": "10c04bc8-2f8d-4ff0-bb8e-97b029e83f20", "name": "Custom2", "description": "Custom test", "type": "CUSTOM", "typeDisplayName": "Custom Action", "order": 2, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-12-02T09:13:56.241Z", "rejectOnFailure": false }, { "@self": "/csa/codar/release-gate/gate-action/7ed36412-2289-4822-a66d-70c85292dc49", "id": "7ed36412-2289-4822-a66d-70c85292dc49", "name": "Custom action3", "description": "Custom action for test", "type": "CUSTOM", "typeDisplayName": "Custom Action", "order": 3, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-12-02T10:07:41.624Z", "rejectOnFailure": false }, { "@self": "/csa/codar/release-gate/gate-action/aa34c2d0-8e67-4d9a-abcf-5b8b50c77355", "id": "aa34c2d0-8e67-4d9a-abcf-5b8b50c77355", "name": "Approval", "description": "approval test", "type": "APPROVAL", "typeDisplayName": "Approval Action", "order": 4, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-12-02T10:46:40.719Z", "rejectOnFailure": false }, { "@self": "/csa/codar/release-gate/gate-action/6d3b3708-c417-47e0-8a49-d3d90bcaf3bf", "id": "6d3b3708-c417-47e0-8a49-d3d90bcaf3bf", "name": "custom1", "description": "Action description", "type": "CUSTOM", "typeDisplayName": "Custom Action", "order": 1, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-11-26T11:20:50.713Z", "rejectOnFailure": true }, { "@self": "/csa/codar/release-gate/gate-action/d4b016a5-47f6-4db3-88ab-6e494a2039e0", "id": "d4b016a5-47f6-4db3-88ab-6e494a2039e0", "name": "Approval1", "description": "approval test1", "type": "APPROVAL", "typeDisplayName": "Approval Action", "order": 5, "enabled": true, "lifecycleStage": "DEVELOPMENT", "createdBy": "admin", "createdOn": "2015-12-02T11:12:32.556Z", "rejectOnFailure": false } ] }, { "@self": "/csa/api/codar/app-lifecycle/stages/84905d24-d92f-4916-b312-78af206d31a6", "id": "84905d24-d92f-4916-b312-78af206d31a6", "name": "TESTING", "displayName": "Testing", "count": "0", "color": "#fbd75b", "icon": "/csa/api/blobstore/lifecycle_stage_testing.png?tag=library", "actions": [] }, { "@self": "/csa/api/codar/app-lifecycle/stages/84905d24-d92f-4916-b312-78af206d31a7", "id": "84905d24-d92f-4916-b312-78af206d31a7", "name": "STAGING", "displayName": "Staging", "count": "0", "color": "#dbadff", "icon": "/csa/api/blobstore/lifecycle_stage_staging.png?tag=library", "actions": [] }, { "@self": "/csa/api/codar/app-lifecycle/stages/84905d24-d92f-4916-b312-78af206d31a8", "id": "84905d24-d92f-4916-b312-78af206d31a8", "name": "PRODUCTION", "displayName": "Production", "count": "0", "color": "#ff887c", "icon": "/csa/api/blobstore/lifecycle_stage_production.png?tag=library", "actions": [] } ] }