-
Notifications
You must be signed in to change notification settings - Fork 34
Post Reasons
Shara Bromberg edited this page Oct 16, 2017
·
8 revisions
Post Reasons
/api/post/:id/reasons
This route provides details of the reasons a post was caught by. Replace :id
in the URL with the metasmoke post ID you're looking for, and all database fields for each reason will be returned.
Request:
HTTP/1.1 GET /api/post/20191/reasons
Response:
{
"items": [
{
"id":15,
"reason_name":"Link at end of body",
"last_post_title":"VitaPulse by Princeton Vitamins is evidently",
"inactive":false,
"weight": 50,
"maximum_weight": null
},
{
"id":35,
"reason_name":"Pattern-matching website in body",
"last_post_title":"VitaPulse by Princeton Vitamins is evidently",
"inactive":false,
"weight": 50,
"maximum_weight": null
}
],
"has_more": false
}
metasmoke is made with <3 by the Charcoal Team and the other awesome contributors from Charcoal HQ.