Method: edits.images.deleteall
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ลบรูปภาพทั้งหมดสำหรับภาษาและประเภทรูปภาพที่ระบุ แสดงผลการตอบกลับที่ว่างเปล่าหากไม่พบรูปภาพ
คำขอ HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ชื่อแพ็กเกจของแอป
|
editId |
string
ตัวระบุของการแก้ไข
|
language |
string
รหัสการแปลภาษา (แท็กภาษา BCP-47 เช่น "de-AT" สำหรับภาษาเยอรมันออสเตรีย) การระบุภาษาที่แอปไม่รองรับจะไม่มีการดำเนินการใดๆ
|
imageType |
enum (AppImageType )
ประเภทของรูปภาพ การระบุประเภทรูปภาพที่อ้างถึงไม่มีรูปภาพจะถือว่าไม่มีการดำเนินการ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
การตอบกลับการลบรูปภาพทั้งหมด
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"deleted": [
{
object (Image )
}
]
} |
ช่อง |
deleted[] |
object (Image )
รูปภาพที่ถูกลบ
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-05-21 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-05-21 UTC"],[[["Deletes all images for a specified language and image type within an app's edit."],["Requires providing the package name, edit ID, language code, and image type in the request."],["Uses an HTTP DELETE request with no request body and an empty response for success."],["Authorization is needed with the `https://www.googleapis.com/auth/androidpublisher` scope."],["The response may contain a list of deleted images if any were found."]]],["The content details deleting all images of a specific type and language for an app. It uses a `DELETE` HTTP request to a specific URL, defined by `packageName`, `editId`, `language`, and `imageType`. The request body must be empty. A successful response provides a JSON array detailing the deleted images. The process requires `androidpublisher` authorization and uses gRPC Transcoding. The request is a no-op if the input language or image type refers to no existing image.\n"]]