Pushes files from Object Storage Service (OSS) or a public download link to one or more cloud phones.
Operation description
Use this operation to send files or folders from Object Storage Service (OSS) to cloud phones.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AndroidInstanceIdList |
array |
Yes |
The IDs of one or more cloud phone instances. |
|
|
string |
No |
The instance ID of a cloud phone. |
acp-34pqe4r0kd9kn**** |
|
| SourceFilePath |
string |
Yes |
The destination path on the cloud phone. Note
If |
/sdcard/Download |
| UploadType |
string |
Yes |
The storage type of the source file. Valid values:
Valid values:
|
OSS |
| UploadEndpoint |
string |
No |
The service endpoint of Object Storage Service (OSS). This parameter is required if Note
If the cloud phone instance and the OSS bucket are in the same region, you can specify an internal endpoint to accelerate data transfer and avoid public data transfer costs. For example, the internal endpoint for the China (Hangzhou) region is |
oss-cn-hangzhou-internal.aliyuncs.com |
| UploadUrl |
string |
Yes |
Note
The URI must be in the
|
oss://cloudphone-saved-bucket-example/send/a.txt |
| TargetFileName |
string |
No |
The name for the destination file on the cloud phone. Note
This parameter is optional and takes effect only when |
test.txt |
| AutoInstall |
boolean |
No |
Specifies whether to automatically install the application after the file is uploaded. |
true |
| ClientToken |
string |
No |
A client-generated token that ensures request idempotence and prevents duplicate submissions. The token can contain up to 100 characters. |
425F351C-3F8E-5218-A520-B6311D0D**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Data |
array<object> |
The details of the created tasks. |
425F351C-3F8E-5218-A520-B6311D0D**** |
|
object |
The details of a single task. |
||
| AndroidInstanceId |
string |
The instance ID. |
acp-34pqe4r0kd9kn**** |
| TaskId |
string |
The ID of the individual task for a specific cloud phone. |
t-4ks224ujixw**** |
| RequestId |
string |
A unique identifier for the request. If you encounter an issue, provide this request ID to technical support for troubleshooting. |
425F351C-3F8E-5218-A520-B6311D0D**** |
| TaskId |
string |
The batch task ID. |
t-ehs0yoedj0xe9**** |
Examples
Success response
JSON format
{
"Data": [
{
"AndroidInstanceId": "acp-34pqe4r0kd9kn****",
"TaskId": "t-4ks224ujixw****"
}
],
"RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
"TaskId": "t-ehs0yoedj0xe9****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.