Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Json-RPC field Misspellings (Misspellings in JSON-RPC API)
  •  
r1sync

Messages: 66
Karma: 1
Send a private message to this user
We are building fancy API stuff and we have noticed spelling errors in the Statistics.get API field names. There may be other locations with fields being misspelled however these are the only ones we have seen so far. I have also just noticed that these are also documented in the IDL in their misspelled form.

array (
  1 =>
  array (
    'Stats' =>
    array (
      'jsonrpc' => '2.0',
      'id' => 1,
      'result' =>
      array (
        'statistics' =>
        array (
          'start' => 1304639042,
          'uptime' =>
          array (
            'days' => 0,
            'hours' => 0,
            'minutes' => 6,
          ),
          'storage' =>
          array (
            'total' =>
            array (
              'value' => 20158,
              'units' => 'MegaBytes',
            ),
            'occupied' =>
            array (
              'value' => 2568,
              'units' => 'MegaBytes',
            ),
            'percentage' => '12',
          ),
          'received' =>
          array (
            'count' => '0',
            'volume' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'recipients' => '0',
          ),
          'storedInQueue' =>
          array (
            'count' => '0',
            'volume' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'recipients' => '0',
          ),
          'transmitted' =>
          array (
            'count' => '0',
            'volume' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'recipients' => '0',
          ),
          'deliveredToLocals' =>
          array (
            'count' => '0',
            'volume' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'recipients' => '0',
          ),
          'mx' =>
          array (
            'count' => '0',
            'volume' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'recipients' => '0',
          ),
          'relay' =>
          array (
            'count' => '0',
            'volume' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'recipients' => '0',
          ),
          'failures' =>
          array (
            'transient' => '0',
            'permanent' => '0',
          ),
          'deliveryStatus' =>
          array (
            'success' => '0',
            'delay' => '0',
            'failure' => '0',
          ),
          'antivirus' =>
          array (
            'checkedAttachments' => '0',
            'foundViruses' => '0',
            'prohibitedTypes' => '0',
          ),
          'spam' =>
          array (
            'checked' => '0',
            'tagged' => '0',
            'rejected' => '0',
            'markedAsSpam' => '0',
            'markedAsNotSpam' => '0',
          ),
          'other' =>
          array (
            'largest' =>
            array (
              'value' => 0,
              'units' => 'Bytes',
            ),
            'loops' => '0',
          ),
          'smptServer' =>
          array (
            'totalIncomingConnections' => '244',
            'lostConnections' => '238',
            'rejectedByBlacklist' => '0',
            'authenticationAttempts' => '203',
            'authenticationFailures' => '198',
            'rejectedRelays' => '27',
            'acceptedMessages' => '0',
          ),
          'smptClient' =>
          array (
            'conectionAttempts' => '0',
            'dnsFailures' => '0',
            'connectionFailures' => '0',
            'connectionLosses' => '0',
          ),
          'pop3Server' =>
          array (
            'totalIncomingConnections' => '2325',
            'authenticationFailures' => '2359',
            'sentMessages' => '0',
          ),
          'pop3Client' =>
          array (
            'conectionAttempts' => '0',
            'connectionFailures' => '0',
            'authenticationFailures' => '0',
            'totalDownloads' => '0',
          ),
          'imapServer' =>
          array (
            'totalIncomingConnections' => '0',
            'authenticationFailures' => '0',
          ),
          'ldapServer' =>
          array (
            'totalIncomingConnections' => '0',
            'authenticationFailures' => '0',
            'totalSearchRequests' => '0',
          ),
          'webServer' =>
          array (
            'totalIncomingConnections' => '28648',
          ),
          'dnsResolver' =>
          array (
            'hostnameQueries' => '0',
            'cachedHostnameQueries' => '0',
            'mxQueries' => '0',
            'cachedMxQueries' => '0',
          ),
          'antibombing' =>
          array (
            'rejectedConnections' => '0',
            'rejectedMessages' => '0',
            'rejectedHarvestAttacks' => '0',
          ),
        ),
      ),
    ),
  ),
)

R1sync Kerio Hosting

www.r1sync.com
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
Thank you for reporting these typos.
Previous Topic: kerio user admin interface
Next Topic: iPhone iOS 4 alternate FROM sender
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sat Sep 23 18:28:55 CEST 2017

Total time taken to generate the page: 0.00413 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.