REST Resource: edits.images
Resource: Image
An uploaded image. The resource for ImagesService.
JSON representation |
{
"id": string,
"url": string,
"sha1": string,
"sha256": string
} |
Fields |
id |
string
A unique id representing this image.
|
url |
string
A URL that will serve a preview of the image.
|
sha1 |
string
A sha1 hash of the image.
|
sha256 |
string
A sha256 hash of the image.
|
Methods |
|
Deletes the image (specified by id) from the edit. |
|
Deletes all images for the specified language and image type. |
|
Lists all images. |
|
Uploads an image of the specified language and image type, and adds to the edit. |
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.
[null,null,["Last updated 2024-08-21 UTC."],[[["Images are uploaded resources identified by a unique ID and accessible via URL."],["Images have properties including SHA1 and SHA256 hashes for content verification."],["Developers can manage images via methods to delete, list, and upload them within edits."],["Image management includes options to delete individual images or all images for a specific language and type."]]],["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"]]