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 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.achievements.reset
.
Synopsis
- type AchievementsResetResource = "games" :> ("v1management" :> ("achievements" :> (Capture "achievementId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementResetResponse)))))
- achievementsReset :: Text -> AchievementsReset
- data AchievementsReset
- arAchievementId :: Lens' AchievementsReset Text
REST Resource
type AchievementsResetResource = "games" :> ("v1management" :> ("achievements" :> (Capture "achievementId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementResetResponse))))) Source #
A resource alias for gamesManagement.achievements.reset
method which the
AchievementsReset
request conforms to.
Creating a Request
Creates a value of AchievementsReset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementsReset Source #
Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
See: achievementsReset
smart constructor.
Instances
Request Lenses
arAchievementId :: Lens' AchievementsReset Text Source #
The ID of the achievement used by this method.