Complete documentation for debug endpoint (#969)

This commit is contained in:
Arnaud 2024-10-25 08:20:00 +01:00 committed by Slava
parent 96a9c687c3
commit 0582611077
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8
1 changed files with 38 additions and 0 deletions

View File

@ -90,6 +90,40 @@ components:
cid: cid:
$ref: "#/components/schemas/Cid" $ref: "#/components/schemas/Cid"
Node:
type: object
properties:
nodeId:
type: string
peerId:
type: string
record:
type: string
address:
type: string
seen:
type: boolean
CodexVersion:
type: object
properties:
version:
type: string
example: v0.1.7
revision:
type: string
example: 0c647d8
PeersTable:
type: object
properties:
localNode:
$ref: "#/components/schemas/Node"
nodes:
type: array
items:
$ref: "#/components/schemas/Node"
DebugInfo: DebugInfo:
type: object type: object
properties: properties:
@ -104,6 +138,10 @@ components:
description: Path of the data repository where all nodes data are stored description: Path of the data repository where all nodes data are stored
spr: spr:
$ref: "#/components/schemas/SPR" $ref: "#/components/schemas/SPR"
table:
$ref: "#/components/schemas/PeersTable"
codex:
$ref: "#/components/schemas/CodexVersion"
SalesAvailability: SalesAvailability:
type: object type: object