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 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):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. |"]]