gogol-books-0.0.1: Google Books 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.Books.Layers.AnnotationData.Get

Contents

Description

Gets the annotation data.

See: Books API Reference for books.layers.annotationData.get.

Synopsis

REST Resource

type LayersAnnotationDataGetResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layers" :> (Capture "layerId" Text :> ("data" :> (Capture "annotationDataId" Text :> (QueryParam "contentVersion" Text :> (QueryParam "w" (Textual Int32) :> (QueryParam "scale" (Textual Int32) :> (QueryParam "locale" Text :> (QueryParam "allowWebDefinitions" Bool :> (QueryParam "source" Text :> (QueryParam "h" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AnnotationData))))))))))))))) Source

A resource alias for books.layers.annotationData.get method which the LayersAnnotationDataGet request conforms to.

Creating a Request

Request Lenses

ladgW :: Lens' LayersAnnotationDataGet (Maybe Int32) Source

The requested pixel width for any images. If width is provided height must also be provided.

ladgScale :: Lens' LayersAnnotationDataGet (Maybe Int32) Source

The requested scale for the image.

ladgLocale :: Lens' LayersAnnotationDataGet (Maybe Text) Source

The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.

ladgContentVersion :: Lens' LayersAnnotationDataGet Text Source

The content version for the volume you are trying to retrieve.

ladgAllowWebDefinitions :: Lens' LayersAnnotationDataGet (Maybe Bool) Source

For the dictionary layer. Whether or not to allow web definitions.

ladgAnnotationDataId :: Lens' LayersAnnotationDataGet Text Source

The ID of the annotation data to retrieve.

ladgVolumeId :: Lens' LayersAnnotationDataGet Text Source

The volume to retrieve annotations for.

ladgSource :: Lens' LayersAnnotationDataGet (Maybe Text) Source

String to identify the originator of this request.

ladgH :: Lens' LayersAnnotationDataGet (Maybe Int32) Source

The requested pixel height for any images. If height is provided width must also be provided.

ladgLayerId :: Lens' LayersAnnotationDataGet Text Source

The ID for the layer to get the annotations.