HostingAntivirusNullableResponse
Successful response with one HostingAntivirus, or null
Always 0 in a successful response
0Always null in a successful response
data objectrequired
Resource returned by the operation, or null: the description of the response says when
- HostingAntivirus
- null
Id of the scan (GET /api/v3/hostings/{hosting_id}/antivirus/scans/{antivirus_id})
Id of the main hosting (GET /api/v3/hostings/{hosting_id}): the scan covers its whole space, subdomains included
Status of the scan: RUNNING, FAILED, SUCCESS (no infection found) or PROBLEM (infections found)
Translated name of the status, for display
Color of the status, in hexadecimal, for display
Type of the scan: M manual, A automatic
Start of the scan, as sent by the antivirus; null until the scan completes, and for a failed scan
End of the scan, as sent by the antivirus; null until the scan completes, and for a failed scan
When the scan was marked as failed because it ran too long; null otherwise
Files scanned; null when zero, and until the scan completes
Infected files found; null when zero, and until the scan completes
Infected files cleaned by the antivirus; null when zero, and until the scan completes
Always null: only the paginated lists have a meta
null{
"error": 0,
"message": "string",
"data": {
"antivirus_id": 0,
"hosting_id": 0,
"status_code": "string",
"status_name": "string",
"status_color": "string",
"antivirus_type": "string",
"date_started": "2024-07-29T15:51:28.071Z",
"date_completed": "2024-07-29T15:51:28.071Z",
"date_timeout": "2024-07-29T15:51:28.071Z",
"total_files": 0,
"total_infected": 0,
"total_cleaned": 0
}
}