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 public bookshelves for the specified user.
See: Books API Reference for books.bookshelves.list
.
Synopsis
- type BookshelvesListResource = "books" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("bookshelves" :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelves))))))
- bookshelvesList :: Text -> BookshelvesList
- data BookshelvesList
- blUserId :: Lens' BookshelvesList Text
- blSource :: Lens' BookshelvesList (Maybe Text)
REST Resource
type BookshelvesListResource = "books" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("bookshelves" :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelves)))))) Source #
A resource alias for books.bookshelves.list
method which the
BookshelvesList
request conforms to.
Creating a Request
Creates a value of BookshelvesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BookshelvesList Source #
Retrieves a list of public bookshelves for the specified user.
See: bookshelvesList
smart constructor.