Copyright | (c) 2015 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 a comment.
See: YouTube Data API Reference for youtube.comments.update
.
- type CommentsUpdateResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Comment :> Put `[JSON]` Comment)))))
- commentsUpdate :: Text -> Comment -> CommentsUpdate
- data CommentsUpdate
- cuPart :: Lens' CommentsUpdate Text
- cuPayload :: Lens' CommentsUpdate Comment
REST Resource
type CommentsUpdateResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Comment :> Put `[JSON]` Comment))))) Source
A resource alias for youtube.comments.update
method which the
CommentsUpdate
request conforms to.
Creating a Request
Creates a value of CommentsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsUpdate Source
Modifies a comment.
See: commentsUpdate
smart constructor.
Request Lenses
cuPart :: Lens' CommentsUpdate Text Source
The part parameter identifies the 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.
cuPayload :: Lens' CommentsUpdate Comment Source
Multipart request metadata.