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 my reading position information for a volume.
See: Books API Reference for books.mylibrary.readingpositions.get
.
Synopsis
- type MyLibraryReadingPositionsGetResource = "books" :> ("v1" :> ("mylibrary" :> ("readingpositions" :> (Capture "volumeId" Text :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ReadingPosition)))))))
- myLibraryReadingPositionsGet :: Text -> MyLibraryReadingPositionsGet
- data MyLibraryReadingPositionsGet
- mlrpgContentVersion :: Lens' MyLibraryReadingPositionsGet (Maybe Text)
- mlrpgVolumeId :: Lens' MyLibraryReadingPositionsGet Text
- mlrpgSource :: Lens' MyLibraryReadingPositionsGet (Maybe Text)
REST Resource
type MyLibraryReadingPositionsGetResource = "books" :> ("v1" :> ("mylibrary" :> ("readingpositions" :> (Capture "volumeId" Text :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ReadingPosition))))))) Source #
A resource alias for books.mylibrary.readingpositions.get
method which the
MyLibraryReadingPositionsGet
request conforms to.
Creating a Request
myLibraryReadingPositionsGet Source #
Creates a value of MyLibraryReadingPositionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyLibraryReadingPositionsGet Source #
Retrieves my reading position information for a volume.
See: myLibraryReadingPositionsGet
smart constructor.
Instances
Request Lenses
mlrpgContentVersion :: Lens' MyLibraryReadingPositionsGet (Maybe Text) Source #
Volume content version for which this reading position is requested.
mlrpgVolumeId :: Lens' MyLibraryReadingPositionsGet Text Source #
ID of volume for which to retrieve a reading position.
mlrpgSource :: Lens' MyLibraryReadingPositionsGet (Maybe Text) Source #
String to identify the originator of this request.