REST Resource: edits.images
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Image
An uploaded image. The resource for ImagesService.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 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,["# REST Resource: edits.images\n\n- [Resource: Image](#Image)\n - [JSON representation](#Image.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Image\n---------------\n\nAn 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. |"]]