Fetches files from a cloud phone to Object Storage Service (OSS).
Operation description
This operation fetches only files or folders from a cloud phone to Object Storage Service.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AndroidInstanceIdList |
array |
Yes |
A list of cloud phone instance IDs. |
|
|
string |
No |
The ID of a cloud phone instance. |
acp-34pqe4r0kd9kn**** |
|
| SourceFilePath |
string |
Yes |
The path of the file or folder to fetch from the cloud phone. |
/data/a.txt |
| UploadType |
string |
Yes |
The type of storage service for the fetched file. Note
Currently, only Object Storage Service (OSS) is supported. |
OSS |
| UploadEndpoint |
string |
Yes |
The endpoint for uploading files to OSS. Note
If the cloud phone and the destination OSS bucket are in the same region, you can use an internal endpoint to accelerate the transfer and avoid public network charges. For example, in the China (Hangzhou) region, use |
oss-cn-hangzhou-internal.aliyuncs.com |
| UploadUrl |
string |
Yes |
The destination URL in OSS. Note
The destination bucket name must be prefixed with |
oss://cloudphone-saved-bucket-example/received |
| ClientToken |
string |
No |
A client-generated token, up to 100 characters long, that ensures the idempotency of the request. |
425F351C-3F8E-5218-A520-B6311D0D**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Data |
array<object> |
An array of results, with one entry for each instance specified in the request. |
425F351C-3F8E-5218-A520-B6311D0D**** |
|
object |
The result for a single cloud phone instance. |
||
| AndroidInstanceId |
string |
The ID of the cloud phone instance. |
acp-34pqe4r0kd9kn**** |
| TaskId |
string |
The ID of the task created for this specific instance. |
t-bp67acfmxazb4p**** |
| RequestId |
string |
The request ID. Provide this ID when contacting 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-bp67acfmxazb4p****"
}
],
"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.