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 |
Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
See: Google Play Game Services Management API Reference for gamesManagement.scores.reset
.
Synopsis
- type ScoresResetResource = "games" :> ("v1management" :> ("leaderboards" :> (Capture "leaderboardId" Text :> ("scores" :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] PlayerScoreResetResponse))))))
- scoresReset :: Text -> ScoresReset
- data ScoresReset
- srLeaderboardId :: Lens' ScoresReset Text
REST Resource
type ScoresResetResource = "games" :> ("v1management" :> ("leaderboards" :> (Capture "leaderboardId" Text :> ("scores" :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] PlayerScoreResetResponse)))))) Source #
A resource alias for gamesManagement.scores.reset
method which the
ScoresReset
request conforms to.
Creating a Request
Creates a value of ScoresReset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ScoresReset Source #
Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
See: scoresReset
smart constructor.
Instances
Request Lenses
srLeaderboardId :: Lens' ScoresReset Text Source #
The ID of the leaderboard.