Method: applications.getEndPoint
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce un URL per il tipo di punto di arrivo richiesto.
Richiesta HTTP
POST https://games.googleapis.com/games/v1/applications/getEndPoint
Parametri di query
Parametri |
applicationId |
string
L'ID applicazione della console per gli sviluppatori di Google Play.
|
endPointType |
enum (EndPointType )
Tipo di endpoint richiesto.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
Contenitore di un endpoint URL del tipo richiesto.
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"url": string
} |
Campi |
url |
string
Un URL adatto al caricamento in un browser web per l'endpoint richiesto.
|
Ambiti di autorizzazione
Richiede uno dei seguenti ambiti OAuth:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
Per ulteriori informazioni, consulta la panoramica di OAuth 2.0.
EndPointType
Specifica il tipo di punto di arrivo da restituire.
Enum |
PROFILE_CREATION |
Richiedi un URL per creare un nuovo profilo. |
PROFILE_SETTINGS |
Richiedi un URL per la vista Impostazioni. |
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]