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.QuestMilestones.Claim

Contents

Description

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

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

questMilestonesClaim Source

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.

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.