Tags
Last updated
Was this helpful?
Last updated
Was this helpful?
Instructors can create course tags and assign them to students. Tags are used in features like activity subsetting or groups.
Course tags can be listed by using the Course.tags
field. This returns a list of Tag
models that contain information like label
, color
or the assigned students
. For more details, check out the .
The Tag.students
field is a GraphQL connection. Read how to paginate a connection in the .
Tags can also be queried from the Participant
model. The Participant.tags
field lists all the tags the student was assigned within the course.
Tags can only be applied to students so other participant types will have a null
value when querying for the Participant.tags
field. For students, the API will always return a list.
You can create tags via the createTag
mutation
You can add students to a tag via the addStudentsToTag
mutation. The mutation returns the updated tag so details like the complete list of students
can be fetched. The studentIds
are Participant.id
values that can be fetched from the Course.participants
connection.