METIS-Project / ILDE

Master Repository for the ILDE Platform
8 stars 1 forks source link

Implement anonymous getting of participants in a course #4

Closed lprisan closed 11 years ago

lprisan commented 11 years ago

i.e. without creating a /learningEnvironment first.

/GLUEPSManager/courses?type=Moodle&accessLocation=&creduser=&credsecret=&course=

javierht commented 11 years ago

It returns a JSON (or an XML) with a "course" structure with at least the following information: id, name, participants.

Every participant has the following information: id, name, learningEnvironmentData, isStaff

JSON format example:

{"id":"94","name":"prueba2-bucket","participants":{"student_b31":{"id":"314","name":"student_b31","learningEnvironmentData":"314;student_b31;student_b31@tel.uva.es;1334590052;","isStaff":false},"student_b22":{"id":"313","name":"student_b22","learningEnvironmentData":"313;student_b22;student_b22@tel.uva.es;1334590052;","isStaff":false}}}

javierht commented 11 years ago

done