REST Resource: edits.images
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
منبع: تصویر
یک تصویر آپلود شده منبع ImagesService.
نمایندگی JSON |
---|
{
"id": string,
"url": string,
"sha1": string,
"sha256": string
} |
فیلدها |
---|
id | string یک شناسه منحصر به فرد که این تصویر را نشان می دهد. |
url | string URL که پیش نمایش تصویر را ارائه می دهد. |
sha1 | string یک هش sha1 از تصویر. |
sha256 | string یک هش sha256 از تصویر. |
روش ها |
---|
| تصویر (مشخص شده توسط id) را از ویرایش حذف می کند. |
| همه تصاویر را برای زبان و نوع تصویر مشخص شده حذف می کند. |
| همه تصاویر را فهرست می کند. |
| تصویری با زبان و نوع تصویر مشخص شده آپلود می کند و به ویرایش اضافه می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]