All Products
Search
Document Center

Cloud Phone:CreateApp

Last Updated:Jun 10, 2026

Membuat aplikasi Android. Sebelum Anda dapat menginstal aplikasi, Anda harus menggunakan operasi API ini untuk membuatnya. Aplikasi tidak diunduh saat dibuat. Aplikasi hanya diunduh selama penginstalan. Pastikan cloud phone dapat mengakses URL unduhan.

Deskripsi operasi

When you create an application, you can pass the application information in one of the following two ways:

  • Method 1: Pass an application from the WUYING Workspace app center.

    • Supported methods:

      • Method 1: Pass FileName and FilePath. Both parameters are required.

      • Method 2: Pass OssAppUrl.

    • Rule: If you pass an application from the WUYING Workspace app center, you must use at least one of the two methods. If you use both, Method 1 takes precedence.

    • Prerequisite: Log on to the Elastic Desktop Service Enterprise console. Follow the on-screen instructions to upload your application file to the WUYING Workspace app center. You can then obtain the required request parameters for this operation: FileName and FilePath, or OssAppUrl.

  • Method 2: Pass a custom application.

    • Supported method: Pass CustomAppInfo.

    • Rule: If you pass CustomAppInfo, all six fields in this object parameter are required.

Catatan

If you use both Method 1 and Method 2, the information passed in Method 2 takes precedence.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

AppName

string

No

Nama aplikasi.

应用名称1

FileName

string

No

Nama file aplikasi yang disimpan di Object Storage Service (OSS). Parameter ini dan FilePath bersama-sama menentukan alamat OSS yang unik.

Catatan
  • Jika Anda menyertakan aplikasi dari pusat aplikasi WUYING Workspace, Anda harus menyertakan FileName dan FilePath, atau OssAppUrl. Opsi pertama memiliki prioritas lebih tinggi.

  • Masuk ke Konsol WUYING Workspace. Ikuti petunjuk di layar untuk mengunggah file aplikasi Anda ke pusat aplikasi WUYING Workspace guna mendapatkan parameter ini.

testApp.apk

FilePath

string

No

Alamat penyimpanan file aplikasi di bucket OSS. Parameter ini dan FileName bersama-sama menentukan alamat OSS yang unik.

Catatan
  • Jika Anda menyertakan aplikasi dari pusat aplikasi WUYING Workspace, Anda harus menyertakan FileName dan FilePath, atau OssAppUrl. Opsi pertama memiliki prioritas lebih tinggi.

  • Masuk ke Konsol WUYING Workspace. Ikuti petunjuk di layar untuk mengunggah file aplikasi Anda ke pusat aplikasi WUYING Workspace guna mendapatkan parameter ini.

tenant/1642150****/

IconUrl

string

No

URL ikon aplikasi.

https://www.example.com/icon.png

OssAppUrl

string

No

Alamat OSS aplikasi.

Catatan
  • Jika Anda menyertakan aplikasi dari pusat aplikasi WUYING Workspace, Anda harus menyertakan FileName dan FilePath, atau OssAppUrl. Opsi pertama memiliki prioritas lebih tinggi.

  • Masuk ke Konsol WUYING Workspace. Ikuti petunjuk di layar untuk mengunggah file aplikasi Anda ke pusat aplikasi WUYING Workspace guna mendapatkan parameter ini.

http://testApp.apk

BizRegionId

string

No

ID wilayah.

cn-hangzhou

InstallParam

string

No

Parameter penginstalan. Parameter penginstalan -r disertakan secara default saat Anda menginstal aplikasi.

-d

Description

string

No

Deskripsi aplikasi.

应用描述

CustomAppInfo

object

No

Informasi aplikasi kustom.

Catatan
  • Jika Anda menyertakan aplikasi kustom, sertakan parameter CustomAppInfo. Semua enam bidang dalam parameter objek ini wajib diisi.

  • Aplikasi kustom memiliki prioritas lebih tinggi daripada aplikasi dari pusat aplikasi WUYING Workspace. Jika Anda menyertakan parameter CustomAppInfo, FileName dan FilePath, atau OssAppUrl akan menjadi tidak valid.

DownloadUrl

string

No

The download URL of the application.

http://testApp.apk

Version

string

No

The application version.

1.0.0

VersionCode

string

No

The application version code.

10000

PackageName

string

No

The application package name.

com.example.demo

ApkSize

string

No

The size of the .apk file. Unit: MB.

10

Md5

string

No

The MD5 value of the .apk package.

df3f46ce5844ddb278f14c5a9cd2****

SignApk

string

No

Apakah akan melakukan penandatanganan sistem.

Valid values:

  • false :

    Penandatanganan tidak diperlukan.

  • true :

    Penandatanganan diperlukan.

false

Elemen respons

Element

Type

Description

Example

object

The returned parameters.

AppId

integer

The application ID.

1234

RequestId

string

The request ID.

E5138F7E-46B5-526A-8C99-82DEAE6B****

Contoh

Respons sukses

JSONformat

{
  "AppId": 1234,
  "RequestId": "E5138F7E-46B5-526A-8C99-82DEAE6B****"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.