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 |
Deletes an annotation.
See: Books API Reference for books.mylibrary.annotations.delete
.
Synopsis
- type MyLibraryAnnotationsDeleteResource = "books" :> ("v1" :> ("mylibrary" :> ("annotations" :> (Capture "annotationId" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- myLibraryAnnotationsDelete :: Text -> MyLibraryAnnotationsDelete
- data MyLibraryAnnotationsDelete
- mladAnnotationId :: Lens' MyLibraryAnnotationsDelete Text
- mladSource :: Lens' MyLibraryAnnotationsDelete (Maybe Text)
REST Resource
type MyLibraryAnnotationsDeleteResource = "books" :> ("v1" :> ("mylibrary" :> ("annotations" :> (Capture "annotationId" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for books.mylibrary.annotations.delete
method which the
MyLibraryAnnotationsDelete
request conforms to.
Creating a Request
myLibraryAnnotationsDelete Source #
Creates a value of MyLibraryAnnotationsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyLibraryAnnotationsDelete Source #
Deletes an annotation.
See: myLibraryAnnotationsDelete
smart constructor.
Instances
Request Lenses
mladAnnotationId :: Lens' MyLibraryAnnotationsDelete Text Source #
The ID for the annotation to delete.
mladSource :: Lens' MyLibraryAnnotationsDelete (Maybe Text) Source #
String to identify the originator of this request.