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 a single location by ID.
See: Google Mirror API Reference for mirror.locations.get
.
Synopsis
- type LocationsGetResource = "mirror" :> ("v1" :> ("locations" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Location))))
- locationsGet :: Text -> LocationsGet
- data LocationsGet
- lgId :: Lens' LocationsGet Text
REST Resource
type LocationsGetResource = "mirror" :> ("v1" :> ("locations" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Location)))) Source #
A resource alias for mirror.locations.get
method which the
LocationsGet
request conforms to.
Creating a Request
:: Text | |
-> LocationsGet |
Creates a value of LocationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LocationsGet Source #
Gets a single location by ID.
See: locationsGet
smart constructor.