Access Levels
Group: blogs
Resource: blog_comments
GET https://api.create.net/blog_commentsGET https://api.create.net/blog_comments?post_id=2554| Param | Type | Required | Description |
|---|---|---|---|
| post_id | INT | Optional | Get all blog comments from a single blog post |
| datetime_from | datetime | Optional | Comments after a certain date yyyy-mm-dd hh:mm:ss |
| datetime_to | datetime | Optional | Comments up to a certain date yyyy-mm-dd hh:mm:ss |
| approved | INT | Optional | Get comments by approved status TRUE = Approved, FALSE = Awaiting Approval |
Status: 200 OK{ "blog_comments":[
{
"ID" : 464533,
"post_id" : 3524,
"name" : "Adam Strawson",
"email" : "adam@create.net",
"website" : "http://create.net",
"message" : "A great article, thanks for helping me solve my problem.",
"datetime" : "2012-05-16 15:17:04",
"approved" : TRUE
}
]}GET https://api.create.net/blog_comments/:idStatus: 200 OK{ "blog_comment" :
{
"ID" : 464533,
"post_id" : 3524,
"name" : "Adam Strawson",
"email" : "adam@create.net",
"website" : "http://create.net",
"message" : "A great article, thanks for helping me solve my problem.",
"datetime" : "2012-05-16 15:17:04",
"approved" : TRUE
}
}DELETE https://api.create.net/blog_comments/:idStatus: 200 OK