Data api comments insert
Masahiro Iuchi edited this page Sep 2, 2014
·
4 revisions
Create a new comment on an entry.
Authorization is required.
This method accepts POST only.
POST https://your-host/your-mt-api.cgi/v1/sites/{blog_id}/entries/{entry_id}/comments
Parameter | Type | Description |
---|---|---|
blog_id | unsigned integer | The blog ID. |
entry_id | unsigned integer | The entry ID. |
Not available.
Parameter | Type | Description |
---|---|---|
comment | Comments (JSON) | A Comments resource for new comment. |
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 | Entry (or site) not found |