'.. http:get:: /statistics/dispersy
A GET request to this endpoint returns general statistics in Dispersy.
The returned runtime is the amount of seconds that Dispersy is active. The total uploaded and total downloaded
statistics are in bytes.
**Example request**:
.. sourcecode:: none
curl -X GET http://localhost:8085/statistics/dispersy
**Example response**:
.. sourcecode:: javascript
"dispersy_statistics": {
"wan_address": "123.321.456.654:1234",
"lan_address": "192.168.1.2:1435",
"connection": "unknown",
"runtime": 859.34,
"total_downloaded": 538.53,
"total_uploaded": 983.24,
"packets_sent": 43,
"packets_received": 89,'

def render_GET(self, request):

    return json.dumps({'dispersy_statistics': self.session.get_dispersy_statistics()})
