pipelineexecute

Re Execute a pipeline with inputSet pipeline yaml Version 2

Request
Security:
ApiKey (readwrite)
path Parameters
originalExecutionId
required
string
identifier
required
string
query Parameters
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
moduleType
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
useFQNIfError
boolean
Default: false
Responses
200

successful operation

post/pipeline/api/pipeline/execute/rerun/v2/{originalExecutionId}/{identifier}
Request samples
curl -i -X POST \
  'https://app.harness.io/gateway/pipeline/api/pipeline/execute/rerun/v2/:originalExecutionId/:identifier?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&moduleType=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true&useFQNIfError=false' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get retry stages for failed pipeline

Request
Security:
ApiKey (readwrite)
path Parameters
planExecutionId
required
string
query Parameters
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
pipelineIdentifier
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

get/pipeline/api/pipeline/execute/{planExecutionId}/retryStages
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/pipeline/api/pipeline/execute/:planExecutionId/retryStages?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&pipelineIdentifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Execute a pipeline with input set references list

Request
Security:
ApiKey (readwrite)
path Parameters
identifier
required
string
query Parameters
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
moduleType
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
useFQNIfError
boolean
Default: false
Request Body schema:
inputSetReferences
Array of strings
withMergedPipelineYaml
boolean
Responses
200

successful operation

post/pipeline/api/pipeline/execute/{identifier}/inputSetList
Request samples
{
  • "inputSetReferences": [
    ],
  • "withMergedPipelineYaml": true
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {