2025-04-25 03:08:20 +02:00
|
|
|
get:
|
2025-04-25 15:00:06 +02:00
|
|
|
summary: Get peer info about a single peer
|
|
|
|
|
description: Retrieve information about a single peer.
|
2025-04-25 03:08:20 +02:00
|
|
|
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
|