Method: applications.getEndPoint

傳回所請求端點類型的網址。

HTTP 要求

POST https://games.googleapis.com/games/v1/applications/getEndPoint

查詢參數

參數
applicationId

string

Google Play 開發人員控制台中的應用程式 ID。

endPointType

enum (EndPointType)

要求的端點類型。

要求主體

要求主體必須為空白。

回應主體

用來裝載所要求類型網址端點的網址端點。

如果成功,回應主體即會包含具有以下結構的資料:

JSON 表示法
{
  "url": string
}
欄位
url

string

適合在網路瀏覽器中載入要求端點的網址。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/games
  • https://www.googleapis.com/auth/games_lite

詳情請參閱 OAuth 2.0 總覽

EndPointType

指定要傳回的終點類型。

列舉
PROFILE_CREATION 要求取得網址來建立新的商家檔案。
PROFILE_SETTINGS 要求設定檢視畫面的網址。