group.add API
Timotheus Pokorra
timotheus at kolab.org
Mon Aug 10 11:45:24 CEST 2015
Hello Andy,
> Almost all methods for the group Service has no documentation. I'm looking to
> batch script creation of a large amount of distribution lists, so we do not
> have to manually re-enter them.
I have now added some documentation for group.info and group.add:
https://docs.kolab.org/architecture-and-design/kolab-wap-api.html#the-group-service
One way of getting the right parameters is to add a Log::error call in
/usr/share/kolab-webadmin/lib/Auth/LDAP.php, eg in method group_add:
Log::error("group_add ".print_r($attrs,true));
Then add a group in the webadmin panel, and check
/var/log/kolab-webadmin/errors for the output.
Feel free to improve the documentation, when you investigate more functions:
http://kolab.org/blog/timotheus-pokorra/2015/07/01/submitting-patches-kolab-phabricator
hope this helps,
Timotheus
More information about the users
mailing list