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 |
Clears all volumes from a bookshelf.
See: Books API Reference for books.mylibrary.bookshelves.clearVolumes
.
Synopsis
- type MyLibraryBookshelvesClearVolumesResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("clearVolumes" :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))
- myLibraryBookshelvesClearVolumes :: Text -> MyLibraryBookshelvesClearVolumes
- data MyLibraryBookshelvesClearVolumes
- mlbcvShelf :: Lens' MyLibraryBookshelvesClearVolumes Text
- mlbcvSource :: Lens' MyLibraryBookshelvesClearVolumes (Maybe Text)
REST Resource
type MyLibraryBookshelvesClearVolumesResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("clearVolumes" :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))) Source #
A resource alias for books.mylibrary.bookshelves.clearVolumes
method which the
MyLibraryBookshelvesClearVolumes
request conforms to.
Creating a Request
myLibraryBookshelvesClearVolumes Source #
Creates a value of MyLibraryBookshelvesClearVolumes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyLibraryBookshelvesClearVolumes Source #
Clears all volumes from a bookshelf.
See: myLibraryBookshelvesClearVolumes
smart constructor.
Instances
Request Lenses
mlbcvShelf :: Lens' MyLibraryBookshelvesClearVolumes Text Source #
ID of bookshelf from which to remove a volume.
mlbcvSource :: Lens' MyLibraryBookshelvesClearVolumes (Maybe Text) Source #
String to identify the originator of this request.