get_permissions
- Inputs
No input
- Errors
{
"must_login": "user must be login"
}
- Extra Description
Returns a full list of all the user's permissions
- Sample
- Url:
- Output:
{
"result": {
"1": "user_administration",
"10": "add_comment",
"12": "delete_comment",
"13": "delete_comment_with_approval",
"14": "add_user",
"15": "kick_unkick",
"16": "see_user_list",
"18": "add_product_with_approval",
"19": "edit_product",
"2": "pin_unpin",
"20": "edit_product_with_approval",
"21": "delete_product",
"22": "delete_with_approval",
"23": "change_wall_info",
"24": "change_wall_pic",
"25": "delete_wall",
"26": "delete_store",
"27": "see_private_messages",
"28": "group_pin_unpin",
"29": "group_delete_message",
"3": "send_message",
"30": "edit_meta_data",
"33": "approve_follow_wall",
"37": "edit_wall",
"39": "group_send_message",
"4": "send_with_approval",
"40": "add_product",
"42": "edit_store",
"43": "invite_person",
"5": "delete_message",
"6": "delete_message_with_approval",
"7": "edit_message",
"8": "edit_message_with_approval",
"9": "sign_message"
},
"status": "success",
"time": 1551511604.4836226
}