Method: snapshots.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://games.googleapis.com/games/v1/snapshots/{snapshotId}
路徑參數
參數 |
snapshotId |
string
快照的 ID。
|
查詢參數
參數 |
language |
string
此方法傳回的字串偏好語言。
|
回應主體
如果成功,回應主體會包含 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 總覽。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Method: snapshots.get\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- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves the metadata for a given snapshot ID.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/snapshots/{snapshotId}`\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------|\n| `snapshotId` | `string` The ID of the snapshot. |\n\n### Query parameters\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------------|\n| `language` | `string` The preferred language to use for strings returned by this method. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Snapshot](/games/services/web/api/rest/v1/snapshots#Snapshot).\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)."]]