Get Peers
This function is an API endpoint that retrieves the list of all peers in the network. It is tagged with "peer" for OpenAPI documentation.
Parameters
- none
Returns
If successful, this function returns a Json<PeersResponse> object, which includes a success message, the total number of peers, and the list of peers. <br> If no peers are found, this function returns a status::NotFound error. <br>
Errors
This function will return an error if the system is in maintenance mode, or if no peers are found.
Example
GET /api/peers
Response
Changes
Changed in 2 of the 11 revisions of this API.24
- ▲
the
dataresponse's property type/format changed fromstring/toarray/for status200response-property-type-changed
- ○
api tag
peeraddedapi-tag-added
- ○
api tag
todoremovedapi-tag-removed
- ▲
- ▲
the
dataresponse's property type/format changed fromarray/tostring/for status200response-property-type-changed
- ○
api tag
todoaddedapi-tag-added
- ○
api tag
peerremovedapi-tag-removed
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲