Can you access SIS Data via a User Authentication Token?

Jump to solution
barbaracoen
Community Contributor

Does anyone know if you can access SIS Data (in particular the Course SIS ID), via the API, when using a User Authentication Token (vs an Admin token)?  

The reason we're trying to do this is because there is a bug in the Enrolments API - it does not return completed enrolments for closed courses, so we're trying to work around the problem.  We can get the data using and Admin token, however due to the API Throttling/Constraint (API Rate Limiting ), we'd like to access this via the User token instead so that we don't hit the constraint.

Appreciate any ideas.

Thanks
Barbara

1 Solution
pklove
Community Champion

Using a user token won't get around throttling.  Each token has its own limit, so this will be throttled anyway.

By "admin token" do you mean a user token you have added for an admin user?  Or do you mean a token obtained using a developer key?  The first would be no different to a "user token" - its just that its for an admin user and so you have their permissions.

Are you sure your application will reach the throttling limit?  Unless you are making lots of parallel requests this is unlikely.  If you think you will exceed the limit on your admin token, can you simply add another one (or two) and use those?  Throttling is based on the token "not the account, instance, or user" (https://community.canvaslms.com/docs/DOC-8381-api-rate-limiting ).

View solution in original post