v1

latestOpenAPI 3.0.02026-07-175652103.9 KB
address book

List peers

This function is an API endpoint that lists the peers in an address book. It is tagged with "address book" for OpenAPI documentation.

Parameters

  • current: The current page number for pagination. This parameter is currently unused.

  • pageSize: The number of items per page for pagination. This parameter is currently unused.

  • ab: The identifier of the address book.

Returns

If successful, this function returns a Json<AbPeersResponse> object containing the peers in the address book. <br> If the address book does not exist or the user is not authorized to access it, this function returns a status::Unauthorized error. <br>

Errors

This function will return an error if the system is in maintenance mode, or if the address book does not exist or the user is not authorized to access it.

post/api/ab/peers

Query parameters

currentinteger required
pageSizeinteger required
abstring required

Response

errorstring nullable
totalinteger required