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.Annotations.Update

Contents

Description

Updates an existing annotation.

See: Books API Reference for books.mylibrary.annotations.update.

Synopsis

REST Resource

type MyLibraryAnnotationsUpdateResource = "books" :> ("v1" :> ("mylibrary" :> ("annotations" :> (Capture "annotationId" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Annotation :> Put `[JSON]` Annotation))))))) Source

A resource alias for books.mylibrary.annotations.update method which the MyLibraryAnnotationsUpdate request conforms to.

Creating a Request

myLibraryAnnotationsUpdate Source

Creates a value of MyLibraryAnnotationsUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

mlauAnnotationId :: Lens' MyLibraryAnnotationsUpdate Text Source

The ID for the annotation to update.

mlauSource :: Lens' MyLibraryAnnotationsUpdate (Maybe Text) Source

String to identify the originator of this request.