Pipeline Execution API
Example response
{- "inputs_yaml": "string"
}
{- "execution_details": {
- "execution_id": "string",
- "status": "string"
}
}
Returns list of Stage identifiers with their names and stage dependencies
Example response
curl -i -X GET \ 'https://app.harness.io/v1/orgs/{org}/projects/{project}/pipelines/{pipeline}/execute/stages-execution-list?branch_name=string&connector_ref=string&repo_name=string' \ -H 'Harness-Account: string' \ -H 'Load-From-Cache: false' \ -H 'x-api-key: YOUR_API_KEY_HERE'
Example response
{- "inputs_yaml": "string",
- "stage_identifiers": [
- "string"
], - "expression_values": {
- "property1": "string",
- "property2": "string"
}
}
{- "execution_details": {
- "execution_id": "string",
- "status": "string"
}
}
Execute given Stages of a Pipeline with Input Yaml
Example response
{- "inputs_yaml": "string",
- "stage_identifiers": [
- "string"
], - "expression_values": {
- "property1": "string",
- "property2": "string"
}
}
{- "execution_details": {
- "execution_id": "string",
- "status": "string"
}
}