| Copyright | (c) 2015 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 |
Network.Google.Resource.GamesManagement.Quests.Reset
Description
Resets all player progress on the quest with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
See: Google Play Game Services Management API Reference for gamesManagement.quests.reset.
- type QuestsResetResource = "games" :> ("v1management" :> ("quests" :> (Capture "questId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ())))))
- questsReset :: Text -> QuestsReset
- data QuestsReset
- qrQuestId :: Lens' QuestsReset Text
REST Resource
type QuestsResetResource = "games" :> ("v1management" :> ("quests" :> (Capture "questId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))) Source
A resource alias for gamesManagement.quests.reset method which the
QuestsReset request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> QuestsReset |
Creates a value of QuestsReset with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data QuestsReset Source
Resets all player progress on the quest with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
See: questsReset smart constructor.
Instances
Request Lenses
qrQuestId :: Lens' QuestsReset Text Source
The ID of the quest.