AI-generated Key Takeaways
-
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.
Resource: Image
An uploaded image. The resource for ImagesService.
JSON representation |
---|
{ "id": string, "url": string, "sha1": string, "sha256": string } |
Fields | |
---|---|
id |
A unique id representing this image. |
url |
A URL that will serve a preview of the image. |
sha1 |
A sha1 hash of the image. |
sha256 |
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. |