core-lightning/doc/schemas/listpeers.request.json
Christian Decker 3c32f7d8f6 json-rpc: Add request stubs for a couple of calls
These are required so we can generate the requests, not just the
responses. We'll add more as we test compatibility with our generation
code.
2022-02-11 16:02:25 +01:00

17 lines
526 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
"id": {
"type": "pubkey",
"description": "If supplied, limits the result to just the peer with the given ID, if it exists."
},
"level": {
"type": "string",
"description": "Supplying level will show log entries related to that peer at the given log level. Valid log levels are “io”, “debug”, “info”, and “unusual”."
}
}
}