Method: monetization.subscriptions.batchGet
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir veya daha fazla abonelik okur.
HTTP isteği
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions:batchGet
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Zorunlu. Aboneliklerin alınması gereken üst uygulama (paket adı). Tüm isteklerde packageName alanına eşit olmalıdır.
|
Sorgu parametreleri
Parametreler |
productIds[] |
string
Zorunlu. Alınacak 100 adede kadar abonelik ürün kimliğinin yer aldığı bir liste. Tüm kimlikler farklı olmalıdır.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
abonelikleriniz.batchGet uç noktası için yanıt mesajı.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"subscriptions": [
{
object (Subscription )
}
]
} |
Alanlar |
subscriptions[] |
object (Subscription )
İstenen aboneliklerin listesi, istekle aynı sırayla gösterilir.
|
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: 2025-05-21 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: 2025-05-21 UTC."],[[["Retrieves details for one or more app subscriptions using their product IDs."],["Requires providing the app's package name and a list of subscription product IDs."],["Returns a list of subscriptions corresponding to the provided product IDs, if found."],["Uses the `GET` HTTP method and requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope."],["Request body should be empty."]]],["This document details retrieving multiple subscriptions via a `GET` request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions:batchGet`. The `packageName` is a mandatory path parameter. A `productIds[]` query parameter, containing up to 100 unique subscription IDs, is also required. The request body must be empty. A successful response includes a JSON object with a `subscriptions[]` field that lists requested subscriptions in the order they were requested. The operation requires the `androidpublisher` OAuth scope.\n"]]