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.CommentThreads.Insert

Contents

Description

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

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

commentThreadsInsert Source

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.

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.