Method: monetization.subscriptions.get
HTTP リクエスト
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
必須。取得する定期購入の親アプリ(パッケージ名)。
|
productId |
string
必須。取得する定期購入の一意のアイテム ID。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Subscription
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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"]]