Get a List of Modules

Request Parameter

Parameter

Description

Mandatory

id

Station ID.

This parameter can be repeated any number of times per request to get the lists of anti-virus component modules for multiple stations at a time.

yes

 

Request Example

https://192.168.1.1:9081/api/stations/modules.ds?id=1001

XML and JSON response structure examples are described below.

 

XML Response Structure

<drweb-es-api api_version="4.3.0" timestamp="1580314534" server="192.168.1.1" srv_version="12.00.0.201909260" status="true">
  <stations total="1">
     <station id="1001">
        <modules total="30">
           <module name="drweb32.dll" version="7.00.46.03050" created="1587553046" modified="1587553046" hash="2e6df87878901996d4fa258705ec5524" file_size="4672776" file_owner="BUILTIN\Administrators:win7-pro-x64-ru\None @ WIN7-PRO-X64-RU"/>

           <module name="vrcpp.dll" version="01.415.00" created="1587553026" modified="1587553026" hash="8ff2146889ec54d688bb392542fab7e1" file_size="13252960" file_owner="BUILTIN\Administrators:win7-pro-x64-ru\None @ WIN7-PRO-X64-RU"/>

           <!-- etc. Skipped in documentation -->

           <module name="install-notifier.exe" version="12.5.0.08271" created="1587553023" modified="1587553023" hash="b25765c138c450be5c32f2b7ce2bffae" file_size="3177352" file_owner="BUILTIN\Administrators:win7-pro-x64-ru\None @ WIN7-PRO-X64-RU"/>
        </modules>
     </station>
  </stations>
</drweb-es-api>

 

Description of XML Response Parameters

The <stations /> element contains a list of modules on stations specified in the request.

The <stations /> element attribute:

Attribute

Description

total

Total number of stations in a response

The <station /> element contains information about a specific station.

The <station /> element attribute:

Attribute

Description

id

Station ID

The <modules /> element contains information about all program modules on a station.

The <modules /> element attribute:

Attribute

Description

total

Total number of program modules on a station

The <module /> element contains parameters of a specific module.

The <module /> element attributes:

Attribute

Description

name

File name

version

Module version

created

Module creation date

modified

Module last modified date

hash

Module checksum

file_size

File size (bytes)

file_owner

Name of a file owner

 

JSON Response Structure

{ "head": {
    "status": true,

    "timestamp": 1587562330,

    "api": {
      "version": 40300,
      "versionString": 4.3.0},

    "server": {
      "name": "192.168.1.1",

      "version": "12.00.0.201909260",
      "uuid": "d43ec7c0-846c-11ea-56fb-d8e582d45004"}},

"data": {
    "total": 1,

    "list": [{
      "modules": [
          {"created_time": 1587553046,

          "description": "Dr.Web Virus-Finding Engine",

          "file_name": "drweb32.dll",

          "file_owner": "BUILTIN\\Administrators:win7-pro-x64-ru\\None @ WIN7-PRO-X64-RU",

          "file_size": 4672776,
          "hash": "2e6df87878901996d4fa258705ec5524",

          "modified_time": 1587553046,

          "version": "7.00.46.03050"},

          {"created_time": 1587553026,

          "description": "Vade Retro Antispam Filter",

          "file_name": "vrcpp.dll",

          "file_owner": "BUILTIN\\Administrators:win7-pro-x64-ru\\None @ WIN7-PRO-X64-RU",

          "file_size": 13252960,
          "hash": "8ff2146889ec54d688bb392542fab7e1",

          "modified_time": 1587553026,

          "version": "01.415.00"},

          ...,

          {"created_time": 1587553023,

          "description": "Dr.Web Agent setup",

          "file_name": "install-notifier.exe",

          "file_owner": "BUILTIN\\Administrators:win7-pro-x64-ru\\None @ WIN7-PRO-X64-RU",

          "file_size": 3177352,
          "hash": "b25765c138c450be5c32f2b7ce2bffae",

          "modified_time": 1587553023,

          "version": "12.5.0.08271"}]},
      "station_id": "1001"}]}}

 

Description of JSON Response Parameters

The data block contains a list of modules on stations specified in the request.

The data block elements:

Field name

Description

total

Total number of stations in a response

list

Array with information about all modules for every station

Elements in the list array:

Field name

Description

modules

Array with parameters for every module of a specific station

station_id

Station ID

Elements in the modules array:

Field name

Description

created_time

Module creation date

description

Module description

file_name

File name

file_owner

Name of a file owner

file_size

File size (bytes)

hash

Module checksum

modified_time

Module last modified date

version

Module version