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 |
Checks whether the games client is out of date.
See: Google Play Game Services API Reference for games.revisions.check
.
- type RevisionsCheckResource = "games" :> ("v1" :> ("revisions" :> ("check" :> (QueryParam "clientRevision" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] RevisionCheckResponse))))))
- revisionsCheck :: Text -> RevisionsCheck
- data RevisionsCheck
- revClientRevision :: Lens' RevisionsCheck Text
- revConsistencyToken :: Lens' RevisionsCheck (Maybe Int64)
REST Resource
type RevisionsCheckResource = "games" :> ("v1" :> ("revisions" :> ("check" :> (QueryParam "clientRevision" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] RevisionCheckResponse)))))) Source #
A resource alias for games.revisions.check
method which the
RevisionsCheck
request conforms to.
Creating a Request
Creates a value of RevisionsCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevisionsCheck Source #
Checks whether the games client is out of date.
See: revisionsCheck
smart constructor.
Request Lenses
revClientRevision :: Lens' RevisionsCheck Text Source #
The revision of the client SDK used by your application. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are: - "ANDROID" - Client is running the Android SDK. - "IOS" - Client is running the iOS SDK. - "WEB_APP" - Client is running as a Web App.
revConsistencyToken :: Lens' RevisionsCheck (Maybe Int64) Source #
The last-seen mutation timestamp.