Method: snapshots.list
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্লেয়ার আইডির সাথে সংশ্লিষ্ট প্লেয়ারের জন্য আপনার অ্যাপ্লিকেশন দ্বারা তৈরি স্ন্যাপশটগুলির একটি তালিকা পুনরুদ্ধার করে।
HTTP অনুরোধ
GET https://games.googleapis.com/games/v1/players/{playerId}/snapshots
পাথ প্যারামিটার
পরামিতি |
---|
playerId | string একটি প্লেয়ার আইডি। প্রমাণীকৃত প্লেয়ারের আইডির জায়গায় me একটি মান ব্যবহার করা হতে পারে। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
language | string এই পদ্ধতির দ্বারা প্রত্যাবর্তিত স্ট্রিংগুলির জন্য ব্যবহার করার জন্য পছন্দের ভাষা। |
maxResults | integer পেজিং-এর জন্য ব্যবহৃত প্রতিক্রিয়ায় ফিরে আসার জন্য সর্বাধিক সংখ্যক স্ন্যাপশট সংস্থান। যেকোনো প্রতিক্রিয়ার জন্য, প্রত্যাবর্তিত স্ন্যাপশট সম্পদের প্রকৃত সংখ্যা নির্দিষ্ট maxResults থেকে কম হতে পারে। |
pageToken | string টোকেন পূর্ববর্তী অনুরোধ দ্বারা ফিরে. |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
একটি তৃতীয় পক্ষের তালিকা স্ন্যাপশট প্রতিক্রিয়া.
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"kind": string,
"nextPageToken": string,
"items": [
{
object (Snapshot )
}
]
} |
ক্ষেত্র |
---|
kind | string অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় নির্দিষ্ট স্ট্রিং games#snapshotListResponse । |
nextPageToken | string ফলাফলের পরবর্তী পৃষ্ঠার সাথে সঙ্গতিপূর্ণ টোকেন। আর কোন ফলাফল না থাকলে, টোকেন বাদ দেওয়া হয়। |
items[] | object ( Snapshot ) স্ন্যাপশট. |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/drive.appdata
-
https://www.googleapis.com/auth/games
-
https://www.googleapis.com/auth/games_lite
আরও তথ্যের জন্য, OAuth 2.0 ওভারভিউ দেখুন।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 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-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: snapshots.list\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.ListSnapshotsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves a list of snapshots created by your application for the player corresponding to the player ID.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/players/{playerId}/snapshots`\n\n### Path parameters\n\n| Parameters ||\n|------------|----------------------------------------------------------------------------------------------|\n| `playerId` | `string` A player ID. A value of `me` may be used in place of the authenticated player's ID. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `language` | `string` The preferred language to use for strings returned by this method. |\n| `maxResults` | `integer` The maximum number of snapshot resources to return in the response, used for paging. For any response, the actual number of snapshot resources returned may be less than the specified `maxResults`. |\n| `pageToken` | `string` The token returned by the previous request. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA third party list snapshots response.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"nextPageToken\": string, \"items\": [ { object (/games/services/web/api/rest/v1/snapshots#Snapshot) } ] } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshotListResponse`. |\n| `nextPageToken` | `string` Token corresponding to the next page of results. If there are no more results, the token is omitted. |\n| `items[]` | `object (`[Snapshot](/games/services/web/api/rest/v1/snapshots#Snapshot)`)` The snapshots. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/drive.appdata`\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)."]]