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 |
Gets the Proximity Beacon API's current public key and associated parameters used to initiate the Diffie-Hellman key exchange required to register a beacon that broadcasts the Eddystone-EID format. This key changes periodically; clients may cache it and re-use the same public key to provision and register multiple beacons. However, clients should be prepared to refresh this key when they encounter an error registering an Eddystone-EID beacon.
See: Proximity Beacon API Reference for proximitybeacon.getEidparams
.
Synopsis
- type GetEidparamsResource = "v1beta1" :> ("eidparams" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] EphemeralIdRegistrationParams)))))))
- getEidparams :: GetEidparams
- data GetEidparams
- geXgafv :: Lens' GetEidparams (Maybe Xgafv)
- geUploadProtocol :: Lens' GetEidparams (Maybe Text)
- geAccessToken :: Lens' GetEidparams (Maybe Text)
- geUploadType :: Lens' GetEidparams (Maybe Text)
- geCallback :: Lens' GetEidparams (Maybe Text)
REST Resource
type GetEidparamsResource = "v1beta1" :> ("eidparams" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] EphemeralIdRegistrationParams))))))) Source #
A resource alias for proximitybeacon.getEidparams
method which the
GetEidparams
request conforms to.
Creating a Request
getEidparams :: GetEidparams Source #
Creates a value of GetEidparams
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetEidparams Source #
Gets the Proximity Beacon API's current public key and associated parameters used to initiate the Diffie-Hellman key exchange required to register a beacon that broadcasts the Eddystone-EID format. This key changes periodically; clients may cache it and re-use the same public key to provision and register multiple beacons. However, clients should be prepared to refresh this key when they encounter an error registering an Eddystone-EID beacon.
See: getEidparams
smart constructor.
Instances
Request Lenses
geUploadProtocol :: Lens' GetEidparams (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
geAccessToken :: Lens' GetEidparams (Maybe Text) Source #
OAuth access token.
geUploadType :: Lens' GetEidparams (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
geCallback :: Lens' GetEidparams (Maybe Text) Source #
JSONP