Skip to main content

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

Body

required
    error objectrequired
    errorLines double[]
    fixPath stringnullable
    fixedCode stringnullable
    fixes object[]
  • Array [
  • 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

string representing a fixed resource code

Schema

    string

Loading...