core-lightning/doc/schemas/checkrune.request.json
Rusty Russell f8a3c64500 doc: fix checkrune request schema.
There's actually no "filter" here, this was mistakenly taken from commando.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-09-12 15:19:02 +09:30

37 lines
771 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"nodeid",
"rune",
"method"
],
"added": "v23.08",
"properties": {
"rune": {
"type": "string",
"description": "rune to check for authorization"
},
"nodeid": {
"type": "string",
"description": "node id of your node"
},
"method": {
"type": "string",
"description": "method for which rune needs to be validated"
},
"params": {
"oneOf": [
{
"type": "array",
"description": "array of positional parameters"
},
{
"type": "object",
"description": "parameters for method"
}
]
}
}
}