Group management via REST API

42 views
Skip to first unread message

B. L.

unread,
Dec 14, 2016, 10:14:48 AM12/14/16
to OpenOLAT
Hello,

I am trying to extract the participants of a group from OLAT (as the course owner) via the REST API. I was successful only when "Members can see participants" was checked in the group. For privacy reasons I do not want to check the according box in the groups as default. Now my questions are the following:
  1. Is it possible for me (as the course owner) to extract the participants of a group via a command line command (using REST API or not) without "Members can see participants"?
  2. An acceptable workaround could be to use a script that toggles the checkbox via the REST API, extracts the list of participants and unchecks the checkbox again. My guess is that this could be done via the configuration of groups:
    https://learn.olat.com/olat/restapi/api/doc#d2e642
    Right now, the documentation does not include a list of changeable parameters. Where can I find them?
    In particular: Is it possible to toggle "Members can see participants" via the REST API?
Thanks for your help!
Barbara

Florian Gnägi

unread,
Dec 15, 2016, 4:55:31 AM12/15/16
to open...@googlegroups.com
Hi Barbara

Sorry, this is not possible at the moment. Setting of the visibility flag is only implemented during creation of a group, however there is no update method for GroupConfigurationVO via REST API. 

The visibility of the group members via REST API is currently only implemented for group administrators, not for group owners. 

On which system are you trying to do this?

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland


Find me on skype  twitter xing linkedin 
--------------------------------------------------------------------

B. L.

unread,
Dec 15, 2016, 10:09:47 AM12/15/16
to OpenOLAT
Hi Florian,


Am Donnerstag, 15. Dezember 2016 10:55:31 UTC+1 schrieb Florian Gnägi:
On which system are you trying to do this?

Do you mean the OLAT version? It is 10.5.7.

Best regards
Barbara
Reply all
Reply to author
Forward
0 new messages