gogol-youtube-0.0.1: Google YouTube Data SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.YouTube.Comments.Insert

Contents

Description

Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method.

See: YouTube Data API Reference for youtube.comments.insert.

Synopsis

REST Resource

type CommentsInsertResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Comment :> Post `[JSON]` Comment))))) Source

A resource alias for youtube.comments.insert method which the CommentsInsert request conforms to.

Creating a Request

commentsInsert Source

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

Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method.

See: commentsInsert smart constructor.

Request Lenses

comPart :: Lens' CommentsInsert 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.

comPayload :: Lens' CommentsInsert Comment Source

Multipart request metadata.