| 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.ResetForAllPlayers
Description
Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only draft leaderboards can be reset.
See: Google Play Game Services Management API Reference for gamesManagement.scores.resetForAllPlayers.
- type ScoresResetForAllPlayersResource = "games" :> ("v1management" :> ("leaderboards" :> (Capture "leaderboardId" Text :> ("scores" :> ("resetForAllPlayers" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))))
- scoresResetForAllPlayers :: Text -> ScoresResetForAllPlayers
- data ScoresResetForAllPlayers
- srfapLeaderboardId :: Lens' ScoresResetForAllPlayers Text
REST Resource
type ScoresResetForAllPlayersResource = "games" :> ("v1management" :> ("leaderboards" :> (Capture "leaderboardId" Text :> ("scores" :> ("resetForAllPlayers" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ())))))) Source
A resource alias for gamesManagement.scores.resetForAllPlayers method which the
ScoresResetForAllPlayers request conforms to.
Creating a Request
scoresResetForAllPlayers Source
Arguments
| :: Text | |
| -> ScoresResetForAllPlayers |
Creates a value of ScoresResetForAllPlayers with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ScoresResetForAllPlayers Source
Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only draft leaderboards can be reset.
See: scoresResetForAllPlayers smart constructor.
Request Lenses
srfapLeaderboardId :: Lens' ScoresResetForAllPlayers Text Source
The ID of the leaderboard.