feat: add canOperateReports and canFlagReportContent functions for report management
This commit is contained in:
@@ -3056,7 +3056,7 @@
|
||||
},
|
||||
"/api/v1/reports/{id}/flags": {
|
||||
"post": {
|
||||
"description": "Creates a moderation flag for a report.",
|
||||
"description": "Creates a moderation flag for a report by assigned operator only.",
|
||||
"operationId": "ReportController.flagReport",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -3313,7 +3313,7 @@
|
||||
},
|
||||
"/api/v1/reports/{id}/messages/{message_id}/flags": {
|
||||
"post": {
|
||||
"description": "Creates a moderation flag for a report message.",
|
||||
"description": "Creates a moderation flag for a report message by assigned operator only.",
|
||||
"operationId": "ReportController.flagMessage",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -3436,7 +3436,7 @@
|
||||
},
|
||||
"/api/v1/reports/{id}/take": {
|
||||
"post": {
|
||||
"description": "Assigns an open report to the current operator.",
|
||||
"description": "Assigns an open report to current non-admin operator.",
|
||||
"operationId": "ReportController.takeReport",
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user