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 |
Get the data for a room.
See: Google Play Game Services API Reference for games.rooms.get
.
- type RoomsGetResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Room))))))
- roomsGet :: Text -> RoomsGet
- data RoomsGet
- rgConsistencyToken :: Lens' RoomsGet (Maybe Int64)
- rgRoomId :: Lens' RoomsGet Text
- rgLanguage :: Lens' RoomsGet (Maybe Text)
REST Resource
type RoomsGetResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Room)))))) Source #
A resource alias for games.rooms.get
method which the
RoomsGet
request conforms to.
Creating a Request
Creates a value of RoomsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Get the data for a room.
See: roomsGet
smart constructor.