Viewing the SHA-1 Value for Project Files
Users can use the following Code Insight APIs to view the SHA-1 digest for a file:
-
Get details of a file by ID (
files/{fileId})—Retrieves attributes for the specified file. -
Fetch all scanned files for a project (
/projects/{projectId}/allscannedfiles)—Retrieves attributes for every file scanned in the specified project.
For more information about Code Insight REST interface, see the Rest API Guide Swagger documentation available from the Help menu.
note
Currently, SHA-1 digests for files are not shown in the Code Insight Web user interface.