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 the annotation data.
See: Books API Reference for books.layers.annotationData.get
.
Synopsis
- 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)))))))))))))))
- layersAnnotationDataGet :: Text -> Text -> Text -> Text -> LayersAnnotationDataGet
- data LayersAnnotationDataGet
- ladgW :: Lens' LayersAnnotationDataGet (Maybe Int32)
- ladgScale :: Lens' LayersAnnotationDataGet (Maybe Int32)
- ladgLocale :: Lens' LayersAnnotationDataGet (Maybe Text)
- ladgContentVersion :: Lens' LayersAnnotationDataGet Text
- ladgAllowWebDefinitions :: Lens' LayersAnnotationDataGet (Maybe Bool)
- ladgAnnotationDataId :: Lens' LayersAnnotationDataGet Text
- ladgVolumeId :: Lens' LayersAnnotationDataGet Text
- ladgSource :: Lens' LayersAnnotationDataGet (Maybe Text)
- ladgH :: Lens' LayersAnnotationDataGet (Maybe Int32)
- ladgLayerId :: Lens' LayersAnnotationDataGet Text
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
layersAnnotationDataGet Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> LayersAnnotationDataGet |
Creates a value of LayersAnnotationDataGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LayersAnnotationDataGet Source #
Gets the annotation data.
See: layersAnnotationDataGet
smart constructor.
Instances
Request Lenses
ladgW :: Lens' LayersAnnotationDataGet (Maybe Int32) Source #
The requested pixel width for any images. If width is provided height must also be provided.
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.