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 the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.
See: Google Play Game Services Management API Reference for gamesManagement.achievements.resetForAllPlayers
.
Synopsis
- type AchievementsResetForAllPlayersResource = "games" :> ("v1management" :> ("achievements" :> (Capture "achievementId" Text :> ("resetForAllPlayers" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))
- achievementsResetForAllPlayers :: Text -> AchievementsResetForAllPlayers
- data AchievementsResetForAllPlayers
- arfapAchievementId :: Lens' AchievementsResetForAllPlayers Text
REST Resource
type AchievementsResetForAllPlayersResource = "games" :> ("v1management" :> ("achievements" :> (Capture "achievementId" Text :> ("resetForAllPlayers" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #
A resource alias for gamesManagement.achievements.resetForAllPlayers
method which the
AchievementsResetForAllPlayers
request conforms to.
Creating a Request
achievementsResetForAllPlayers Source #
Creates a value of AchievementsResetForAllPlayers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementsResetForAllPlayers Source #
Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.
See: achievementsResetForAllPlayers
smart constructor.
Instances
Request Lenses
arfapAchievementId :: Lens' AchievementsResetForAllPlayers Text Source #
The ID of the achievement used by this method.