Method: monetization.subscriptions.get
एचटीटीपी अनुरोध
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ज़रूरी है. जिस सदस्यता को खरीदना है उसका पैरंट ऐप्लिकेशन (पैकेज का नाम).
|
productId |
string
ज़रूरी है. आपको जो सदस्यता लेनी है उसका यूनीक प्रॉडक्ट आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Subscription
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]