POST http://sdk.ddyun.com/api/InstallAppTar
安装App,使用Tar包的方式
Request Information
URI Parameters
None.
Body Parameters
InstallAppParamName | Description | Type | Additional information |
---|---|---|---|
apppackagename |
要安装的App包名 |
string |
None. |
appdownurl |
要安装的App下载地址 |
string |
None. |
runafterinstall |
安装后运行APP |
boolean |
None. |
orderid |
订单号 |
integer |
None. |
appkey |
商户Key |
string |
None. |
timestamp |
时间戳 |
integer |
None. |
noncestr |
随机字符,使签名不可预测 |
string |
None. |
sign |
签名信息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppPackageName": "sample string 1", "AppDownUrl": "sample string 2", "RunAfterInstall": true, "OrderId": 4, "AppKey": "sample string 5", "Timestamp": 6, "NonceStr": "sample string 7", "Sign": "sample string 8" }
application/x-www-form-urlencoded
Sample:
AppPackageName=&AppDownUrl=&RunAfterInstall=False&OrderId=0&AppKey=&Timestamp=0&NonceStr=&Sign=
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
安装App,使用Tar包的方式
SDKBaseResultOfRunAppResultName | Description | Type | Additional information |
---|---|---|---|
data | RunAppResult |
None. |
|
code |
错误码 |
SDKResultCode |
None. |
msg |
错误消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "Output": "sample string 1" }, "Code": 0, "Msg": "sample string 1" }