Method: recall.retrieveTokens
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Sağlanan geri çağırma oturumu kimliğinde kodlanmış PGS Oynatıcı ile ilişkili tüm Recall jetonlarını alın. API yalnızca etkin PGS oynatıcı profiline sahip kullanıcılar tarafından kullanılabilir.
HTTP isteği
GET https://games.googleapis.com/games/v1/recall/tokens/{sessionId}
Yol parametreleri
Parametreler |
sessionId |
string
Zorunlu. PGS oynatıcısını / Google kullanıcısını ve uygulamasını tanımlamak için gerekli tüm bilgileri kodlayan, sunucu tarafından oluşturulmuş opak dize.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Recall.retrieveTokens RPC yanıtı
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"tokens": [
{
object (RecallToken )
}
]
} |
Alanlar |
tokens[] |
object (RecallToken )
Zorunlu. İstenen PGS Oynatıcı ana hesabıyla ilişkili geri çağırma jetonları
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Method: recall.retrieveTokens\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.RetrievePlayerTokensResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieve all Recall tokens 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/tokens/{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\nResponse for the recall.retrieveTokens RPC\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------|\n| ``` { \"tokens\": [ { object (/games/services/web/api/rest/v1/RecallToken) } ] } ``` |\n\n| Fields ||\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `tokens[]` | `object (`[RecallToken](/games/services/web/api/rest/v1/RecallToken)`)` Required. Recall tokens associated with the requested PGS Player 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)."]]