Skip to main content

Get File Metadata by UUID

GET 

/code/api/v1/errors/files/:uuid

deprecated

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

    uuid stringrequired

Query Parameters

    include string

Responses

Get errors in file

Schema
    data objectrequired
    commitIdstringrequired
    creationDatestringrequired
    errorsCountdouble
    idstringrequired
    namestringrequired
    pathstringrequired
    prIdstringrequired
    repositoryIdstringrequired
    typeFileTypeEnum (string)required

    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]

    updatedDatestringrequired

Authorization: authorization

name: authorizationtype: apiKeyin: headerx-amazon-apigateway-authorizer: {
  "authorizerResultTtlInSeconds": 0,
  "authorizerUri": "arn:aws:apigateway:{Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:{Region}:{AccountId}:function:bc-authorization-v2-authorizer-{UniqueTag}{Alias}/invocations",
  "identitySource": "method.request.header.authorization",
  "type": "request"
}x-amazon-apigateway-authtype: custom
curl -L 'https://pan.dev/code/api/v1/errors/files/:uuid' \
-H 'Accept: application/json' \
-H 'authorization: <authorization>'
Request Collapse all
Auth
Parameters
— pathrequired
— query