addPeer

Connect your Node to the receiving peer of this command. Note that you can only add your own Node with this command and your request might be refused if the receiving peer already reached maxPeers. The port specified has to be the ARI Meshport. Peers will be saved after ARI is closed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
FieldDescription
addedPeerReturns either 0 if your node was already added in a previous call, 1 if it was added now or -1 if it was refused.
Body Params
string
required
Defaults to addPeer
string
required

IP address in URI format to push to the remote node.

string
required

IPmode the pushing node is running in either: 'ipv4', 'ipv6' or 'mixed'. If a wrong mode is supplied for the given IP the request will be denied.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json