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 |
Updates multiple achievements for the currently authenticated player.
See: Google Play Game Services API Reference for games.achievements.updateMultiple
.
Synopsis
- type AchievementsUpdateMultipleResource = "games" :> ("v1" :> ("achievements" :> ("updateMultiple" :> (QueryParam "builtinGameId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementUpdateMultipleRequest :> Post '[JSON] AchievementUpdateMultipleResponse))))))
- achievementsUpdateMultiple :: AchievementUpdateMultipleRequest -> AchievementsUpdateMultiple
- data AchievementsUpdateMultiple
- aumBuiltinGameId :: Lens' AchievementsUpdateMultiple (Maybe Text)
- aumPayload :: Lens' AchievementsUpdateMultiple AchievementUpdateMultipleRequest
REST Resource
type AchievementsUpdateMultipleResource = "games" :> ("v1" :> ("achievements" :> ("updateMultiple" :> (QueryParam "builtinGameId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementUpdateMultipleRequest :> Post '[JSON] AchievementUpdateMultipleResponse)))))) Source #
A resource alias for games.achievements.updateMultiple
method which the
AchievementsUpdateMultiple
request conforms to.
Creating a Request
achievementsUpdateMultiple Source #
Creates a value of AchievementsUpdateMultiple
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementsUpdateMultiple Source #
Updates multiple achievements for the currently authenticated player.
See: achievementsUpdateMultiple
smart constructor.
Instances
Request Lenses
aumBuiltinGameId :: Lens' AchievementsUpdateMultiple (Maybe Text) Source #
Override used only by built-in games in Play Games application.
aumPayload :: Lens' AchievementsUpdateMultiple AchievementUpdateMultipleRequest Source #
Multipart request metadata.