Latest stories

change_status_permission

  • Inputs
{
    "status": "integer between 0 to 2: 0 for no one, 1 for all users, 2 for contacts only"
}

  • Errors
{
    "must_login": "user must be login",
    "status": [
        {
            "min value is 0": "minimum valid value is 0"
        },
        {
            "max value is 2": "maximum valid value is 2"
        }
    ]
}

  • Extra Description
Change visibility permission of user's latest status for others

  • Sample
  • Url:
https://api.pantel.me/a/change_status_permission?status=1
  • Output:
                                {
    "status": "success",
    "time": 1526888238.3434136
}