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 and user info pair by blogId and userId.
See: Blogger API Reference for blogger.blogUserInfos.get
.
Synopsis
- type BlogUserInfosGetResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> (QueryParam "maxPosts" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] BlogUserInfo)))))))
- blogUserInfosGet :: Text -> Text -> BlogUserInfosGet
- data BlogUserInfosGet
- buigBlogId :: Lens' BlogUserInfosGet Text
- buigUserId :: Lens' BlogUserInfosGet Text
- buigMaxPosts :: Lens' BlogUserInfosGet (Maybe Word32)
REST Resource
type BlogUserInfosGetResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> (QueryParam "maxPosts" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] BlogUserInfo))))))) Source #
A resource alias for blogger.blogUserInfos.get
method which the
BlogUserInfosGet
request conforms to.
Creating a Request
Creates a value of BlogUserInfosGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BlogUserInfosGet Source #
Gets one blog and user info pair by blogId and userId.
See: blogUserInfosGet
smart constructor.
Instances
Request Lenses
buigBlogId :: Lens' BlogUserInfosGet Text Source #
The ID of the blog to get.
buigUserId :: Lens' BlogUserInfosGet Text Source #
ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
buigMaxPosts :: Lens' BlogUserInfosGet (Maybe Word32) Source #
Maximum number of posts to pull back with the blog.