The comments for a [posts](https://developers.google.com/blogger/docs/3.0/reference/posts) resource.

For a list of [methods](https://developers.google.com/blogger/docs/3.0/reference/comments#methods) for this resource, see the end of this page.

## Resource representations

<br />

```
{
  "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](http://www.ietf.org/rfc/rfc3339.txt) `date-time` date-time when this comment was published, for example "2012-04-15T19:38:01-07:00". |   |
| `updated` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this comment was last updated, for example "2012-04-15T19:43:21-07:00". |   |
| `selfLink` | `string` | The Blogger API URL to fetch this resource from. |   |
| `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](https://developers.google.com/blogger/docs/3.0/reference/comments/list) method. To retrieve an individual comment, use the [get](https://developers.google.com/blogger/docs/3.0/reference/comments/get) method.

[list](https://developers.google.com/blogger/docs/3.0/reference/comments/list)
:   Retrieves the list of [comments](https://developers.google.com/blogger/docs/3.0/reference/comments) for a [post](https://developers.google.com/blogger/docs/3.0/reference/posts).

[get](https://developers.google.com/blogger/docs/3.0/reference/comments/get)
:   Retrieves one comment resource by its commentId.

[approve](https://developers.google.com/blogger/docs/3.0/reference/comments/approve)
:   Marks a comment as not spam.

[delete](https://developers.google.com/blogger/docs/3.0/reference/comments/delete)
:   Delete a comment by ID.

[listByBlog](https://developers.google.com/blogger/docs/3.0/reference/comments/listByBlog)
:   Retrieves the comments for a blog, across all posts, possibly filtered.

[markAsSpam](https://developers.google.com/blogger/docs/3.0/reference/comments/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](https://developers.google.com/blogger/docs/3.0/reference/comments/removeContent)
:   Removes the content of a comment.