Description: Gets a single pipeline for the supplied numeric id.
Security: Requires a valid user
Usage: GET api/v1/pipelines/:pipelineId
Produces: application/json
Sample Usage:
GET /api/v1/pipelines/375 { "ymlConfigPropertyBag": null, "ymlPropertyBag": { "name": "gradle_pipeline", "steps": [ { "name": "gradle_build_step", "type": "GradleBuild", "configuration": { "gradleCommand": "clean artifactoryPublish -b build.gradle", "sourceLocation": "gradle-examples/gradle-example-minimal", "configFileLocation": ".", "configFileName": "gradle-art-config", "inputResources": [ { "name": "gradle_repo" } ], "integrations": [ { "name": "art" } ] } }, { "name": "publish_build_info_gradle", "type": "PublishBuildInfo", "configuration": { "inputSteps": [ { "name": "gradle_build_step" } ], "outputResources": [ { "name": "build_info_gradle" } ] } } ] }, "id": 375, "name": "gradle_pipeline", "pipelineSourceBranch": null, "projectId": 1, "pipelineSourceId": 544, "latestRunNumber": 3, "latestRunId": 717, "syntaxVersion": "v1.0", "isDeleted": false, "deletedAt": null, "createdAt": "2020-02-04T13:36:57.172Z", "updatedAt": "2020-02-13T17:57:05.839Z" }
Response Codes:
200: Success
404: No pipeline found for the supplied ID