REST Resource: edits.images
Zasób: obraz
Przesłany obraz. Zasób usługi ImagesService.
Zapis JSON |
{
"id": string,
"url": string,
"sha1": string,
"sha256": string
} |
Pola |
id |
string
Unikalny identyfikator reprezentujący obraz.
|
url |
string
Adres URL do wyświetlania podglądu obrazu.
|
sha1 |
string
Skrót sha1 obrazu.
|
sha256 |
string
Hasz sha256 obrazu.
|
Metody |
|
Usuwa z edycji obraz (określony za pomocą identyfikatora). |
|
Usuwa wszystkie obrazy o określonym języku i typie. |
|
Wyświetla listę wszystkich obrazów. |
|
Przesyła obraz w wybranym języku i jego typie oraz dodaje element do zmiany. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-22 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"]]