Method: monetization.subscriptions.basePlans.offers.get
Żądanie HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
packageName |
string
Wymagane. Nazwa pakietu aplikacji nadrzędnej (nazwa pakietu) oferty.
|
productId |
string
Wymagane. Identyfikator subskrypcji nadrzędnej oferty.
|
basePlanId |
string
Wymagane. Identyfikator abonamentu podstawowego (ID) oferty, którą chcesz uzyskać.
|
offerId |
string
Wymagane. Unikalny identyfikator oferty, którą chcesz otrzymać.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu SubscriptionOffer
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidpublisher
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-17 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-17 UTC."],[[["Retrieves details of a specific subscription offer within a base plan."],["Requires providing package name, product ID, base plan ID, and offer ID as path parameters."],["An empty request body is necessary, and the response provides a `SubscriptionOffer` object."],["Utilizes the `https://www.googleapis.com/auth/androidpublisher` authorization scope for access."]]],["This document outlines the process to retrieve a single subscription offer via a `GET` HTTP request. The request URL includes four required path parameters: `packageName`, `productId`, `basePlanId`, and `offerId`. The request body must be empty. A successful request returns a `SubscriptionOffer` instance in the response body. Access requires authorization using the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The resource uses gRPC Transcoding syntax.\n"]]