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.Insert

Contents

Description

Inserts a new annotation.

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

Synopsis

REST Resource

type MyLibraryAnnotationsInsertResource = "books" :> ("v1" :> ("mylibrary" :> ("annotations" :> (QueryParam "country" Text :> (QueryParam "showOnlySummaryInResponse" Bool :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Annotation :> Post `[JSON]` Annotation)))))))) Source

A resource alias for books.mylibrary.annotations.insert method which the MyLibraryAnnotationsInsert request conforms to.

Creating a Request

myLibraryAnnotationsInsert Source

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

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

Request Lenses

mlaiCountry :: Lens' MyLibraryAnnotationsInsert (Maybe Text) Source

ISO-3166-1 code to override the IP-based location.

mlaiShowOnlySummaryInResponse :: Lens' MyLibraryAnnotationsInsert (Maybe Bool) Source

Requests that only the summary of the specified layer be provided in the response.

mlaiSource :: Lens' MyLibraryAnnotationsInsert (Maybe Text) Source

String to identify the originator of this request.