mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
40fe893172
`"deprecated": true` is obsolete; we don't document them anyway. Where it would have otherwise changed the GRPC wrappers, I actually put the version number in. We allow "listchannels" to have "satoshis" since we have some tests that run in deprecated-api mode. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
62 lines
1.0 KiB
JSON
62 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"route",
|
|
"payment_hash"
|
|
],
|
|
"properties": {
|
|
"route": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"amount_msat",
|
|
"id",
|
|
"delay",
|
|
"channel"
|
|
],
|
|
"properties": {
|
|
"amount_msat": {
|
|
"type": "msat"
|
|
},
|
|
"id": {
|
|
"type": "pubkey"
|
|
},
|
|
"delay": {
|
|
"type": "u16"
|
|
},
|
|
"channel": {
|
|
"type": "short_channel_id"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"payment_hash": {
|
|
"type": "hash"
|
|
},
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"amount_msat": {
|
|
"type": "msat"
|
|
},
|
|
"bolt11": {
|
|
"type": "string"
|
|
},
|
|
"payment_secret": {
|
|
"type": "secret"
|
|
},
|
|
"partid": {
|
|
"type": "u16"
|
|
},
|
|
"localinvreqid": {
|
|
"type": "hex"
|
|
},
|
|
"groupid": {
|
|
"type": "u64"
|
|
}
|
|
}
|
|
}
|