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 |
Retrieves a list of bookshelves belonging to the authenticated user.
See: Books API Reference for books.mylibrary.bookshelves.list
.
Synopsis
- type MyLibraryBookshelvesListResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelves)))))
- myLibraryBookshelvesList :: MyLibraryBookshelvesList
- data MyLibraryBookshelvesList
- mlblSource :: Lens' MyLibraryBookshelvesList (Maybe Text)
REST Resource
type MyLibraryBookshelvesListResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelves))))) Source #
A resource alias for books.mylibrary.bookshelves.list
method which the
MyLibraryBookshelvesList
request conforms to.
Creating a Request
myLibraryBookshelvesList :: MyLibraryBookshelvesList Source #
Creates a value of MyLibraryBookshelvesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyLibraryBookshelvesList Source #
Retrieves a list of bookshelves belonging to the authenticated user.
See: myLibraryBookshelvesList
smart constructor.
Instances
Request Lenses
mlblSource :: Lens' MyLibraryBookshelvesList (Maybe Text) Source #
String to identify the originator of this request.