Copyright | (c) 2015 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 |
List the layer summaries for a volume.
See: Books API Reference for books.layers.list
.
- type LayersListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layersummary" :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Layersummaries)))))))))
- layersList :: Text -> LayersList
- data LayersList
- llContentVersion :: Lens' LayersList (Maybe Text)
- llVolumeId :: Lens' LayersList Text
- llSource :: Lens' LayersList (Maybe Text)
- llPageToken :: Lens' LayersList (Maybe Text)
- llMaxResults :: Lens' LayersList (Maybe Word32)
REST Resource
type LayersListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layersummary" :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Layersummaries))))))))) Source
A resource alias for books.layers.list
method which the
LayersList
request conforms to.
Creating a Request
:: Text | |
-> LayersList |
Creates a value of LayersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LayersList Source
List the layer summaries for a volume.
See: layersList
smart constructor.
Request Lenses
llContentVersion :: Lens' LayersList (Maybe Text) Source
The content version for the requested volume.
llVolumeId :: Lens' LayersList Text Source
The volume to retrieve layers for.
llPageToken :: Lens' LayersList (Maybe Text) Source
The value of the nextToken from the previous page.
llMaxResults :: Lens' LayersList (Maybe Word32) Source
Maximum number of results to return