Get Repository Status Information

Request parameters

Requests do not contain parameters.

 

Request Example

https://192.168.1.1:9081/api/server/repository-products.ds

XML and JSON response structure examples are described below.

 

XML Response Structure

<drweb-es-api api_version="4.3.0" timestamp="1587080888" server="192.168.1.1" srv_version="12.00.0.201909260" status="true">
  <repositories total="15">

     <repository code="05-drwmeta" modified_time="1586736000" revision="13020200413000000" size="279704" files="14" last_update_endtime="1587129960" last_update_src="Launched by Task Scheduler" last_update_rc="Requested product not found on GUS servers" last_update_rc_code="106">Dr.Web Meta information</repository>

     <repository code="10-drwbases" modified_time="1587126959" revision="13020200417123559" size="205489514" files="237" last_update_endtime="1587130889" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web Virus Bases</repository>

     <repository code="10-drwspamdb" modified_time="1587112494" revision="13020200417083454" size="12063766" files="17" last_update_endtime="1587130891" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">AntiSpam Bases</repository>

     <repository code="10-drwupgrade" modified_time="1586964560" revision="13020200415152920" size="44354429" files="17" last_update_endtime="1587130898" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web Updater</repository>

     <repository code="10-drwgatedb" modified_time="1587129057" revision="13020200417131057" size="139102392" files="123" last_update_endtime="1587130890" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">SpIDer Gate Bases</repository>

     <repository code="15-drwappcntrl" modified_time="1020211200" revision="10020020501000000" size="0" files="5" last_update_endtime="" last_update_src="" last_update_rc="" last_update_rc_code="">Application Control Bases</repository>

     <repository code="20-drwandroid11" modified_time="1587130094" revision="13020200417132814" size="7613845" files="14" last_update_endtime="1587130904" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web Agent for Android</repository>

     <repository code="20-drwunix" modified_time="1020211200" revision="10020020501000000" size="0" files="0" last_update_endtime="1587131760" last_update_src="Launched by Task Scheduler" last_update_rc="Update disabled" last_update_rc_code="4">Dr.Web Agent for UNIX</repository>

     <repository code="20-drwagent" modified_time="1586964540" revision="13020200415152900" size="117264117" files="416" last_update_endtime="1587130903" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web Agent for Windows</repository>

     <repository code="20-drwcs" modified_time="1586736000" revision="13020200413000000" size="290535878" files="613" last_update_endtime="1587130906" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web Server</repository>

     <repository code="25-drwcsdoc" modified_time="1586736000" revision="13020200413000000" size="140980717" files="20" last_update_endtime="1587130915" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web documentation</repository>

     <repository code="40-drwproxy" modified_time="1020211200" revision="10020020501000000" size="0" files="0" last_update_endtime="1587131760" last_update_src="Launched by Task Scheduler" last_update_rc="Update disabled" last_update_rc_code="4">Dr.Web Proxy Server</repository>

     <repository code="70-drwutils" modified_time="1586736000" revision="13020200413000000" size="160780634" files="42" last_update_endtime="1587131069" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web administrative utilities</repository>

     <repository code="70-drwextra" modified_time="1586736000" revision="13020200413000000" size="2252817195" files="19" last_update_endtime="1587131052" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Dr.Web Enterprise products</repository>

     <repository code="80-drwnews" modified_time="1587092725" revision="13020200417030525" size="21958741" files="1622" last_update_endtime="1587131081" last_update_src="Launched from the Control Center" last_update_rc="Update completed successfully" last_update_rc_code="2">Doctor Web News</repository>
  </repositories>
</drweb-es-api>

 

Description of XML Response Parameters

The <repositories /> element contains information on all repository products.

The <repositories /> element attribute:

Attribute

Description

total

Total number of products in the repository

The <repository /> element contains information about a specific product in the repository.

The <repository /> element attributes:

Attribute

Description

code

Repository code

modified_time

The date of last revision update

revision

Number of the current revision

size

Revision size in bytes

files

Files number in revision

last_update_endtime

Last update completion time

last_update_src

Update initiator

last_update_src

Update result (see Appendix E. Returned Update Codes)

last_update_src

Update result code (see Appendix E. Returned Update Codes)

The <repository /> element value is a product name.

 

JSON Response Structure

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

    "timestamp": 1587080871,

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

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

      "version": "12.00.0.201909260",
      "uuid": "b35d999d-9212-481d-af8c-8551c4113383"}},

"data": {
    "repositories": {
      "list": {
          "05-drwmeta": {
            "files": 14,

            "last_update_endtime": 1587129960,

            "last_update_rc": "Requested product not found on GUS servers",

            "last_update_rc_code": "106",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1586736000,

            "name": "Dr.Web Meta information",

            "revision": "13020200416000000",

            "size": 279704,
            "state": "normal"},

          "10-drwbases": {
            "files": 237,

            "last_update_endtime": 1587137164,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1587135311,

            "name": "Dr.Web Virus Bases",

            "revision": "13020200417145511",

            "size": 205506089,
            "state": "normal"},

          "10-drwgatedb": {
            "files": 123,

            "last_update_endtime": 1587137166,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1587136264,

            "name": "SpIDer Gate Bases",

            "revision": "13020200417151104",

            "size": 139115732,
            "state": "normal"},

          "10-drwspamdb": {
            "files": 17,

            "last_update_endtime": 1587137166,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched from the Control Center",

            "modified_time": 1587112494,

            "name": "AntiSpam Bases",

            "revision": "13020200417083454",

            "size": 12063766,
            "state": "normal"},

          "10-drwupgrade": {
            "files": 17,

            "last_update_endtime": 1587130898,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched from the Control Center",

            "modified_time": 1586964560,

            "name": "Dr.Web Updater",

            "revision": "13020200415152920",

            "size": 44354429,
            "state": "normal"},

          "15-drwappcntrl": {
            "files": 5,

            "modified_time": 1020211200,

            "name": "Application Control Bases",

            "revision": "10020020501000000",

            "size": 0,
            "state": "disabled"},

          "20-drwagent": {
            "files": 416,

            "last_update_endtime": 1587130903,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched from the Control Center",

            "modified_time": 1586964540,

            "name": "Dr.Web Agent for Windows",

            "revision": "13020200415152900",

            "size": 117264117,
            "state": "normal"},

          "20-drwandroid11": {
            "files": 14,

            "last_update_endtime": 1587138964,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1587137872,

            "name": "Dr.Web Agent for Android",

            "revision": "13020200417153752",

            "size": 7614135,
            "state": "normal"},

          "20-drwcs": {
            "files": 613,

            "last_update_endtime": 1587138974,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1586995200,

            "name": "Dr.Web Server",

            "revision": "13020200416000000",

            "size": 290672475,
            "state": "normal"},

          "20-drwunix": {
            "files": 0,

            "last_update_endtime": 1587138974,

            "last_update_rc": "Update disabled",

            "last_update_rc_code": "4",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1020211200,

            "name": "Dr.Web Agent for UNIX",

            "revision": "10020020501000000",

            "size": 0,
            "state": "normal"},

          "25-drwcsdoc": {
            "files": 20,

            "last_update_endtime": 1587138980,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1586995200,

            "name": "Dr.Web documentation",

            "revision": "13020200416000000",

            "size": 128786940,
            "state": "normal"},

          "40-drwproxy": {
            "files": 0,

            "last_update_endtime": 1587138980,

            "last_update_rc": "Update disabled",

            "last_update_rc_code": "4",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1020211200,

            "name": "Dr.Web Proxy Server",

            "revision": "10020020501000000",

            "size": 0,
            "state": "normal"},

          "70-drwextra": {
            "files": 19,

            "last_update_endtime": 1587135396,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1586995200,

            "name": "Dr.Web Enterprise products",

            "revision": "13020200416000000",

            "size": 2252852293,
            "state": "normal"},

          "70-drwutils": {
            "files": 42,

            "last_update_endtime": 1587139007,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1586995200,

            "name": "Dr.Web administrative utilities",

            "revision": "13020200416000000",

            "size": 160788239,
          "state": "normal"},

          "80-drwnews": {
            "files": 1622,

            "last_update_endtime": 1587131081,

            "last_update_rc": "Update completed successfully",

            "last_update_rc_code": "2",

            "last_update_src": "Launched by Task Scheduler",

            "modified_time": 1587092725,

            "name": "Doctor Web News",

            "revision": "13020200417030525",

            "size": 21958741,
            "state": "normal"},
      "total": 15}}}

 

Description of JSON Response Parameters

The repositories block contains information on all products in the repository.

The repositories block element:

Field name

Description

total

Total number of products in the repository

list

Parameters block for each product

The list block consists of several nested blocks.

Every nested block contains parameters of specific product. Every nested block name corresponds to product code in repository.

Nested block elements in the list block:

Field name

Description

files

Files number in revision

last_update_endtime

Last update completion time

last_update_src

Update initiator

last_update_src

Update result (see Appendix E. Returned Update Codes)

last_update_src

Update result code (see Appendix E. Returned Update Codes)

modified_time

The date of last revision update

name

Repository name

revision

Number of the current revision

size

Revision size in bytes

state

Product update status.

normal—the product is updated successfully,

frozen—the product update is frozen,

disabled—the product update is disabled.