Report publication

请用 (https://yedoll.com/mobile_api/publication_report) API for access publication reporting endpoint


Post 参数

参数 描述
session_id Access token ID 例如: de25cc16eb00960f076...
post_id Post int ID 例如: 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!`

成功响应

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

错误响应

{
        "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": []
    }