The content of a file the malware scan cleared
GET /api/hr/v1/recruiting/applications/{id}/files/{fileId}/content
Module: HR · operationId: getApplicationFileContent · Tag: Recruiting · Auth: access token (Authorization: Bearer <accessToken>)
409 scan_pending while the scan runs, 422 infected or 422 scan_failed (also when nothing scanned it).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes | |
fileId |
path | string (uuid) | yes |
Responses
- 200 The file (
application/octet-stream) - 404 Error (
application/json) - 409 Error (
application/json) - 422 Error (
application/json)
Example request
curl -X GET 'https://api.mbcom.cloud/api/hr/v1/recruiting/applications/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/files/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/content' \
-H "Authorization: Bearer $ACCESS_TOKEN"