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 |
Retrieves information about the specified survey.
See: Surveys API Reference for surveys.surveys.get
.
Synopsis
- type SurveysGetResource = "surveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Survey))))
- surveysGet :: Text -> SurveysGet
- data SurveysGet
- sgSurveyURLId :: Lens' SurveysGet Text
REST Resource
type SurveysGetResource = "surveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Survey)))) Source #
A resource alias for surveys.surveys.get
method which the
SurveysGet
request conforms to.
Creating a Request
Creates a value of SurveysGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SurveysGet Source #
Retrieves information about the specified survey.
See: surveysGet
smart constructor.
Instances
Request Lenses
sgSurveyURLId :: Lens' SurveysGet Text Source #
External URL ID for the survey.