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 |
Modifies the top-level comment in a comment thread.
See: YouTube Data API Reference for youtube.commentThreads.update
.
Synopsis
- type CommentThreadsUpdateResource = "youtube" :> ("v3" :> ("commentThreads" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CommentThread :> Put '[JSON] CommentThread)))))
- commentThreadsUpdate :: Text -> CommentThread -> CommentThreadsUpdate
- data CommentThreadsUpdate
- ctuPart :: Lens' CommentThreadsUpdate Text
- ctuPayload :: Lens' CommentThreadsUpdate CommentThread
REST Resource
type CommentThreadsUpdateResource = "youtube" :> ("v3" :> ("commentThreads" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CommentThread :> Put '[JSON] CommentThread))))) Source #
A resource alias for youtube.commentThreads.update
method which the
CommentThreadsUpdate
request conforms to.
Creating a Request
Creates a value of CommentThreadsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentThreadsUpdate Source #
Modifies the top-level comment in a comment thread.
See: commentThreadsUpdate
smart constructor.
Instances
Request Lenses
ctuPart :: Lens' CommentThreadsUpdate Text Source #
The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.
ctuPayload :: Lens' CommentThreadsUpdate CommentThread Source #
Multipart request metadata.