YUKI Hiroshi
null+****@clear*****
Wed Jun 25 17:36:28 JST 2014
YUKI Hiroshi 2014-06-25 17:36:28 +0900 (Wed, 25 Jun 2014) New Revision: 44c01dcbc22d3b998ed36c10d79e96f96bbc81db https://github.com/droonga/droonga.org/commit/44c01dcbc22d3b998ed36c10d79e96f96bbc81db Message: Rename "status" to "system.status" Modified files: _po/ja/reference/1.0.4/commands/index.po ja/reference/1.0.4/commands/index.md reference/1.0.4/commands/index.md Renamed files: _po/ja/reference/1.0.4/commands/system/index.po (from _po/ja/reference/1.0.4/commands/status/index.po) reference/1.0.4/commands/system/index.md (from reference/1.0.4/commands/status/index.md) Modified: _po/ja/reference/1.0.4/commands/index.po (+2 -2) =================================================================== --- _po/ja/reference/1.0.4/commands/index.po 2014-06-25 17:11:18 +0900 (c5e3ceb) +++ _po/ja/reference/1.0.4/commands/index.po 2014-06-25 17:36:28 +0900 (e23dede) @@ -28,11 +28,11 @@ msgstr "## ビルトインのコマンド" msgid "" " * [search](search/): Searches data\n" " * [add](add/): Adds a record\n" -" * [status](status/): Reports status of the cluster" +" * [system](system/): Reports system information of the cluster" msgstr "" " * [search](search/): データの検索\n" " * [add](add/): レコードの追加\n" -" * [status](status/): クラスタの状態の取得" +" * [system](system/): クラスタのシステム情報の取得" msgid "## Groonga compatible commands" msgstr "## Groonga互換コマンド" Renamed: _po/ja/reference/1.0.4/commands/system/index.po (+25 -13) 85% =================================================================== --- _po/ja/reference/1.0.4/commands/status/index.po 2014-06-25 17:11:18 +0900 (4f1e7d8) +++ _po/ja/reference/1.0.4/commands/system/index.po 2014-06-25 17:36:28 +0900 (41e2112) @@ -10,12 +10,12 @@ msgstr "" msgid "" "---\n" -"title: status\n" +"title: system\n" "layout: en\n" "---" msgstr "" "---\n" -"title: status\n" +"title: system\n" "layout: ja\n" "---" @@ -27,8 +27,8 @@ msgstr "" msgid "## Abstract {#abstract}" msgstr "## 概要 {#abstract}" -msgid "The `status` command reports current status of the clsuter itself." -msgstr "`status` コマンドは、クラスタの現在の状態を返します。" +msgid "The `system` command reports current system information of the clsuter itself." +msgstr "`system` コマンドは、クラスタの現在の状態を返します。" msgid "## API types {#api-types}" msgstr "## APIの形式 {#api-types}" @@ -38,10 +38,10 @@ msgstr "" msgid "" "Request endpoint\n" -": `(Document Root)/droonga/status`" +": `(Document Root)/droonga/system/status`" msgstr "" "リクエスト先\n" -": `(ドキュメントルート)/droonga/status`" +": `(ドキュメントルート)/droonga/system/status`" msgid "" "Request methd\n" @@ -89,10 +89,10 @@ msgstr "" msgid "" "`type` of the request\n" -": `status`" +": `system.status`" msgstr "" "リクエストの `type`\n" -": `status`" +": `system.status`" msgid "" "`body` of the request\n" @@ -103,10 +103,10 @@ msgstr "" msgid "" "`type` of the response\n" -": `status.result`" +": `system.status.result`" msgstr "" "レスポンスの `type`\n" -": `status.result`" +": `system.status.result`" msgid "## Parameter syntax {#syntax}" msgstr "## パラメータの構文 {#syntax}" @@ -127,14 +127,14 @@ msgstr "" msgid "" " {\n" -" \"type\" : \"status\",\n" +" \"type\" : \"system.status\",\n" " \"body\" : {}\n" " }" msgstr "" msgid "" " => {\n" -" \"type\" : \"status.result\",\n" +" \"type\" : \"system.status.result\",\n" " \"body\" : {\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -157,11 +157,23 @@ msgid "" msgstr "このコマンドは以下のようなハッシュを `body` 、`200` を `statusCode` としたレスポンスを返します。以下はその一例です。。" msgid "" +" {\n" +" \"nodes\" : {\n" +" \"<Identifier of the node 1>\" : {\n" +" \"live\" : <Vital status of the node>\n" +" },\n" +" \"<Identifier of the node 2>\" : { ... },\n" +" ...\n" +" }\n" +" }" +msgstr "" + +msgid "" "`nodes`\n" ": A hash including information of nodes in the cluster.\n" " Keys of the hash are identifiers of nodes defined in the `catalog.json`, wit" "h the format: `hostname:port/tag`.\n" -" Each value indicates status information of corresponding node, and have foll" +" Each value indicates system information of corresponding node, and have foll" "owing information:" msgstr "" "`nodes`\n" Modified: ja/reference/1.0.4/commands/index.md (+1 -1) =================================================================== --- ja/reference/1.0.4/commands/index.md 2014-06-25 17:11:18 +0900 (9eee540) +++ ja/reference/1.0.4/commands/index.md 2014-06-25 17:36:28 +0900 (5e4745e) @@ -18,7 +18,7 @@ layout: ja * [search](search/): データの検索 * [add](add/): レコードの追加 - * [status](status/): クラスタの状態の取得 + * [system](system/): クラスタのシステム情報の取得 ## Groonga互換コマンド Modified: reference/1.0.4/commands/index.md (+1 -1) =================================================================== --- reference/1.0.4/commands/index.md 2014-06-25 17:11:18 +0900 (d35f6e1) +++ reference/1.0.4/commands/index.md 2014-06-25 17:36:28 +0900 (27379c9) @@ -9,7 +9,7 @@ Here are available commands * [search](search/): Searches data * [add](add/): Adds a record - * [status](status/): Reports status of the cluster + * [system](system/): Reports system information of the cluster ## Groonga compatible commands Renamed: reference/1.0.4/commands/system/index.md (+8 -8) 85% =================================================================== --- reference/1.0.4/commands/status/index.md 2014-06-25 17:11:18 +0900 (6925df2) +++ reference/1.0.4/commands/system/index.md 2014-06-25 17:36:28 +0900 (f4cb76e) @@ -1,5 +1,5 @@ --- -title: status +title: system layout: en --- @@ -8,14 +8,14 @@ layout: en ## Abstract {#abstract} -The `status` command reports current status of the clsuter itself. +The `system` command reports current system information of the clsuter itself. ## API types {#api-types} ### HTTP {#api-types-http} Request endpoint -: `(Document Root)/droonga/status` +: `(Document Root)/droonga/system/status` Request methd : `GET` @@ -39,13 +39,13 @@ Style : Request-Response. One response message is always returned per one request. `type` of the request -: `status` +: `system.status` `body` of the request : Nothing. `type` of the response -: `status.result` +: `system.status.result` ## Parameter syntax {#syntax} @@ -57,12 +57,12 @@ On the version {{ site.droonga_version }}, this command just reports the list of For example: { - "type" : "status", + "type" : "system.status", "body" : {} } => { - "type" : "status.result", + "type" : "system.status.result", "body" : { "nodes": { "192.168.0.10:10031/droonga": { @@ -93,7 +93,7 @@ This returns a hash like following as the response's `body`, with `200` as its ` `nodes` : A hash including information of nodes in the cluster. Keys of the hash are identifiers of nodes defined in the `catalog.json`, with the format: `hostname:port/tag`. - Each value indicates status information of corresponding node, and have following information: + Each value indicates system information of corresponding node, and have following information: `live` : A boolean value indicating vital state of the node. -------------- next part -------------- HTML����������������������������... 下载