Description: Gets a pipeline steplet by Id.
Security: Requires a valid user
Usage: GET api/v1/pipelineSteplets/:{pipelineStepletId}
Consumes: application/json
URL Parameter:
Parameter | Data Type | Description | Required/Optional |
---|---|---|---|
| Integer | Id of the pipeline steplet being requested. | Required |
Produces: application/json
Sample Response:
{ "configPropertyBag": { "environmentVariables": { "key_1": "value1", "key_2": "value2" }, "runtime": { "type": "image", "image": { "auto": { "language": "node", "versions": [ "8.17.0" ] } } }, "stepletNumber": 4 }, "id": 11, "name": "steplet_4", "pipelineStepId": 6, "projectId": 1, "pipelineSourceId": 1, "pipelineId": 2, "isDeleted": false, "deletedAt": null, "createdBy": "2", "updatedBy": "2", "createdAt": "2020-06-09T10:50:40.548Z", "updatedAt": "2020-06-09T10:50:40.627Z" }
Response Codes:
200: Success
404: If no pipeline steplet is found for the supplied id.