| Copyright | (c) 2015 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 |
Network.Google.Resource.GamesManagement.Scores.Reset
Description
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.
- 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
Arguments
| :: Text | |
| -> ScoresReset |
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.
Request Lenses
srLeaderboardId :: Lens' ScoresReset Text Source
The ID of the leaderboard.