data api comments get - movabletype/Documentation GitHub Wiki
Retrieve a single comment by its ID.
Authorization is required if the comment status is "unpublished". If the comment status is "published", then this method can be called without authorization.
This method accepts GET only.
GET https://your-host/your-mt-api.cgi/v1/sites/{blog_id}/comments/{comment_id}
Parameter | Type | Description |
---|---|---|
blog_id | unsigned integer | The blog ID. |
comment_id | unsigned integer | The comment ID. |
Not available.
Do not supply a request body.
If successful, this method will return an Comments resource as the response body.
Code | Description |
---|---|
200 | no error |
403 | Do not have permission to retrieve the requested comment. |
404 | Comment (or site) not found |