Get Information about License Keys

Request Parameters

Request does not contain parameters.

 

Request Example

http://192.168.1.1:9080/api/server/keys.ds

XML and JSON response structure examples are described below.

 

XML Response

<drweb-es-api api_version="4.3.0" timestamp="1560856493" server="192.168.1.1" srv_version="12.00.0.201909260" status="true">
  <keys>
     <key id="abc123de4fghij56" user="Dr.Web" created="1544783466" expires="1576492266" activation="1544783466" clients="4294967295"/>
  </keys>
</drweb-es-api>

 

Description of XML Response Parameters

The <keys /> element contains information on all license keys used by this Server.

The <key /> element contains information on a specific license key.

The <key /> element attributes:

Attribute

Description

id

Identifier of a key

user

User identifier

created

Key creation date

expires

License expiration date

activation

License activation date

clients

Number of clients

 

JSON Response

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

    "timestamp": 1560856513,

    "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": {
    "keys": [
        {"activation": 1544783466,

         "clients": 4294967295,

         "created": 1544783466,

         "expires": 1576492266,

         "id": "daa669be6fdbca01",
         "user_name": "Dr.Web"}]}}

 

Description of JSON Response Parameters

The keys block contains information on all license keys used by this Server.

The keys block elements:

Field name

Description

activation

License activation date

clients

Number of clients

created

Key creation date

expires

License expiration date

id

Identifier of a key

user_name

User identifier