Method: edits.images.upload
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen dilin ve resim türünün resmini yükleyip düzenlemeye ekler.
HTTP isteği
- Medya yükleme istekleri için yükleme URI'si:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
- Yalnızca meta veri istekleri için meta veri URI'si:
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Uygulamanın paket adı.
|
editId |
string
Düzenlemenin tanımlayıcısıdır.
|
language |
string
Dil yerelleştirme kodu (BCP-47 dil etiketi; örneğin, Avusturya Almancası için "de-AT"). Uygulama tarafından desteklenmeyen bir dil sağlamanın hiçbir etkisi yoktur.
|
imageType |
enum (AppImageType )
Resmin türü.
|
İstek içeriği
İstek metni, ImagesUploadRequestBody
öğesinin bir örneğini içerir.
Yanıt gövdesi
Resim yüklemeyle ilgili yanıt.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"image": {
object (Image )
}
} |
Alanlar |
image |
object (Image )
Yüklenen resim.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-18 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-12-18 UTC."],[[["Uploads an image of the specified language and image type, and adds it to the edit."],["Utilizes HTTP POST requests to upload media or metadata for app listings."],["Requires path parameters such as package name, edit ID, language, and image type."],["The request body should contain an `ImagesUploadRequestBody` instance."],["Successful responses include an `Image` object representing the uploaded image."]]],["This document details the process for uploading images to an Android app's listing. Key actions involve making a `POST` request to either an upload URI or a metadata URI, specifying parameters like `packageName`, `editId`, `language`, and `imageType`. The request body, which is `ImagesUploadRequestBody`, needs to be provided and a JSON response containing image data is returned. Authorization using `https://www.googleapis.com/auth/androidpublisher` scope is also necessary for the request.\n"]]