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 |
Requests information about the available spectrum for a device at a location. Requests from a fixed-mode device must include owner information so the device can be registered with the database.
See: Google Spectrum Database API Reference for spectrum.paws.getSpectrum
.
Synopsis
- type PawsGetSpectrumResource = "spectrum" :> ("v1explorer" :> ("paws" :> ("getSpectrum" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PawsGetSpectrumRequest :> Post '[JSON] PawsGetSpectrumResponse)))))
- pawsGetSpectrum :: PawsGetSpectrumRequest -> PawsGetSpectrum
- data PawsGetSpectrum
- pgsPayload :: Lens' PawsGetSpectrum PawsGetSpectrumRequest
REST Resource
type PawsGetSpectrumResource = "spectrum" :> ("v1explorer" :> ("paws" :> ("getSpectrum" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PawsGetSpectrumRequest :> Post '[JSON] PawsGetSpectrumResponse))))) Source #
A resource alias for spectrum.paws.getSpectrum
method which the
PawsGetSpectrum
request conforms to.
Creating a Request
Creates a value of PawsGetSpectrum
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PawsGetSpectrum Source #
Requests information about the available spectrum for a device at a location. Requests from a fixed-mode device must include owner information so the device can be registered with the database.
See: pawsGetSpectrum
smart constructor.
Instances
Request Lenses
pgsPayload :: Lens' PawsGetSpectrum PawsGetSpectrumRequest Source #
Multipart request metadata.