show plans
post
/V0/nosql/admin/plans
指定されたプランの詳細を表示するか、対応するプランIDおよびステータスとともに作成されているすべてのプランを一覧表示します。
last:
最新のプランの詳細を示します。id:
指定されたIDを持つプランの詳細を示します。num
も指定されている場合は、指定されたプランIDから始まるnum
個のプランをリストします。num:
リストするプランの数を設定します。デフォルトは10です。from:
指定された日付より後のプランをリストします。to:
指定された日付より前のプランをリストします。
from
とto
を組み合せて使用することで、2つの日付の間の期間を指定できます。それ以外の場合、num
が適用されます。
前述の引数が1つも指定されていない場合は、最新の10個のプランをリストします。
リクエスト
この操作のリクエスト・パラメータはありません。
サポートされているメディア・タイプ
- application/json
管理CLIコマンド:
show plans [-last] [-id] [-from ] [-to ] [-num ]
show plans [-last] [-id
ルート・スキーマ: schema
型:
ソースの表示
object
- arguments: array arguments
- command: string
指定できる値:
[ "show" ]
例:
{
"command":"show",
"arguments":[
{
"last":"true|false Whether to show the last plan was executed"
},
{
"id":"Id of the plan to show"
},
{
"from":"Start date of plans to show"
},
{
"to":"End date of plans to show"
},
{
"num":"Maximum number of plans"
}
]
}
レスポンス
サポートされているメディア・タイプ
- application/json
200 Response
Operation ended successfully
ルート・スキーマ: commonResponse
型:
ソースの表示
object
例:
{
"operation":"Command related operation",
"returnCode":"Error code to indicate the command result, 5000 infers plan success, 5100 infers illegal command, 5200 - 5500 infers connection/resource/internal problem of executing plan.",
"description":"Textual output of the command",
"returnValue":"Valuable information returned by the command execution in JSON object format"
}
ネストされたスキーマ: returnValue
型:
object