5.2 File processing
These APIs allow your application to process (scan) individual file(s) from one of your storage units. The suggested application logic is as follows:
-
Indicate one or more files that you wish to process by calling one of the /api/file/process/<storage> endpoints.
-
You will get back a file ID for further querying.
-
Because this operation can take a long time, poll for results by calling /api/file/<id> where the <id> is the ID received at step 2.
-
When the progress information in the result has reached 100, the file was successfully processed. You can inspect the response for detailed analysis information such as multi-scanning results.
The following pages contain detailed information about the application logic mentioned above: