Method: recall.gamesPlayerTokens
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定されたリコール セッション ID でエンコードされた PGS プレーヤーに関連付けられている、リクエストされたすべてのゲームからリコール トークンを取得します。この API は、有効な PGS プレーヤー プロフィールを持つユーザーのみが利用できます。
HTTP リクエスト
GET https://games.googleapis.com/games/v1/recall/gamesPlayerTokens/{sessionId}
パスパラメータ
パラメータ |
sessionId |
string
必須。サーバーが生成する不透明な文字列。PGS プレーヤー / Google ユーザーとアプリを識別するために必要なすべての情報をエンコードします。
|
クエリ パラメータ
パラメータ |
applicationIds[] |
string
必須。スコープ ID を返すゲームの Google Play Console のアプリケーション ID。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
recall.gamesPlayerTokens RPC から返されたリコール トークンデータのリスト
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
gamePlayerTokens[] |
object (GamePlayerToken )
リクエストされたアプリとプレーヤーのリコール トークン。プレーヤーがアプリのリコール トークンを持っていない場合、そのアプリはレスポンスに含まれません。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
詳しくは、OAuth 2.0 の概要をご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Method: recall.gamesPlayerTokens\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RetrieveGamesPlayerTokensResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/recall/gamesPlayerTokens/{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### Query parameters\n\n| Parameters ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------|\n| `applicationIds[]` | `string` Required. The application IDs from the Google Play developer console for the games to return scoped ids for. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA list of recall token data returned from the recall.gamesPlayerTokens RPC\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------|\n| ``` { \"gamePlayerTokens\": [ { object (/games/services/web/api/rest/v1/GamePlayerToken) } ] } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `gamePlayerTokens[]` | `object (`[GamePlayerToken](/games/services/web/api/rest/v1/GamePlayerToken)`)` The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response. |\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)."]]