アプリケーション パッケージ記述子を取得します。
/api/v2/app/get_desc?app=application&vdc=controller-name
アプリケーションの名前
ターゲットの仮想データ センターの名前
同期
GET
アプリケーション test のパッケージ記述子を取得します。
GET http://192.168.123.200/api/v2/app/get_desc?app=test&vdc=mygrid
<message>package test
{
type = application
description = quot;test description"
uid = 12
package local : file = local/package.desc , type = catalog
class top : top , singleton
class main : file = main.desc , singleton
}
assembly top
{
.category = General
subordinate main : .class = main
visual
{
color = gray
style = small
pan_x = 0
pan_y = 0
}
}
</message>
{
"message" : "package test¥n {¥n type = application¥n description = ¥"test description¥"¥n uid = 12¥n¥n package local : file = local/package.desc , type = catalog¥n¥n class top : top , singleton¥n class main : file = main.desc , singleton¥n }¥n¥nassembly top¥n {¥n .category = General¥n¥n subordinate main : .class = main¥n¥n visual¥n {¥n color = gray¥n style = small¥n pan_x = 0¥n pan_y = 0¥n }¥n }¥n"
}
エンティティ vdc mygrid が見つかりません。WS_API アプリケーションに設定されていない VDC 名が指定されました。
必要な引数(app)がありません。リクエストに引数 app=app がありません。
エンティティが見つかりません - 権限が拒否されました – アプリケーション test が存在しません。
|
Copyright © 2013 CA.
All rights reserved.
|
|