mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
nodeid is only useful when we know the peer we're talking to (e.g. commando). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> No-schema-diff-check: We're simply making optional, not deprecating!
35 lines
801 B
JSON
35 lines
801 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"rune"
|
|
],
|
|
"added": "v23.08",
|
|
"properties": {
|
|
"rune": {
|
|
"type": "string",
|
|
"description": "rune to check for authorization"
|
|
},
|
|
"nodeid": {
|
|
"type": "string",
|
|
"description": "node id of requesting node *(required until v23.11)*"
|
|
},
|
|
"method": {
|
|
"type": "string",
|
|
"description": "method for which rune needs to be validated *(required until v23.11)*"
|
|
},
|
|
"params": {
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"description": "array of positional parameters"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"description": "parameters for method"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|