cancel
Showing results for 
Search instead for 
Did you mean: 
10618071
Surveyor II

How does GraphQL and Scoping work?

I have developed an LTI that I am using at several schools. I am trying to convert to GraphQL for my queries. Also, some of the API calls I am using require includes.

Many of the schools I work with are asking if they can scope my developer token, and I'd prefer to switch to global token which also requires a scoped token.

But, my understanding from about a year ago is that scoping does not work with GraphGL and includes in API calls

So, this is really a two part question.

  1. Does scoping work with GraphQL yet? If not, is there an ETA (a dangerous question I know Smiley Happy) and if so, is there a reference some where?
  2. Does scoping work with includes yet?  If not, is there an ETA (a dangerous question I know Smiley Happy) and if so, is there a reference some where?

Thanks so much for your help!

Labels (1)
1 Reply
chelista
Surveyor

I also have the same question/problem. The problem I need to solve is retrieving all courses and sections. So far I am retrieving a course and then looping through each school to retrieve the sections. I would like to only make a single request and trim down the field set to minimize the network overhead. GraphQL is the perfect solution but not at the expense of permissions.