Get File Metadata by UUID
GET/code/api/v1/errors/files/:uuid
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: [tf
, json
, yml
, yaml
, template
, .checkov.baseline
, hcl
, Dockerfile
, package.json
, package-lock.json
, bower.json
, pom.xml
, build.gradle
, build.gradle.kts
, gradle.properties
, gradle-wrapper.properties
, go.sum
, go.mod
, requirements.txt
, 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": "tf",
"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