REST Resource: edits.images
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: immagine
Un'immagine caricata. La risorsa per ImagesService.
Rappresentazione JSON |
{
"id": string,
"url": string,
"sha1": string,
"sha256": string
} |
Campi |
id |
string
Un ID univoco che rappresenta questa immagine.
|
url |
string
Un URL che pubblicherà un'anteprima dell'immagine.
|
sha1 |
string
Un hash sha1 dell'immagine.
|
sha256 |
string
Un hash sha256 dell'immagine.
|
Metodi |
|
Elimina l'immagine (specificata dall'ID) dalla modifica. |
|
Elimina tutte le immagini per la lingua e il tipo di immagine specificati. |
|
Elenca tutte le immagini. |
|
Carica un'immagine della lingua e del tipo di immagine specificati e aggiunge la modifica. |
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\u003eImages are uploaded resources identified by a unique ID and accessible via URL.\u003c/p\u003e\n"],["\u003cp\u003eImages have properties including SHA1 and SHA256 hashes for content verification.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can manage images via methods to delete, list, and upload them within edits.\u003c/p\u003e\n"],["\u003cp\u003eImage management includes options to delete individual images or all images for a specific language and type.\u003c/p\u003e\n"]]],["The core content describes an \"Image\" resource, which includes a unique `id`, a preview `url`, and `sha1` and `sha256` hashes. The available actions (methods) for managing images include: `delete` (removes a specific image), `deleteall` (removes all images of a specific type and language), `list` (retrieves all images), and `upload` (adds a new image with a given type and language to the edit). The JSON representation shows the structure of the image resource.\n"],null,["- [Resource: Image](#Image)\n - [JSON representation](#Image.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Image An uploaded image. The resource for ImagesService.\n\n| JSON representation |\n|---------------------------------------------------------------------------|\n| ``` { \"id\": string, \"url\": string, \"sha1\": string, \"sha256\": string } ``` |\n\n| Fields ||\n|----------|--------------------------------------------------------|\n| `id` | `string` A unique id representing this image. |\n| `url` | `string` A URL that will serve a preview of the image. |\n| `sha1` | `string` A sha1 hash of the image. |\n| `sha256` | `string` A sha256 hash of the image. |\n\n| Methods ||\n|------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| [delete](/android-publisher/api-ref/rest/v3/edits.images/delete) | Deletes the image (specified by id) from the edit. |\n| [deleteall](/android-publisher/api-ref/rest/v3/edits.images/deleteall) | Deletes all images for the specified language and image type. |\n| [list](/android-publisher/api-ref/rest/v3/edits.images/list) | Lists all images. |\n| [upload](/android-publisher/api-ref/rest/v3/edits.images/upload) | Uploads an image of the specified language and image type, and adds to the edit. |"]]