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 |
Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.
See: Google Play Game Services API Reference for games.questMilestones.claim
.
Synopsis
- type QuestMilestonesClaimResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("milestones" :> (Capture "milestoneId" Text :> ("claim" :> (QueryParam "requestId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))))))
- questMilestonesClaim :: Int64 -> Text -> Text -> QuestMilestonesClaim
- data QuestMilestonesClaim
- qmcRequestId :: Lens' QuestMilestonesClaim Int64
- qmcMilestoneId :: Lens' QuestMilestonesClaim Text
- qmcQuestId :: Lens' QuestMilestonesClaim Text
REST Resource
type QuestMilestonesClaimResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("milestones" :> (Capture "milestoneId" Text :> ("claim" :> (QueryParam "requestId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))))))) Source #
A resource alias for games.questMilestones.claim
method which the
QuestMilestonesClaim
request conforms to.
Creating a Request
Creates a value of QuestMilestonesClaim
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data QuestMilestonesClaim Source #
Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.
See: questMilestonesClaim
smart constructor.
Instances
Request Lenses
qmcRequestId :: Lens' QuestMilestonesClaim Int64 Source #
A numeric ID to ensure that the request is handled correctly across retries. Your client application must generate this ID randomly.
qmcMilestoneId :: Lens' QuestMilestonesClaim Text Source #
The ID of the milestone.
qmcQuestId :: Lens' QuestMilestonesClaim Text Source #
The ID of the quest.