Method: applications.getEndPoint
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan URL untuk jenis endpoint yang diminta.
Permintaan HTTP
POST https://games.googleapis.com/games/v1/applications/getEndPoint
Parameter kueri
Parameter |
applicationId |
string
ID aplikasi dari konsol developer Google Play.
|
endPointType |
enum (EndPointType )
Jenis endpoint yang diminta.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Penampung untuk endpoint URL dari jenis yang diminta.
Jika berhasil, isi respons berisi data dengan struktur berikut:
Representasi JSON |
{
"url": string
} |
Kolom |
url |
string
URL yang sesuai untuk dimuat di browser web untuk endpoint yang diminta.
|
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
EndPointType
Menentukan jenis endpoint yang akan ditampilkan.
Enum |
PROFILE_CREATION |
Minta URL untuk membuat profil baru. |
PROFILE_SETTINGS |
Minta URL untuk tampilan Setelan. |
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]