Method: recall.lastTokenFromAllDeveloperGames
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מאחזרים את אסימון הריקול האחרון מכל משחקי הפיתוח המשויך לנגן PGS המקודד במזהה סשן הריקול שסופק. ה-API זמין רק למשתמשים שיש להם פרופיל פעיל ב-PGS Player.
בקשת HTTP
GET https://games.googleapis.com/games/v1/recall/developerGamesLastPlayerToken/{sessionId}
פרמטרים של נתיב
פרמטרים |
sessionId |
string
חובה. מחרוזת אטומה שנוצרה על ידי השרת שמקודדת את כל המידע הנדרש לזיהוי הנגן של PGS / המשתמש של Google והאפליקציה.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
נתוני אסימון ריקול שהוחזרו מהריקול.lastTokenFromAllDeveloperGames RPC
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
שדות |
gamePlayerToken |
object (GamePlayerToken )
אסימון הריקול שמשויך לחשבון המשתמש המבוקש ב-PGS Player. אפשר לבטל את ההגדרה אם אין אסימון זיכרון שמשויך לחשבון המשתמש המבוקש.
|
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/androidpublisher
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],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)."]]