前のトピック: cat オブジェクト

次のトピック: info メソッド(cat オブジェクト)


list メソッド(cat オブジェクト)
説明

グローバル カタログのリストを取得します。

構文
/api/v1/cat/list?vdc=controller-name 
引数
vdc

ターゲットの仮想データ センターの名前

トランザクション タイプ

同期

リクエスト タイプ

GET

カタログのリストを取得します。

GET http://192.168.123.200/api/v1/cat/list?vdc=mygrid 
サンプル出力
XML:
<opt>
   <catalog dynamic>
      <description></description>
   </catalog dynamic>
   <catalog filer>
      <description></description>
   </catalog filer>
   <catalog system>
      <description></description>
   </catalog system>
   <catalog user>
      <description></description>
   </catalog user>
</opt> 
JSON:
{
   "catalog user" : {
      "description" : ""
   },
   "catalog filer" : {
      "description" : ""
   },
   "catalog system" : {
       "description" : ""
   },
   "catalog dynamic" : {
      "description" : ""
   }
} 

HTTP エラー コード
404

エンティティ vdc mygrid が見つかりません。WS_API アプリケーションに設定されていない VDC 名が指定されました。