Get Pipeline Step by ID

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Gets a single pipeline step for the supplied numeric id..

Security: Requires a valid user

Usage: GET api/v1/pipelineSteps/:pipelineStepId

Consumes: application/json

URL Parameters:

Parameter

Data Type

Description

id

Integer

The numeric id of the pipelinestepbeing requested

Query Parameters: Ignored

Request Parameters: Ignored

Sample Response:

 {
    "ymlConfigPropertyBag": {
        "integrations": [
            {
                "name": "s_bitbucketServer"
            }
        ],
        "environmentVariables": {
            "normal": {}
        }
    },
    "ymlExecPropertyBag": {
        "onExecute": [
            "printenv",
            "echo \"hi\""
        ],
        "onComplete": []
    },
    "yml": {
        "name": "api_PipelineSteps",
        "type": "Bash",
        "configuration": {
            "integrations": [
                {
                    "name": "s_bitbucketServer"
                }
            ]
        },
        "execution": {
            "onExecute": [
                "printenv",
                "echo \"hi\""
            ],
            "onComplete": []
        }
    },
    "id": 8,
    "name": "api_PipelineSteps",
    "typeCode": 2007,
    "latestStepId": null,
    "projectId": 1,
    "pipelineSourceId": 6,
    "pipelineId": 5,
    "isDeleted": false,
    "deletedAt": null,
    "isConsistent": true,
    "isStale": false,
    "staleAt": null,
    "isPaused": false,
    "createdBy": "1",
    "updatedBy": "1",
    "createdAt": "2019-12-10T08:42:09.317Z",
    "updatedAt": "2019-12-10T08:42:09.404Z"
}

Response Codes:

200: Success

404: No pipeline is found for the supplied id.