Navigation Menu

Skip to content

Commit

Permalink
Rename "status" to "system.status"
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 25, 2014
1 parent 7885058 commit 44c01dc
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 25 deletions.
4 changes: 2 additions & 2 deletions _po/ja/reference/1.0.4/commands/index.po
Expand Up @@ -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互換コマンド"
Expand Down
Expand Up @@ -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"
"---"

Expand All @@ -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}"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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}"
Expand All @@ -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"
Expand All @@ -156,12 +156,24 @@ msgid ""
" `statusCode`."
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"
Expand Down
2 changes: 1 addition & 1 deletion ja/reference/1.0.4/commands/index.md
Expand Up @@ -18,7 +18,7 @@ layout: ja

* [search](search/): データの検索
* [add](add/): レコードの追加
* [status](status/): クラスタの状態の取得
* [system](system/): クラスタのシステム情報の取得

## Groonga互換コマンド

Expand Down
2 changes: 1 addition & 1 deletion reference/1.0.4/commands/index.md
Expand Up @@ -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

Expand Down
@@ -1,5 +1,5 @@
---
title: status
title: system
layout: en
---

Expand All @@ -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`
Expand All @@ -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}

Expand All @@ -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": {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 44c01dc

Please sign in to comment.