LTI 1.3 Get all Groups in a Course

atlig17
Community Novice

Hey everyone

I am creating an LTI1.3 Tool and I have a question surrounding the names and roles lti service.

As far as i know, there are 2 names and roles api endpoints in canvas:

/api/lti/courses/:course_id/names_and_roles

/api/lti/groups/:group_id/names_and_roles

However, how does one find all the group_id's in each class, to call the /lti/groups request?

I want to keep my tool as lti1.3 and non-platform specific, so I'd rather not use Canvas specific api requests.

Do any of you fellow developers have any ideas, thoughts or solutions regarding this problem?

I'd be happy with any help.

Thanks and regards,

Atli Gislason

Labels (1)