core-lightning/doc/schemas/lightning-stop.json

49 lines
1.1 KiB
JSON
Raw Normal View History

{
"$schema": "../rpc-schema-draft.json",
"type": "object",
"rpc": "stop",
"title": "Command to shutdown the Core Lightning node.",
"description": [
"The **stop** is a RPC command to shut off the Core Lightning node."
],
"request": {
"required": [],
"additionalProperties": false,
"properties": {}
},
"response": {
"required": [
"result"
],
"additionalProperties": false,
"properties": {
"result": {
"type": "string",
"added": "v24.05",
"enum": [
"Shutdown complete"
]
}
}
},
"author": [
"Vincenzo Palazzo <<vincenzo.palazzo@protonmail.com>> wrote the initial version of this man page,",
"but many others did the hard work of actually implementing this rpc command."
],
"resources": [
"Main web site: <https://github.com/ElementsProject/lightning>"
],
"examples": [
{
2024-03-28 02:45:18 +01:00
"request": {
"id": "example:stop#1",
"method": "stop",
"params": {}
},
"response": {
"result": "Shutdown complete"
}
}
]
}