Latest stories

report_wall

  • Inputs
{
    "description": "string: Maximum 250 characters: optional but if report_type equal 4 it's needed",
    "report_type": "integer between 1 and 4: type of report, 1 as 'spam', 2 for 'violence', 3 means 'inappropriate content' and 4 as 'other'",
    "wall_id": "integer: wall id"
}

  • Errors
{
    "description": [
        {
            "max length is 250": "maximum length of description is 250"
        }
    ],
    "description_field_is_required": "if report_type equal 4, description must have a string value ",
    "disabled_wall": "wall_id is not valid or wall was disabled",
    "invalid_report_type": "report type must be an integer in range 1 and 4",
    "invalid_wall_id": "wall_id is not valid or wall is not public",
    "must_login": "user must be login",
    "report_type": [
        {
            "min value is 1": "minimum valid value is  1"
        },
        {
            "max value is 4": "maximum valid value is  4"
        }
    ],
    "user_is_not_member": "user is not a member of the wall"
}

  • Extra Description
Report the wall to Pantel team for violation of rules, manners etc

  • Sample
  • Url:
https://api.pantel.me/a/report_wall?wall_id=-1000712&report_type=1
  • Output:
                                {
    "status": "success",
    "time": 1526966340.437936
}