mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-23 21:25:49 +00:00
For better URLs, the content folder has been renamed 'docs' and all other files have been moved up a level. Also, non-docs images have been moved to the static folder at the top level where they belong. Many relative paths had to be fixed to make this work.
1.9 KiB
1.9 KiB
html, parent, seo, labels
| html | parent | seo | labels | |||
|---|---|---|---|---|---|---|
| stop.html | server-control-methods.html |
|
|
stop
サーバーのグレースフルシャットダウンを行います。
stopリクエストは、権限のないユーザーは実行できない*管理メソッドです。
リクエストのフォーマット
リクエストのフォーマットの例:
{% tabs %}
{% tab label="WebSocket" %}
{
"id": 0,
"command": "stop"
}
{% /tab %}
{% tab label="JSON-RPC" %}
{
"method": "stop",
"params": [
{}
]
}
{% /tab %}
{% tab label="コマンドライン" %}
rippled stop
{% /tab %}
{% /tabs %}
リクエストにはパラメーターが含まれていません。
レスポンスのフォーマット
処理が成功したレスポンスの例:
{% tabs %}
{% tab label="JSON-RPC" %}
{
"result" : {
"message" : "ripple server stopping",
"status" : "success"
}
}
{% /tab %}
{% tab label="コマンドライン" %}
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "ripple server stopping",
"status" : "success"
}
}
{% /tab %}
{% /tabs %}
レスポンスは[標準フォーマット][]に従っており、正常に完了した場合は結果に次のフィールドが含まれています。
Field |
型 | 説明 |
|---|---|---|
message |
文字列 | ripple server stopping : 正常終了の場合。 |
考えられるエラー
- [汎用エラータイプ][]のすべて。
{% raw-partial file="/docs/_snippets/common-links.md" /%}