opa

get pipeline opa context

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
pipelineIdentifier
required
string
opaAction
required
string
Responses
200

successful operation

post/pipeline/api/opa/getPipelineOpaContext
Request samples
curl -i -X POST \
  'https://app.harness.io/gateway/pipeline/api/opa/getPipelineOpaContext?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&pipelineIdentifier=string&opaAction=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

get pipeline opa context from evaluation

Request
Security:
ApiKey (readwrite)
path Parameters
planExecutionId
required
string
query Parameters
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
opaAction
required
string
Responses
200

successful operation

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