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 |
要求設定檢視畫面的網址。 |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Method: applications.getEndPoint\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.EndPoint.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [EndPointType](#EndPointType)\n- [Try it!](#try-it)\n\nReturns a URL for the requested end point type.\n\n### HTTP request\n\n`POST https://games.googleapis.com/games/v1/applications/getEndPoint`\n\n### Query parameters\n\n| Parameters ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------|\n| `applicationId` | `string` The application ID from the Google Play developer console. |\n| `endPointType` | `enum (`[EndPointType](/games/services/web/api/rest/v1/applications/getEndPoint#EndPointType)`)` Type of endpoint being requested. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nContainer for a URL end point of the requested type.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------|\n| ``` { \"url\": string } ``` |\n\n| Fields ||\n|-------|----------------------------------------------------------------------------------|\n| `url` | `string` A URL suitable for loading in a web browser for the requested endpoint. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/games`\n- `\n https://www.googleapis.com/auth/games_lite`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).\n\nEndPointType\n------------\n\nSpecifies which kind of end point should be returned.\n\n| Enums ||\n|--------------------|----------------------------------------|\n| `PROFILE_CREATION` | Request a URL to create a new profile. |\n| `PROFILE_SETTINGS` | Request a URL for the Settings view. |"]]