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 |
Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.
See: YouTube Data API Reference for youtube.commentThreads.insert
.
Synopsis
- type CommentThreadsInsertResource = "youtube" :> ("v3" :> ("commentThreads" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CommentThread :> Post '[JSON] CommentThread)))))
- commentThreadsInsert :: Text -> CommentThread -> CommentThreadsInsert
- data CommentThreadsInsert
- ctiPart :: Lens' CommentThreadsInsert Text
- ctiPayload :: Lens' CommentThreadsInsert CommentThread
REST Resource
type CommentThreadsInsertResource = "youtube" :> ("v3" :> ("commentThreads" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CommentThread :> Post '[JSON] CommentThread))))) Source #
A resource alias for youtube.commentThreads.insert
method which the
CommentThreadsInsert
request conforms to.
Creating a Request
Creates a value of CommentThreadsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentThreadsInsert Source #
Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.
See: commentThreadsInsert
smart constructor.
Instances
Request Lenses
ctiPart :: Lens' CommentThreadsInsert Text Source #
The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.
ctiPayload :: Lens' CommentThreadsInsert CommentThread Source #
Multipart request metadata.