Method: recall.lastTokenFromAllDeveloperGames
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從所有與 PGS 玩家相關聯的開發人員遊戲中擷取最後一個喚回符記 (使用提供的喚回工作階段 ID 編碼)。這個 API 僅適用於具備有效的 PGS 玩家設定檔的使用者。
HTTP 要求
GET https://games.googleapis.com/games/v1/recall/developerGamesLastPlayerToken/{sessionId}
路徑參數
參數 |
sessionId |
string
必要欄位。由伺服器產生的不透明字串,用於編碼所有必要資訊,識別特定 PGS 播放器 / Google 使用者和應用程式。
|
回應主體
從喚回度.lastTokenFromAllDeveloperGames RPC 傳回的符記資料
如果成功,回應主體會含有以下結構的資料:
欄位 |
gamePlayerToken |
object (GamePlayerToken )
與要求的 PGS 玩家主體相關聯的喚回符記。如果沒有與要求主體相關聯的喚回符記,則可設定這項設定。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher
詳情請參閱 OAuth 2.0 總覽。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Method: recall.lastTokenFromAllDeveloperGames\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RetrieveDeveloperGamesLastPlayerTokenResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/recall/developerGamesLastPlayerToken/{sessionId}`\n\n### Path parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `sessionId` | `string` Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nRecall token data returned from for the recall.lastTokenFromAllDeveloperGames RPC\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------|\n| ``` { \"gamePlayerToken\": { object (/games/services/web/api/rest/v1/GamePlayerToken) } } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `gamePlayerToken` | `object (`[GamePlayerToken](/games/services/web/api/rest/v1/GamePlayerToken)`)` The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]