Passa al contenuto principale

HostingAntivirusScanPaginatedListResponse

Successful response with a page of HostingAntivirusScan

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data object[]required

Items of the page: an empty list beyond the last page

  • Array [
  • antivirus_idintegerrequired
    hosting_idinteger | nullnullablerequired

    Id of the main hosting (GET /api/v3/hostings/{hosting_id}): the scan covers its whole space, subdomains included

    status_codestring | nullnullablerequired

    Status of the scan: RUNNING, FAILED, SUCCESS (no infection found) or PROBLEM (infections found)

    status_namestring | nullnullablerequired

    Translated name of the status, for display

    status_colorstring | nullnullablerequired

    Color of the status, in hexadecimal, for display

    antivirus_typestringrequired

    Type of the scan: M manual, A automatic

    scan_idstring | nullnullablerequired

    Id of the scan on the web server; null until the scan completes

    date_starteddate-timenullablerequired

    Start of the scan, as sent by the antivirus; null until the scan completes, and for a failed scan

    date_completeddate-timenullablerequired

    End of the scan, as sent by the antivirus; null until the scan completes, and for a failed scan

    date_timeoutdate-timenullablerequired

    When the scan was marked as failed because it ran too long; null otherwise

    date_createddate-timerequired
    total_filesinteger | nullnullablerequired

    Files scanned; null when zero, and until the scan completes

    total_infectedinteger | nullnullablerequired

    Infected files found; null when zero, and until the scan completes

    total_cleanedinteger | nullnullablerequired

    Infected files cleaned by the antivirus; null when zero, and until the scan completes

  • ]
  • meta objectrequired

    Pagination of the list

    totalintegerrequired

    Number of items in the whole list

    countintegerrequired

    Number of items in this page: 0 beyond the last page

    pagesintegerrequired

    Number of pages of the list

    pageintegerrequired

    Number of this page, starting from 1

    per_pageintegerrequired

    Maximum number of items in a page

    HostingAntivirusScanPaginatedListResponse
    {
    "error": 0,
    "message": "string",
    "data": [
    {
    "antivirus_id": 0,
    "hosting_id": 0,
    "status_code": "string",
    "status_name": "string",
    "status_color": "string",
    "antivirus_type": "string",
    "scan_id": "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",
    "date_created": "2024-07-29T15:51:28.071Z",
    "total_files": 0,
    "total_infected": 0,
    "total_cleaned": 0
    }
    ],
    "meta": {
    "total": 0,
    "count": 0,
    "pages": 0,
    "page": 0,
    "per_page": 0
    }
    }