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 |
Create a new comment in reply to an activity.
See: Google+ Domains API Reference for plusDomains.comments.insert
.
Synopsis
- type CommentsInsertResource = "plusDomains" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Post '[JSON] Comment))))))
- commentsInsert :: Text -> Comment -> CommentsInsert
- data CommentsInsert
- cActivityId :: Lens' CommentsInsert Text
- cPayload :: Lens' CommentsInsert Comment
REST Resource
type CommentsInsertResource = "plusDomains" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Post '[JSON] Comment)))))) Source #
A resource alias for plusDomains.comments.insert
method which the
CommentsInsert
request conforms to.
Creating a Request
Creates a value of CommentsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsInsert Source #
Create a new comment in reply to an activity.
See: commentsInsert
smart constructor.
Instances
Request Lenses
cActivityId :: Lens' CommentsInsert Text Source #
The ID of the activity to reply to.