gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Achievements.Reveal

Contents

Description

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

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

achievementsReveal Source

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.

Request Lenses

arAchievementId :: Lens' AchievementsReveal Text Source

The ID of the achievement used by this method.