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 |
Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player.
See: Google Play Game Services API Reference for games.achievements.reveal
.
Synopsis
- type AchievementsRevealResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("reveal" :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementRevealResponse)))))
- achievementsReveal :: Text -> AchievementsReveal
- data AchievementsReveal
- arAchievementId :: Lens' AchievementsReveal Text
REST Resource
type AchievementsRevealResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("reveal" :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementRevealResponse))))) Source #
A resource alias for games.achievements.reveal
method which the
AchievementsReveal
request conforms to.
Creating a Request
Creates a value of AchievementsReveal
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementsReveal Source #
Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player.
See: achievementsReveal
smart constructor.
Instances
Request Lenses
arAchievementId :: Lens' AchievementsReveal Text Source #
The ID of the achievement used by this method.