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