REST Resource: edits.images
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ressource: Image
Une image importée. Ressource de l'interface cloisonnée.
Représentation JSON |
{
"id": string,
"url": string,
"sha1": string,
"sha256": string
} |
Champs |
id |
string
Identifiant unique représentant cette image.
|
url |
string
URL qui diffusera un aperçu de l'image.
|
sha1 |
string
Hachage SHA1 de l'image.
|
sha256 |
string
Hachage Sha256 de l'image.
|
Méthodes |
|
Supprime l'image (spécifiée par l'identifiant) de la modification. |
|
Supprime toutes les images pour la langue et le type d'image spécifiés. |
|
Liste toutes les images. |
|
Importe une image dans la langue et le type d'image spécifiés, puis l'ajoute à la modification. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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. |"]]