Skip to main content

comments

Overview

Namecomments
TypeResource
Idgoogledevelopers.blogger.comments

Fields

NameDatatypeDescription
idstringThe identifier for this resource.
inReplyToobjectData about the comment this is in reply to.
blogobjectData about the blog containing this comment.
statusstringThe status of the comment (only populated for admin users).
authorobjectThe author of this Comment.
selfLinkstringThe API REST URL to fetch this resource from.
publishedstringRFC 3339 date-time when this comment was published.
kindstringThe kind of this entry. Always blogger#comment.
updatedstringRFC 3339 date-time when this comment was last updated.
contentstringThe actual content of the comment. May include HTML markup.
postobjectData about the post containing this comment.

Methods

NameAccessible byRequired ParamsDescription
getSELECTblogId, commentId, postIdGets a comment by id.
listSELECTblogId, postIdLists comments.
deleteDELETEblogId, commentId, postIdDeletes a comment by blog id, post id and comment id.
approveEXECblogId, commentId, postIdMarks a comment as not spam by blog id, post id and comment id.
markAsSpamEXECblogId, commentId, postIdMarks a comment as spam by blog id, post id and comment id.