Mengimpor image kustom.
Deskripsi operasi
-
Anda dapat mengimpor image kustom untuk mengembangkan fitur atau layanan kustom.
-
Pertama, dapatkan baseline image Android Open Source Project (AOSP) yang diperlukan dari platform. Kemudian, buat build kustom. Setelah build selesai, impor image ke platform. Untuk instruksi mendetail, hubungi dukungan teknis Wuying.
-
Pastikan paket TAR image berukuran lebih kecil dari 2 GB. Jika tidak, image mungkin gagal diuraikan.
-
Pastikan alamat Object Storage Service (OSS) berada di Tiongkok daratan. Jika alamat berada di luar Tiongkok daratan atau di wilayah Hong Kong (Tiongkok), unduhan file image mungkin mengalami waktu habis.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ImageFileURL |
string |
Yes |
URL image. URL harus berupa alamat Alibaba Cloud Object Storage Service (OSS). |
https://xxx.oss-xxx/xxxx.tgz |
| ImageName |
string |
Yes |
Nama image. |
import custom image |
| ImageDescription |
string |
No |
Deskripsi image. |
android 12 custom image |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
425F351C-3F8E-5218-A520-B6311D0D**** |
| ImageId |
string |
ID image. |
imgc-06zyt9m93zwax**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
"ImageId": "imgc-06zyt9m93zwax****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.