anonymous_id missing in Course-Assignment Submission endpoint

ido-nl
Community Member

Hi,

I am using this endpoint 

GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions

I have 2 users, both have the Teacher role in the course ("role": "TeacherEnrollment")

For user 1 it does show the anonymous_id (when using its API token), but for user 2 it doesn't (when using the API token from user 2), when getting the submissions.

Strange uh!

It is so that user 2 was originally entered as a student, but I change the role to Teacher, you would expect both users would behave the same.

When using the API to get the Course Enrollments or Course users. both users seem to have the same values.

  1. How come both users produce different output?
  2. Is there a way for me to see the difference between the 2 users?

 

 

Labels (2)
0 Likes