Method: snapshots.list

擷取應用程式為對應玩家 ID 的玩家所建立的快照清單。

HTTP 要求

GET https://games.googleapis.com/games/v1/players/{playerId}/snapshots

路徑參數

參數
playerId

string

玩家 ID。您可以用 me 值取代已驗證玩家的 ID。

查詢參數

參數
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 總覽