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.
Query parameters
Response
Changes
Changed in 2 of the 11 revisions of this API.42
- ▲
for the
queryrequest parametercurrent, the type/format was changed frominteger/int32tointeger/uint32request-parameter-type-changed
- ▲
for the
queryrequest parameterpageSize, the type/format was changed frominteger/int32tointeger/uint32request-parameter-type-changed
- ●
for the
queryrequest parametercurrent, the min was set to0.00request-parameter-min-set
- ●
for the
queryrequest parameterpageSize, the min was set to0.00request-parameter-min-set
- ▲
- ▲
for the
queryrequest parametercurrent, the type/format was changed frominteger/uint32tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterpageSize, the type/format was changed frominteger/uint32tointeger/int32request-parameter-type-changed
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲