mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-24 07:07:46 +01:00
43 lines
918 B
JSON
43 lines
918 B
JSON
|
{
|
||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"required": [
|
||
|
"nodeid",
|
||
|
"rune",
|
||
|
"method"
|
||
|
],
|
||
|
"added": "v23.08",
|
||
|
"properties": {
|
||
|
"nodeid": {
|
||
|
"type": "string",
|
||
|
"description": "node id of your node"
|
||
|
},
|
||
|
"method": {
|
||
|
"type": "string",
|
||
|
"description": "method for which rune needs to be validated"
|
||
|
},
|
||
|
"rune": {
|
||
|
"type": "string",
|
||
|
"description": "rune to check for authorization"
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
}
|