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 |
Retrieve a Blog by URL.
See: Blogger API Reference for blogger.blogs.getByUrl
.
Synopsis
- type BlogsGetByURLResource = "blogger" :> ("v3" :> ("blogs" :> ("byurl" :> (QueryParam "url" Text :> (QueryParam "view" BlogsGetByURLView :> (QueryParam "alt" AltJSON :> Get '[JSON] Blog))))))
- blogsGetByURL :: Text -> BlogsGetByURL
- data BlogsGetByURL
- bgbuURL :: Lens' BlogsGetByURL Text
- bgbuView :: Lens' BlogsGetByURL (Maybe BlogsGetByURLView)
REST Resource
type BlogsGetByURLResource = "blogger" :> ("v3" :> ("blogs" :> ("byurl" :> (QueryParam "url" Text :> (QueryParam "view" BlogsGetByURLView :> (QueryParam "alt" AltJSON :> Get '[JSON] Blog)))))) Source #
A resource alias for blogger.blogs.getByUrl
method which the
BlogsGetByURL
request conforms to.
Creating a Request
:: Text | |
-> BlogsGetByURL |
Creates a value of BlogsGetByURL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BlogsGetByURL Source #
Retrieve a Blog by URL.
See: blogsGetByURL
smart constructor.
Instances
Request Lenses
bgbuView :: Lens' BlogsGetByURL (Maybe BlogsGetByURLView) Source #
Access level with which to view the blog. Note that some fields require elevated access.