Response (specified peer)
api/v3
Parameter | Type | Description |
host | string | The host value of the peer. |
port | number | The port value of the peer. |
successOutCount | number | The number of successful outbound connections. |
successInCount | number | The number of successful inbound connections. |
lastSeen | number | Timestamp when last connected. |
failCount | number | The number of times the connection failed. |
lastAttempt | number | The timestamp of the last connection attempt. |
active | number | If the peer is active. If this value is greater than 1, it is activated; else, deactivated. |
Response Error Table
Status | Error | Message |
400 | BAD_REQUEST | should provide count or host as query param or path parameter undefined |
404 | NOT_FOUND | 54.188.174.19 Not Found |
Response (Success)
{
"host": "54.188.174.194",
"port": 8148,
"successOutCount": 47,
"successInCount": 0,
"lastSeen": 1545876193615,
"failCount": 0,
"lastAttempt": 1545876191618,
"active": 2
}
Last modified 1yr ago