检索本地应用或全局目录的信息
/api/v2/cat/info?cat=catalog&vdc=controller-name
目录的名称
目标虚拟数据中心的名称
同步
GET
检索目录 test 的信息。
GET http://192.168.123.200/api/v2/cat/info?cat=/test&vdc=mygrid
<catalog> <name>test</name> <description></description> <total_classes>0</total_classes> <total_diskspace>0</total_diskspace> </catalog>
{ "total_classes" : "0",
"name" : "test",
"description" : "",
"total_diskspace" : "0"
}
未找到实体 vdc mygrid-WS_API 应用中没有配置指定的 VDC 名称。
缺少必需参数 (cat)。 -请求中缺少参数 cat=catalog。
test 不是有效的目录-请求中指定的目录无效。
|
版权所有 © 2013 CA。
保留所有权利。
|
|