Authorization: Bearer ********************{
"status": "resolved",
"remark": "已隐藏违规评论并警告作者",
"actions": [
{
"type": "hide_comment",
"duration": 0,
"reason": "string"
}
]
}curl --location --request PATCH 'http://prod-cn.your-api-server.com/admin/reports/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "resolved",
"remark": "已隐藏违规评论并警告作者",
"actions": [
{
"type": "hide_comment",
"duration": 0,
"reason": "string"
}
]
}'{
"data": {
"id": 1,
"user_id": 10001,
"username": "string",
"name": "string",
"category": "pornography",
"category_label": "string",
"reason": "string",
"evidence": [
"http://example.com"
],
"status": "pending",
"status_label": "string",
"reportable_type_label": "string",
"reportable_id": 0,
"reportable_snapshot": {
"type": "comment",
"id": 0,
"user_id": 0,
"username": "string",
"content": "string",
"status": "string",
"status_label": "string",
"avatar": "string",
"created_at": "string",
"registered_at": "string",
"name": "string"
},
"handler_name": "string",
"process_remark": "string",
"process_actions": [
{
"type": "hide_comment",
"reason": "string"
}
],
"processed_at": "string",
"created_at": "string",
"category_label_type": "string",
"status_label_type": "string",
"reportable_type": "comment",
"handler_id": 0
}
}