Retrieves a list of snapshots created by your application for the player corresponding to the player ID. Try it now.
Request
HTTP request
GET https://www.googleapis.com/games/v1/players/playerId/snapshots
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
playerId |
string |
A player ID. A value of me may be used in place of the authenticated player's ID.
|
Optional query parameters | ||
language |
string |
The preferred language to use for strings returned by this method. |
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 .
Acceptable values are 1 to 25 , inclusive.
|
pageToken |
string |
The token returned by the previous request. |
Authorization
This request requires authorization with at least one of the following scopes:
Scope |
---|
https://www.googleapis.com/auth/games |
https://www.googleapis.com/auth/drive.appdata |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "games#snapshotListResponse", "nextPageToken": string, "items": [ snapshots Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotListResponse . |
|
nextPageToken |
string |
Token corresponding to the next page of results. If there are no more results, the token is omitted. | |
items[] |
list |
The snapshots. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.