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 post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.
See: Blogger API Reference for blogger.postUserInfos.get
.
Synopsis
- type PostUserInfosGetResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "maxComments" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PostUserInfo)))))))))
- postUserInfosGet :: Text -> Text -> Text -> PostUserInfosGet
- data PostUserInfosGet
- puigBlogId :: Lens' PostUserInfosGet Text
- puigMaxComments :: Lens' PostUserInfosGet (Maybe Word32)
- puigUserId :: Lens' PostUserInfosGet Text
- puigPostId :: Lens' PostUserInfosGet Text
REST Resource
type PostUserInfosGetResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "maxComments" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PostUserInfo))))))))) Source #
A resource alias for blogger.postUserInfos.get
method which the
PostUserInfosGet
request conforms to.
Creating a Request
Creates a value of PostUserInfosGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PostUserInfosGet Source #
Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.
See: postUserInfosGet
smart constructor.
Instances
Request Lenses
puigBlogId :: Lens' PostUserInfosGet Text Source #
The ID of the blog.
puigMaxComments :: Lens' PostUserInfosGet (Maybe Word32) Source #
Maximum number of comments to pull back on a post.
puigUserId :: Lens' PostUserInfosGet Text Source #
ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
puigPostId :: Lens' PostUserInfosGet Text Source #
The ID of the post to get.