Method: monetization.subscriptions.get
HTTP isteği
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Zorunlu. Alınacak aboneliğin üst uygulaması (paket adı).
|
productId |
string
Zorunlu. Alınacak aboneliğin benzersiz ürün kimliği.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Subscription
öğesinin bir örneğini içerir.
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-17 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-17 UTC."],[[["Retrieves details for a single subscription within a specified app."],["Requires providing the app's package name and the unique product ID of the subscription."],["Utilizes an HTTP GET request and returns subscription data in the response body."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process of retrieving a single subscription using an HTTP GET request. The request targets a specific URL, structured with `packageName` and `productId` as mandatory path parameters. The request body must be empty. A successful request returns a `Subscription` instance in the response body. The action requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization. It uses gRPC Transcoding syntax.\n"]]