Closed FokiDoki closed 1 year ago
GET request to /v1/service/stats returns general information about service request
curl -X 'GET' \ 'http://localhost:8081/v1/service/stats' \ -H 'accept: application/json'
Responce
{ "timestamp": 1692365800425, "peers": 60008, "totalV4Ips": 65536, "freeV4Ips": 65527, "transferTx": 300879237901, "transferRx": 301434168153 }
Timestamp - Unix milliseconds timestamp of the snapshot
peers - number of peers in the interface
totalV4Ips - number of IPv4 addresses (/32) in the interface
freeV4Ips - number of addresses (/32) that are not in use
transferTx - total transmitted bytes for all peers
transferRx - total received bytes for all peers
GET request to /v1/service/stats returns general information about service request
Responce
Timestamp - Unix milliseconds timestamp of the snapshot
peers - number of peers in the interface
totalV4Ips - number of IPv4 addresses (/32) in the interface
freeV4Ips - number of addresses (/32) that are not in use
transferTx - total transmitted bytes for all peers
transferRx - total received bytes for all peers