Get the metadata of a single file.
Access control rules
- The requester must have access to the repository.
Documentation Index
Fetch the complete documentation index at: https://docs.cantina.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Response
Metadata of file
Metadata about a file in a repository.
Path to the file, relative to the root of the repository, e.g.
directory/README.md.
True if the file is a symbolic link.
True if the file is considered in scope for reporting finding.
File permissions, commonly know as "file mode".
Size of the file in bytes.
Timestamp when the file was last modified.
Number of findings related to this file.
Note that the amount is limited to the finding the user has access to. For example for reviewers this means only the finding of their team are counted.
If this is zero highest_severity will be null.
Detected programming language used in the file. Null if the the language couldn't be determined.
Highest severity in the findings related to this file.
Like related_findings this is based on the findings the user has
access to, which means it will differ depending on what kind of access
the user has.
This will be null if the file has no findings related in it.
critical, high, medium, low, informational, gas_optimization