logos-messaging-rest-api/api-spec/adminapi_peer.yaml

31 lines
724 B
YAML

get:
summary: Get connected peers info
description: Retrieve information about connected peers.
operationId: getPeerInfo
tags:
- admin
parameters:
- in: path
name: peerId
required: true
schema:
type: string
description: ID of the peer to retrieve information for
responses:
'200':
description: Information about a Waku v2 node.
content:
application/json:
schema:
$ref: "./schemas/apitypes.yaml#/WakuPeer"
'400':
description: Invalid argument.
content:
text/plain:
type: string
'500':
description: Internal server error.
content:
text/plain:
type: string