Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -277,15 +277,15 @@ class _comments extends \IPS\Content\Api\CommentController
|
||||
|
||||
/**
|
||||
* POST /gallery/comments/{id}/report
|
||||
* Reports a post
|
||||
* Reports a comment
|
||||
*
|
||||
* @param int $id ID Number
|
||||
* @apiparam int author ID of the member reporting
|
||||
* @apiparam int report_type Report type (0 is default and is for letting CMGR team know, more options via core_automatic_moderation_types)
|
||||
* @apiparam string message Optional message
|
||||
* @return \IPS\gallery\Image\Comment
|
||||
* @param int $id ID Number
|
||||
* @apiparam int author ID of the member reporting
|
||||
* @apiparam int report_type Report type (0 is default and is for letting CMGR team know, more options via core_automatic_moderation_types)
|
||||
* @apiparam string message Optional message
|
||||
* @throws 1S425/B NO_AUTHOR The author ID does not exist
|
||||
* @throws 1S425/C REPORTED_ALREADY The member has reported this item in the past 24 hours
|
||||
* @return \IPS\gallery\Image\Comment
|
||||
*/
|
||||
public function POSTitem_report( $id )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user