Skip to content

[WFR] on #260 #624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 25 additions & 23 deletions ja/learn/admin/REST/rest-buckets-summary.dita
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference xml:lang="en-us" id="rest-buckets-summary">
<title>Getting all bucket information</title>
<shortdesc>To retrieve all bucket information for a cluster use the <codeph>GET
/pools/default/buckets</codeph> HTTP method and URI.</shortdesc>
<reference xml:lang="ja" id="rest-buckets-summary">
<title>全bucket情報取得</title>
<shortdesc>
クラスタの全てのbucket情報を取得するには<codeph>GET /pools/default/buckets</codeph>HTTPメソッドとURIを使用します。
</shortdesc>
<refbody>
<section><title>Description</title>
<p>To create an SDK for Couchbase, use either the proxy path or the direct path to
connect to Couchbase Server. If the SDK uses the direct path, the SDK is not
insulated from most reconfiguration changes to the bucket. This means that the SDK
needs to either poll the bucket’s URI or connect to the streaming URI to receive
updates when the bucket configuration changes. Bucket configuration changes occur
under the follow circumstances: <ul>
<li>Nodes are added.</li>
<li>Nodes are removed.</li>
<li>Nodes fail.</li>
</ul></p>
<section><title>説明</title>
<p>
CouchbaseのSDKを作成するには、Couchbase Serverに接続するためにプロキシパスかダイレクトパスのいずれかを使用します。
SDKでダイレクトパスを使用した場合、SDKはbucketの再構成の変化に最も密になります。
これはbucketの構成を変更した時にSDKがbucketのURIをポーリングするか更新を受信するためにストリーミングURIに接続することが必要であることを意味します。
bucket構成の変更は以下の状況で発生します:
<ul>
<li>ノードが追加された。</li>
<li>ノードが削除された。</li>
<li>ノードが失敗した。</li>
</ul>
</p>
</section>

<section><title>HTTP method and URI</title>
<section><title>HTTPメソッドとURI</title>
<codeblock>
GET /pools/default/buckets
</codeblock>

</section>

<section><title>Syntax</title>
<p>Curl request syntax to retrieve information for all buckets in a cluster:</p>
<section><title>シンタックス</title>
<p>クラスタから全bucketの情報を取得するCurlリクエストシンタックス:</p>
<codeblock>curl -u [admin]:[password]
http://[localhost]:8091/pools/default/buckets</codeblock>

<p>Raw HTTP request syntax:</p>
<p>Raw HTTPリクエストシンタックス:</p>
<codeblock>GET /pools/default/buckets
Host: localhost:8091
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Expand All @@ -39,12 +41,12 @@ X-memcachekv-Store-Client-Specification-Version: 0.1
</codeblock>
</section>

<section><title>Example</title>
<p>Curl request example:</p>
<section><title></title>
<p>Curlリクエスト例:</p>
<codeblock>curl -u admin:password
http://10.5.2.54:8091/pools/default/buckets</codeblock>

<p>Raw HTTP request example:</p>
<p>Raw HTTPリクエスト例:</p>
<codeblock>GET /pools/default/buckets
Host: 10.5.2.54:8091
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Expand All @@ -53,7 +55,7 @@ X-memcachekv-Store-Client-Specification-Version: 0.1
</codeblock>
</section>

<section><title>Response</title>
<section><title>レスポンス</title>
<codeblock>
Host: localhost:8091
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Expand Down