Repost Post
Please use this (https://xgam.net/mobile_api/publication_repost) API for access publication repost endpoint
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
post_id | Post int ID | E.g. 4567 |
Success response
{
"post_reposts": 1,
"message": "",
"code": 200,
"data":{
"repost": true
}
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 400,
"message": "Post id is missing or invalid",
"data": []
}