检索包中类的列表
/api/v2/class/list?class=class&vdc=controller-name
包的名称
目标虚拟数据中心的名称
同步
GET
检索 /test 中的类的列表。
GET http://192.168.123.200/api/v2/class/list?class=/filer&vdc=mygrid
<catalog>
<classes>
<class>
<category>Filer</category>
<description>Linux Filer based on CentOS 6.3 x86_64 (v5.2.3-1)
</description>
<locked>1</locked>
<name>Filer_Linux</name>
</class>
</classes>
<name>filer</name>
</catalog>
{
"name" : "filer",
"class" : [
{
"locked" : 1,
"name" : "Filer_Linux",
"category" : "Filer",
"description" : "Linux Filer based on CentOS 6.3 x86_64 (v5.2.3-1)"
}
]
}
未找到实体 vdc mygrid-WS_API 应用中没有配置指定的 VDC 名称。
缺少必需参数 (class)。 -请求中缺少参数 class=entity。
应用 test 不存在。 -请求中指定的应用无效。
找不到全局目录 test。 -请求中指定的全局目录无效。
|
版权所有 © 2013 CA。
保留所有权利。
|
|