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

NameTypeRequired?Description
secretStringYAuthentication secret
sha256StringYSHA256 digest as found in the response of /submit or extracted resource in the reporting

Example Response

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard