Returns the malware-scan and file-type status of an attachment.
Request
GET https://www.activityinfo.org/resources/form/{formId}/record/{recordId}/field/{fieldId}/blob/{blobId}/status
Successful response
application/json
| object | |||
| status | string | Values:
|
required |
| fileTypeStatus | string | Values:
|
required |
| detectedFileType | string | Values:
|
optional |
| scanTime | integer | optional | |
| signature | string | optional | |
Error responses
| Status Code | Error Code | Description |
|---|---|---|
| 401 | AUTHENTICATION_ |
The request must be authenticated |
| 403 | FORBIDDEN | Permission denied |
| 404 | NOT_ |
The resource could not be found |
| 410 | DELETED | The resource has been deleted |
Example
curl -u anything:YOUR_API_TOKEN \
https://www.activityinfo.org/resources/form/ck8pu9ha07/record/ck34ujs6v8/field/carknkldta8h4o3/blob/ccwnp64ldta8ds82/status