Method: edits.images.deleteall
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Elimina tutte le immagini per la lingua e il tipo di immagine specificati. Restituisce una risposta vuota se non viene trovata alcuna immagine.
Richiesta HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
packageName |
string
Nome del pacchetto dell'app.
|
editId |
string
Identificatore della modifica.
|
language |
string
Codice di localizzazione della lingua (un tag lingua BCP-47; ad esempio "de-AT" per il tedesco austriaco). Fornire una lingua non supportata dall'app è una soluzione autonoma.
|
imageType |
enum (AppImageType )
Tipo di immagine. Fornire un tipo di immagine che non faccia riferimento a nessuna immagine è un'operazione nulla.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
Risposta per l'eliminazione di tutte le immagini.
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"deleted": [
{
object (Image )
}
]
} |
Campi |
deleted[] |
object (Image )
Le immagini eliminate.
|
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidpublisher
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eDeletes all images for a specified language and image type within an app's edit.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the package name, edit ID, language code, and image type in the request.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP DELETE request with no request body and an empty response for success.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is needed with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response may contain a list of deleted images if any were found.\u003c/p\u003e\n"]]],["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"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ImagesDeleteAllResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes all images for the specified language and image type. Returns an empty response if no images are found.\n\nHTTP request\n\n`DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `editId` | `string` Identifier of the edit. |\n| `language` | `string` Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). Providing a language that is not supported by the App is a no-op. |\n| `imageType` | `enum (`[AppImageType](/android-publisher/api-ref/rest/v3/AppImageType)`)` Type of the Image. Providing an image type that refers to no images is a no-op. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body Response for deleting all images.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------|\n| ``` { \"deleted\": [ { object (/android-publisher/api-ref/rest/v3/edits.images#Image) } ] } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------|\n| `deleted[]` | `object (`[Image](/android-publisher/api-ref/rest/v3/edits.images#Image)`)` The deleted images. |\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]