mirror of
https://github.com/logos-messaging/logos-messaging-rest-api.git
synced 2026-01-03 22:43:08 +00:00
31 lines
724 B
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
|