Important: We will discontinue support for the v2.0 JSON API on September 30th, 2024. To ensure continued functionality, update your applications that rely on the v2.0 JSON API to the latest API version. For the latest version, use the links in the left-side navbar.
Methods
To retrieve a list of comments for a post, use the blogger.comments.list method. To retrieve an individual comment, use the blogger.comments.get method.
Resource Representations
The Comments Resource contains the data for a comment on a post.
{ "kind": "blogger#comment", "id": long, "inReplyTo": { "id": long }, "post": { "id": long }, "blog": { "id": long }, "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 entry. Always blogger#comment . |
|
id |
long |
The identifier for this resource. | |
post |
object |
Data about the post containing this comment. | |
post.id |
long |
The identifier of the post containing this comment. | |
blog |
object |
Data about the blog containing this comment. | |
blog.id |
long |
The identifier of the blog containing this comment. | |
published |
datetime |
RFC 3339 date-time when this comment was published. | |
updated |
datetime |
RFC 3339 date-time when this comment was last updated. | |
selfLink |
string |
The API REST URL to fetch this resource from. | |
content |
string |
The actual content of the comment. May 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 |
long |
The identified of the parent of this comment. |