Method: edits.images.deleteall
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
刪除指定語言和圖片類型的所有圖片。如果找不到圖片,則會傳回空白回應。
HTTP 要求
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
packageName |
string
應用程式的套件名稱。
|
editId |
string
編輯的 ID。
|
language |
string
語言本地化代碼 (BCP-47 語言標記,例如「de-AT」代表奧地利德文)。提供應用程式不支援的語言會導致無操作。
|
imageType |
enum (AppImageType )
圖片類型。提供不參照任何圖片的圖片類型,會導致無操作。
|
回應主體
刪除所有圖片的回應。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"deleted": [
{
object (Image )
}
]
} |
欄位 |
deleted[] |
object (Image )
已刪除的圖片。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-17 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2024-12-17 (世界標準時間)。"],[[["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"]]