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 metadata for a specific bookshelf for the specified user.
See: Books API Reference for books.bookshelves.get
.
Synopsis
- type BookshelvesGetResource = "books" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("bookshelves" :> (Capture "shelf" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelf)))))))
- bookshelvesGet :: Text -> Text -> BookshelvesGet
- data BookshelvesGet
- bgUserId :: Lens' BookshelvesGet Text
- bgShelf :: Lens' BookshelvesGet Text
- bgSource :: Lens' BookshelvesGet (Maybe Text)
REST Resource
type BookshelvesGetResource = "books" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("bookshelves" :> (Capture "shelf" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelf))))))) Source #
A resource alias for books.bookshelves.get
method which the
BookshelvesGet
request conforms to.
Creating a Request
Creates a value of BookshelvesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BookshelvesGet Source #
Retrieves metadata for a specific bookshelf for the specified user.
See: bookshelvesGet
smart constructor.