REST Resource: edits.images
資源:圖片
JSON 表示法 |
{
"id": string,
"url": string,
"sha1": string,
"sha256": string
} |
欄位 |
id |
string
代表此圖片的專屬 ID。
|
url |
string
用於預覽圖片的網址。
|
sha1 |
string
圖片的 sha1 雜湊。
|
sha256 |
string
圖片的 sha256 雜湊。
|
方法 |
|
從編輯中刪除圖片 (由 ID 指定)。 |
|
刪除指定語言和圖片類型的所有圖片。 |
|
列出所有圖片。 |
|
上傳指定語言和圖片類型的圖片,並加入編輯內容。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["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"]]