Imports a custom image.
Operation description
-
Importing a custom image is applicable to scenarios where you need to develop customized features or services.
-
Obtain the required AOSP base image from the platform, perform a custom build, and then import the built image to the platform for use. For detailed steps, contact Wuying technical support.
-
Ensure that the image TAR package is smaller than 2 GB. Otherwise, image parsing may fail.
-
Ensure that your OSS address is in the Chinese mainland. Addresses outside the Chinese mainland or in Hong Kong (China) may cause image file download timeouts.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageFileURL |
string |
No |
The URL of the image. The URL must be an Alibaba Cloud Object Storage Service (OSS) address. |
https://xxx.oss-xxx/xxxx.tgz |
| ImageName |
string |
No |
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 |
Schema of Response |
||
| ImageId |
string |
ImageId |
imgc-06zyt9m93zwax**** |
| RequestId |
string |
Id of the request |
425F351C-3F8E-5218-A520-B6311D0D**** |
Examples
Success response
JSON format
{
"ImageId": "imgc-06zyt9m93zwax****",
"RequestId": "425F351C-3F8E-5218-A520-B6311D0D****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.