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 |
Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned.
See: Google App State API Reference for appstate.states.get
.
REST Resource
type StatesGetResource = "appstate" :> ("v1" :> ("states" :> (Capture "stateKey" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` GetResponse)))) Source
A resource alias for appstate.states.get
method which the
StatesGet
request conforms to.
Creating a Request
Creates a value of StatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned.
See: statesGet
smart constructor.
Request Lenses
sgStateKey :: Lens' StatesGet Int32 Source
The key for the data to be retrieved.