POST http://sdk.ddyun.com/api/PullFile
拉取云手机上的文件到OBS
Request Information
URI Parameters
None.
Body Parameters
PushFileParamName | Description | Type | Additional information |
---|---|---|---|
obskey |
OBS文件Key,必填 |
string |
None. |
remotefilepath |
要push的路径(/sdcard/1.png),必填 |
string |
None. |
endpoint |
OBS参数:华为云机房终结点,必填 |
string |
None. |
bucketname |
OBS参数:OBS桶名称,必填 |
string |
None. |
ak |
OBS参数:AK,必填 |
string |
None. |
sk |
OBS参数:SK,必填 |
string |
None. |
securitytoken |
OBS参数:安全令牌,可空 |
string |
None. |
orderid |
订单号 |
integer |
None. |
appkey |
商户Key |
string |
None. |
timestamp |
时间戳 |
integer |
None. |
noncestr |
随机字符,使签名不可预测 |
string |
None. |
sign |
签名信息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OBSKey": "sample string 1", "RemoteFilePath": "sample string 2", "EndPoint": "sample string 3", "BucketName": "sample string 4", "AK": "sample string 5", "SK": "sample string 6", "SecurityToken": "sample string 7", "OrderId": 8, "AppKey": "sample string 9", "Timestamp": 10, "NonceStr": "sample string 11", "Sign": "sample string 12" }
application/x-www-form-urlencoded
Sample:
OBSKey=&RemoteFilePath=&EndPoint=&BucketName=&AK=&SK=&SecurityToken=&OrderId=0&AppKey=&Timestamp=0&NonceStr=&Sign=
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
拉取云手机上的文件到OBS
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" }