Method: applications.getEndPoint
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
İstenen uç nokta türü için bir URL döndürür.
HTTP isteği
POST https://games.googleapis.com/games/v1/applications/getEndPoint
Sorgu parametreleri
Parametreler |
applicationId |
string
Google Play geliştirici konsolundaki uygulama kimliği.
|
endPointType |
enum (EndPointType )
İstenen uç nokta türü.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
İstenen türdeki URL uç noktasının kapsayıcısıdır.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"url": string
} |
Alanlar |
url |
string
İstenen uç nokta için bir web tarayıcısında yüklenmeye uygun URL.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
EndPointType
Hangi uç nokta türünün döndürülmesi gerektiğini belirtir.
Sıralamalar |
PROFILE_CREATION |
Yeni profil oluşturmak için URL isteyin. |
PROFILE_SETTINGS |
Ayarlar görünümü için bir URL isteyin. |
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],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. |"]]