Method: systemapks.variants.download
ดาวน์โหลด APK ของระบบที่สร้างไว้ก่อนหน้านี้ซึ่งเหมาะสำหรับรวมไว้ในภาพระบบ
คำขอ HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ชื่อแพ็กเกจของแอป
|
versionCode |
string (int64 format)
รหัสเวอร์ชันของ App Bundle
|
variantId |
integer (uint32 format)
รหัสของตัวแปร APK ของระบบที่สร้างไว้ก่อนหน้านี้
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากดำเนินการสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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"],[[["Downloads a pre-built system APK for embedding in system images."],["Requires specifying package name, version code, and variant ID in the URL."],["Employs an empty request body and returns an empty response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details how to download a system APK. A `GET` request is sent to a specific URL including `packageName`, `versionCode`, and `variantId` as path parameters. The request body must be empty. A successful request results in an empty response body. This action requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope. The document provides information about parameters like data types and provides a \"try it!\" function, but no information about their results.\n"]]