Get File Metadata by UUID
GET/code/api/v1/errors/files/:uuid
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Get the file metadata by UUID based on the customer's repository.
Request
Path Parameters
Query Parameters
Responses
- 200
- 422
- 500
Get errors in file
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
data objectrequired
Possible values: [build.gradle
, gradle.properties
, build.gradle.kts
, pom.xml
, requirements.txt
, package-lock.json
, package.json
, bower.json
, go.sum
, go.mod
, tf
, json
, yml
, yaml
, template
, .checkov.baseline
, hcl
, Dockerfile
, gradle-wrapper.properties
, METADATA
, bicep
, Pipfile.lock
, Pipfile
, yarn.lock
, Gemfile
, Gemfile.lock
, gemspec
, env
, settings.py
, main.py
, application.py
, config.py
, app.js
, config.js
, dev.js
, db.properties
, application.properties
, private.pem
, privatekey.pem
, index.php
, config.php
, config.xml
, strings.xml
, app.module.ts
, environment.ts
, tpl
, tfvars
, unknown
, csproj
, packages.config
, Directory.Packages.props
, paket.dependencies
, paket.references
, paket.lock
, sln
, config
, composer.json
, composer.lock
]
{
"data": {
"commitId": "string",
"creationDate": "string",
"errorsCount": 0,
"id": "string",
"name": "string",
"path": "string",
"prId": "string",
"repositoryId": "string",
"type": "build.gradle",
"updatedDate": "string"
}
}
{
"data": {
"commitId": null,
"creationDate": "2022-02-21T09:26:36.431Z",
"errorsCount": "46",
"id": "1ff27bcd-9044-42ab-a773-ba6707cb35a9",
"name": "rds.tf",
"path": "terraform/aws/rds.tf",
"prId": null,
"type": "tf",
"updatedDate": "2022-02-21T09:26:36.431Z"
}
}
Request arguments validation error
failed to fetch file by UUID