Users & Participants
Institution and course owner
Users exist in a variety of levels in Eduflow. Institutions and courses allow direct access to their owner. In GraphQL, these are associated with the User object type.
Institution owner
{
institution {
name
owner {
name
email
}
}
}{
"data": {
"institution": {
"name": "Dunder Mifflin",
"owner": {
"name": "Michael Scott",
"email": "[email protected]"
}
}
}
}Course owner
{
course(id: "00000000-5945-95c7-65fd-a9747b200320") {
owner {
name
email
}
}
}{
"data": {
"course": {
"owner": {
"name": "John Smith",
"email": "[email protected]"
}
}
}
}Course participants
In courses, users are queried through a pageable connection: Course.participants. Since course users have course-specific context associated them (their participant type and status), their User objects are wrapped in Participant.
Participant types: Owner (creator of course), Admins, Instructors, Assistants and Students.
Searching by username
Searching by participant type:
Individual participant lookup
Participant invite links
Invitation links and embed (a.k.a magic links) can be accessed through the Participant response object:
invitationLink: Will prompt user to create a passwordembedLoginLink: "Magic link", takes user directly to to course
Last updated
Was this helpful?