5.2.5 Process one or more files from Dell Isilon (SMB) storage units
Title |
Process one or more files from Dell Isilon (SMB) storage units |
URL Path |
/api/file/process/smb |
Method |
POST |
Summary
Download individual files from a storage for processing with MetaDefender Core technologies. For example, a third-party application detects newly uploaded files to an Dell Isilon storage and sends them to MetaDefender for Secure Storage.
HTTP Headers
Authorization |
required |
Bearer <JWT> |
Sample HTTP body
{
"Items"
: [{
"FilePath"
:
"test/picture.jpeg"
}, {
"FilePath"
:
"document.txt"
}],
"StorageName"
:
"My Storage"
}
Description of request
StorageName |
The name of the storage unit containing the files |
string value |
Items |
Array of objects that contain the FilePath of the file |
array of objects |
Request errors
400 Bad Request |
Invalid HTTP request |
401 Unauthorized |
Unauthorized HTTP request |
404 Not Found |
The requested resource could not be found |
500 Internal Server Error |
Server is temporarily unavailable |
Response
Example of a successful request:
{
"FileIds"
: [
"5d7a33198b0a56f2b9c3dbb3"
,
"5d7a33198b0a56f2b9c3dbb4"
],
"ResponseKey"
:
"STARTED_PROCESSING_FILE"
,
"ResponseMessage"
:
"Started processing file"
}
Description of response
FileIds |
Array of unique file identifiers |
A list of generated IDs for the requested files that can be used to query results at a later time |
ResponseKey |
Response message key |
A message key that can be used for internalization |
ResponseMessage |
Response message |
A message describing the result of the request |