I've been working with the Canvas REST API for a while now but I can't figure out how to generate a list of instructors and specifically TAs assigned to a section. I can get the students (enrollments) for a section and I can get the instructors and TAs for a course but I can't figure out how to get the instructors and TAs for a section.
Are you sure that your instructors and TAs are associated with section like students are?
At our school, we enroll faculty in the course and students into sections. We wouldn't get a teacher enrollment for a section that contained students. Instead, Canvas creates a section with the same name as the course itself, but the only people who go into it are those enrolled at the course level and not at the section level.
I use the course enrollments endpoint as it also includes section enrollments. For course_id = 2687822, I would use
Student Enrollments have
Teacher Enrollments in this class have
Again, this is what it looks like for us where the teachers are not enrolled into a section by us.
You didn't provide information about how your system populates the enrollments, but I use the course enrollments to get all of the enrollments in the course including the sections they're in, rather than trying to get the enrollments one section at a time.