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 for a volume and layer.
See: Books API Reference for books.layers.annotationData.list
.
Synopsis
- type LayersAnnotationDataListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layers" :> (Capture "layerId" Text :> ("data" :> (QueryParam "contentVersion" Text :> (QueryParam "w" (Textual Int32) :> (QueryParam "scale" (Textual Int32) :> (QueryParam "locale" Text :> (QueryParam "updatedMax" Text :> (QueryParam "updatedMin" Text :> (QueryParams "annotationDataId" Text :> (QueryParam "source" Text :> (QueryParam "h" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AnnotationsData))))))))))))))))))
- layersAnnotationDataList :: Text -> Text -> Text -> LayersAnnotationDataList
- data LayersAnnotationDataList
- ladlW :: Lens' LayersAnnotationDataList (Maybe Int32)
- ladlScale :: Lens' LayersAnnotationDataList (Maybe Int32)
- ladlLocale :: Lens' LayersAnnotationDataList (Maybe Text)
- ladlContentVersion :: Lens' LayersAnnotationDataList Text
- ladlUpdatedMax :: Lens' LayersAnnotationDataList (Maybe Text)
- ladlUpdatedMin :: Lens' LayersAnnotationDataList (Maybe Text)
- ladlAnnotationDataId :: Lens' LayersAnnotationDataList [Text]
- ladlVolumeId :: Lens' LayersAnnotationDataList Text
- ladlSource :: Lens' LayersAnnotationDataList (Maybe Text)
- ladlH :: Lens' LayersAnnotationDataList (Maybe Int32)
- ladlPageToken :: Lens' LayersAnnotationDataList (Maybe Text)
- ladlLayerId :: Lens' LayersAnnotationDataList Text
- ladlMaxResults :: Lens' LayersAnnotationDataList (Maybe Word32)
REST Resource
type LayersAnnotationDataListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layers" :> (Capture "layerId" Text :> ("data" :> (QueryParam "contentVersion" Text :> (QueryParam "w" (Textual Int32) :> (QueryParam "scale" (Textual Int32) :> (QueryParam "locale" Text :> (QueryParam "updatedMax" Text :> (QueryParam "updatedMin" Text :> (QueryParams "annotationDataId" Text :> (QueryParam "source" Text :> (QueryParam "h" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AnnotationsData)))))))))))))))))) Source #
A resource alias for books.layers.annotationData.list
method which the
LayersAnnotationDataList
request conforms to.
Creating a Request
layersAnnotationDataList Source #
Creates a value of LayersAnnotationDataList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LayersAnnotationDataList Source #
Gets the annotation data for a volume and layer.
See: layersAnnotationDataList
smart constructor.
Instances
Request Lenses
ladlW :: Lens' LayersAnnotationDataList (Maybe Int32) Source #
The requested pixel width for any images. If width is provided height must also be provided.
ladlScale :: Lens' LayersAnnotationDataList (Maybe Int32) Source #
The requested scale for the image.
ladlLocale :: Lens' LayersAnnotationDataList (Maybe Text) Source #
The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
ladlContentVersion :: Lens' LayersAnnotationDataList Text Source #
The content version for the requested volume.
ladlUpdatedMax :: Lens' LayersAnnotationDataList (Maybe Text) Source #
RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
ladlUpdatedMin :: Lens' LayersAnnotationDataList (Maybe Text) Source #
RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
ladlAnnotationDataId :: Lens' LayersAnnotationDataList [Text] Source #
The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.
ladlVolumeId :: Lens' LayersAnnotationDataList Text Source #
The volume to retrieve annotation data for.
ladlSource :: Lens' LayersAnnotationDataList (Maybe Text) Source #
String to identify the originator of this request.
ladlH :: Lens' LayersAnnotationDataList (Maybe Int32) Source #
The requested pixel height for any images. If height is provided width must also be provided.
ladlPageToken :: Lens' LayersAnnotationDataList (Maybe Text) Source #
The value of the nextToken from the previous page.
ladlLayerId :: Lens' LayersAnnotationDataList Text Source #
The ID for the layer to get the annotation data.
ladlMaxResults :: Lens' LayersAnnotationDataList (Maybe Word32) Source #
Maximum number of results to return