Home
Retrieving a comment
To retrieve a blog posting comment, use the edit link found in the comment entry in the blog's Comments feed.
You can use this operation to see full comment information. Keep in mind that you cannot update a comment. However, the blog owner can delete a comment. This method returns the Atom entry of a single comment as opposed to a feed of all the comments. To retrieve a feed, see Searching the comments added to all blogs.
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method Resource URI Output representation GET comment Value of the href attribute of the <link> element that has a rel attribute of edit for each entry in the Comments feed. comment
Input
None.
Output
A comment Atom entry document. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the comment was successfully found and returned. If an error occurs, this header will contain one of the error codes below.
- Content-Type: application/atom+xml
- Indicates that the document returned contains data in Atom format.
Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 403 Forbidden
- HTTP/1.1 404 Not Found
Related reference