gogol-discovery-0.0.1: Google APIs Discovery Service SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Discovery.APIs.GetRest

Contents

Description

Retrieve the description of a particular version of an api.

See: APIs Discovery Service Reference for discovery.apis.getRest.

Synopsis

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

apisGetRest Source

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.

Request Lenses

agrVersion :: Lens' APIsGetRest Text Source

The version of the API.

agrAPI :: Lens' APIsGetRest Text Source

The name of the API.