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
- 200
- 422
- 500
Get errors in file
- application/json
- Schema
- Example (auto)
- Example 1
Schema
data objectrequired
{
"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
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
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://pan.dev/code/api/v1/errors/files/:uuid' \
-H 'Accept: application/json' \
-H 'authorization: <authorization>'