Title
Create new category
Edit page index title
Edit category
Edit link
File API Endpoint
This API endpoint allows downloading any processed or extracted (e.g. image embedded in a document) binary file. In order to retrieve a file, the SHA256 digest needs to be known. The reporting data as returned by /task will contain a variety of digests. The retrieved binary data is contained within the JSON response as a Base64 string. The decoded string is an inflated gzipped version.
Note: the "mediaType" returned is the media type of the underlying file.
Syntax
GET https://<ip>:<port>/file
Parameters
Name | Type | Required? | Description |
|---|---|---|---|
secret | String | Y | Authentication secret |
sha256 | String | Y | SHA256 digest as found in the response of /submit or extracted resource in the reporting |
Example Response
See the "Technical Datasheet" for a complete list of features: https://docs.opswat.com/filescan/datasheet/technical-datasheet