mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
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
34 lines
758 B
JSON
34 lines
758 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"deprecated": "v23.08",
|
|
"properties": {
|
|
"rune": {
|
|
"type": "string",
|
|
"description": "optional rune to add to"
|
|
},
|
|
"restrictions": {
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"description": "array of restrictions to add to rune",
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"readonly"
|
|
],
|
|
"description": "readonly string to indicate standard readonly restrictions."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|