RestApis Stats
Davide Miceli edited this page Jan 28, 2019
·
2 revisions
Returns statistics about the status of the peer.
GET
/api/stats
None
None
{
"status": "active",
"peer": {
"id": "0000",
"role": "peer",
"blockchain": "blockchain",
"organization": "brandName"
},
"system": {
"uptime": 2654,
"mem": 16749039616,
"freemem": 5853126656,
"memoryUsage": {
"rss": 53735424,
"heapTotal": 24940544,
"heapUsed": 19434776,
"external": 174773
}
}
}
curl -X GET http://<peer-host>/api/stats -H "Content-Type: application/json"