(default) Formats the output as HTML for display. Shortcodes are parsed, paragraph tags are added, etc..
edit:
Formats the output for editing. Shortcodes are left unparsed, significant whitespace is kept, etc..
http_envelope
(bool)
false:
(default)
true:
Some environments (like in-browser Javascript or Flash) block or divert responses with a non-200 HTTP status code. Setting this parameter will force the HTTP status code to always be 200. The JSON response is wrapped in an "envelope" containing the "real" HTTP status code and headers.
pretty
(bool)
false:
(default)
true:
Output pretty JSON
meta
(string)
Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
The comment has been held for review in the moderation queue.
spam:
The comment has been marked as spam.
trash:
The comment is in the trash.
parent
(object|false)
A reference to the comment's parent, if it has one.
type
(string)
comment:
The comment is a regular comment.
trackback:
The comment is a trackback.
pingback:
The comment is a pingback.
like_count
(int)
The number of likes for this comment.
i_like
(bool)
Does the current user like this comment?
meta
(object)
Meta data
Resource Errors
These are the possible errors returned by this endpoint.
HTTP Code
Error Identifier
Error Message
403
unauthorized
User cannot view post
403
unauthorized
User cannot access this private blog.
403
unauthorized
User cannot access this restricted blog
403
unauthorized
User cannot delete comment
403
trash_disabled
Cannot trash comment
403
unauthorized
User cannot moderate comments
403
authorization_required
An active access token must be used to comment.
403
unauthorized
Comments on drafts are not allowed
403
unauthorized
Comments on this post are closed
403
unauthorized
User cannot create comments
Example
curl \
-H 'authorization: Bearer YOUR_API_TOKEN' \
--data-urlencode 'content=This reply is very interesting. This is editing a comment reply via the API.' \
'https://public-api.wordpress.com/rest/v1/sites/82974409/comments/29/replies/new'