Method: purchases.subscriptionsv2.get
subscriptionsv2.get abonelikle ilgili meta verileri alma
HTTP isteği
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Bu aboneliğin satın alındığı uygulamanın paketi (ör. "com.bir.şey").
|
token |
string
Zorunlu. Abonelik satın alındığında kullanıcının cihazına sağlanan jeton.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, SubscriptionPurchaseV2
öğ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 metadata for a specific subscription purchase within a given application's package."],["Requires providing the application package name and the purchase token in the request URL."],["Returns detailed information about the subscription, such as purchase status, start/end times, and payment details, if successful."],["Authentication is necessary using the `androidpublisher` OAuth scope."]]],["This document outlines the process for retrieving metadata about a subscription using the `subscriptionsv2.get` method. This is done via a `GET` HTTP request to a specific URL containing the application's package name and a purchase token. The request body must be empty. The response, if successful, contains subscription details in the `SubscriptionPurchaseV2` format. This process requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization. The path parameters are package name and token.\n"]]