This recursively refresh and update template inputs in pipeline
Bad Request
Internal Server Error
This recursively refresh and update template inputs in pipeline
curl -i -X POST \ 'https://app.harness.io/pipeline/api/refresh-template/refresh-all?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&identifier=string&branch=string&repoIdentifier=string&rootFolder=string&filePath=string&commitMsg=string&lastObjectId=string&resolvedConflictCommitId=string&baseBranch=string&connectorRef=string&lastCommitId=string&isNewBranch=false&isHarnessCodeRepo=true' \ -H 'Load-From-Cache: false' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Validates the template inputs in a pipeline's YAML specification. If the template inputs are invalid, the operation returns an error summary.
Bad Request
Internal Server Error
Returns a validation result for template inputs present in a pipeline's YAML specification.
curl -i -X GET \ 'https://app.harness.io/pipeline/api/refresh-template/validate-template-inputs?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&identifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \ -H 'Load-From-Cache: false' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}