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

List all offering actions

This API lists all the offering actions.

URI Method Parameters Returns

applicationDesignId,

lifeCycleStage

GET

applicationDesignId:Application specific ID

startIndex: Number of records

200 - updated
400 - bad request
404 - not found

Examples

The following URL was sent:

https://localhost:8444/csa/api/codar/release-gate/gate-action/?applicationDesignId=f78a358e-28d0-4690-95ee-644697765bcb&lifecycleStage=DEVELOPMENT

The following JSON was returned:

{

"@total_results": "1",

"@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": "7",

"color": "#ffb878",

"icon": "/csa/api/blobstore/lifecycle_stage_development.png?tag=library",

"actions": [

{

"@self": "/csa/codar/release-gate/gate-action/3c47bf76-f9c3-4476-9b90-bf68fc0b3614",

"id": "3c47bf76-f9c3-4476-9b90-bf68fc0b3614",

"name": "Offering Action",

"description": "Action description",

"type": "OFFERING",

"typeDisplayName": "Offering Action",

"order": 1,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-16T11:02:41.144Z",

"rejectOnFailure": false

},

{

"@self": "/csa/codar/release-gate/gate-action/daa0d245-6a5b-4e6f-b7d5-5b64e80b9e3c",

"id": "daa0d245-6a5b-4e6f-b7d5-5b64e80b9e3c",

"name": "Offering Action",

"description": "Action description",

"type": "OFFERING",

"typeDisplayName": "Offering Action",

"order": 2,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-17T09:09:15.636Z",

"rejectOnFailure": false

},

{

"@self": "/csa/codar/release-gate/gate-action/c54b3a50-2e50-4e29-84ab-fea9c183c299",

"id": "c54b3a50-2e50-4e29-84ab-fea9c183c299",

"name": "custom_small",

"description": null,

"type": "CUSTOM",

"typeDisplayName": "Custom Action",

"order": 0,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-09T06:11:17.554Z",

"rejectOnFailure": false

},

{

"@self": "/csa/codar/release-gate/gate-action/cd9c47a4-188c-451a-bc4a-0747aaacb59a",

"id": "cd9c47a4-188c-451a-bc4a-0747aaacb59a",

"name": "Offering Action",

"description": "Action description",

"type": "OFFERING",

"typeDisplayName": "Offering Action",

"order": 3,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-17T11:39:36.630Z",

"rejectOnFailure": false

},

{

"@self": "/csa/codar/release-gate/gate-action/c92fac63-a0e3-4c30-a2be-f9bbbeda4cec",

"id": "c92fac63-a0e3-4c30-a2be-f9bbbeda4cec",

"name": "custom123Action",

"description": "Action description",

"type": "CUSTOM",

"typeDisplayName": "Custom Action",

"order": 5,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-20T07:48:57.608Z",

"rejectOnFailure": false

},

{

"@self": "/csa/codar/release-gate/gate-action/5305bb88-79bb-44a4-87b5-873e1bd7f49e",

"id": "5305bb88-79bb-44a4-87b5-873e1bd7f49e",

"name": "Offering Action664",

"description": "Action description",

"type": "OFFERING",

"typeDisplayName": "Offering Action",

"order": 4,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-20T06:12:31.804Z",

"rejectOnFailure": false

},

{

"@self": "/csa/codar/release-gate/gate-action/25cd82b3-fdd9-4cc6-8f69-027a0e79e2ae",

"id": "25cd82b3-fdd9-4cc6-8f69-027a0e79e2ae",

"name": "Offering Action123",

"description": "Action description",

"type": "OFFERING",

"typeDisplayName": "Offering Action",

"order": 6,

"enabled": true,

"lifecycleStage": "DEVELOPMENT",

"createdBy": "admin",

"createdOn": "2017-02-20T10:03:37.742Z",

"rejectOnFailure": false

}

]

}

]

}