gogol-blogger-0.0.1: Google Blogger 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.Blogger.Comments.MarkAsSpam

Contents

Description

Marks a comment as spam.

See: Blogger API Reference for blogger.comments.markAsSpam.

Synopsis

REST Resource

type CommentsMarkAsSpamResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("spam" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Comment))))))))) Source

A resource alias for blogger.comments.markAsSpam method which the CommentsMarkAsSpam request conforms to.

Creating a Request

commentsMarkAsSpam Source

Creates a value of CommentsMarkAsSpam with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cmasCommentId :: Lens' CommentsMarkAsSpam Text Source

The ID of the comment to mark as spam.