mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-10 09:12:16 +01:00
There's actually no "filter" here, this was mistakenly taken from commando. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
37 lines
771 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|