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.MyLibrary.ReadingPositions.SetPosition

Contents

Description

Sets my reading position information for a volume.

See: Books API Reference for books.mylibrary.readingpositions.setPosition.

Synopsis

REST Resource

type MyLibraryReadingPositionsSetPositionResource = "books" :> ("v1" :> ("mylibrary" :> ("readingpositions" :> (Capture "volumeId" Text :> ("setPosition" :> (QueryParam "timestamp" Text :> (QueryParam "position" Text :> (QueryParam "deviceCookie" Text :> (QueryParam "contentVersion" Text :> (QueryParam "action" MyLibraryReadingPositionsSetPositionAction :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ())))))))))))) Source

A resource alias for books.mylibrary.readingpositions.setPosition method which the MyLibraryReadingPositionsSetPosition request conforms to.

Creating a Request

Request Lenses

mlrpspDeviceCookie :: Lens' MyLibraryReadingPositionsSetPosition (Maybe Text) Source

Random persistent device cookie optional on set position.

mlrpspContentVersion :: Lens' MyLibraryReadingPositionsSetPosition (Maybe Text) Source

Volume content version for which this reading position applies.

mlrpspVolumeId :: Lens' MyLibraryReadingPositionsSetPosition Text Source

ID of volume for which to update the reading position.

mlrpspSource :: Lens' MyLibraryReadingPositionsSetPosition (Maybe Text) Source

String to identify the originator of this request.

mlrpspTimestamp :: Lens' MyLibraryReadingPositionsSetPosition Text Source

RFC 3339 UTC format timestamp associated with this reading position.

mlrpspPosition :: Lens' MyLibraryReadingPositionsSetPosition Text Source

Position string for the new volume reading position.