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 |
Retrieve the description of a particular version of an api.
See: API Discovery Service Reference for discovery.apis.getRest
.
Synopsis
- type APIsGetRestResource = "discovery" :> ("v1" :> ("apis" :> (Capture "api" Text :> (Capture "version" Text :> ("rest" :> (QueryParam "alt" AltJSON :> Get '[JSON] RestDescription))))))
- apisGetRest :: Text -> Text -> APIsGetRest
- data APIsGetRest
- agrVersion :: Lens' APIsGetRest Text
- agrAPI :: Lens' APIsGetRest Text
REST Resource
type APIsGetRestResource = "discovery" :> ("v1" :> ("apis" :> (Capture "api" Text :> (Capture "version" Text :> ("rest" :> (QueryParam "alt" AltJSON :> Get '[JSON] RestDescription)))))) Source #
A resource alias for discovery.apis.getRest
method which the
APIsGetRest
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> APIsGetRest |
Creates a value of APIsGetRest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data APIsGetRest Source #
Retrieve the description of a particular version of an api.
See: apisGetRest
smart constructor.
Instances
Request Lenses
agrVersion :: Lens' APIsGetRest Text Source #
The version of the API.