Imports a custom image.
Operation description
-
You can import a custom image to develop custom features or services.
-
First, obtain the required Android Open Source Project (AOSP) image baseline from the platform. Then, create a custom build. After the build is complete, import the image to the platform. For detailed instructions, contact Wuying technical support.
-
Ensure the image tar package is smaller than 2 GB. Otherwise, image parsing may fail.
-
Ensure the Object Storage Service (OSS) address is in mainland China. If the address is outside mainland China or in the Hong Kong region, the image file download may time out.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageFileURL |
string |
Yes |
The URL of the image. This must be an Alibaba Cloud OSS address. |
https://xxx.oss-xxx/xxxx.tgz |
| ImageName |
string |
Yes |
The name of the image. |
import custom image |
| ImageDescription |
string |
No |
The description of the image. |
android 12 custom image |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
425F351C-3F8E-5218-A520-B6311D0D**** |
| ImageId |
string |
The ID of the image. |
imgc-06zyt9m93zwax**** |
Examples
Success response
JSON format
{
"RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
"ImageId": "imgc-06zyt9m93zwax****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.