Default

patch

Change the connectivity state of a given IP:addr. With {acl : ban}: blacklist the given address and remove it from the whitelist if present. With {acl: open}: removes an address from the blacklist and whitelist. With {acl: trust}: trust a given address permanently and remove it from the blacklist if present. With {peer_id: <id>} set the peerId of the point. Connections from this address can still be closed on authentication if the peer is greylisted.

Authorizations
api-keystringRequired
Path parameters
pointstringRequired

A network point (ipv4:port or [ipv6]:port).

Body
aclstring · enumOptionalPossible values:
peer_idone ofOptional
stringOptional
or
Responses
chevron-right
200

Valid response

application/json

Information about a peer point. Includes flags, state, and records about past events.

trustedbooleanRequired
greylisted_untilone ofOptional

A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.

stringOptional
or
or
stringOptional

Decimal representation of 64 bit integers

stateone ofRequired

The state a connection to a peer point can be in: requested (connection open from here), accepted (handshake), running (connection already established), disconnected (no connection).

or
or
or
p2p_peer_idone ofOptional
stringOptional
or
last_failed_connectionone ofOptional

A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.

stringOptional
or
or
stringOptional

Decimal representation of 64 bit integers

last_missone ofOptional

A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.

stringOptional
or
or
stringOptional

Decimal representation of 64 bit integers

expected_peer_idone ofOptional
stringOptional
or
patch
/network/points/{point}

Last updated