Display the list of groups of a user

This commit is contained in:
Pierre HUBERT
2018-07-10 14:35:44 +02:00
parent b67f3b055f
commit 59c917f599
3 changed files with 99 additions and 1 deletions

View File

@ -22,6 +22,18 @@ ComunicWeb.components.groups.interface = {
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
},
/**
* Get the list of groups of the user
*
* @param {Function} callback
*/
getListUser: function(callback){
//Perform a request over the API
var apiURI = "groups/get_my_list";
var params = {};
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
},
/**
* Get information about a group
*