get_admin_permissions
- Inputs
{
"user_id": "integer: id of admin users",
"wall_id": "integer: id of Intended wall"
}
- Errors
{
"invalid_user": "user_id does not belong to admin",
"must_login": "user must be login",
"permission_denied": "user does not have permission"
}
- Extra Description
Returns permissions of the admin by admin's user_id
- Sample
- Url:
- Output:
{
"result": [
{
"id": 37,
"name": "edit_wall",
"section": "all"
}
],
"status": "success",
"time": 1548061274.999671
}