Comments

The comments for a  posts  resource. 

For a list of methods for this resource, see the end of this page.

Resource representations

{
  "kind": "blogger#comment",
  "status": string 
,
  "id": string 
,
  "inReplyTo": {
    "id": string 
},
  "post": {
    "id": string 
},
  "blog": {
    "id": string 
},
  "published": datetime 
,
  "updated": datetime 
,
  "selfLink": string 
,
  "content": string 
,
  "author": {
    "id": string 
,
    "displayName": string 
,
    "url": string 
,
    "image": {
      "url": string 
}
  }
}
Property name Value Description Notes
kind
string The kind of this resource. Always blogger#comment .
id
string The ID for this resource.
post
object Data about the post containing this comment.
post. id
string The identifier of the post containing this comment.
blog
object Data about the blog containing this comment.
blog. id
string The identifier of the blog containing this comment.
published
datetime RFC 3339 date-time date-time when this comment was published, for example "2012-04-15T19:38:01-07:00".
updated
datetime RFC 3339 date-time when this comment was last updated , for exam ple "2012-04-15T19:43:21-07:00" .
content
string The content of the comment, which can include HTML markup.
author
object The author of this comment.
author. id
string The identifier of the comment creator.
author. displayName
string The comment creator's display name.
author. url
string The URL of the comment creator's profile page.
author. image
object The container for the creator's avatar URL.
author.image. url
string The URL of the comment creator's avatar image.
inReplyTo
object Data about the comment this is in reply to.
inReplyTo. id
string The ID of the parent of this comment.
status
string The status of the comment. The status is only visible to users who have Administration rights on a blog.

Methods

To retrieve a list of comments for a post, use the  list  method. To retrieve an individual comment, use the  get  method. 

list
Retrieves the list of  comments  for a  post .
get
Retrieves one comment resource by its commentId .
approve
Marks a comment as not spam.
delete
Delete a comment by ID.
listByBlog
Retrieves the comments for a blog, across all posts, possibly filtered.
markAsSpam
Marks a comment as spam. This will set the status of the comment to spam , and hide it in the default comment rendering.
removeContent
Removes the content of a comment.
Create a Mobile Website
View Site in Mobile | Classic
Share by: