logos-messaging-rest-api/api-spec/adminapi_peers_mesh_on_shard.yaml
NagyZoltanPeter 579661dac9
Update api-spec/adminapi_peers_mesh_on_shard.yaml
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2025-04-25 15:06:07 +02:00

31 lines
794 B
YAML

get:
tags:
- admin
summary: Get mesh peers by shard
description: Returns information about relay peers in node's direct mesh for a specific shard.
operationId: getMeshPeersByShard
parameters:
- in: path
name: shardId
required: true
schema:
type: integer
format: uint16
description: ID of the shard to retrieve information for
responses:
'200':
description: Successful service peers response
content:
application/json:
schema:
$ref: "./schemas/apitypes.yaml#/PeersOfShard"
'400':
description: Invalid argument.
content:
text/plain:
type: string
'500':
description: Internal server error.
content:
text/plain:
type: string