core-lightning/doc/schemas/checkrune.request.json
Rusty Russell d492c74e3d docs: document all the rune commands which look like the now-deprecated commando ones.
Rune functionality moved into core from commando plugin.

Changelog-Added: JSON-RPC: `checkrune`: check rune validity for authorization; `createrune` to create/modify rune; `listrunes` to list existing runes; `blacklistrune` to revoke permission of rune

Changelog-Deprecated: JSON-RPC: `commando-rune`, `commando-listrunes` and `commando-blacklist`.

No-schema-diff-check
2023-07-21 16:44:22 +09:30

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": {
"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"
}
}
}