Report publication

Please use this (https://sosial.wiltech.my.id//mobile_api/publication_report) API for access publication reporting endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
post_id ​Post int ID E.g. 4567
reason ​ Report reason int ID (This value must be an int number as shown on the right)

For example, if you want to report spam, then this value should be 1
  • 1 = This is spam
  • 2 = Misleading or fraudulent
  • 3 = Publication of private information
  • 4 = Threats of violence or physical harm
  • 5 = I am not interested in this post
  • 6 = Other
comment ​Comment to the reviwer `Please take some actions. Thanks!`

Success response

{
        "code": 200,
        "message": "Report sent successfully",
        "data": []
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 400,
        "message": "Post id is missing or invalid",
        "data": []
    }

    {
        "code": 400,
        "message": "Report reason id is missing or invalid",
        "data": []
    }