Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the metadata for a given snapshot ID.
See: Google Play Game Services API Reference for games.snapshots.get
.
Synopsis
- type SnapshotsGetResource = "games" :> ("v1" :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot)))))
- snapshotsGet :: Text -> SnapshotsGet
- data SnapshotsGet
- sLanguage :: Lens' SnapshotsGet (Maybe Text)
- sSnapshotId :: Lens' SnapshotsGet Text
REST Resource
type SnapshotsGetResource = "games" :> ("v1" :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))) Source #
A resource alias for games.snapshots.get
method which the
SnapshotsGet
request conforms to.
Creating a Request
Creates a value of SnapshotsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SnapshotsGet Source #
Retrieves the metadata for a given snapshot ID.
See: snapshotsGet
smart constructor.
Instances
Request Lenses
sLanguage :: Lens' SnapshotsGet (Maybe Text) Source #
The preferred language to use for strings returned by this method.
sSnapshotId :: Lens' SnapshotsGet Text Source #
The ID of the snapshot.