Request Parameters
Parameter
|
Description
|
Mandatory
|
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=30cc7eb2-d11d-b211-b695-b80815e63511
Response Documents Structure
•XML response. •JSON response. XML Response Structure
<drweb-avdesk-api api_version="4.1.3" timestamp="1404811987" server="192.168.1.1" srv_version="10.01.0.201707130" status="true">
<stations total="1">
<station id="60921659-d21d-b211-a030-b002d870231c">
<modules total="21">
<module name="ccsdk.dll" version="9.1.0.201405130" created="1401296103" modified="1401296103" hash="79095ae08aa737c7d1d1b7bf20a68f73" file_size="5360408" file_owner="BUILTIN\Admins:NT AUTHORITY\system"/>
<module name="drwcom64.dll" version="7.00.0.201202120" created="1404838440" modified="1404838440" hash="ac7684cc2f0d99689660826c1ef9e203" file_size="510336" file_owner="BUILTIN\Admins:NT AUTHORITY\system"/>
<module name="drweb32.dll" version="7.00.9.04080" created="1401296118" modified="1401296118" hash="20cf807b8508a631212e191ed5c9eae8" file_size="4584240" file_owner="BUILTIN\Admins:NT AUTHORITY\system"/>
<!-- etc. Skipped in documentation -->
<module name="win-es-agent-setup.exe" version="10.0.0.07030" created="1404836257" modified="1404836257" hash="c95ca91e9c9436590e39aaa86446e30f" file_size="9205664" file_owner="BUILTIN\Admins:tests-pc\None"/>
</modules>
</station></stations>
</drweb-avdesk-api>
|
Description of XML Response Parameters
•The <stations /> element contains information on all requested stations. The <stations /> element attributes:
Attribute
|
Description
|
total
|
Total number of stations information on which the replay contains
|
▫The <station /> element contains information on a specific station. The <station /> element attributes:
Attribute
|
Description
|
id
|
Station identifier
|
•The <modules /> element contains information about all program modules installed on a specific station. The <modules /> element attributes:
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
|
Module name
|
version
|
Module version
|
created
|
Module creation date in the UNIX timestamp format
|
modified
|
Module last modification date in the UNIX timestamp format
|
hash
|
Module checksum
|
file_size
|
File size in bytes
|
file_name
|
File name
|
file_owner
|
Name of a file owner
|
JSON Response Structure
{ "head": {
"status": true,
"timestamp":1410515576,
"api":{
"version":40103
},
"server":{
"name":"192.168.1.1",
"version":1000201707130,
"uuid": "70c5f522-aaab-4c93-a180-a442a0da9c2a"
}
},
"data":{
"total": 1,
"list":
[{
"modules":
[{
"hash":"66cfe69aac361efc12fab0e43b6378fe",
"created_time":1410541618,
"version":"9.1.0.201405130",
"modified_time":1410541618,
"file_size":3544856,
"description":"Dr.Web Thunderstorm Cloud Client SDK",
"file_owner":"BUILTIN\\Admins:WIN-0HGM6GLIR4G\\None",
"file_name":"ccsdk.dll"
},{
"hash":"211449b13582938bfc111b6ffee8e33c",
"created_time":1410541632,
"version":"7.00.0.201202120",
"modified_time":1410541632,
"file_size":477056,
"description":"Dr.Web Enterprise Suite COM Components x86 version",
"file_owner":"BUILTIN\\Admins:WIN-0HGM6GLIR4G\\None",
"file_name":"drwcom32.dll"
}]
},
"station_id":"if"
}]
}
}
|
Description of JSON Response Parameters
The data block contains information on all stations.
The data block elements:
Field name
|
Description
|
total
|
Total number of stations information on which the replay contains
|
•The list array contains information on specific stations. Elements in the list array block:
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 block:
Field name
|
Description
|
name
|
Module name
|
version
|
Module version
|
created
|
Module creation date in the UNIX timestamp format
|
modified
|
Module last modification date in the UNIX timestamp format
|
hash
|
Module checksum
|
file_size
|
File size in bytes
|
file_name
|
File name
|
file_owner
|
Name of a file owner
|
|