Downloading a Processed File
GET https://<votiro_appliance>/disarmer/api/disarmer/v4/
download/<requestId>
Downloads a file with a Done or Blocked status.
The download request for a blocked file returns a PDF detailing the reason the file was blocked during the positive selection process.
The file name is returned in all response headers.
Request Data
Request URL Parameters
Request parameters are case sensitive.
Parameter | Description | Type | Required/Optional |
---|---|---|---|
requestId | Upload request ID | string | Required |
Request Header Parameters
Request parameters are case sensitive.
Parameter | Description | Type | Required/Optional |
---|---|---|---|
Authorization | Bearer <token> is used for authentication | string | Required. |
Request Example
GET https://api.votiro.com/disarmer/api/disarmer/v4/download/
c94f00a4-7a36-4152-977d-dda71cccfb95
Authorization: "Bearer <token>"
Response Data
Response Body (Content Disposition)
Parameter | Description | Type |
---|---|---|
attachment |
| string |
filename | The ASCII encoded file name. If the file was processed successfully, this is the file name. If the file was blocked, then the suffix _blocked.pdf is added to the file name. | string |
filename* | The UTF-8 URL encoded file name. If the file was processed successfully, this is the file name. If the file was blocked, then the suffix _blocked.pdf is added to the file name. | string |
Response Example
HTTP/1.1 200 OK Content-Type: application/octet-stream Server: Microsoft-HTTPAPI/2.0
Content-Disposition: attachment;
filename=test.pdf;
filename*=UTF-8''test.pdf Date: Fri. 13 Nov 2016 13:21:59
[Actual File Binary Content]
Comments
0 comments
Please sign in to leave a comment.