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 |
Gets one blog by ID.
See: Blogger API Reference for blogger.blogs.get
.
Synopsis
- type BlogsGetResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> (QueryParam "maxPosts" (Textual Word32) :> (QueryParam "view" BlogsGetView :> (QueryParam "alt" AltJSON :> Get '[JSON] Blog))))))
- blogsGet :: Text -> BlogsGet
- data BlogsGet
- bgBlogId :: Lens' BlogsGet Text
- bgMaxPosts :: Lens' BlogsGet (Maybe Word32)
- bgView :: Lens' BlogsGet (Maybe BlogsGetView)
REST Resource
type BlogsGetResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> (QueryParam "maxPosts" (Textual Word32) :> (QueryParam "view" BlogsGetView :> (QueryParam "alt" AltJSON :> Get '[JSON] Blog)))))) Source #
A resource alias for blogger.blogs.get
method which the
BlogsGet
request conforms to.
Creating a Request
Creates a value of BlogsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Gets one blog by ID.
See: blogsGet
smart constructor.