检索应用列表
/api/v2/app/list?vdc=controller-name
目标虚拟数据中心的名称
同步
GET
检索应用列表。
GET http://192.168.123.200/api/v2/app/list?vdc=mygrid
<applications> <application> name>J2EE</name> description>J2EE 应用</description> destroy_on_stop>0</destroy_on_stop> doc_url></doc_url> id>2</id> state>stopped</state> template>0</template> user1></user1> user2></user2> </application> <application> name>sugarcrm</name> description>Sugar CRM 应用</description> destroy_on_stop>0</destroy_on_stop> doc_url></doc_url> id>3</id> state>running</state> template>0</template> user1></user1> user2></user2> </application> . . . </applications>
{
"application" : [
{
"template" : "0",
"user1" : "",
"name" : "J2EE", br> "description" : "J2EE 应用",
"state" : "stopped",
"doc_url" : "",
"destroy_on_stop" : "0", br> "id" : "2",
"user2" : ""
},
{
"template" : "0",
"user1" : "",
"name" : "sugarcrm",
"description" : "Sugar CRM 应用",
"state" : "running",
"doc_url" : "",
"destroy_on_stop" : "0",
"id" : "3",
"user2" : ""
},
。
。
。
]
}
未找到实体 vdc mygrid-WS_API 应用中没有配置指定的 VDC 名称。
|
版权所有 © 2013 CA。
保留所有权利。
|
|