All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
insertOpaDecisionLogs | POST /v2/decision-logs/ingress | OPA Decision Logs Ingress |
insertOpaDecisionLogs(requestBody)
OPA Decision Logs Ingress
This ingress endpoint captures OPA decision logs.
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = DecisionLogsIngressApi()
val requestBody : kotlin.collections.List<kotlin.Any> = // kotlin.collections.List<kotlin.Any> |
try {
apiInstance.insertOpaDecisionLogs(requestBody)
} catch (e: ClientException) {
println("4xx response calling DecisionLogsIngressApi#insertOpaDecisionLogs")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling DecisionLogsIngressApi#insertOpaDecisionLogs")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
requestBody | kotlin.collections.List<kotlin.Any> |
null (empty response body)
Configure HTTPBearer: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json