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 |
The Google Spectrum Database implements registration in the getSpectrum method. As such this always returns an UNIMPLEMENTED error.
See: Google Spectrum Database API Reference for spectrum.paws.register
.
Synopsis
- type PawsRegisterResource = "spectrum" :> ("v1explorer" :> ("paws" :> ("register" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PawsRegisterRequest :> Post '[JSON] PawsRegisterResponse)))))
- pawsRegister :: PawsRegisterRequest -> PawsRegister
- data PawsRegister
- prPayload :: Lens' PawsRegister PawsRegisterRequest
REST Resource
type PawsRegisterResource = "spectrum" :> ("v1explorer" :> ("paws" :> ("register" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PawsRegisterRequest :> Post '[JSON] PawsRegisterResponse))))) Source #
A resource alias for spectrum.paws.register
method which the
PawsRegister
request conforms to.
Creating a Request
Creates a value of PawsRegister
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PawsRegister Source #
The Google Spectrum Database implements registration in the getSpectrum method. As such this always returns an UNIMPLEMENTED error.
See: pawsRegister
smart constructor.
Instances
Request Lenses
prPayload :: Lens' PawsRegister PawsRegisterRequest Source #
Multipart request metadata.