Difference between revisions of "getpeers"

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | colspan="4" | none |} == Output == {| class="wikitable" ! Argument !! Description !! Fo...")
 
 
Line 17: Line 17:
 
== Description ==
 
== Description ==
 
* This method returns the list of peers in white list as array of strings. White list contains recently seen peers.
 
* This method returns the list of peers in white list as array of strings. White list contains recently seen peers.
 +
 +
== Usage ==
 +
 +
=== cURL ===
 +
* <nowiki>curl http://127.0.0.1:33888/getpeers</nowiki>

Latest revision as of 13:59, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
status Status of the request, "OK" if successful string
peers List of peers in white list array

Description

  • This method returns the list of peers in white list as array of strings. White list contains recently seen peers.

Usage

cURL

  • curl http://127.0.0.1:33888/getpeers