Get Fixed Resource Code using the selectedFix
POST/code/api/v1/errors/getFixedCode
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns a remediated resource code
Request
- application/json
Body
required
- Array [
- ]
error objectrequired
errorLines double[]
fixPath stringnullable
fixedCode stringnullable
fixes object[]
code string
fixedCode string
id stringrequired
inspectedKey stringrequired
percent doublerequired
recommenderType stringrequired
times doublerequired
frameworkType stringrequired
fullId stringrequired
inspectedKey stringnullable
metadataChecksMetadataPath stringrequired
metadataLines double[]required
owner stringrequired
repoName stringrequired
resourceCode stringnullable
resourceId stringrequired
runtimeId stringnullable
runtimeSourceId stringnullable
s3FilePath stringrequired
selectedFix stringnullable
violationId stringrequired
Responses
- 200
- 422
- 500
string representing a fixed resource code
- application/json
- Schema
- Example 1
Schema
string
Request arguments validation error
Could not get fixed code for customer $CUSTOMER_NAME with error $ERROR
Loading...