snapshots

GET /games/v1/snapshots/{snapshotId}

Changed on

Retrieves the metadata for a given snapshot ID.

Request

  • Base URL
    https://games.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/drive.appdata
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/drive.appdata
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/games
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/games
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

snapshotIdstring required

The ID of the snapshot.

Query parameters

languagestring

The preferred language to use for strings returned by this method.

Response

Successful response

descriptionstring

The description of this snapshot.

driveIdstring

The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.

durationMillisstring int64

The duration associated with this snapshot, in millis.

idstring

The ID of the snapshot.

kindstring

Uniquely identifies the type of this resource. Value is always the fixed string games#snapshot.

lastModifiedMillisstring int64

The timestamp (in millis since Unix epoch) of the last modification to this snapshot.

progressValuestring int64

The progress value (64-bit integer set by developer) associated with this snapshot.

titlestring

The title of this snapshot.

type'SAVE_GAME'

The type of this snapshot.

uniqueNamestring

The unique name provided when the snapshot was created.

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/drive.appdata was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/drive.appdata was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/games was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/games was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/drive.appdata was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/drive.appdata was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/games was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/games was removed from the endpoint's security scheme Oauth2c