Method: edits.images.deleteall
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחיקת כל התמונות בשפה ובסוג התמונה שצוינו. אם לא נמצאות תמונות, הפונקציה מחזירה תגובה ריקה.
בקשת HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
כתובת ה-URL משתמשת בתחביר של Transcoding של 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
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-17 (שעון 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"]],["עדכון אחרון: 2024-12-17 (שעון 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"]]