Method: systemapks.variants.create
สร้าง APK ที่เหมาะสมสำหรับการรวมไว้ในอิมเมจระบบจาก Android App Bundle ที่อัปโหลดไว้แล้ว
คำขอ HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ชื่อแพ็กเกจของแอป
|
versionCode |
string (int64 format)
รหัสเวอร์ชันของ App Bundle
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Variant
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Variant
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-17 UTC
[null,null,["อัปเดตล่าสุด 2024-12-17 UTC"],[[["Creates an APK file suitable for system images from an uploaded Android App Bundle."],["Uses an HTTP POST request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants`."],["Requires specifying the package name and version code as path parameters."],["Request and response bodies utilize the `Variant` data structure."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This outlines the process of creating a system-ready APK from an uploaded Android App Bundle. It utilizes a `POST` HTTP request to a specific URL structure: `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants`. The request requires `packageName` and `versionCode` path parameters. The request body uses the `Variant` resource, and a successful response returns a newly created `Variant` instance. The process requires `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]