Get Modules List

Request Parameters

Parameter

Description

Obligatory

id

Station identifier.

This parameter can be defined in the request several times to get the lists of antivirus components software modules for several stations at a time.

yes

 

Request Example

http://192.168.1.1:9080/api/stations/modules.ds?id=88e984a0-6031-11e9-5b7e-f4ffebd769bf

XML and JSON response structure examples are described below.

 

XML Response

<drweb-es-api api_version="4.3.0" timestamp="1561551972" server="192.168.1.1" srv_version="12.00.0.201909260" status="true">
  <stations total="1">
     <station id="88e984a0-6031-11e9-5b7e-f4ffebd769bf">
        <modules total="32">
           <module name="drweb32.dll" version="7.00.34.11020" created="1555412121" modified="1555412121" hash="6fbd6151c4a67f7439130282efb7e981" file_size="4572424" file_owner="BUILTIN\Administrators:DRWEB\Domain Users @ MT"/>

           <module name="drwupsrv.exe" version="12.0.9.04050" created="1555412105" modified="1555412105" hash="0a8ebb1e750fb47c3949ad2c944a3cc1" file_size="7768968" file_owner="BUILTIN\Administrators:DRWEB\Domain Users @ MT"/>

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

           <module name="win-es-agent-setup.exe" version="12.0.0.05300" created="1555412107" modified="1559729074" hash="b56aff4c5f64b45122cfda03fb732076" file_size="19241504" file_owner="BUILTIN\Administrators:DRWEB\Domain Users @ MT"/>
        </modules>
     </station>
  </stations>
</drweb-es-api>

 

Description of XML Response Parameters

The <stations /> element contains information on all requested stations.

The <stations /> element attribute:

Attribute

Description

total

Total number of stations information on which is displayed in response

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

The <station /> element attribute:

Attribute

Description

id

Station identifier

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

The <modules /> element attribute:

Attribute

Description

total

Total number of modules installed on this station

The <module /> element contains information about a specific program module.

The <module /> element attributes:

Attribute

Description

name

File name

version

Module version

created

Module creation date in the UNIX timestamp format

modified

Module last modified date in the UNIX timestamp format

hash

Module checksum

file_size

File size (bytes)

file_owner

Name of a file owner

 

JSON Response

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

    "timestamp": 1561552009,

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

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

      "version": "12.00.0.201909260",
      "uuid": "76b05bc0-8691-11e9-63e5-7036cecd07fa"}},

"data": {
    "total": 1,

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

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

          "file_name": "drweb32.dll",

          "file_owner": "BUILTIN\\Administrators:DRWEB\\Domain Users @ MT",

          "file_size": 4572424,
          "hash": "6fbd6151c4a67f7439130282efb7e981",

          "modified_time": 1555412121,

          "version": "7.00.34.11020"},

          {"created_time": 1555412105,

          "description": "Dr.Web Update",

          "file_name": "drwupsrv.exe",

          "file_owner": "BUILTIN\\Administrators:DRWEB\\Domain Users @ MT",

          "file_size": 7768968,
          "hash": "0a8ebb1e750fb47c3949ad2c944a3cc1",

          "modified_time": 1555412105,

          "version": "12.0.9.04050"},

          ...

          {"created_time": 1555412107,

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

          "file_name": "win-es-agent-setup.exe",

          "file_owner": "BUILTIN\\Administrators:DRWEB\\Domain Users @ MT",

          "file_size": 19241504,
          "hash": "b56aff4c5f64b45122cfda03fb732076",

          "modified_time": 1559729074,

          "version": "12.0.0.05300"}]},
      "station_id": "88e984a0-6031-11e9-5b7e-f4ffebd769bf"}]}}

 

Description of JSON Response Parameters

The data block contains information on all requested stations.

The data block elements:

Field name

Description

total

Total number of stations information on which is displayed in response

The list array contains information on all requested stations.

Elements in the list array:

Field name

Description

station_id

Station identifier

The modules block contains information about all program modules installed on a specific station.

Elements in the modules array:

Field name

Description

created_time

Module creation date in the UNIX timestamp format

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 in the UNIX timestamp format

version

Module version