lnrpc: change REST post path of PolicyUpdate from /fees to /chanpolicy

This commit is contained in:
Johan T. Halseth authored and Olaoluwa Osuntokun committed 2018-01-27 14:48:28 -08:00
1 parent d66528c73a
commit 08ae9fe510
4 files changed
+331 -328

No files matched your search

+27 -25
View File
@@ -178,6 +178,33 @@
]
}
},
"/v1/chanpolicy": {
"post": {
"summary": "* lncli: `updatechanpolicy`\nUpdateChannelPolicy allows the caller to update the fee schedule and\nchannel policies for all channels globally, or a particular channel.",
"operationId": "UpdateChannelPolicy",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/lnrpcPolicyUpdateResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/lnrpcPolicyUpdateRequest"
}
}
],
"tags": [
"Lightning"
]
}
},
"/v1/createwallet": {
"post": {
"summary": "* lncli: `create`\nCreateWallet is used at lnd startup to set the encryption password for\nthe wallet database.",
@@ -220,31 +247,6 @@
"tags": [
"Lightning"
]
},
"post": {
"summary": "* lncli: `updatechanpolicy`\nUpdateChannelPolicy allows the caller to update the fee schedule and\nchannel policies for all channels globally, or a particular channel.",
"operationId": "UpdateChannelPolicy",
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/lnrpcPolicyUpdateResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/lnrpcPolicyUpdateRequest"
}
}
],
"tags": [
"Lightning"
]
}
},
"/v1/getinfo": {