mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
It accepts rune first and nodeid second but the documentation showed incorrect sequence. No-schema-diff-check
42 lines
918 B
JSON
42 lines
918 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"
|
|
}
|
|
]
|
|
},
|
|
"filter": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"description": "filter to apply to any successful result"
|
|
}
|
|
}
|
|
}
|