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 |
Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be reset. All quests that use the event will also be reset.
See: Google Play Game Services Management API Reference for gamesManagement.events.resetForAllPlayers
.
Synopsis
- type EventsResetForAllPlayersResource = "games" :> ("v1management" :> ("events" :> (Capture "eventId" Text :> ("resetForAllPlayers" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))
- eventsResetForAllPlayers :: Text -> EventsResetForAllPlayers
- data EventsResetForAllPlayers
- erfapEventId :: Lens' EventsResetForAllPlayers Text
REST Resource
type EventsResetForAllPlayersResource = "games" :> ("v1management" :> ("events" :> (Capture "eventId" Text :> ("resetForAllPlayers" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #
A resource alias for gamesManagement.events.resetForAllPlayers
method which the
EventsResetForAllPlayers
request conforms to.
Creating a Request
eventsResetForAllPlayers Source #
Creates a value of EventsResetForAllPlayers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsResetForAllPlayers Source #
Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be reset. All quests that use the event will also be reset.
See: eventsResetForAllPlayers
smart constructor.
Instances
Request Lenses
erfapEventId :: Lens' EventsResetForAllPlayers Text Source #
The ID of the event.